AccelerationConsortium / ac-microcourses

Microcourses hosted by the Acceleration Consortium for self-driving lab topics.
https://ac-microcourses.readthedocs.io/
MIT License
24 stars 3 forks source link

Create a tutorial showing use of Sparkplug B #44

Open sgbaird opened 2 months ago

sgbaird commented 2 months ago

Related to the idea of being able to check statuses in a consistent way

sgbaird commented 1 month ago

@SissiFeng The most basic MWE I can think of for this is the same as the "blink the onboard LED, read the temperature" workflow within https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.4-hardware-software-communication.html.

Slight upgrade to that would be the "send RGB command, read 8 channel spectra" for the light-mixing demo. However, I'm not sure if the MicroPython implementation of SparkPlug B (linked above) is robust or not. So, you might need to use a Pi Zero 2 W or just a Python script running locally to test.

SissiFeng commented 1 month ago

@SissiFeng The most basic MWE I can think of for this is the same as the "blink the onboard LED, read the temperature" workflow within https://ac-microcourses.readthedocs.io/en/latest/courses/hello-world/1.4-hardware-software-communication.html.

Slight upgrade to that would be the "send RGB command, read 8 channel spectra" for the light-mixing demo. However, I'm not sure if the MicroPython implementation of SparkPlug B (linked above) is robust or not. So, you might need to use a Pi Zero 2 W or just a Python script running locally to test.

https://github.com/SissiFeng/SparkPlugB-tutorial
I wrote a first draft (don't know which repo to put it in).