You are on page 1of 16

`

Smart Automatic Hand Sanitizer

A Project Report

Submitted in the partial fulfilment of the

requirements for the award of the degree of

BACHELOR OF TECHNOLOGY

In

Department of Basic Engineering Sciences

By
G. V. Himavanth -2100031924
M.L.V.K. Vamsi -2100031918
R. Naga Reethika -2100031944
P. Bhanu -2100031966

Under the supervision of


M. Anil Kumar
(Assistant Professor)

1
`

KLEF

DEPARTMENT OF BASIC ENGINEERING SCIENCES

DECLARATION

The project report entitled “SMART AUTOMATIC HAND


SANITIZER” is a record ofbonafide work of Submitted in partial fulfilment
for the award of
B. Tech in Department of Basic Engineering Sciences KL University. The
results embodied in this report have not been copied from any other
Departments/University/Institute.

G. V. Himavanth -2100031924
M.L.V.K. Vamsi -2100031918
R. Naga Reethika -2100031944
P. Bhanu -2100031966

2
`

DEPARTMENT OF BASIC ENGINEERING SCIENCES


K L EDUCATIONAL FOUNDATION

CERTIFICATE
This is to certify that the Project Report entitled “SMART HAND AUTOMATIC HAND
SANITIZER” is being submitted by“G. V. Himavanth “2100031924”, M.L.V.K Vamsi
2100031918 , “R. Naga Reethika “2100031944”, “P. Bhanu “2100030205” submitted in
partial fulfilment for the award of B. Tech Department of Basic Engineering Sciences to the
KL University is a record of Bonafide work carried under our guidance and supervision.

The results embodied in this report have not been copied from any other
Departments/University/Institute.

Signature of Project Supervisor Signature of HOD

M. Anil Kumar

3
`

ACKNOWLEDGEMENTS

Our sincere thanks to M. Anil Kumar (Assistant Professor) in the Class for their outstanding
support throughout the project for the successful completion of the work

We express our gratitude to Dr M. Sridhar, Head of the Department for BES-II for providing
us with adequate facilities, ways and means by which we can complete this project.

We would also like to express our gratitude to Dr V. Krishna Reddy, Co-Ordinator, FED
for providing us with adequate facilities, ways and means by which we can complete this
project.

We express our gratitude to Dr A. Jagadeesh, Director, FED for providing us with adequate
facilities, ways and means by which we can complete this project.

We would like to place on record the deep sense of gratitude to the honorable Vice
Chancellor, K L University for providing the necessary facilities/s to carry the concluded Term
paperwork.

Last but not the least, we thank all Teaching and Non-Teaching Staff of our Department and
especially my Project Teammates for their support in the completion of our Project work.

4
IN

ABSTRACT

The main aim of this project is to design a smart hand sanitizer dispenser that dispenses
optimum amount of sanitizer. Smart hand sanitizer is an efficient way of using hand sanitizer
without touching the container surface. Hand sanitizers are usually applied by squirting the
sanitizer liquid when one presses a pump with one’s hand. This causes many people to come
into contact with the pump handle, which increases the risk of viral transmission. The project
uses an Arduino Uno, an Ultrasonic sensor, and a servo motor. The system is adjustable to
accommodate most sanitizer bottles. In this project, we use an ultrasonic sensor to recognize
the presence of the hand near the nozzle of the sanitizer. In this project, the servomotor is used
to control the flow of the sanitizer through the nozzle or an outlet.

When we put our hand in front of the automatic hand sanitizer dispenser
Arduino then the hand sanitizer gives sanitizer for 3 seconds. there is an ultrasonic sensor
inside the sanitizer which detects the object in front of it. then it will trigger the Arduino
according to the distance if the given condition is true then the pump will start to flow the
sanitizer.

5
IN

CONTENTS

S.NO TITLE Page No


7-9
1. Introduction To the Project
Components used in the 11
project
2.
Block Diagram 12
3.
Inference and Analysis 10
4.
Circuit Diagram 12
5.
Code 13
6.
15
7. Conclusion
15
8. Future Scope

6
IN

INTRODUCTION

Hardware Components Required:


1) Arduino Uno R3
2) Breadboard small
3) Jumping wires
4) Connecting cable
5) Servo motor(9G)
6) Ultra sonic sensors(HC-SR04)

Software components Required:


Arduino IDE

1.1 What is Arduino?


