Component guide · Beginner · 3 min read
Water Level Depth Sensor Module (Exposed Trace Type)

Wiring, Code and Limits
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These small boards have parallel exposed copper traces; the more traces water covers, the higher the analog output. They show a rough water depth of a few centimetres, detect leaks under a tank or sense rain drops. They are simple and cheap for classroom demos but corrode quickly if left powered in water, so switch them on only when reading.
Key specs at a glance
- Principle
- Conductivity between interleaved traces
- Detection
- About 0 to 40 mm depth (board length)
- Supply
- 3.3 to 5 V
- Output
- Analog (higher = more water)
- Versions
- Generic, HS-S37 (plastic and stainless), Waveshare, Grove, Crowtail, ACEBOTT
- Life
- Short if powered continuously in water
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Water Level Depth Detection Sensor Module for Arduino – Analog Output₹17
Option 2HS-S37-L Water Depth Sensor – 5V DC, Plastic Housing₹128
Option 3HS-S37A Water Depth Sensor – Analog Output, 3-Pin Interface₹80
Option 4HS-S37P Water Depth Sensor – Analog Output, 3-Pin Interface, Stainless Steel₹109
Option 5Waveshare Liquid Level Sensor – 0-48mm Detection Depth, Analog Output, 2.0mm Mounting Holes₹319
Option 6Seeed Studio Grove Water Sensor v1.1 – Digital/Analog Conductivity Module₹429
What the Water level and rain sensor module is
Water level depth sensor modules, such as the common red board with exposed traces, give an analog value that rises as more of the board is under water, for simple level and rain detection.
The reading is not linear and depends on the water's conductivity, so use it to detect "dry, some water, deep" rather than millimetres. For real depth, use an ultrasonic sensor or a submersible pressure transmitter.
Grove and Crowtail versions use pull-up circuits and give a digital-style reading with a plug-in cable.
Water level and rain sensor module pinout
The pins on the Water level and rain sensor module and what each one does.
| Pin | Function |
|---|---|
| + / VCC | 3.3 to 5 V |
| - / GND | Ground |
| S / SIG | Analog output |
- + / VCC
- 3.3 to 5 V
- - / GND
- Ground
- S / SIG
- Analog output
Wiring the Water level and rain sensor module
Power the board from a GPIO and read only every few seconds or minutes to reduce corrosion.
| Water level and rain sensor module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | D7 (switched power) | GPIO 25 (switched power) |
| GND | GND | GND |
| SIG | A0 | GPIO 34 |
- VCC
- Arduino Uno:
- D7 (switched power)
- ESP32:
- GPIO 25 (switched power)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SIG
- Arduino Uno:
- A0
- ESP32:
- GPIO 34
Example code
Adjust the threshold after testing with your water; tap water and rain water conduct differently.
const int PWR = 7, BUZZER = 8;
void setup() { pinMode(PWR, OUTPUT); pinMode(BUZZER, OUTPUT); Serial.begin(9600); }
void loop() {
digitalWrite(PWR, HIGH); delay(20);
int level = analogRead(A0);
digitalWrite(PWR, LOW);
Serial.println(level);
digitalWrite(BUZZER, level > 200); // water detected
delay(2000);
}Setup and tuning
+ to VCC, - to GND and S to an analog pin.
power the module from a GPIO only when reading to slow corrosion.
record readings at dry and at several known depths.
it covers only the length of the traces, about 4 cm.
traces corrode in long use; treat it as a learning sensor.
What you need
Shop this list11 of 12 found in our store · ₹2,076
Generic Water Level Depth Detection Sensor Module for Arduino – Analog Output: the part this guide coversWater Level Depth Detection Sensor Module for Arduino – Analog Output₹17
HS-S37-L Water Depth Sensor – 5V DC, Plastic Housing: another version this guide coversHS-S37-L Water Depth Sensor – 5V DC, Plastic Housing₹128
HS-S37A Water Depth Sensor – Analog Output, 3-Pin Interface: another version this guide coversHS-S37A Water Depth Sensor – Analog Output, 3-Pin Interface₹80
HS-S37P Water Depth Sensor – Analog Output, 3-Pin Interface, Stainless Steel: another version this guide coversHS-S37P Water Depth Sensor – Analog Output, 3-Pin Interface, Stainless Steel₹109
Waveshare Liquid Level Sensor – 0-48mm Detection Depth, Analog Output, 2.0mm Mounting Holes: another version this guide coversWaveshare Liquid Level Sensor – 0-48mm Detection Depth, Analog Output, 2.0mm Mounting Holes₹319
Seeed Studio Studio Grove Water Sensor v1.1 – Digital/Analog Conductivity Module: another version this guide coversSeeed Studio Grove Water Sensor v1.1 – Digital/Analog Conductivity Module₹429Closest match, check the specs
Elecrow Crowtail Water Sensor – Crowtail Interface Module: another version this guide coversElecrow Crowtail Water Sensor – Crowtail Interface Module₹200
ACEBOTT Water Level Sensor Droplet Detection Module – Analog Output, Easy-Plug for ESP32/Arduino: another version this guide coversACEBOTT Water Level Sensor Droplet Detection Module – Analog Output, Easy-Plug for ESP32/Arduino₹239- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Buzzer module 3.3-5 V: for an audible alarmBuzzer Module 3.3–5V₹27
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs
Alternatives and when to choose them
- Float level switch: a reliable single-point level.
- Submersible level transmitter: accurate tank depth.
- Liquid level sensors: every method compared.
Common mistakes to avoid
- Leaving it powered in water.
- Using it for deep tanks.
- Wetting the electronics part.
- No calibration.
Frequently asked questions
How deep can this water sensor measure?
Only about 4 cm, the length of the sensing traces.
Why does the reading drift over days?
The traces corrode and minerals build up, which slowly changes the reading.
Can I use it for a water tank level?
Not for deep tanks; use an ultrasonic or pressure sensor.
Can I use it with ESP32?
Yes, power it from 3.3 V so the output stays safe.
How do I make it last longer?
Power it only when reading and dry it between uses.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

