OpenMarine
ADS1115 Change decimal place - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: ADS1115 Change decimal place (/showthread.php?tid=949)



ADS1115 Change decimal place - Luckbert - 2018-01-13

Hello, everyone,
I'm facing a problem.
I want to measure voltage with an ADS1115. So far, so good. I followed the docu procedure and get values. However, my output value shows 7000.00 V. However, a voltage source with 7 V is connected. How can I change the decimal place?
Greetings Jürgen


RE: ADS1115 Change decimal place - e-sailing - 2018-01-15

(2018-01-13, 04:11 PM)Luckbert Wrote: Hello, everyone,
I'm facing a problem.
I want to measure voltage with an ADS1115. So far, so good. I followed the docu procedure and get values. However, my output value shows 7000.00 V. However, a voltage source with 7 V is connected. How can I change the decimal place?
Greetings Jürgen
Add in the openplotter_analog.conf [ADS1115_X] Section
adjust_points = [[0.0,0.0],[7000.0,7.0],[20000.0,20.0]]

You can add more points to the line if you have non linear values.


RE: ADS1115 Change decimal place - Luckbert - 2018-01-23

It's works!
Thanks