Automatic soap dispenser using Arduino -
So hey guy's welcome back to a new article in this article we will make an Automatic soap dispenser using Arduino this soap dispenser is very easy to make In few steps you can make this Automatic soap dispenser at home without wasting any time let's see How to make automatic soap dispenser using Arduino.
Needed Components:
- Arduino Uno: https://amzn.to/2QAhDYw
- Proximity Sensor: https://amzn.to/398IMbq
- Servo Motor: https://amzn.to/2UraQBy
Introduction:
Today in this article we are going to make DIY (Do It Yourself) automatic soap dispenser To make this automatic soap dispenser I am using a proximity sensor to detect motion and Servo Motor ( Use a metal servo motor, he will be able to push comfortable) and the brain of this project is Arduino UNO you can also use Arduino nano they will take less space recently I have no audio nano so that's why
I am using Arduino UNO but you can also use Arduino nano as I said they will take less space using three components we made it automatic soap dispenser And the circuit segment is very easy and Code I will give you then you can just copy and paste it.
I am using Arduino UNO but you can also use Arduino nano as I said they will take less space using three components we made it automatic soap dispenser And the circuit segment is very easy and Code I will give you then you can just copy and paste it.
And if you are having any problem in making it, then you can ask me by commenting. Now before wasting any time now, let's see step by step how to make this smart soap dispenser.
Watch YouTube Video:
Another circuit schematics:
Code:
Steps for making the automatic soap dispenser:
Step 1:
Connect a female jumper wire in the Proximity sensor.
- After connecting female jumper wires in proximity sensor then connect to the Arduino Uno board.
Step 2:
Now take a Servo Motor and here you can see wire pinout details of a servo motor.
- After taking a servo motor now connect the male wire to a servo motor.
- After connecting a male wire to the servo motor then connect to the Arduino Uno board In the image I have made an arrow so that you will be able to understand it easily.
Step 3:
Now you can see all the connection is done in the image, now you have to upload the code in the Arduino board.
- After uploading the code here you can see on the Image our circuit is properly working.
Step 4:
To attach a servo motor I am using a Hot glue gun you can also use super glue.
- After attaching a servo motor take a copper wire and put it on the hole as you can see on the image.
- And tie a knot in the servo motor.
After tying a knot in the servo motor, now attach the proximity sensor and Arduino using Hot glue gun.
- After attaching here you can see on the Image our Automatic soap dispenser is properly working.
Testing:
Here you can see our " Automatic soap dispenser " is properly working If you have any queries related to this article then comment below I will try to answer your question. and I will highly suggest you watch a Youtube video.
Watch YouTube Video:
13 Comments
Were is the code???
ReplyDeleteNow the code is available now you can download the code from my our artical.
Deletecode
DeleteI don't have the proximity sensor, can you share the code if I were to use a ultrasonic sensor?
ReplyDeleteThanks
I tried it but doesn't work. The servo just turns in revolutions until it remove obstacle from sensor.
ReplyDeleteare you able to write the codes in python ?
ReplyDeletecan you write the python format for this ? Thank you!
DeleteCode : https://github.com/diyelectronic143/ArduinoProjects/blob/master/smart_hand_wash.ino
ReplyDeleteSir where is the code i cannot find in article??
ReplyDeleteCode -: https://github.com/diyelectronic143/ArduinoProjects/blob/master/smart_hand_wash.ino
Deletewhat code language is this?
ReplyDeleteSir where is the code
ReplyDeletewhat type of battery should I used in this project ? please reply me as soon as possible . Thank you and god bless
ReplyDeletePost a Comment