i have an issue with the ADS115 connected to a waterlevel-sensor. The ADS Input is between 0 and 2.2V, wich equals 0 and 100%. The input voltage is completely stable in every state.
In node red I get the the output values from the "ncd-ads1115" node. The problem is, that the values vary strongly (at the second decimal). I also tested the "ads1x15-raspi" node with the same issues.
Every ground is connectetd to one point, so i have "clean" potentials. Iam using node-red 1.2.9
maybe it´s a stupid mistake by myself, but i dont have any ídea to go on.
Yes redplc nodes writes the values to global memory on trigger.
use an inject node with string "input" as payload and connect to input of ads1115 node. The inject node can work in cycle of 0.1s.
The values can you view in global variable tab.
Or install node-red-contrib-redplc-module.
Connect ads1115 node to output of module-update node.
On module-in node you can get the values of ads1115.
Du kannst mir auch schreiben.
Habe mit einem Mulitmeter gemessen (Fluke). Der Input bliebt fest und springt nicht so hin und her wie der Ausgang.
Habe mittlerweile nur den Pi mit dem ADS1115 verbunden, und alle anderen Hardwarekomponenten entfernt - Ohne Erfolg.
Mein neuer Lösungsansatz ist, dass ich einfach einen Mittelwert aus x Messungen bilde, und den dann für meine Visualisierung verwende.
Die Benutzer werden hier sauer, wenn wir nicht in English schreiben.
Aber eine private Nachricht an mich kann deutsch sein.
The normal reference voltage on ads11115 is 2.048V.
The chip scales up the input value.
Can you select max input voltage 2.048V and repeat the the test.
If the input value is to high, use resistors to downscale.
ok, no problem...i will give my best to write in english i dont know how to send you a private message.
For the test i connect 3.3V to AI0 and 0V (GND) to AI1.
in the picture below you can see what i get from the function when 3.3V is connected. I think it looks good. but i think the range is not correct now.
I finally made it. i built a voltage devider out of a resistor and a poti.
the value now remains largely stable, which is completely sufficient for my purpose. Thank you for your help.