Arduino is an open-source electronics platform based on easy-to-use hardware and software.
Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter
message - and turn it into an output - activating a motor, turning on an LED, publishing
something online. You can tell your board what to do by sending a set of instructions to the
microcontroller on the board. To do so you use the Arduino programming language (based on
Wiring), and the Arduino Software (IDE), based on Processing. Over the years Arduino has
been the brain of thousands of projects, from everyday objects to complex scientific
instruments. A worldwide community of makers - students, hobbyists, artists, programmers,
and professionals - has gathered around this open-source platform, their contributions have
added up to an incredible amount of accessible knowledge that can be of great help to novices
and experts alike. Arduino was born at the Ivrea Interaction Design Institute as an easy tool
for fast prototyping, aimed at students without a background in electronics and programming.
As soon as it reached a wider community, the Arduino board started changing to adapt to new
needs and challenges, differentiating its offer from simple 8-bit boards to products for IoT
applications, wearable, 4 Figure 1.1: Arduino 3D printing, and embedded environments. All
Arduino boards are completely open-source, empowering users to build them independently
and eventually adapt them to their particular needs. The software, too, is open-source, and it
is growing through the contributions of users worldwide.

Fig:1.1

7
IN

1.2 Why Arduino?


Inexpensive - Arduino boards are relatively inexpensive compared to other microcontroller platforms. The
least expensive version of the Arduino module can be assembled by hand, and even the pre-assembled Arduino
modules cost less than 50 dollars

Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux operating
systems. Most microcontroller systems are limited to Windows. Simple, clear programming environment -
The Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for advanced users to take
advantage of as well. For teachers, it’s conveniently based on the Processing programming environment, so
students learning to program in that environment will be familiar with how the Arduino IDE works. Open
source and extensible software - The Arduino software is published as open source tools, available for
extension by experienced programmers. The language can be expanded through C++ libraries, and people
wanting to understand the technical details can make the leap from Arduino to the AVR C programming
language on which it’s based. Similarly, you can add AVR-C code directly into your Arduino programs if you
want to.

Open source and 5 extensible hardware - The plans of the Arduino boards are published under a
Creative Commons license, so experienced circuit designers can make their own version of the module,
extending it and improving it. Even relatively inexperienced users can build the breadboard version of the
module in order to understand how it works and save money

1.3 Specification
Technical specifications
1. Microcontroller: ATmega328P
2. Operating Voltage: 5v
3. Input Voltage: 7-20v
4. Digital I/O Pins: 14 (of which 6 provide PWM output)
5. Analog Input Pins: 6
6. DC Current per I/O Pin: 20 mA
7. DC Current for 3.3V Pin: 50 mA
8. Flash Memory: 32 KB of which 0.5 KB used by bootloader
9. SRAM: 2 KB
10. EEPROM: 1 KB
11. Clock Speed: 16 MHz
12. Length: 68.6 mm
13. Width: 53.4 mm
14. Weight: 25 g

1.4 Ultra-sonic sensor


1.5.1 Overview:
At its core, the HC-SR04 Ultrasonic distance sensor consists of two ultrasonic transducers. The one acts as a
transmitter which converts electrical signal into 40 KHz ultrasonic sound pulses. The receiver listens for the
transmitted pulses. If it receives them, it produces an output pulse whose width can be used to determine the
distance the pulse travelled. As simple as pie!

Fig:1.2
8
IN

The sensor is small, easy to use in any robotics project and offers excellent non-contact range detection
between 2 cm to 400 cm (that’s about an inch to 13 feet) with an accuracy of 3mm. Since it operates on 5
volts, it can be hooked directly to an Arduino or any other 5V logic microcontrollers.

1.5.2 How does it work?


It all starts, when a pulse of at least 10 µS (10 microseconds) in duration is applied to the Trigger pin. In
response to that the sensor transmits a sonic burst of eight pulses at 40 KHz. This 8-pulse pattern makes the
“ultrasonic signature” from the device unique, allowing the receiver to differentiate the transmitted pattern
from the ambient ultrasonic noise. The eight ultrasonic pulses travel through the air away from the transmitter.
Meanwhile the Echo pin goes HIGH to start forming the beginning of the echo-back signal. In case, If those
pulses are not reflected back then the Echo signal will timeout after 38 mS (38 milliseconds) and return low.
Thus a 38 mS pulse indicates no obstruction within the range of the sensor.

\ Fig:1.3

1.6 Applications of ultra-sonic sensor :


ˆ Used to avoid and detect obstacles with robots like biped robot, obstacle avoider robot,
path finding robot etc.
ˆ Used to measure the distance within a wide range of 2cm to 400cm
ˆ Can be used to map the objects surrounding the sensor by rotating it
ˆ Depth of certain places like wells, pits can be measured since the waves can penetrate
through water

Methodology:
SMART AUTOMATIC HAND SANITIZER USING ARDUINO is an IOT based project. Here we are using
Arduino for code execution, for sensing we used ultrasonic sensor which will open the sanitizer bottle and
wait for few moments. Everything is getting with smart technologyfor the betterment of human being. So, this
help in maintaining the Clean with the help of technology. It is a sensor-based Hand Sanitizer so it would be
easy to access/use for any age group. Our aim is also to make it cost effective so that many numbers of people
can get the benefit from this. And it should be usableto anyone and helpful for them. To complete our project,
we require some software as well as some hardware.

