top of page

Automatic Hand Sanitizer Dispenser using Arduino


  • Components and Supplies

o Arduino UNO

o Ultrasonic Sensor HC-SR04

o Female/Female Jumper Wires

o MAKERFACTORY Robot Servo MF-06

o Hand Sanitizer

o Accessory, Screw

o Plastic Enclosure, Wooden Sheet

o Copper Wire

  • Necessory Tools and Machines

o Hot Glue Gun (generic)

o Computer or Laptop

  • Apps and Online Services

o Arduino IDE

  • Misc.

1. Alcohol Based Hand Rub or Sanitizer. (most important)

2. Self-Threading Screw (1 piece).

3. 0.8 mm copper wire (0.5 meter).

4. plastic container (which fits everything inside comfortably)

5. Stationary (marker and ruler scale).


  • About this Project

In the current scenario of global outbreak, it is important to change our cleanliness habits. When washing hands there is a physical touch to the soap or a Hand Sanitizer. There is probability to contain bacteria and viruses on the Hand wash or Sanitizer. Therefore, to overcome this problem we are going to learn how to make Hand Sanitizer or Soap Dispenser at Home using Arduino.

In this project I’ve tried to make Automatic Hand Sanitizer Dispenser using Arduino UNO. Let’s get started,



Step 1: Connections

1. The Yellow colour pin of Servo Motor will connect to the digital pin 8 of Arduino.

2. The Red colour wire of Servo Motor will connect to 5V pin of Arduino.

3. The Black colour wire of Servo Motor will connect to GND pin of Arduino.

4. The trig pin of Ultrasonic sensor will connect to the digital pin 10 of Arduino.

5. The echo pin of Ultrasonic sensor will connect to the digital pin 11 of Arduino.

6. The VCC of Ultrasonic Sensor will connect to 5V pin of Arduino.

7. The GND pin of Ultrasonic Sensor will connect to GND pin of Arduino.

8. The positive terminal of a 9V battery will connect to the first terminal of Switch.

9. The second terminal of Switch will connect to Vin of Arduino.

10. The negative or Ground terminal of battery will connect to GND of Arduino.




Step 2: Mechanics


Let's Understand the Mechanical Arrangement before we start making it. We will need a mechanism which will create a force to push the nozzle down and dispense the liquid, since we are using servo motor, that provides circular motion, it alone can’t create a downwards force, we will need some kind of mechanical arrangement to make it happen, we will use pulley mechanism to fix one end and convert the rotational force to push, we can do that using Copper Wire to create a downwards vector force for transmission, what it basically does is, it convert the circular force of Servo to a downwards acting force vector, to simulate push. but this all sounds complicated, so let’s execute this task bit by bit, following the further steps





Step 3: Circuit Diagram





Step 4: Learn how to Interface Ultrasonic Sensor Click Here

Step 5: Code


Connect with me on the following platform or share your email id for the code.\


This is for those who are not used to with Arduino UNO or are beginners . Hope you will understand. If you want the code you can connect with me on the following Platforms. For more interesting projects follow our following platforms.

Thank You!


For more interesting projects connect with me on:



YouTube: Click here

Website: Click here

Instagram: Click here

 
 
 

Commentaires


Post: Blog2_Post
bottom of page