Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
50% found this document useful (2 votes)
4K views

Automatic Water Dispenser Using Arduino

This document describes an automatic water dispenser project using an Arduino, ultrasonic sensor, and solenoid valve. The system is designed to automatically dispense water when an object such as a glass is placed near the dispenser, as detected by the ultrasonic sensor. When an object is detected, the Arduino turns on the solenoid valve via a MOSFET switch, allowing water to flow. When the object is removed, the solenoid valve turns off to stop the water flow. The circuit diagram shows how the ultrasonic sensor, solenoid valve, MOSFET, and Arduino are connected to achieve this automatic dispensing functionality.

Uploaded by

hamed raza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
50% found this document useful (2 votes)
4K views

Automatic Water Dispenser Using Arduino

This document describes an automatic water dispenser project using an Arduino, ultrasonic sensor, and solenoid valve. The system is designed to automatically dispense water when an object such as a glass is placed near the dispenser, as detected by the ultrasonic sensor. When an object is detected, the Arduino turns on the solenoid valve via a MOSFET switch, allowing water to flow. When the object is removed, the solenoid valve turns off to stop the water flow. The circuit diagram shows how the ultrasonic sensor, solenoid valve, MOSFET, and Arduino are connected to achieve this automatic dispensing functionality.

Uploaded by

hamed raza
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Automatic Water Dispenser using

Arduino
Team:
M.Sunandha UID:111720015005

MS.Shruthi UID:111720015007

Guide Name:
MR.Dhanunjay

Company Details:

A.R Design Services ,303rd floor Fatima Manzil,Tolichowki

Hyd-500008

Ph:8639427618,email:hamed.live432@gmail.com

Abstract:

About 71% of earth is covered with water, but sadly only 2.5% of it is drinking water. With rise
in population, pollution and climate change, it is expected that by as soon as 2025 we will
experience perennial water shortages. At one hand there are already minor disputes among
nations and states for sharing river water on the other hand we as humans waste a lot of drinking
water due to our negligence.

It might not appear big at the first time, but if your tap dripped a drop of water once every second

it would take only about five hours for you to waste one gallon of water, that is enough water for

an average human to survive for two days. So what can be done to stop this? As always the

answer, for this, lies with improvement in technology. If we replace all the manual taps with a

smart one that opens and closes on its own automatically not only we can save water but also

have a healthier lifestyle since we don’t have to operate the tap with our dirty hands. So in this
project we will build a Automatic Water Dispenser using Arduino and a Solenoid valve that can

automatically give you water when a glass is placed near it.

Working Concept

The Concept behind the Automatic Water Dispenser is very simple. We will use a HCSR04

Ultrasonic Sensor to check if any object such that the glass is placed before the dispenser. A

solenoid valve will be used to control the flow of water, which is when energised the water will

flow out and when de-energised the water will be stopped. So we will write an Arduino program

which always checks if any object is placed near the tap, if yes then the solenoid will be turned

on and wait till the object is removed, once the object is removed the solenoid will turn off

automatically thus closing the supply of water.

Circuit Diagram

The complete circuit diagram for Arduino based water Dispenser is shown below

The solenoid valve used in this project is a 12V valve with a maximum current rating of 1.2A
and a continuous current rating of 700mA. That is when the Valve is turned on it will
consume about 700mA to keep the valve turned on. As we know an Arduino is a
Development board which operates with 5V and hence we need a switching driver circuit
for the Solenoid to turn it on and off.

The switching device used in this project is the IRF540N N-Channel MOSFET. It has the 3
pins Gate, Source and Drain from pin 1 respectively. As shown in the circuit diagram the
positive terminal of the solenoid is powered with the Vin pin of the Arduino. Because we will
use a 12V adapter to power the Arduino and thus the Vin pin will output 12V which can be
used to control the Solenoid. The negative terminal of the solenoid is connected to the
ground through the MOSFET’s Source and Drain pins. So the solenoid will be powered only
if the MOSFET is turned on.

The gate pin of the MOSFET is used to turn it on or off. It will remain off if the gate pin is
grounded and will turn on if a gate voltage is applied. To keep the MOSFET turned off when
no voltage is applied to gate pin, the gate pin is pulled to ground though a 10k resistor. The
Arduino pin 12 is used to turn on or off the MOSFET, so the D12 pin is connected to the gate
pin through a 1K resistor. This 1K resistor is used for current limiting purpose.

The Ultrasonic Sensor is powered by the +5V and ground pins of the Arduino.
The Echo and Trigger pin is connected to the pin 8 and pin 9 respectively. We can then
program the Arduino to use the Ultrasonic sensor to measure the distance and turn on the
MOSFET when an object is detect. The whole circuit is simple and hence can be easily build
on top of a breadboard. Mine looked something like this below after making the
connections.

You might also like