SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
151 stars 81 forks source link

Work with multi-channel ADC (was: Multiple analog inputs) #73

Closed Haimana closed 4 years ago

Haimana commented 4 years ago

Hello, me again! :)

Sorry for disturbing but it seems to be difficult for me to figure out how how to configure SensESP for reading multiple analog inputs/sensors. As far as I understand the easiest way is to useESP8266 and ADS1115 boards but I don;t have idea how to do it with SensESP. With SigkSens it is clear but not with SensESP. Can you provide an example?

Thank you, Seb

ba58smith commented 4 years ago

@Haimana (Seb) - sorry, but the code hasn't been written to use the ADS1115 board yet. I have one that I want to put in place to monitor two different alternators, but I haven't started working on it yet. Since that board is already supported in SigkSens, you can uses that now, and I'll post here when I've finished the code for SensESP. Sorry for any confusion!

Haimana commented 4 years ago

no problem, thank you

ba58smith commented 4 years ago

UPDATE: The code for reading from an ADS1015 or ADS1115 ADC has been written and is in PR #81 , waiting to be merged.