Course Content
📘 MODULE 9 – Automatic Dustbin
0/1
📘 MODULE 10 – Obstacle Avoiding Robot
0/1
📘 MODULE 11 – Edge Avoiding Robot
0/1
Arduino Hands-On Programming and Robotics Course

📘 MODULE 7 – Automatic Water Dispenser

Lesson 7.1 – Project Introduction


Learning Objectives

By the end of this lesson, students will be able to:

  • Understand the purpose of an Automatic Water Dispenser.
  • Learn the working principle of a touchless water dispensing system.
  • Identify the components used in the project.
  • Understand the role of each component.
  • Learn the advantages of automation in water dispensing.
  • Explore real-world applications of automatic dispensers.
  • Understand the project workflow before building the circuit.

Main Content

Introduction

In daily life, we frequently use water dispensers in homes, schools, colleges, offices, hospitals, and public places.

Traditional water dispensers require physical contact with a tap, button, or lever to release water.

This creates several challenges:

  • Spread of germs and bacteria
  • Water wastage
  • Inconvenience for users
  • Frequent touching by multiple people

To solve these problems, automatic water dispensers are used.

An Automatic Water Dispenser is a system that detects a user’s hand or bottle and automatically dispenses water without physical contact.

In this project, we will build an Automatic Water Dispenser using:

  • Arduino UNO
  • IR Sensor
  • Relay Module
  • Mini Water Pump

The dispenser will automatically start the pump when a hand or bottle is detected and stop the pump when the object is removed.


What is an Automatic Water Dispenser?

An Automatic Water Dispenser is a touchless system that automatically releases water when an object is detected near the sensor.

Instead of pressing a button, the user simply places:

  • A hand
  • A glass
  • A bottle

near the sensor.

The system automatically performs the operation.


Why Use an Automatic Water Dispenser?

Manual systems require direct contact.

Example:

 
Hand → Tap → Water
 

Automatic systems work as:

 
Hand → Sensor Detection → Water
 

No physical contact is required.

This makes the system more hygienic and user-friendly.


Project Overview

This project uses an IR sensor to detect the presence of an object.

When the sensor detects:

 
Hand
Bottle
Glass
 

the Arduino receives the signal.

The Arduino then activates a relay module.

The relay switches ON a water pump.

Water starts flowing.

When the object is removed:

  • Sensor no longer detects an object.
  • Arduino turns OFF the relay.
  • Relay turns OFF the pump.
  • Water flow stops.

Basic Working Principle

The project follows a simple sequence:

 
Object Detected



IR Sensor Activated



Arduino Receives Signal



Relay Turns ON



Water Pump Starts



Water Dispenses



Object Removed



Pump Stops
 

This process repeats automatically.


Components Required

The Automatic Water Dispenser project uses the following components:

Component Quantity
Arduino UNO 1
IR Sensor Module 1
Single Channel Relay Module 1
Mini DC Water Pump 1
Breadboard 1
Jumper Wires Several
USB Cable 1
External Power Source (for Pump) 1

Understanding Each Component


Arduino UNO

Arduino acts as the brain of the project.

Its responsibilities include:

  • Reading sensor input
  • Processing detection signals
  • Controlling the relay
  • Managing automation logic

Without Arduino, automatic control is not possible.


IR Sensor

The IR sensor detects nearby objects.

It works by:

  1. Emitting infrared light.
  2. Receiving reflected infrared light.
  3. Determining whether an object is present.

When a hand or bottle comes near the sensor, detection occurs.


Relay Module

The relay acts as an electronic switch.

Arduino cannot directly power a water pump because the pump requires more current.

Therefore:

 
Arduino → Relay → Pump
 

The relay safely controls the pump.


Mini Water Pump

The water pump moves water from a container to the outlet pipe.

When powered:

 
Pump ON → Water Flows
 

When power is removed:

 
Pump OFF → Water Stops
 

External Power Supply

The pump usually requires more power than the Arduino can provide.

