Thursday, March 26, 2020

Automatic Water Dispenser using Arduino nano


Introduction

Automatic Water Dispenser  is an Arduino based project which can automatically gives  water when we put a glass and automatically stops when the glass is full . Automatic Water Dispenser reduce the unnecessary water wastage and it is used in most of the public places or Railway station to ease the drinking water supply.
Here an Ultrasonic sensor is used to sense the distance of the glass in the path by calculating the distance . Here we take .
 Components Required
1.       Arduino NANO
2.       HC-SR04 Ultrasonic Sensor
3.       Relay Module
4.       5V DC Motors
5.       Battery
6.       Jumper wire


Arduino Nano


Arduino Nano is a microcontroller board designed by Arduino.cc. The microcontroller used in the Arduino Nano is Atmega328, the same one as used in Arduino UNO. It has a wide range of applications and is a major microcontroller board because of its small size and flexibility. So, now let's have a look at its basic features:

Basic features of Arduino Nano

Here are few of its basic features which you must know if you are thinking to work on this great microcontroller board:
  • It has 22 input/output pins in total.
  • 14 of these pins are digital pins.
  • Arduino Nano has 8 analogue pins.
  • It has 6 PWM pins among the digital pins.
  • It has a crystal oscillator of 16MHz.
  • It's operating voltage varies from 5V to 12V.
  • It also supports different ways of communication, which are:
    • Serial Protocol.
    • I2C Protocol.
    • SPI Protocol.
  • It also has a mini USB Pin which is used to upload code.
  • It also has a Reset button on it.


Ultrasonic sensor

An ultrasonic sensor is an instrument that measures the distance to an object using ultrasonic sound waves.
An ultrasonic sensor uses a transducer to send and receive ultrasonic pulses that relay back information about an object’s proximity.  
High-frequency sound waves reflect from boundaries to produce distinct echo patterns.
Relay Module
The Arduino relay module has total of six pins: three on one side and three on other side.On the bottom side, there are three pins which are signal, 5V and ground. We will connect these pins with the Arduino. While on the other side, there are NC (Normally close), C (Common) and the NO (normally open) which are the output pins of the 5V relay. There, we will connect the output device.


Working of Automatic Water Dispenser 

Make the connections as shown in the circuit and upload the below given program into your Arduino board. Make some simple arrangement to connect the relay to the water inlet and power up the circuit using the 12V adapter to the DC jack of Arduino board. Make sure the on board LED is turned off, this ensures that the relay is also off. The set-up that I have made to demonstrate the project is shown below
As you can see I have placed the Ultrasonic sensor directly below the relay such that when the glass/tumbler is placed below the relay it gets directly opposite to the ultrasonic sensor. This object will be sensed by the ultrasonic sensor and the MOSFET along with the LED will turn ON thus making the solenoid to open and the water flows down.

Circuit Digram:



Application

·         Automatic Water Dispenser is used to provide easy access to drinking water.
·         Water dispenser provide clean n filtered water from a replaceable bottle
·         It reduces the amount of water wastage on daily basis.


No comments:

Post a Comment