I have a 10psi pressure sensor. It is connected to 5vdc. Its output is from 0.5v to 4.5v. I have this sensor on a tank. It is hooked up to the analog pin A0 of the arduino to read the voltage and I translate the voltage into pressure, thus, i can calculate how much water there is in the tank.
I have found several p’aces on the net that shows how to hook it up. Actually, it is very simple... the red to vcc 5 volts, the black to ground, and the green to signal A0 of the arduino. They all hook it up that way. But somehow, the reading of the voltage is a bit unstable. With the large tank, it represents several litres difference. But.... when I hook up the voltmeter on it, the voltage becomes stable (in both the voltmeter and in the arduino). I have tried to put a pull down resistor 10k but it made no difference at all. How can I fix this so I wont need to leave the voltmeter on it all the time?
I have found several p’aces on the net that shows how to hook it up. Actually, it is very simple... the red to vcc 5 volts, the black to ground, and the green to signal A0 of the arduino. They all hook it up that way. But somehow, the reading of the voltage is a bit unstable. With the large tank, it represents several litres difference. But.... when I hook up the voltmeter on it, the voltage becomes stable (in both the voltmeter and in the arduino). I have tried to put a pull down resistor 10k but it made no difference at all. How can I fix this so I wont need to leave the voltmeter on it all the time?