I’m new here. I just hooked up my 3-pin (5V, GND, Analog Out) XGZP6847020KPG pressure sensor right on my Arduino pro mini (at first it was not working, then I added a 10 kOhm resistor in parallel with the analog out to ground).
I wrote the code and read the analog value (0.67 V) off my serial monitor, as I applied pressure the analog value also changed which seemed okay. But since the sensor will be monitoring my water tank level it means I will have to connect the sensor at least 20 meter away from the controller. After connecting the cable I turned on the serial monitor but the value remained constant (at 0.42 V). What could be the cause of this?