Liquid Level Sensor UserManual PDF
Liquid Level Sensor UserManual PDF
4. How to use
We will illustrate the usage of the module with an example of liquid level
detection by connecting a development board.
① Download the relative codes to the development board.
② Connect the development board to a PC via a serial wire and the
module to the development board. Then, power up the development
board and start the serial debugging software.
Here is the configuration of the connection between the module and the
development board.
1
Liquid Level Sensor User Manual Waveshare
2
Liquid Level Sensor User Manual Waveshare
③ Put the module into the water, and the serial output is as followed:
Output on high level Output on low level
High water level! High water level!
④ Immerse the sensor into the water deeply. The table below shows the
relationship between the output voltage from the AOUT pin and the
liquid level.
Liquid level Output
voltage
0cm 0v
0.5cm 1.3v
1cm 1.53v
1.5cm 1.62v
2cm 1.69v
2.5cm 1.74v
3cm 1.77v
3.5cm 1.81v
4cm 1.84v
4.5cm 1.86v
4.8cm 1.88v