Home        Store        Docs        Blog

Using Leak Sensor and Arduino

I am currently trying to read leak sensor data that is connected with an Arduino along with a Raspberry Pi that is connected to Pixhawk 1. We know that the leak sensor can directly plug into the pixhawk but we want to learn how to send and display this data to Qgroundcontrol. We have been following the script below. Our goal is to read 1 as a ‘wet’ and 0 as ‘dry’ how could we go about doing this? As well as display on QGroundControl.