Electronics

Water Level Sensor RobotDYN

Out Of Stock

1

Description

The RobotDYN Water Detection Sensor Module is a detector for water leaks, water levels, and rain. This is accomplished by exposing a series of parallel wires. The sensor traces have a 1 M Ohm weak pull-up resistor. The resistor will raise the value of the sensor trace to HIGH until a drop of water shorts the sensor to the grounded trace. The MCU can read analog output straightforwardly

Package Includes:

  • 1x RobotDYN Water level sensor Module

Features:

  • Product Name: RobotDYN Water level sensor
  • Interface: Analog
  • Arduino compatible interface
  • Low power consumption
  • Good sensitivity
  • Easy to connect to MCU

Description:

The RobotDYN water detection sensor Module is a detector for water leaks, water levels, and rain. This is accomplished by exposing a series of parallel wires. The sensor traces have a 1 M Ohm weak pull-up resistor. The resistor will raise the value of the sensor trace to HIGH until a drop of water shorts the sensor to the grounded trace. The MCU can read analog output straightforwardly, The more water the sensor is immersed in, the higher the output voltage in the signal pin. There are ten exposed copper traces on the sensor.

Principle of Work:

There are five power traces and five sense traces. These traces are parallelly interlaced, with one sense trace between every two power traces. When submerged, these traces are not connected unless they are bridged by water. The traces function as a variable resistor (similar to a potentiometer), with resistance varying with the water level.

The resistance change corresponds to the distance between the sensor's top and the water's surface. The resistance is proportional to the depth of the water: The greater the amount of water in which the sensor is immersed, the better the conductivity and the lower the resistance. The lower the conductivity, the higher the resistance, and the less water the sensor is immersed in. The sensor generates an output voltage based on the resistance. We can determine the water level by measuring the voltage.

Pinout of the Module:

VCC Powers the sensor (3V-5V)
GND Common GND
Out Analog Signal Output

Applications:

  • water leaks, water levels, and rain.

Circuit:

The module's Ground and VCC pins must be connected to the Arduino Board's Ground and 5 volts pins, respectively, and the S pins to the Analog pin on the Arduino Board.

Led is connected to pin 6, The LED's brightness will vary depending on the water level detected by the sensor.

Water Sensor  Arduino
VCC 5V
GND GND
Out A0

Library: 

no library is needed.

Code:

#define ledPin 6
#define sensorPin A0
void setup() {
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT);
  digitalWrite(ledPin, LOW);
}
void loop()
{
  unsigned int sensorValue = analogRead(sensorPin);
  if (sensorValue < 540)
    return;
  uint8_t outputValue = map(sensorValue, 540, 800, 0, 255);
  Serial.print(sensorValue);
  Serial.print(" ");
  Serial.println(outputValue);
  analogWrite(ledPin, outputValue); // generate PWM signal
}

Technical Details: 

  • Working voltage: 5V/3.3V
  • Working Current: <20ma
  • Width of detection: 44mm×18mm
  • Output voltage signal: 0~4.2V
  • Size: 66mm×21mm

Resources:

Comparisons:
This RobotDYN Water Sensor Module is a water detector that gives its output in a form of an analog signal it has no amplification circuit and no digital output if we compare it to the (Water Raindrops Detection Sensor 3.3-5v Double-Sided With Amplifier) we see that it measures the volumetric content of water inside the soil and gives us the moisture level as output. The module has both digital and analog outputs and a potentiometer to adjust the threshold level. so we see here that if we want a simple and inexpensive way to measure water we can use this module if we want a more sophisticated way with both digital and analog output it's better to use the second choice.