Introduction
A water level sensor is necessary for hydroponic system to make sure that plants don’t dry out.
Hardware
The Grove sensor can be connected to an I2C bus of Arduino/XMC4700 Relax kit.
Software
Testing
Before the water level measurement, it is recommended to wipe the sensor. Otherwise, the water level returned as 0%.


Reference
https://wiki.seeedstudio.com/Grove-Water-Level-Sensor/