Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Water level sensor: Examples, Pinouts, and Specs

Image of Water level sensor
Cirkit Designer LogoDesign with Water level sensor in Cirkit Designer

Introduction

The LC1BD04 Water Level Sensor, manufactured by Aliexpress, is a versatile device designed to detect and monitor the level of water in tanks, reservoirs, or other liquid storage systems. It is commonly used in automation systems to control water pumps, prevent overflow, and ensure efficient water management. This sensor is ideal for applications in agriculture, industrial automation, home automation, and water conservation systems.

Explore Projects Built with Water level sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
ESP32-S3 Based Water Level and Temperature Monitoring System with WiFi Connectivity
Image of Monitoraggio livello acqua: A project utilizing Water level sensor in a practical application
This circuit is designed to monitor the water level and temperature in a tank using an ESP32-S3 microcontroller. It employs a JSN-SR04T ultrasonic sensor to measure water level and a DS18B20 temperature sensor to monitor water temperature, with a 4.7k Ohm resistor for the DS18B20's signal line pull-up. The measured data is displayed on an I2C LCD and can be transmitted to a web service via WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Ultrasonic Water Level Monitoring and Pump Management System
Image of auto water: A project utilizing Water level sensor in a practical application
This circuit is designed to monitor water levels using an HC-SR04 Ultrasonic Sensor and display the information on a 20x4 LCD with I2C interface, controlled by an Arduino UNO. When the water level falls below a predefined threshold, the Arduino activates a relay module, which in turn powers a mini diaphragm water pump to refill the tank. The system aims to maintain water levels within set boundaries, automating the process of water level management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino-Controlled Ultrasonic Water Level Indicator with LCD Display and Relay Switching
Image of water: A project utilizing Water level sensor in a practical application
This circuit is designed to monitor water levels using an HC-SR04 Ultrasonic Sensor and display the information on an LCD I2C Display. An Arduino UNO controls the sensor to measure distance, calculates the water level as a percentage, and toggles a relay to control a pump based on the water level and manual input from a pushbutton. The system allows for manual override of the pump operation and stores the set water level threshold in EEPROM for persistent control across power cycles.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Bluetooth-Controlled Ultrasonic Water Level Detector
Image of Smartshoes: A project utilizing Water level sensor in a practical application
This circuit is designed to measure water levels and communicate the data wirelessly via Bluetooth. It uses an Arduino UNO as the main controller, interfaced with a water level sensor and an HC-SR04 ultrasonic sensor for level detection. The system is powered by a 9V battery through a rocker switch and can transmit sensor readings to a Bluetooth-connected device.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Water level sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Monitoraggio livello acqua: A project utilizing Water level sensor in a practical application
ESP32-S3 Based Water Level and Temperature Monitoring System with WiFi Connectivity
This circuit is designed to monitor the water level and temperature in a tank using an ESP32-S3 microcontroller. It employs a JSN-SR04T ultrasonic sensor to measure water level and a DS18B20 temperature sensor to monitor water temperature, with a 4.7k Ohm resistor for the DS18B20's signal line pull-up. The measured data is displayed on an I2C LCD and can be transmitted to a web service via WiFi.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of auto water: A project utilizing Water level sensor in a practical application
Arduino-Controlled Ultrasonic Water Level Monitoring and Pump Management System
This circuit is designed to monitor water levels using an HC-SR04 Ultrasonic Sensor and display the information on a 20x4 LCD with I2C interface, controlled by an Arduino UNO. When the water level falls below a predefined threshold, the Arduino activates a relay module, which in turn powers a mini diaphragm water pump to refill the tank. The system aims to maintain water levels within set boundaries, automating the process of water level management.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of water: A project utilizing Water level sensor in a practical application
Arduino-Controlled Ultrasonic Water Level Indicator with LCD Display and Relay Switching
This circuit is designed to monitor water levels using an HC-SR04 Ultrasonic Sensor and display the information on an LCD I2C Display. An Arduino UNO controls the sensor to measure distance, calculates the water level as a percentage, and toggles a relay to control a pump based on the water level and manual input from a pushbutton. The system allows for manual override of the pump operation and stores the set water level threshold in EEPROM for persistent control across power cycles.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Smartshoes: A project utilizing Water level sensor in a practical application
Arduino UNO Bluetooth-Controlled Ultrasonic Water Level Detector
This circuit is designed to measure water levels and communicate the data wirelessly via Bluetooth. It uses an Arduino UNO as the main controller, interfaced with a water level sensor and an HC-SR04 ultrasonic sensor for level detection. The system is powered by a 9V battery through a rocker switch and can transmit sensor readings to a Bluetooth-connected device.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

  • Manufacturer: Aliexpress
  • Part ID: LC1BD04
  • Operating Voltage: 3.3V to 5V DC
  • Output Type: Analog and Digital
  • Current Consumption: < 20mA
  • Output Voltage Range: 0V to 4.2V (Analog)
  • Dimensions: 62mm x 20mm x 8mm
  • Operating Temperature: -10°C to 50°C
  • Material: FR4 PCB with corrosion-resistant coating

