Hi, I've tried to read all topics about pressure sensors and lps35hw with no clue, so I hope I did'nt miss something obvious.
I'm experimenting on reading water level in water tank by measuring pressure difference between tank bottom (in the water) and atmospheric pressure.
Experiment idea:
Sensor #1 should read combined value of atmospheric + hydrostatic pressure. Since it's submerged on the bottom of water tank.
Sensor #2 should read atmospheric pressure. But #2 is not installed yet.
Value of (#1 - #2) should then get the cleared hydrostatic pressure and thus information of water level.
So far it's just recording #1 readings.
Problem:
Sensor #1. Which is lps35hw is over time slowly reading lower and lower values of pressure. Even less than actual atmospheric pressure, which should not be possible.
In one month it dropped from 1050hPa to 882hPa, even bellow actual atmospheric pressure.
What could be reason of such behaviour? Why is readings slowly dropping? What should I try?
Hardware:
Sensor is:
lps35hw
Arduino UNO R3, ATmega328P
Sensor is connected via I2C.
Measure is once per 600s.
This arduino is also wired to:
W5500 ethernet modul
JSN-SR04T Waterproof Ultrasonic Module
two-relay board
So could it be voltage problem?
I'm using 5V usb power supply since the arduino voltage regulator was overheating when board was supplied by 12V connector.
I bet it is a defective sensor, maximum pressure is about 1.2 bar in the datasheet, and you are adding almost 0.2 bar with the water. May be something fell into the tank sending a pressure wave that bricked the sensor.
I didn't though of that. Is it possible, that pressure slightly above measurable range would brake the sensor?
Maximum recorded value was 1158.17hPa though and tank is covered. I don't know if something like that might have happened. There is also pump in the tank, which could emit same vibrations.
The slightest bit of moisture will create conductive paths on a PCB, and corrosion due to electrolysis will set in, destroying the PCB. In a matter of days, sometimes.
Your idea works fine and I've been doing that for many years to monitor water level in holding tanks. However, you MUST either use a sensor designed to be permanently submerged, or a sensor mounted outside at the bottom of the tank, connected via a small pipe to the fluid inside.
I think you need a different method .
You could just use a gage type sensor suitable for use in high humidity .
Connect to a piece of tube and then you put the tube to the bottom of the tank . You then get the output proportional only to the depth .
Pressure will be lost over time if you leave it submerged if there is the smallest of leak , there are ways to overcome that tho .
You are right guys. It was the pressure loss. I should've checked that first. My bad.
But silica gel looks like minimum humidity got inside.
So the readings seems to be correct.
Maybe you should try a bubbler setup, so you can have all the electronics out off the water, or even inside if that water tank is outside. A differential sensor would eliminate the need for another barometric sensor.
Leo..
I know. The picture is not good, but maybe you can see some silica absorbed humidity and changed color to yellow, but most of it is still pure.
I'm not sure what you mean by that. I was thinking of attaching sensor to thin tube with other end open and submerged. But good sealing is needed anyway and sensor needs to deal with humidity inside tube.
Basically an air tube to the bottom of the tank, with a small (sphygmomanometer) air pump and differential/gauge pressure sensor attached to the other end of the tube.
Maybe this video will help.