OpenMarine
I2C settings for ADS1015 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=2)
+--- Thread: I2C settings for ADS1015 (/showthread.php?tid=4854)



I2C settings for ADS1015 - ragbagger - 2023-08-25

Hi All,
I am working on hooking up an ADS1015s to the I2C bus in Openplotter 3. The I2C app finds it just fine. Permission is granted for Signalk so that is all good. When I go to the setup for the ADS1015 if I click include raw data I see the data come into Signalk. If I don't click include raw data I get "null". It appears I need to understand what goes in the settings for the ADS1015. As installed it has "Range1 = 0|1700-> 0|16" which I assume is a setup for the ADS1015 config register but I can't seem to correlate this with fields in the register. nor do I know what Range1 is.
Is there a decoder ring for this setup? I could just work with the raw data but I would like to use the scaling features. Thanks for any help on this.


RE: I2C settings for ADS1015 - baltika_no_9 - 2023-08-27

Can you explain what you mean when you say you would like to use the scaling features?


RE: I2C settings for ADS1015 - holgerw - 2023-08-28

if i were at your place, i would go with your ADS and connect it with an esp32 or esp8266 and do the signalk connection via wifi. you get better security for your raspi from the mesuring voltages and mostly the esp apps have an better documentation for their sources in github.

but you have to be ready to learn some programming, take an look at https://github.com/Techstyleuk/sensesp-engine_monitor

good luck - holger


RE: I2C settings for ADS1015 - baltika_no_9 - 2023-08-28

I'd wholly agree with holgerw. You'll have much more flexibility with the ability to site your sensors remotely from the Pi.