Water level sensor module
Exposed copper strips whose reading rises as water covers them. Analog output.
MeasuresHow much of the strip is under water
RangeAbout 0 to 40 mm of strip
AccuracyRelative; changes with water and corrosion
InterfaceAnalog output
SensorsReviewedMPN Water level sensor (resistive strip)Used in 4 projects
In short
What is the Water level sensor module and what is it used for?
Exposed copper strips whose reading rises as water covers them. Analog output. Makers use it for water level indicator.
The copper corrodes in weeks if powered all the time.
In the real world
Tank and rain detection
How it works
Water bridges the strips and lowers the resistance between them.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | How much of the strip is under water |
| Range | About 0 to 40 mm of strip |
| Accuracy | Relative; changes with water and corrosion |
| Interface | Analog output |
| Supply voltage | 3.3 to 5 V |
| Operating temperature | 10 to 30 °C typical |
Pinout
SAnalog signal
+Supply
−Ground
How to use it
Power it only while reading (from a GPIO pin) to slow corrosion. Calibrate dry, half and full readings.
void setup() { Serial.begin(9600); pinMode(7, OUTPUT); }
void loop() { digitalWrite(7, HIGH); delay(10); Serial.println(analogRead(A0)); digitalWrite(7, LOW); delay(1000); }Applications
Tank level alarmsRain detection
Builds that use it
Alternatives
- HC-SR04 Ultrasonic SensorNon-contact level from above
Common questions
What is the Water level sensor module used for?
In products: tank and rain detection. In maker projects: water level indicator.
How does the Water level sensor module work?
Water bridges the strips and lowers the resistance between them.
What voltage does the Water level sensor module need?
3.3 to 5 V.
How do I connect the Water level sensor module to an Arduino or ESP32?
Analog output. Pins: S (Analog signal), + (Supply), − (Ground).
What can I use instead of the Water level sensor module?
HC-SR04 Ultrasonic Sensor.
