Sensor Final Report 01
Sensor Final Report 01
INFORMATION TECHNOLOGY
by
University of Mumbai
2023 – 2024
i
CERTIFICATE
This is to certify that the T.E. Sensor Lab mini-project entitled “Automatic Hand
Guide
ii
T.E. Sensor Lab Mini-Project Report Approval
Examiners
1.
2.
Date:
Place:
iii
Declaration
We declare that this written submission represents our ideas in our own
words and where others ’ideas or words have been included, we have
adequately cited and referenced the original sources. We also declare that we
have adhered to all principles of academic honesty and integrity and have not
misrepresented or fabricated or falsified any idea/data/fact/source in our
submission. We understand that any violation of the above will cause
disciplinary action by the Institute and can also evoke penal action from the
sources which have thus not been properly cited or from whom proper
permission has not been taken when needed.
Signature
Prathmesh Gholap (66)
Signature
Rohit Havaldar (67)
Signature
Chaitanya More (74)
Date:
iv
Abstract
This article aims to make an automatic hand sanitizer which finds it's use in
hospitals, work places, offices, schools and much more to reduce the risk due to contact.
Here, the system can sense the proximity with the help of ultrasonic sensor and sends
signal to microcontroller (Arduino Uno). The controller processes the sensor data &
actuates the pump and solenoid valve. And the result is the sanitizer liquid dispenses
through mist nozzle.
v
Table of Contents
Abstract v
List of Figures vii
List of Abbreviations ix
Chapter 1 Introduction 1
1.1 Introduction 1
1.2 Literature Survey 2
Implementation
Chapter 3 3.1Implementation Snapshots 10
3.2 Code
Chapter 4 Conclusion 11
Future Scope 12
References 13
vi
List of Figures
vii
List of Tables
viii
List of Abbreviations
OS Operating System
Rd Uno Hardware
ix
Chapter1
1.1 Introduction
It is important to maintain good hygiene in order to stay healthy. The term "hygiene"
encompasses a wide range of topics. One of them is a clean hand. Hands are frequently touched
on a variety of surfaces and might be directly contaminated. Various health agencies, notably
the World Health Organization, encourage hand. washing at regular intervals. Hand hygiene is
now widely recognized as one of the most critical aspects of infection prevention. As the burden
of health-care-associated infections (HCAIs) grows, as does the severity of illness and
treatment complexity, all of which are exacerbated by multidrug resistant (MDR) pathogen
infections, healthcare practitioners (HCPs) are reverting back to the basics of infection
prevention by simple measures such as hand hygiene. This is because there is enough scientific
data to suggest that appropriate hand cleanliness can greatly lower the risk of infection Cross
transmission in healthcare facilities (HCFs)
Hand hygiene is defined as the washing of your hands with soap and water, antiseptic hand
washes, alcohol-based hand sanitizers (ABHS), or surgical hand antiseptics, according to the
Centers for Disease Control and Prevention (CDC). Alcohol-based hand sanitizers are
increasingly being utilized in hospital settings instead of soap and water for hand cleansing.
Hand washing and/or hand hygiene are recognized to be troublesome in hospital settings, and
they are a primary source of infections caught while patients are hospitalized.
The rapid spread of infectious diseases underscores the importance of hand hygiene. Traditional
hand sanitizer dispensers require manual operation, increasing the risk of cross-contamination.
The Automatic Hand Sanitizer Dispenser addresses this challenge by dispensing sanitizer
automatically when detecting a hand within range.
1
1.2 Literature Survey
Literature Survey
2
1.3 Problem definition
The problem addressed by this project is the need for a convenient, hygienic, and contactless
solution for dispensing hand sanitizer in various environments, including public spaces,
healthcare facilities, and commercial establishments. Traditional hand sanitizer dispensers
require manual operation, which can lead to cross-contamination and inefficiencies in
maintaining hand hygiene. To address these challenges, we propose the design and
implementation of an Automatic Hand Sanitizer Dispenser using Arduino. Current dispensers
do not provide real-time monitoring of sanitizer levels, requiring frequent manual checks for
refills.
1.4 Objective
1.6 Methodology
Here is the flowchart of the events as follows:
case analysis => research reference => design & modelling => creating an algorithm => connecting
hardware => fabrication => testing & debugging => finish report
Block Diagram
Figure 1.6.1
4
Here, An Arduino Nano microcontroller is used since it is easy to program, has inbuilt ADC,
DAC. The input to the Arduino is given using an ultrasonic sensor, which is used to sense the
distance, it emits ultrasonic frequency from one side and the notes the time taken by sound
wave to get reflected back.
The ultrasonic sensor is used to detect hands with a distance of approximately 7 cm from the
sensor. If a human hand has been detected, the sensor will send input to the Arduino Nano as a
microcontroller (central controller).
The Arduino Nano microcontroller is the control main which has a program to access data from
the input of the ultrasonic sensor. The Arduino gives a 100ms pulse from it’s digital output pin.
The pump cannot be used directly, hence a relay is used as a switch. The relay accepts the pulse
from Arduino and makes the pump run.
The pump is 3V to 6V submersible type, which pumps out a few drops of hand sanitizer on to
the hands, after pumping, the distance is sensed for every 1000ms(1s) for scanning purposes.
5
Chapter 2
2.1 Flow Chart
Flow Chart
Figure 2.1.1
6
2.2 Circuit diagram
Circuit Diagram
Figure 2.2.1
7
2.3 Circuit Diagram Explanation
• 3-6v Submersible Water Pump:- Make sure that the water level is always higher than
the motor. The dry run may damage the motor due to heating and it will also produce
noise.
• Power Supply: The power supply provides the necessary voltage and current to the
Arduino Uno, motor driver, and other components of the circuit.
• Arduino Microcontroller: Any Arduino board, such as Arduino Uno or Arduino Nano,
capable of digital and analog input/output.
• Servo Motor: For dispensing the hand sanitizer. A standard SG90 servo motor is often
sufficient for this purpose.
• Liquid Sanitizer Container: A container to hold the liquid hand sanitizer. It should have
a nozzle or opening suitable for attaching to the dispenser mechanism.
• Power Source: A stable power source for the Arduino board and servo motor. This can
8
be a USB connection to a computer or a dedicated power supply.
Software:
9
Chapter 3
3.1 Implementation Snapshots
Figure 3.1.1
Figure 3.1.2
10
3.2Code
int trigPin= 6 ;
int echoPin= 5;
int pump= 2;
long duration;
int distance;
void setup()
{
Serial.begin (9600);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(pump,OUTPUT);
digitalWrite(pump, LOW);
void loop()
{
// digitalWrite(buzzer, HIGH);
digitalWrite(trigPin, LOW);
delay(2);
digitalWrite(trigPin, HIGH);
delay(10);
digitalWrite(trigPin, LOW);
11
Chapter 4
4.1 Conclusion
In conclusion, this project has successfully demonstrated the efficacy and convenience
of an automated system for dispensing hand sanitizer, offering numerous benefits such as, By
providing a touchless solution for hand sanitization, the project encourages individuals to
maintain proper hand hygiene, reducing the transmission of harmful pathogens. The automatic
dispenser ensures that hand sanitizer is readily available in high-traffic areas, eliminating the
need for manual refills and reducing the risk of contamination from shared dispensers. While
initial investment may be required for the setup of the automated system, in the long run, it can
lead to cost savings by minimizing wastage and ensuring optimal usage of hand sanitizer. This
project can be scaled to various settings, including hospitals, schools, offices, and public
transportation hubs, contributing to the broader effort of improving public health infrastructure.
The integration of sensor technology and automation showcases the potential of innovation in
addressing public health challenges and adapting to evolving needs.
4.2Future Scope
The integration of automatic hand sanitizer dispensers with the Internet of Things (IoT) can
allow for remote monitoring, data collection, and analysis. This can help in tracking the usage
of the dispensers, identifying areas where more dispensers are needed, and ensuring the
availability of hand sanitizer at all times. Automatic hand sanitizer dispensers can be designed
to be energy-efficient, using low-power components, and rechargeable batteries. This can help
in reducing the environmental impact of the dispensers and lowering operational costs.
Automatic hand sanitizer dispensers can help to promote good hand hygiene practices, reduce
the spread of germs, and improve overall hygiene.
12
References
1.Suryawanshi, Vaibhav Rajendra; Surani, Hiral Chatur; Yadav, Hariram Ramashray,"Sensor based
automatic hand sanitizer dispenser," 2021
2 . Arnab Das, Adittya Barua, Md. Ajwad Mohimin, Jainal Abedin,“ Automated Touchless Hand
Sanitizer Dispenser2021”
13