Spray drone tank empty alert arducopter

The pesticides storage tank in spraying drone need indignation on low tank volume. I have digital water sensor which is been places to the bottom of the tank, It will change the logic level 0 or 1 depends on the presence of water.
Can I use any of the AUX pin to read this input and display a mavlink msg or buzzer sound are even a RTL will sound good.
Can somebody help me on the same?

Hi,
I would use one of the analog inputs. Than you can read it as battery voltage or current.
Sebastian

1 Like

I think you can use something like this and some lua scripting you can measure and send the liquid level from the drone to GCS or Lua script can decide when the drone will do RTL.