OpenMarine

Full Version: ADS1115 Change decimal place
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
(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.
It's works!
Thanks