4 ms·
Many cheap and easy to interface I2C and SPI chips for that, which is the way the industry is going generally. Or throw in a tiny Arduino with stock Firmata fir
by jononor 6y ago
Many cheap and easy to interface I2C and SPI chips for that, which is the way the industry is going generally. Or throw in a tiny Arduino with stock Firmata firmware, and use that as an I/O extender.
- pedrocr 6y agoThat's the extra hardware I mentioned. I guess I wish the RPi just included one of those chips and had say 4 to 8 pins for ADC. It would make things simpler versus having to find something already well integrated or building it.
- Tyr42 6y agoThe solution I'm going for (for a similar problem, reading moisture from multiple plants on one esp8266) is tying the outputs from all the sensors together, and only turning on one at a time Like this guy: https://github.com/sfgabe/custom_scripts/blob/master/plant_monitor.ino https://github.com/sfgabe/custom_scripts/blob/master/plant_m...