4 ms·
I don't really want audio. What I'm looking for is to read 3.3V or 5V analog levels, with really low frequency, once a second or less would be fine.
by pedrocr 6y ago
I don't really want audio. What I'm looking for is to read 3.3V or 5V analog levels, with really low frequency, once a second or less would be fine.
- monocasa 6y agoIn that case you can probably hook up the GPIOs to a resistor ladder if you know the shape of the analog signal you're trying to sample.
- jononor 6y agoMany 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...