Decide what the controller needs to know. If it only needs to know whether liquid has reached a fixed height, a point switch can supply that state. If the controller needs to track a rising or falling surface, choose a sensor that reports height over a span and check whether its measurement increments suit the application.
Reading water height over a span
The Seeed Studio Grove 101020635 uses segmented capacitive electrodes. The manufacturer’s example counts adjacent wet sections and calculates height in 5 mm increments. Seeed specifies a maximum sensing height of 100 mm and an accuracy of ±5 mm. These figures describe different things. The increment is the change reported for one section. The accuracy describes how closely the reading is expected to match the actual height.
Place the usable measuring span where the water surface is expected to move. Check the installation drawing and how the Grove connector and host will be protected. Read the reported height with a compatible I²C host. If your controller needs a switching signal, it must generate that signal from the readings.
Detecting liquid at a fixed height
The ifm LI5131 is an example of a point-level sensor. Before selecting a point sensor for an alarm or a control input, check the specified liquids, how the probe positions the switching point and which output the controller accepts. Two independent point switches can report high and low states. A height sensor can report how far the surface is between those two states.
If the height exceeds the board’s usable span, compare continuous level technologies using the tank dimensions, liquid, mounting and controller input. For a shorter water span, browse continuous capacitive level sensors.
- Cover photograph by Seeed Studio, reproduced unchanged from the manufacturer’s Wiki under CC BY-SA 4.0.