9
*In

procedure:
Here, we use an Ultrasonic distance sensor, Servo motor and Arduino board. hereI am using
Arduino Uno. You can also use any other microcontroller. When we place our hand in front of the
distance sensor, it will help to the Arduino to measure the distance from the sensor to object (here
the hand). if the object in the desired range, Arduino will write the servo to 180. Servo motor is
mounded on the hand sanitizer bottle. And the trigger of bottle is connected to servo by a thread.
When servo motor rotate, the trigger will press.

1. Connect Vcc of the ultrasonic sensor to 5V of the Arduino via a breadboard.


2. Connect the ground of the ultrasonic sensor to the ground of the Arduino via a breadboard.
3. Connect the trigger pin of the ultrasonic sensor to the D7 of the Arduino.
4. Connect the echo pin of the ultrasonic sensor to D6 of the Arduino.
5. Connect the ground of the servomotor to the ground rail on the breadboard.
6. Connect the signal pin of the servomotor to the D5 of the Arduino.

Block Diagram:

10
IN

COMPONENT USED IN THE PROJECT:

1) Arduino Uno R3
2) Breadboard small
3) Jumping wires
4) Connecting cable
5) Servo motor(9G)
6) Ultra sonic sensors(HC-SR04)

11
IN

CIRCUIT DIAGRAM

12
IN

Arduino CODE:

#include<Servo.h>
#define echoPin 4
#define trigPin 5
Servo Myservo;

int long duration;


int distance;
void setup(){
Myservo.attach(3);
pinMode(echoPin,INPUT);
pinMode(trigPin,OUTPUT);

void loop()
{
digitalWrite(trigPin,LOW);
delayMicroseconds(2);
digitalWrite(trigPin,HIGH);
delayMicroseconds(10);
digitalWrite(trigPin,LOW);
duration=pulseIn(echoPin,HIGH);
distance=(duration*0.034/2);

if(distance<=5){
Myservo.write(180);
}
else {
Myservo.write(0);

}
delay(500);

13
IN

WORKING:

Germs are everywhere, and we need to apply caution because of what the world is going through now.
Sanitizing your hands cannot be overemphasized because these germs can get into hands and items we touch
during our day to day activities, which can make you sick. Cleaning hands regularly with hand sanitizer is one
of the most important steps you can take to avoid being ill or spreading germs to those around you. Having
clean hands is why the need to station these sanitizers in places where they can be easily spotted is very
crucial. The essence of this article is to explain how hand sanitizer dispenser works.

Firstly, let's define what a hand sanitizer dispenser is. A hand sanitizer dispenser is a device used in controlling
the amount of sanitizer gel for use immediately. Hand sanitizers are essential in adding the liquid for
disinfecting our hands regularly. Hand sanitizer dispensers are wall-mounted or table-mounted, where it can be
easily accessible to users. We place Sanitizer dispensers in the restroom, corridors, gate entrances, receptions,
etc.

Hand sanitizer dispensers come in various forms. Some are automatic, where you place your hand underneath
the sensor enabling the sanitizer to dispense. Hand sanitizer dispensers can also function as liquid soap
dispensers, and this is because soap and sanitizer share typical viscosities.

14
IN

FUTURE SCOPE

With significant investment in R&D activities for hand sanitizer dispensers, new product innovations are
surfacing, which find applications across diverse sectors. For instance, the growing focus on economical
operations has led to the development of low-cost hand sanitizer dispensers. Several studies suggest the use of
low-cost components in the production of hand sanitizer dispensers. For instance, in March 2020, Alphavogue,
a start-up company in India, embarked upon the manufacturing of the automatic sanitizer dispensers, which
can easily be wall mounted or placed upon table. Such types of dispensers are composed of an acrylic sheet
which is 3mm thick and can be bent with the help of heat. Also, such dispensing systems can be used in
several industrial and commercial applications, and they aim to phase-out the need for battery-run version of
the dispenser in future.

CONCLUSION
The automatic hand sanitizer device proposed in this paper is ultimately expected to contribute to contactless
hand disinfection in public places and virus infection prevention. Additionally, it is economical and eco-
friendly by decreasing waste emissions.

15
IN

FUTURE SCOPE

The waste materials can be segregated into biodegradable, non-bio degradable


and metals by using more sensors. The discarded things can be processed to
extract or recover materials in an effective way and resources or convert them to
energy as usable heat, electricity, fuels. The large-scale introduction of automatic
waste management in villages, platforms, hospitals, industries, etc. Real time
monitoring and controlling of waste management by using IoT. A prediction
system by the given data to predict the variation in the amount of waste and to
adjust the timing of management.

16

You might also like