Professional Documents
Culture Documents
Chapter One Introduction and Literature Survey
Chapter One Introduction and Literature Survey
1.1 Introduction
Demand for hand sanitizers has surged as the coronavirus broke out and
spread around the world . Alcohol gel 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. Pressing the pump handle is
bothersome, and many pass by without disinfecting their hands. Moreover,
each person presses the pump handle differently, making it difficult to
predict the amount of use and to manage refills and replacements. For this
reason, the actual use of hand sanitizers is reduced, which does not help
prevent spread of the virus [1].
1
In this project, the design of an automatic hand and phone sanitizer system
compatible with various sanitizer containers is presented.
The importance of hand sanitizing cannot be over-emphasized, especially
in developing nations where eating with hands is a common practice. In
some developing cultures, there is always the reluctance to hand washing
before meals; and in some, hand washing has become a culturally accepted
norm. Eating with the hands was going on for generations before anyone
thought of washing their hands first. So along the way, through technology
and hygiene practices, people become educated in the improvement of hand
sanitizing[3].
Hand sanitizing is the single most important way of preventing the spread
of infections, according to the US Centre for Disease Control and
Prevention. Unwashed or poorly washed hands are a very common way of
spreading many diseases such as cold, flu, ear infections, strep throat,
diarrhea, and other intestinal problems. Germs and viruses causing these
diseases are passed on by such routine things as handling food, touching
doorknobs, shaking hands, and putting mouths on a telephone receiver.
And in our daily activities, we practice one of these either in the offices, at
home, in the market places, in the classroom, and so on. Good
handwashing practices have also been known to reduce the incidence of
other diseases, notably pneumonia, trachoma, scabies, skin and eye
infections, and diarrhea-related diseases like cholera and dysentery,
according to World Health Organization (WHO). The promotion of
handwashing or sanitizing with soap is also a key strategy for controlling
the spread of Avian Influenza (bird flu). After the incidence of SARS-
Severe Acute Respiratory Syndrome in 2003, gave people in their daily
lives gave more attention to health habits; the daily number of hand-
sanitizing increased than before. and contribute to this idea as a way to
increase the practice of hand sanitizing in our society so as to remain
healthy [4].
2
1.2 Literature survey
The literature survey presents the importance studies which search the
methods to design automatic hand sanitizer.
Jonathan Lesmana et al.[2]use An automatic hand sanitizer that allows
the discharge of the sanitizing liquid without pressing any nozzle. The
design of the automatic hand sanitizer is focused on the mechanism of
pressing the nozzle of the hand sanitizer that involves conversion from a
rotation movement into a translation movement. VDI 2221 method is used
to design the automatic hand sanitizer, which uses Arduino Nano as the
microcontroller, servo motor as the motor, ultrasonic sensor for detecting
the movement of the environment, and rack and pinion system as the
mechanism for pressing the nozzle from the hand sanitizer. The prototype
of automatic hand sanitizer has worked well and has become a reference
for further development.
Meini Sondang Sumbawati1 et al.[5] purposed an automated hand
sanitizer design as an effort to improve the delivery of Covid-19 in
schools. Automatic hand sanitizer is useful to facilitate the hand sanitizer
liquid out of the bottle, so it is more effective to use and does not run out
quickly. This study uses an Arduino Nano microcontroller as the main
control, a human hand detection sensor, and a servo motor as an actuator
that will activate the automatic bottle. The result of this research is an
automatic hand sanitizer with a large size hand sanitizer that can be
mounted into a tool with a maximum of 500 ml. This automatic hand
sanitizer will automatically release the hand sanitizer fluid which approves
the sensor under the user's hand protective device.
3
Puput Wanarti Rusimamto et al.[6] This project aims to make an
automatic hand sanitizer where soap and water can come out
automatically. Besides that, automated hand sanitizer will make a
notification to the owner, if the liquid has run out to the smartphone. The
infrared (IR) will sense the presence of heat and motion of the object with
the distance up to 50mm. It send data to the Arduino Nano to activate the
pump. If the ultrasonic sensor detect the distance of water to sensor 35 cm
it will send data to node MCU that connect to Blink server. It can transfer
the data to the output devices such as smartphones or PC based on the
Internet of Things (IoT). The results of the hand sanitizer testing that the
system can run smoothly with a minimum detection error of transferring
data.
1.3 Problem Statement
4
To solve a considerable fraction of the problems associated with
hand sanitizing, so as to reduce the risk of disease transfer, between
individuals.
CHAPTER TWO
2.1 introduction
2.2.1 Arduino
5
ready-made software to write and upload code to Arduino boards, it’s
called Arduino IDE (Integrated Development Environment). the most
popular and most used board in the Arduino board family. This is the
Arduino Uno.
There are different Arduino boards which are following: Arduino UNO
(R3), LilyPad Arduino, Red Board, Arduino Mega (R3), Arduino
Leonardo[8].
7
The board requires 2 volt to 5 volt power supply and use large size pin
holes so that it can be easily connect to other devices. This board is widely
used for controlling different device that includes motor, light and switch.
The components of this board like sensor board, input board and output
board can be washable because this board is used in clothing industries as
shown in figure 2.2[9].
There are additional pins that act as crystal oscillator having frequency of
16 MHz. The board also has flash memory of 256KB size that uses to store
the data in it. The Arduino Mega board can be attached to computer system
via USB connection and power supply can be provided to board by using
battery or AC to DC adapter. As the board has large number of pins fitted
in it that make the board suitable for projects that requires more number of
pins in it[9] as shown in figure 2.3.
8
Figure 2.3: Arduino Mega R3
The Arduino Leonardo board can be attached to computer system via USB
connection and power supply can be provided to board by using battery or
AC to DC adapter as shown in figure 2.4. The microcontroller used by the
Arduino Leonardo has in-built USB connection that removes the
dependency of extra processor in it. As there is no additional USB
connection in the board, it helps the board to act as mouse or keyboard for
the computer system. The Arduino Leonardo is considered as cheapest
Arduino boards compare to other Arduino products[10].
9
2.2.1.5 Arduino Red Board
The Arduino Red board is another type of Arduino board that uses the mini
USB cable for getting programmed and the Arduino IDE is used for this
there is no need to change the security settings to make this board working.
The Red board uses the FTDI chip and USB chip for the connection to
other device. As the design of red board is very simple it can be easily
integrate with other projects. The only requirement if to plug the red board
and select appropriate option and can upload program in no time. The
barrel jack can be used to control the USB cable of the Arduino Red
board[10].
2.2.2 5V Relay
10
A relay is an electromagnetic switch that opens and closes circuits
electromechanically or electronically. A relatively small electric current
that can turn on or off a much larger electric current operates a relay.
Relays work like some electrical products since they receive an electrical
signal and send the signal to other equipment by turning the switch on and
off. Even if the relay contact is normally closed or normally open, they are
not energized. Its state will change only if you apply an electrical current to
the contacts. Figure 2.6 show a 5V relay type.
The SRD-05VDC-SL-C relay has three high voltage terminals (NC, C, and
NO) which connect to the device you want to control. The other side has
three low voltage pins (Ground, Vcc, and Signal) which connect to the
Arduino.
11
In the normally open configuration, when the relay receives a HIGH signal
the 120-240V switch closes and allows current to flow from the C terminal
to the NO terminal. A LOW signal deactivates the relay and stops the
current. So if you want the HIGH signal to turn ON the relay, use the
normally open terminal.
A)
B)
Figure 2.7: A) Normally open , B) Normally Closed.
12
2.2.3 IR Sensor
13
The photodiode acts as an IR receiver, it converts the light which falls on it
into electricity. A photodiode is a p-n junction diode that is operated in
reverse bias direction. Which means it will start conducting the current in
reverse direction when light falls on it. When there is no light falling on the
photodiode, it has infinite resistance and acts as an open switch but as the
light starts falling on the photodiode, the resistance becomes low and it
starts acting like a closed switch.
14
Figure 2.9 : IR Sensor Detecting An Obstacle
Infrared sensors afford many advantages, which is why they are widely
used today. And have many advantages: Less power consumption, A key
advantage is that an IR sensor doesn’t take up much power, Contact-less
detection, An IR sensor does not need contact with the object for detection,
No data leakage, With IR sensors, there is no data leakage caused by the
ray direction, Immune to noise, IR sensors are highly immune to noise,
Immune to oxidation and corrosion, These sensors are not affected by
oxidation & corrosion, and Low dependence on light.
Infrared sensors have some Limitations: Line of sight is needed For smooth
functioning of an IR sensor, a line of sight is necessary, Limited range IR
sensors come with a limited range and hence, cannot be used in all
situations ,and Less data transmission rate Another limitation is that IR
sensors do not boast a high transmission rate[12].
15
A mini submersible pump is a smaller version of the submersible water
pumps which is lightweight, small size, low consumption, and makes little
noise. A mini submersible water pump is used widely in household for
cooking, cleaning, bathing, space heating, watering flowers, etc.
A mini submersible water pump is a centrifugal water pump, which means
that it uses a motor to power an impeller that is designed to rotate and push
water outwards. The motor is located in a waterproof seal and closely
connected to the body of the water pump which it powers.
Filtration pumps found inside aquarium fish tanks utilize a type of mini
submersible water pump. The mini submersible water pump is installed
inside the actual fish tank to pump the water out where it is needed.
there are some applications for mini waterpump which are like Controlled
fountain water flow, Controlled Garden watering systems, Hydroponic
Systems Fresh water intake or exhaust systems for fish aquarium, and
Automatic Hand Sanitizer[13].
16
All Arduino boards need electric power to function. A power supply is
what is used to provide electric power to the boards and typically can be a
battery, USB cable, AC adapter or a regulated power source device.
There are different ways to power your Arduino board. The most common
way is through the USB connector available on every board, but there are a
few other possibilities to power the board. the different ways to supply
power to the board are listed below
17
The barrel connector can be supplied with an input of 7-12V. This is
regulated to 5V by the onboard voltage regulator, and the board is powered
on as shown in figure 2.13.
2.2.5.3 5V input
18
Figure 2.13: A voltage regulator can be used to supply fixed 5V input to
power up the Arduino.
Connect a 9V battery with the positive terminal connected to the Vin pin
and the negative terminal connected to the GND pin. The Vin port allows
an input between 7 and 12 Volts, but we recommend to use a 9V battery.
Depending on your application you can input 12V too but make sure the
current values stay around 500mA[14].
The fundamental rule that makes UV light valuable is its destructive nature.
Organisms behave and react differently when exposed to UV light. In
addition to that basic destructive rule, inert materials and living organism
show up distinctively in UV light than they do under the normal room, or
white, light. Likewise, its effect on a single surface, for example, an ID
card, a repair to old fashioned porcelain or a cracked apartment wall will
also be uncovered under the dark light. US currency, traveler’s checks, and
other delicate archives are likewise now mainly made to be certified by
viewing under UV light.
20
Figure 2.16: UV Index.
Washing our hands and face is something we do often and never think
twice about. We sanitize high-touch surfaces in our household and spray
disinfectants to keep germs at bay. What we don’t realize is that all of the
precautionary measures we take might be easily reversed just by grabbing
our phones, keys and other daily essentials.
On the UV light spectrum, there are UV-A, B and C lights. Philip Tierno,
clinical professor of pathology and microbiology at NYU Langone Health
state that Only the UV-C light can kill germs,
This means that the wavelength of UV-C light is strong enough to penetrate
the nucleic acid of viruses and bacteria, either killing them or preventing
them from becoming infectious. UV-C light has a wavelength between
200-270 nanometers, and a midrange between 250-253 nanometers which
kills bacteria, viruses and some protozoan parasites,” Tierno said[15].
21
CHAPTER THREE
PROPOSED SYSTEM DESIGN
3.1 Methodology
The circuit in this project has two systems that can work simultaneously. If
infrared (IR) senses the motion of objects, it will send data to the Arduino
Uno. The Arduino sends data to the relay to activate the water pump so that
it can activate the spray pump and alcohol reaches the hand through a small
pipe, the sensor connected to the Arduino will start working when the
device is activated. Another IR sensor in this circuit is used to detect the
phone and turn on the UV light to sanitize the phone as shown in figure 3.1.
22
3.2 Component Description
The components used in this project are Arduino Uno, Four IR sensor, a
Water pump, a relay, and a power supply. We describe the specification of
each component below.
23
3.2.1.1 Arduino Uno Specifications
Microcontroller ATmega328P
Operating Voltage 5V
Input Voltage 6V – 20V (limit)
7V – 12V (recommended)
Input Voltage Limits 6-20V
Flash Memory 32 KB (0.5 KB is used for Bootloader)
Frequency (Clock Speed) 16 MHz
SRAM 2 KB
EEPROM 1 KB
Analog Input Pins 6 (A0 – A5)
Digital I/O Pins 14 (Out of which 6 provide PWM output)
DC Current on I/O Pins 40 mA
DC Current on 3.3V Pin 50 mA
3.2.3 Relay
In this chapter, the relay interface with the Arduino Uno Board is
discussed. Basically relays are electro-mechanical switches and are
24
controlled by electrical signals, rather than the action of physical switches,
Relays are used to switch high voltage loads by low voltage control signals.
The construction of the relay is such that the SPST relay has a single pole
and a throw. single connection, In addition to the two-point relay coil, the
relay provides another three pins for connection. The common pin and the
NC (Normally Connected) pin provide a connection path when the relay is
not energized or activated. When the relay is energized or activated, the
path between the common pin and the NO (Normally Open) pin is
available for connection. The relay works according to the incoming
electricity, when the coil or cable is converted into an iron core from the
electric current, the lever will be attracted due to the magnetic force
produced in the coil so that the switch is closed. When the magnetic
properties of the coil are lost or when it is not electric, the spring will pull
the lever to return to the initial position.
3.2.5 Breadboard
Breadboard is a type of circuit board used in prototyping electronic circuits.
Sometimes people often refer to it as a prototype board. Breadboard in
25
general is a board needed in electronic circuits that do not require solder to
connect the circuit. The following types of breadboard according to the
following sizes:
1. Mini Breadboard, the smallest breadboard size with 170 connection
points.
2. Medium Breadboard, medium breadboard size with 400 connection
points.
3. Large Breadboard, the largest breadboard size with 830 connection
points.
3.2.8 9V Batteries
26
9V batterie is needed to provide the electrical power needed by Arduino
Uno in addition to using a USB cable and because the USB cable is used
for the programming process and the length and width of the cable are not
possible with the place.
3.3 Hand and phone sanitizer circuit diagram
Figure 3.2 shows The circuit diagram of hand sanitizer and phone using
Arduino, IR sensor, UV light ,and Battery.
void setup() {
//start serial connection
27
Serial.begin(9600);
//configure pin 2 as an input and enable the internal pull-up resistor
pinMode(2, INPUT_PULLUP);
pinMode(13, OUTPUT);
pinMode(4, INPUT_PULLUP);
pinMode(12, OUTPUT);
}
void loop() {
//read the pushbutton value into a variable
int sensorVal = digitalRead(2);
int sensorVal2 = digitalRead(4);
} else
{
digitalWrite(13, 0);
}
28
if (sensorVal2 == HIGH) {
digitalWrite(12, 1);
} else
{
digitalWrite(12, 0);
}
}
Figure 3.3: Arduino code for Automatic Hand and phone Sanitizer
29
out is There is an object. the results obtained are in accordance with the
experiment as shown in figure 3.4.
After the Arduino Uno circuit and Infrared Sensor (Obstacle) are complete,
then connect to the Relay and Mini Water Pump. The Relay controls the
flow of electricity automatically according to the logic given so that the
Mini Water Pump can be activated and deactivated.
In testing the Mini Water Pump, if the value is 1, it means there is no
object, then the output that comes out is Pump disabled plus a function to
disable the pump, namely digitalWrite( pinPump, HIGH), otherwise, if the
sensor contains an object, the output that comes out is Pump activated plus
a function to activate the pump, namely digitalWrite(pinPump, LOW).
30
Figure 3.5: Results of the Relay and Mini Water Pump.
Finally We made a box made of acrylic with three-place the first for the
component circuits and bottles (to be filled with sanitizer liquid), the
second for UV and phone sanitizer, and the third for hand sanitizer.as
shown in figure 3.5.
31
Figure 3.5 : Final Results design .
CHAPTER FOUR
The results of this design study indicate that the Automatic Hands and
phone Sanitizer tool runs well and can be assembled using Arduino Uno
microcontroller components and IR (Infrared) sensors. In making this
program, the Arduino Uno application software is needed to create
programs and work systems on devices that are made in order to run
component components that have been installed in such away. The IR
(Infra-Red) Sensor on the Hands Sanitizer, has also worked well. After the
object is detected, the relay will supply electricity to the mini water pump,
so that the mini water pump is active and sprays the liquid out. When there
is no object on the sensor, the relay will cut off electricity and the mini
32
pump will be deactivated. This tool can be placed on a table or hung on the
wall with the help of nails.
REFERENCE
33
6. Rusimamto, P.W., et al., Automatic Hand Sanitizer Container to
Prevent the Spread of Corona Virus Disease. Advances in
Engineering Research, 2020.
7. Pulver, T., Hands-On Internet of Things with MQTT: Build
connected IoT devices with Arduino and MQ Telemetry Transport
(MQTT). 2019: Packt Publishing Ltd.
8. Margolis, M., B. Jepson, and N.R. Weldin, Arduino cookbook:
recipes to begin, expand, and enhance your projects. 2020: O'Reilly
Media.
9. Nayyar, A. and V. Puri. A review of Arduino board's, Lilypad's &
Arduino shields. in 2016 3rd international conference on computing
for sustainable global development (INDIACom). 2016. IEEE.
10. Louis, L., working principle of Arduino and u sing it. International
Journal of Control, Automation, Communication and Systems
(IJCACS), 2016. 1(2): p. 21-29.
11. https://www.elprocus.com/5v-relay-module/
12. Norland, M., et al. Design of a high-performance IR sensor. in
Infrared Technology XX. 1994. SPIE.
13. https://www.gz-supplies.com/news/different-types-of-water-pump-
and-their-application/
14. https://technobyte.org/2016/07/power-up-the-arduino-uno/
15. Gunter‐Ward, D.M., et al., Efficacy of ultraviolet (UV‐C) light in
reducing foodborne pathogens and model viruses in skim milk.
Journal of Food Processing and Preservation, 2018. 42(2): p. e13485.
34