
- ★Product Description
- ★About us
- ★Custom cable
Rain / Water Level Sensor Module — 3V–5V | Analog Output | Arduino UNO / MEGA 2560
A compact, low-cost rain and water level sensor module that detects the presence and depth of water on its sensing surface, outputting an analog voltage proportional to the water coverage area. As water bridges the exposed copper traces on the sensing pad, the resistance between the traces decreases — the module converts this resistance change to an analog voltage (0–5V) readable by any Arduino analog input. Widely used for rain detection, water overflow alerts, plant watering automation, and liquid level monitoring in tanks and containers. Supplied in 1PCS and 5PCS packs.
Specifications
| Operating Voltage | DC 3V – 5V |
| Operating Current | <20mA |
| Output Type | Analog (voltage proportional to water coverage) |
| Sensing Area | 40 × 16mm |
| Module Dimensions | 62 × 20 × 8mm |
| Weight | 3.5g |
| PCB | FR4 double-sided tin-plating |
| Operating Temperature | 10°C – 30°C |
| Operating Humidity | 10% – 90% (non-condensing) |
| Quantity Options | 1PCS / 5PCS |
| Origin | Mainland China |
How the Sensor Works
The sensing pad consists of a series of interleaved copper traces on the PCB surface. When dry, the resistance between the traces is very high (effectively open circuit) and the analog output is near 0V. As water covers the sensing area:
- Water bridges the copper traces, creating a conductive path
- More water coverage = lower resistance = higher analog output voltage
- The Arduino ADC reads this voltage (0–1023 on a 10-bit ADC) to determine water level
- A threshold value in your code triggers an alert or action when water is detected
Pin Description
| Pin | Function |
|---|---|
| VCC | Power supply (3V–5V) |
| GND | Ground |
| A0 / SIG | Analog output (0–5V proportional to water level) |
Key Features
- ✅ Analog output — proportional voltage output allows measurement of water level depth, not just presence/absence
- ✅ 3V–5V supply — compatible with Arduino (5V), ESP32 (3.3V), and Raspberry Pi (3.3V)
- ✅ <20mA current draw — powered directly from Arduino 5V pin without external supply
- ✅ 40×16mm sensing area — adequate for rain detection and small container level monitoring
- ✅ FR4 double-sided tin-plating — corrosion-resistant PCB surface for water contact applications
- ✅ Compact 62×20×8mm — fits in small enclosures and project boxes
- ✅ 1PCS / 5PCS options — single unit or multi-pack for multiple sensor deployments
Common Applications
- Rain detection and automatic window/roof closing systems
- Plant soil moisture and watering automation (surface water detection)
- Water tank overflow alert
- Aquarium water level monitoring
- Flood detection and early warning system
- Washing machine water level sensing
- Weather station rain gauge
- Leak detection under sinks and appliances
Arduino Wiring & Code
- Connect VCC to Arduino 5V, GND to GND, A0/SIG to Arduino analog pin A0.
- Read the sensor:
int waterLevel = analogRead(A0); - Map to percentage:
int percent = map(waterLevel, 0, 1023, 0, 100); - Set a threshold:
if (waterLevel > 500) { // water detected }
Tip: Power the sensor only when taking a reading (connect VCC to a digital output pin, set HIGH before reading, LOW after) to prevent electrolytic corrosion of the sensing traces during continuous operation.
Frequently Asked Questions
Q: Can this sensor measure water depth in a tank?
A: The sensor measures water coverage on its sensing surface, not depth in a tank. For tank depth measurement, submerge the sensor vertically — more of the sensing area submerged = higher reading. For accurate depth measurement, use an ultrasonic distance sensor instead.
Q: Will the sensor corrode from continuous water contact?
A: The tin-plated FR4 PCB resists corrosion, but continuous immersion will eventually degrade the sensing traces. For long-term applications, power the sensor only during measurement cycles to minimise electrolytic corrosion.
Package Contents
- 1 or 5× Rain / Water Level Sensor Module (quantity as selected)


- ♥Hear From Our Happy Customers
- ♥Verified Buyer Reviews
- ♥Trusted by Professionals and Engineers


