DIY Automatic Hand Sanitizer Dispenser
by Mudit5246 in Circuits > Arduino
7916 Views, 5 Favorites, 0 Comments
DIY Automatic Hand Sanitizer Dispenser
In this project, we will build an Auto Hand Sanitizer Dispenser. This project will use Arduino, Ultrasonic Sensor, Water pump, and Hand Sanitizer. An ultrasonic sensor is used to check the presence of hands below the outlet of the sanitizer machine. It will continuously calculate the distance between the sanitizer outlet and itself and tells the Arduino to turn on the pump whenever the distance is less than 15cm to push the sanitizer out.
Arduino is used as the main controller.
Components Required:
- Arduino Uno or nano
- Breadboard
- Pump or motor
- Ultrasonic sensor
- Transistor or relay
- 9v battery
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
Circuit Diagram:
Connections for this build is very simple !
Sensor to Arduino:
Trigger to D9
Echo to D7
Vcc to Vcc
Gnd to Gnd
Motor to Arduino: Signal to D6
Learn How to Interface Ultrasonic Sensor:
Watch the video carefully. I have explained the code in detail.
Code:
For credit, please follow my following accounts.
Thanks
Connect with me on:
Youtube: Click here
Facebook page: Click here
Instagram: Click here