This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The battery voltage detected with ADS1115 is not in Volt ?
#1
The measured voltage batteries through ADS1115 on SignalK is in mV.
And 'normal or to have it in volts needed to set something?
Reply
#2
You can use the adjustment for the mcp3008.
Go to tab "SPI sensors"
Select channel 0
Click value setting (the default for ads1115 should be 0 0 and 33000 xxxx)
now you can enter the measured values for some points.
The result (inserted points) can be shown in a "graph"
Open openplotter.conf in an editor, go to section SPI, copy the line value_0 = [...
into your openplotter_analog.conf section ADS1115_X adjust_points = [... (you have to rename value_0 to adjust_points)
It should look like "adjust_points = [[0.0,0.0],[3525.0,8.01],[4501.0,9.89],[5483.0,12.0],[6520.0,14.2],[33000.0,50.0]]" ([adc value,real value])

With this way you can measure formed tanks very well because the tank level isn't linear. The curv can be split in short lines.
Best is to use the Si unit for the real value. The Si units of SignalK can be found opening "diagnostic SignalK input", button "Unit Setting".
Reply
#3
OK good!
Thanks e-sailing.

It just seems that the measure with ADS1115 is imprecise...
(I put a divider with precision resistors and a trimmer for calibration)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)