Therefore, a separate power source is often used.

This ensures reliable operation.


System Block Diagram

 
IR Sensor



Arduino UNO



Relay Module



Water Pump



Water Dispensing
 

This diagram represents the complete project workflow.


Touchless Technology

One important feature of this project is touchless operation.

Touchless systems reduce physical contact between users and equipment.

Benefits include:

  • Improved hygiene
  • Reduced contamination
  • Easier operation
  • Better user experience

This technology became especially popular in:

  • Hospitals
  • Airports
  • Schools
  • Restaurants
  • Public facilities

Advantages of Automatic Water Dispenser

Improved Hygiene

No need to touch taps or buttons.


Water Conservation

Water flows only when required.


User Convenience

Simple and effortless operation.


Automation Learning

Excellent beginner Arduino project.


Expandable Design

Can be upgraded with:

  • LCD Display
  • Buzzer
  • IoT Monitoring
  • Water Level Sensors

Limitations

Every system has some limitations.


Sensor Range

Objects must be within sensor detection range.


Power Requirement

Pump requires a stable power source.


Sensor Alignment

Improper sensor placement may reduce detection accuracy.


Water Supply Dependency

The pump must have access to water.


Real-World Applications

Automatic water dispensing technology is used in many places.


Schools and Colleges

Provides hygienic drinking water access.


Hospitals

Reduces contact between users.


Offices

Improves convenience for employees.


Restaurants

Touchless water dispensing systems improve cleanliness.


Public Water Stations

Allows large numbers of users to access water safely.


Practical Example

Imagine a student approaching a water dispenser with a bottle.

The process works as follows:

 
Bottle Near Sensor



Sensor Detects Bottle



Arduino Receives Signal



Relay Activates



Pump Starts



Water Fills Bottle



Bottle Removed



Pump Stops
 

The entire process happens automatically.


Best Practices

Keep Sensor Clean

Dust can affect detection performance.


Use Stable Power Supply

The pump requires sufficient power.


Mount Components Securely

Loose wiring may cause unreliable operation.


Protect Electronics from Water

Keep Arduino and relay away from water splashes.


Test Sensor Range

Verify detection before final installation.


Summary

An Automatic Water Dispenser is a touchless system that automatically dispenses water when a hand, bottle, or glass is detected. The project uses an IR sensor to detect objects, an Arduino UNO to process signals, a relay module to control power, and a water pump to dispense water. Such systems improve hygiene, reduce water wastage, and provide a convenient user experience. Understanding the project workflow and component roles is essential before building the actual circuit.


Key Terms

  • Automatic Water Dispenser
  • Touchless System
  • IR Sensor
  • Relay Module
  • Water Pump
  • Automation
  • Detection
  • Arduino UNO
  • Object Sensing
  • Hygienic Technology

Quiz

1. What is the primary purpose of an Automatic Water Dispenser?

A. Increase water temperature

B. Dispense water automatically

C. Store water

D. Measure water level

Answer: B


2. Which sensor is used in this project?

A. Ultrasonic Sensor

B. Temperature Sensor

C. IR Sensor

D. Gas Sensor

Answer: C


3. What controls the water pump?

A. LED

B. Relay Module

C. Resistor

D. Capacitor

Answer: B


4. Why is the relay used?

A. To measure distance

B. To increase voltage

C. To safely control the pump

D. To store data

Answer: C


5. Which component acts as the brain of the system?

A. Pump

B. Relay

C. Arduino UNO

D. Breadboard

Answer: C


Assignment

Project Analysis Activity

Draw a block diagram of the Automatic Water Dispenser showing:

  • IR Sensor
  • Arduino UNO
  • Relay Module
  • Water Pump

Then answer:

  1. What happens when a bottle is placed near the sensor?
  2. Why is a relay required?
  3. What are the benefits of touchless dispensing?
  4. List three real-world applications of this project.

Submit the diagram and answers in your notebook.

Scroll to Top