Touchless Hand Sanitizer Dispenser Using Servo Motor And 555 Timer IC

2,478 views

What is a Touchless Hand Sanitizer Dispenser?

A Touchless hand sanitizer dispenser is an automatic fluid distribution system that allows the user to obtain a controlled amount of any fluid (usually 1ml). It can be used to dispense any alcohol-based hand sanitizer. It features a touchless operation, which makes people more confident about the sanitization process. With the ongoing COVID-19 pandemic, proper hand cleaning practices are becoming essential to prevent infection. This dispensing system will allow you to interact with the dispenser without the need for any physical contact with the device itself. So, in today’s tutorial, we are going to design an automatic Touchless Hand Sanitizer Dispenser using a Servo Motor a 555 Timer IC & an operational amplifier.

This circuit follows a very simple configuration scheme. First of all, a control signal is taken as an input from the IR transceiver module. The output of which goes through an amplification stage. Then the signal is relayed to a timer circuit that triggers a servo to dispense a set amount of liquid. After this, the circuit resets and the servo returns to its original.

Hardware Components

You will need the following parts to build this project:

S.NoComponentValueQty
1)Timer ICNE5551
2)Op-Amp ICLM3581
3)Rigid wire/zip tie1
4)Relay SwitchSPDT/5V1
5)Servo MotorSG-901
6)Soap Dispenser BottlePlastic. 16oz1
7)IR Emitter LED5mm/3.5V1
8)IR receiverTSOP17381
9)NPN Transistor2n22221
10)LED5mm, 3.5V1
11)Potentiometer10K1
12)Capacitors100nF2
13)Resistors10K, 68K, 33K, 4.7K, 1K, 560 Ohm, 220 Ohm9
14)Soldering Iron45W – 65W1
15)Soldering Wire with Flux1
16)Diode1N40071
17)Veroboard1
18)DC Battery with Clip9V1
19)Male Header Pins1
20)Jumper WiresAs per need

555 Timer Pinout

LM358 Pinout

SG90 Servo Motor

Useful Steps

Setting Up Circuit For Servo Control

1) Solder the NE555 timer IC on the Veroboard. After that, short pin 4 & 8 of the timer IC with each other.

2) Solder a 33K resistor between pin 8 & pin 7 of the timer IC. After that, solder a 68K resistor between pin 7 & pin 6 of the 555 timer IC.

3) Solder the 100nF capacitor between pin 2 & pin 1 of the 555 timer IC. After that, solder another 100nF capacitor between pin 1 & pin 5 of the timer IC.

4) After that, solder a 2n2222 transistor on the veroboard. Solder the emitter terminal of the transistor with pin 1 of the timer IC.

5) Now solder a 4.7K resistor between pin 8 of the IC and the collector terminal of the 2n2222 transistor.

6) After that, solder a 1K resistor between pin 3 of the timer IC and the base of the 2n2222 transistor.

7) Solder the 5V relay on the veroboard. After that solder a 10K resistor between pin 6 of the timer IC and the NO pin of the SPDT relay.

8) Solder the output male header pins for servo on the veroboard.

Setting up Circuit For the Relay Switch

9) Solder the LM358 IC on the veroboard. After that, solder the 10K preset pot on the veroboard.

10) Solder a 10K resistor between pin 4 & pin 3 of the Op-Amp IC.

11) After that solder a 1N4007 diode between the coil terminals of the 5V relay coil.

12) Now solder the 2n2222 transistor (to control the relay) on the veroboard. After that, solder the emitter pin of the transistor with pin 4 of the LM358 IC.

13) Solder a 220 Ohm resistor between pin 1 of the Op-Amp IC and the +ve terminal of the LED. After that, solder a 560 Ohms resistor between pin 1 of the LM358 & the base pin of the transistor.

14) Solder the LED +ve with the 220 Ohm resistance and the -ve terminal with pin 4 of the IC.

IR Transceiver Configuration

15) Solder the -ve terminal of the IR LED with a 220Ohm resistor.

16) Connect the IR transmitter LED and the receiver in series.

17) Connect the Vcc & GND for Both ICs. Connect servo to the headers & test the circuit.

Installation of the Sanitizer Dispenser

18) Install the circuit on the sanitizer container with the IR sensor pointing in the face direction of the nozzle. Connect a rigid wire or zip tie with the arm of the servo, going over the nozzle of the sanitizer.

Circuit Diagram For Touchless Hand Sanitizer Dispenser

Working Explanation

The working of this circuit is as following. On bringing your hand near the IR transceiver module, the IR LED rays bounce off the surface of your hand and are collected by the IR photodiode. The output of which acts as a non-inverting input on pin 3 of the LM358 Op-Amp. The amplified output from the LM358 acts as a control signal to the base of the 2n2222 transistor. The collector output from the transistor then goes to the coil terminal of the 5v SPDT relay. Here, we are using a flyback diode (1n4007) to protect the relay from any negative feedback in case of a short. The output from the collector energizes the coil terminals of the relay making the 555 timer servo motor control connected between the NC & COM terminals of the relay.

Output from the SPDT relay is received on the TRIG pin of the 555 timer circuit. The output of the timer IC acts as a control signal on the base of the second 2n2222 transistor. The collector output from the transistor then goes to the signal pin of the pin of the servo & triggers the motion of the servo, allowing a precise amount of sanitizer liquid (1ml) to be dispensed from the container unit.

Applications

  • Used in homes, offices & industries in order to uphold & maintain occupational health and safety standards.

See Also: Bike Turning Signal Circuit | How to setup WiFi on Raspberry Pi 3? | LC Meter Circuit using 555 Timer

3 thoughts on “Touchless Hand Sanitizer Dispenser Using Servo Motor And 555 Timer IC”

Comments are closed.