Smart Water Refilling system

  • Blink Board
  • A02YYUW Waterproof Ultrasonic Sensor
    A high-precision ultrasonic sensor designed for outdoor and waterproof applications. It measures the distance to the water surface and provides data to the Blink board via the UART protocol.
  • 24V Motorized Pump
    The actuator used to fill the tank when the water level falls below the threshold.
  • 20×4 LCD Display
    A user-friendly interface that shows real-time water level data, pump status, and other system notifications.

Objectives

  • Automate Water Level Control: Design a system that automatically maintains water levels within defined thresholds without manual intervention.
  • Ensure Accuracy: Use precise ultrasonic sensor measurements to monitor the water level accurately.
  • Optimize Resource Usage: Prevent water wastage and pump overuse by maintaining optimal water levels.
  • Provide Real-Time Feedback: Display water levels and pump status on an LCD for easy monitoring.
  • Create a Scalable Solution: Develop a system that can be adapted for different tank sizes and applications, such as domestic, agricultural, or industrial use.

How It Works

Sensor Measurements

The A02YYUW ultrasonic sensor is placed at the top of the water tank. It continuously measures the distance to the water surface and sends this data to the Blink board through the UART protocol. The Blink board processes the received distance values to determine the current water level.

Thresholds and Logic

The system operates based on two thresholds:

  • Minimum Threshold: 300 mm from the top of the tank. When the water level falls below this point, the Blink board activates the pump.
  • Maximum Threshold: 100 mm from the top of the tank. Once the water reaches this level, the Blink board turns off the pump.

The system cycles between these thresholds to ensure optimal water levels without manual intervention.

Actuation

When the Blink board detects that the water level is below the minimum threshold, it sends a signal to the motorized pump to start filling the tank. As the water level rises, the Blink board continues monitoring until the water reaches the maximum threshold, at which point it deactivates the pump. This process is repeated automatically.

The lcd will show: