sparks-baird / self-driving-lab-demo

Software and instructions for setting up and running a self-driving lab (autonomous experimentation) demo using dimmable RGB LEDs, an 8-channel spectrophotometer, a microcontroller, and an adaptive design algorithm, as well as extensions to liquid- and solid-based color matching demos.
https://self-driving-lab-demo.readthedocs.io/
MIT License
72 stars 8 forks source link

"Monster Blood" CLSLab: Liquid Motor does not respond to Pi #255

Open kinstonwithoutg opened 3 weeks ago

kinstonwithoutg commented 3 weeks ago

The Pi seems to be getting commands as the lights blink when we start the Instantiation on Google Colab, and the PI seems to be working and waiting for experiment requests. Still, the motors are not doing anything, which resulted in the sensor running timeout. We tried different boards, and the problem still exists.

It was later found that the issue is not on the board as all boards or networks face the same issue - it should be a software one.

sgbaird commented 3 weeks ago

Could you include a picture of the setup? Also, please copy the main.py file (or include the link to the one you're using). There have been some weird things with certificates lately (will likely have a fix in the coming month) #253, so I recommend regenerating your certificate. Are you using a custom broker?

Also, can you verify whether or not you can use https://huggingface.co/spaces/AccelerationConsortium/light-mixing with a light-mixing demo that you have on hand?

sgbaird commented 3 weeks ago

Some other random bits present in https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.1-running-the-demo.html

It sounds like you've already tried multiple networks (e.g., phone hotspot).

kinstonwithoutg commented 3 weeks ago

image We are using the U's IoT wifi with multiple different connection parties, we will try to regenerate the certificate and with the light demo tomorrow.
main.zip main.py in this zip was the one working in September but suddenly not working and main (1).py is the one we just downloaded yesterday

kinstonwithoutg commented 3 weeks ago

I regenerated the certificate, but the issue still persists. I have also tried the light demo, and the sensor error still pops up, I guess it is the sensor problem rather than motors?

it seems like the main.py can't find the as7341_sensor module as well.

sgbaird commented 3 weeks ago

What is the output from both the notebook and from the microcontroller when you're running it?

Have you tried connecting to a mobile hotspot in extended compatibility mode?

Could you include a picture of the setup? Also, please copy the main.py file (or include the link to the one you're using). There have been some weird things with certificates lately (will likely have a fix in the coming month) #253, so I recommend regenerating your certificate. Are you using a custom broker?

Also, can you verify whether or not you can use huggingface.co/spaces/AccelerationConsortium/light-mixing with a light-mixing demo that you have on hand?

Can you clarify the other questions?