Hey guys, In this project, we are making the automatic soap dispenser using Arduino. The major benefit of this project is that if you will use this project you will wash your hand automatically for 20 seconds. We use two servo motors in our project, one is for the display timer and the other one is for dispensing the soap. This project detects your hand automatically and after ejecting some soap drops the timer will start automatically for the next twenty seconds. There is an ultrasonic sensor that can detect your hands. For more information about this project please visit the original post of this project and also bookmark TECHATRONIC.COM as all my further projects will be pre-uploaded there.
You just need to place your hand in front of the automatic soap dispenser, there is a sensor fitted in the dispenser and it will detect your hand in front of the sensor and then the soap will dispense in your hand. According to doctors the ideal time for washing the hands is 20 seconds. So the timer is there for helping you to wash your hands perfectly. After 20 seconds the system will reset automatically. You don't need to touch the soap dispenser which makes it germs-free. All the steps and materials required for making this project are given below.
- Arduino NANO or Uno (any version)
- HC-SR04 Ultrasonic Sensor
- Servo Motors
- Jumper Wires
- On-Off switch
- Battery
Make sure that all the connections should be made properly according to the given diagram.
Code for Arduino automatic soap dispenserNOTE: Please upload this code to the Arduino.
You can also see the video tutorial for this projectThanks for reading.
Comments
Please log in or sign up to comment.