I am using this sensor to measure water in a large tank. The code is mostly from the example dfrobot provided. I am wondering what I am doing wrong. There are 3 pumps that take water out of the tank. 1 is operated manually, the 2 others are automatic. When they run the readings on the Throw-in sensor start to fluctuate wildly. This causes the well to stop filling the tank and 20 seconds later the sensor indicates tank is empty and the well pump starts to fill, back and forth. If no pumps are running the water level data is accurate. When the tank fills it is not free falling water into the tank but piped down to the bottom with a check valve. The sensor data is being smoothed (averaged) to see if that would help. it has not. Could this be a vibration/turbulance problem or is it electrical? I am power the sensor with dc 12v, I am going to see if I can find a 24v ac to dc power adapter next. Could this be from electrical noise in the electrical box the houses 220v ac? Any advice would be appreciated. Everything is accurate until a pump starts taking water out of the tank. hmmm
ref Gravity: Industrial Stainless Steel Submersible Pressure Level Sensor(0~5m, IP68)-DFRobot