A liquid dispenser is usually a mechanical device which is used to pour water through the outlet tap
when we turn it on by pressing the button or rotating the tap. As the title depicts our proposed project
will automate this process so liquid from the tank or bottle automatically gets poured into the glass
through the outlet pipe when you put glass in front of it. This project will be direct and practical
application of semiconductor microelectronics devices. A major part of this project is IR based
Proximity sensor which is used to detect the presence of glass and feed the signal to MCU which then
turns on the water pump. We have a plan not just to do the calculations and simulations but also
develop a working hardware prototype of said product.
Design and Development of Automatic Water Dispenser
1. Design and Development of
Automatic Water Dispenser
Presented By
M Saif Ul Islam
NATIONAL UNIVERSITY OF SCIENCE AND TECHNOLOGY
NUST
EE903-Advanced Semi-conductor device theory
Semester Project Presentation
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R D I S P E N S E R 1
2. Introduction
We are familiar with the term “AUTOMATIC”, these
days we want each gadget of ours to be automatic.
There has been an upsurge in the quest for man to get
his devices automatic. With the latest innovations in
semiconductor devices various nano electronics
sensors and IC’s are now easily available through
which we can automate our appliances.
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2
3. Description
• A liquid dispenser is usually a mechanical device which
is used to pour water through the outlet tap.
• As the title depicts our proposed project will automate
this process so liquid from the tank or bottle
automatically gets poured into the glass through the
outlet pipe when you put glass in front of it.
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
3
4. Motivation
D E S I G N A N D D E V E L O P M E N T O F
A U T O M A T I C W A T E R D I S P E N S E R
4
To learn the applications of
Semiconductor devices in electronic
products development.
This project is be direct and practical
application of semiconductor
microelectronics devices.
5. Semiconductor
Devices
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
5
Semiconductor
Device Application
IR LED
Proximity Sensor
Photodiode
Light Emitting Diode
(LED) Green Status LED
Zener Diode Transient Protection at MCU input pins
Integrated Circuit Microcontroller
MOSFET MOSFET as Switch
MOSFET MOSFET in BMS
Solar Cell For charging the battery
PN diode Freewheeling Action
Liquid Crystal
Display For displaying information
6. Schematic
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
6
7. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
7
Ref: www.seeedstudio.com
8. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
8
Shrink and Expand Principle
9. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
9
Ref:
https://www.circuitbread.com/tutorials/h
ow-does-an-led-work
• Type of diode that is specifically designed to emit
light..
• Same operation as general-purpose or a rectifier
diode.
• What makes it emit light is the semiconductor
material.
• Compound semiconductor materials like gallium.
arsenide, gallium phosphide.(III–V)
What is a LED?
• Why Silicon is not used in LED..??
10. How does an
LED work?
Ref: https://www.circuitbread.com/tutorials/how-does-an-led-work
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 0
11. LED Color
Ref: https://www.circuitbread.com/tutorials/how-does-an-led-work
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 1
• Photons have different energy based on
their wavelength
• Green LEDs to indicate that the circuit is in
good condition
• Red LEDs to indicate that there’s a
problem
13. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 3
An infrared (IR) sensor is an electronic device that measures and detects infrared radiation in its surrounding environment.
There are two types of infrared sensors: active and passive
Active infrared sensors both emit and detect infrared radiation.
Active IR sensors have two parts: a light emitting diode (LED) and a receiver.
They are commonly used in obstacle detection systems.
IR Proximity Sensor
Ref: www.arduino.cc
14. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 4
IR Proximity Sensor Ref: www.circuitdigest.com
15. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 5
Arduino Nano
16. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 6
ATmega328P
17. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 7
ATmega328P
18. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 8
Motor Driver (MOSFET as Switch)
Freewheeling Diode
• Dissipation of energy stored
in motor inductance
• Simple PN Diode (1N4007)
• It short circuits the load when
the switching element is in
OFF state and hence the
stored energy in the magnetic
field of inductive load is
dissipated as heat.
19. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
1 9
Motor Driver (MOSFET as Switch)
Design Parameters
Drive voltage (Vgs): 5V
Load Current (Id): 120mA
Load Voltage (Vds) : 12V
20. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 0
Motor Driver (MOSFET as Switch) Design Parameters
Drive voltage (Vgs): 5V
Load Current (Id): 120mA
Load Voltage (Vds) : 12V
21. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 1
Motor Driver (MOSFET as Switch)
22. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 2
LED driver
23. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 3
Battery Charger + Boost Converter
ASIC Chip
TP4056
ASIC
Boost
Chip
24. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 4
Boost Converter https://learnabout-electronics.org/PSU/psu32.php
By Marino108LFS - Own work, CC BY-SA 4.0,
https://commons.wikimedia.org/w/index.php?curid=99292650 VOUT = Vin/(1- D)
25. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 5
Software Part
State Machine
READY WAIT START STOP
RESET
IR=0
IR=1
Delay < 0.5S
Delay=0.5S
IR=0
IR=1
Delay=0.5S
Delay < 0.5S
LED -> OFF
BUZZER -> OFF
MOTOR -> OFF
LED -> ON
BUZZER -> ON
MOTOR -> OFF
LED -> ON
BUZZER -> OFF
MOTOR -> ON
LED -> OFF
BUZZER -> ON
MOTOR -> OFF
26. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 6
Hardware Design
27. D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 7
Applications
This product find its wide applications in our daily life
We can use it in :
• Public Parks
• Houses
• Hospitals
This concept can also be used in
• Controlling hand dryers
• Blowers
• Water Tap & Door opening/closing
28. PROJECT DEMO
&
QUESTIONS
D E S I G N A N D D E V E L O P M E N T O F A U T O M A T I C W A T E R
D I S P E N S E R
2 8
Thankyou for your Attention
Editor's Notes
Compound semiconductors have unique material properties such as direct energy bandgap, high breakdown electric fields, and high electron mobility, compared to silicon, enabling photonic, high-speed, and high-power device technologies. Electrons in compound semiconductors move much faster than those in silicon, enabling processing that is more than 100 times faster.