Hi,
I want write a plugin that reads analog data via an analog to digital converter, the MCP3008.
I followed this tutorial and managed to receive converted analog values from simple soil humidity sensors. While those do have a digital and analog output pin, the digital output returns just 0 or 1 and nothing between - truely digital!
Attached to the ADC I got high resolution values between 0 and 1024, which I can read via the tutorial’s Python script.
How can I make a plugin run the script and display the output? Is there something similar already?
Thanks for any hints,
nkoder