How to Use Water Level Sensor Module

Photo of Water Level Sensor Module

When the white line of the water level sensor is immersed in water, you can measure the water level. It can also be used for switches that trigger alarms based on water level.

※Please note that the sensor part is not waterproof. If water gets on parts other than the sensor, it may cause malfunctions or fire. Use insulation tape or similar materials on parts that may come into contact with water.

About the Component

This sensor measures water level using a sensor located at the red circle in the photo. It outputs the water level as an analog signal (a number from 0 to 1023).

Illustration of the sensor position on the Water Level Sensor Module

Specifications

Voltage3~5V
Output SignalAnalog
Sensitivity10mV per 1cm
Temperature Range0~100℃
Size 63 x 20 (mm)

Connection

Connect the Water Level Sensor Module to the SPACEBLOCK microcontroller board using jumper wires (male-female) as follows:

  • Connect the S pin of the water level sensor to the analog-compatible pin of SPACEBLOCK
  • Connect the G pin of the water level sensor to the GND pin of SPACEBLOCK
  • Connect the V pin of the water level sensor to the 3.3V or 5V pin of SPACEBLOCK
Connection method between SPACEBLOCK microcontroller board and Water Level Sensor Module

※The image shows the signal line connected to pin A0. Analog-compatible pins are A0 to A7, B0 to B1.

※3.3V, 5V, and GND can also be inserted into the pins with the same notation on the SPACEBLOCK microcontroller board.

Usage

The sensor detects the water level and returns a value. The larger the water level, the larger the value.
You can retrieve values from the Water Level Sensor Module using blocks in the 'Input' category of the project.


For detailed usage of the blocks, click here

Analog Reading