Pin Configuration and Descriptions

The LC1BD04 Water Level Sensor has a 3-pin interface. The table below describes each pin:

Pin Name Description
1 VCC Power supply input (3.3V to 5V DC).
2 GND Ground connection.
3 OUT Output pin. Provides an analog signal proportional to water level or a digital
HIGH/LOW signal depending on the water level threshold.

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Sensor: Connect the VCC pin to a 3.3V or 5V DC power source and the GND pin to the ground of your circuit.
  2. Read the Output:
    • For analog output, connect the OUT pin to an analog input pin of your microcontroller (e.g., Arduino). The voltage on the OUT pin will vary based on the water level.
    • For digital output, use the onboard potentiometer to set a threshold. The OUT pin will output HIGH (5V) when the water level exceeds the threshold and LOW (0V) otherwise.
  3. Mounting: Place the sensor vertically in the tank or reservoir, ensuring the sensing area is in contact with the water.

Important Considerations and Best Practices

  • Corrosion Resistance: The sensor is coated to resist corrosion, but prolonged exposure to highly acidic or alkaline water may reduce its lifespan. Regularly inspect the sensor for wear.
  • Power Supply: Use a stable power source to avoid fluctuations in readings.
  • Calibration: Adjust the onboard potentiometer to set the desired water level threshold for digital output.
  • Avoid Submersion: Do not submerge the entire sensor module. Only the sensing area should come into contact with water.

Example: Connecting to an Arduino UNO

Below is an example of how to use the LC1BD04 Water Level Sensor with an Arduino UNO to read analog values and control an LED based on water level.

// Define pin connections
const int sensorPin = A0; // Connect OUT pin of the sensor to A0 on Arduino
const int ledPin = 13;    // Connect an LED to pin 13 (optional)

// Threshold for water level (adjust based on your setup)
const int waterLevelThreshold = 500;

void setup() {
  pinMode(ledPin, OUTPUT); // Set LED pin as output
  Serial.begin(9600);      // Initialize serial communication
}

void loop() {
  int waterLevel = analogRead(sensorPin); // Read analog value from sensor

  // Print water level to Serial Monitor
  Serial.print("Water Level: ");
  Serial.println(waterLevel);

  // Turn on LED if water level exceeds threshold
  if (waterLevel > waterLevelThreshold) {
    digitalWrite(ledPin, HIGH); // Turn on LED
  } else {
    digitalWrite(ledPin, LOW);  // Turn off LED
  }

  delay(500); // Wait for 500ms before next reading
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output Signal

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Double-check the connections and ensure the power supply is within the specified range (3.3V to 5V).
  2. Inconsistent Readings

    • Cause: Electrical noise or unstable power supply.
    • Solution: Use decoupling capacitors near the sensor's power pins to stabilize the voltage.
  3. Sensor Not Responding to Water Level Changes

    • Cause: Potentiometer not calibrated or sensor damaged.
    • Solution: Adjust the potentiometer to set the correct threshold. Inspect the sensor for physical damage.
  4. Corrosion on Sensor

    • Cause: Prolonged exposure to harsh water conditions.
    • Solution: Clean the sensor gently with a soft cloth and avoid using it in highly corrosive environments.

FAQs

Q1: Can this sensor detect other liquids besides water?
A1: The LC1BD04 is optimized for water detection. It may work with other liquids, but accuracy and lifespan may vary depending on the liquid's properties.

Q2: How do I extend the sensor's lifespan?
A2: Avoid prolonged exposure to corrosive liquids, clean the sensor regularly, and ensure proper mounting to minimize wear.

Q3: Can I use this sensor with a 3.3V microcontroller?
A3: Yes, the sensor operates within a voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers like ESP32 or Raspberry Pi Pico.

Q4: What is the maximum water depth this sensor can measure?
A4: The sensor does not measure depth directly. It detects water presence along its sensing area. For depth measurement, consider using ultrasonic or pressure-based sensors.