How to make Automatic Hand Sanitizer || Say" NO" to CoronaVirus || Arduino Project

  Рет қаралды 27,462

Science 4 U

Science 4 U

Күн бұрын

Пікірлер: 165
@viviendaso6077
@viviendaso6077 Жыл бұрын
I tried making it for a school project and it works perfectly! This is one of the easiest Arduino UNO tutorials to follow. Thank you Science for U!
@Science_4U_
@Science_4U_ Жыл бұрын
Thank you so much dear friend. Words of appreciation like these are the motivation to make more such projects and share with everyone. Thank you once again..😀❤️
@venunuvvula5383
@venunuvvula5383 Жыл бұрын
Servo motor is rotating just somewhat not rotating fully to pump the santizer tomorrow is our submission pls reply what can we do now??
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend..Don't worry..You can make the following changes in the code to change the rotating angle of the servo motor. Please find the below lines in the code.. for(pos=0;pos=0;pos--) { Myservo.write(pos); delay(15); 1. In the above codes 0° is the initial position and 20° is the final position of the servo motor. Increase the pos=20° to a higher number like 30° in both the 'for' commands to get more angle of rotation and hence more pressing of the arm.. 2. Also please find the command delay(15). That is the delay for each degree turn of the motor. Reducing the number will make rotation faster. You can type 0 to make the fastest rotation.
@Science_4U_
@Science_4U_ Жыл бұрын
Please change the code accordingly and upload. Please see if this solves the problem..
@venunuvvula5383
@venunuvvula5383 Жыл бұрын
Now it worked thank you so much 😊
@Science_4U_
@Science_4U_ Жыл бұрын
@@venunuvvula5383 okay friend..happy to know that..🙂
@shiopawww
@shiopawww Ай бұрын
Thank you ❤​@@Science_4U_
@TenTrillionMs
@TenTrillionMs 10 ай бұрын
how do i make the servo rotate more i am using the normal servo
@TenTrillionMs
@TenTrillionMs 10 ай бұрын
pls help i need to submit tommorrow
@Science_4U_
@Science_4U_ 10 ай бұрын
@dxrkshadows Hi friend..Don't worry..You can make the following changes in the code to change the rotating angle of the servo motor. Please find the below lines in the code.. for(pos=0;pos=0;pos--) { Myservo.write(pos); delay(15); 1. In the above codes 0° is the initial position and 20° is the final position of the servo motor. Increase the pos=20° to a higher number like 30° in both the 'for' commands to get more angle of rotation and hence more pressing of the arm.. 2. Also please find the command delay(15). That is the delay for each degree turn of the motor. Reducing the number will make rotation faster. You can type 0 to make the fastest rotation.
@sravanjyothi7631
@sravanjyothi7631 12 күн бұрын
Hlo sir, I had made all the connection correctly sensor and motor are also new one. I had made the changes also in code but it is not working
@Branded...
@Branded... Жыл бұрын
Which gel is used to attach the components with sanitizer??
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend. I have just used some handwash for the project. Sanitizer also will work. There are so many gel like sanitizers which will work best with this project.
@Branded...
@Branded... Жыл бұрын
Which gum (fevical) you used ?
@Science_4U_
@Science_4U_ Жыл бұрын
@Branded... ooh..you mean gum..I first used normal glue gun and gluestick for sticking the components to the sanitizer. For the servo motor alone, Since large force acts on it, I applied some feviquick also..
@Ki77mo66
@Ki77mo66 11 ай бұрын
please. When I install, the servo moves four to five revolutions or more. What is the solution?
@Ki77mo66
@Ki77mo66 11 ай бұрын
I want to deliver it to the university on Wednesday
@Science_4U_
@Science_4U_ 11 ай бұрын
Hi friend. You are using a continous rotation servo. But you have to use a positional servo motor which can rotate only 180 degrees. Both infact looks the same so it is difficult to differentiate. Positional servo motor only remembers the reference and turns a fixed angle from reference point everytime command is given.
@laurenlucero148
@laurenlucero148 8 ай бұрын
Is there any way to make the angle of the servo motor for it to move more?
@Science_4U_
@Science_4U_ 8 ай бұрын
Yes friend..Sure!!!!..You can make the following changes in the code to change the rotating angle of the servo motor. Please find the below lines in the code.. for(pos=0;pos=0;pos--) { Myservo.write(pos); delay(15); 1. In the above codes 0° is the initial position and 20° is the final position of the servo motor. Increase the pos=20° to a higher number like 30° in both the 'for' commands to get more angle of rotation and hence more pressing of the arm.. 2. Also please find the command delay(15). That is the delay in milliseconds for each degree turn of the motor. Reducing the number will make rotation faster. You can type 0 to make the fastest rotation.
@SakinaMazhar-l7q
@SakinaMazhar-l7q 2 ай бұрын
can we use servo motor sg 90 instead of mg 996g?
@Science_4U_
@Science_4U_ Ай бұрын
Yes friend. SG 90 is having less torque compared to 996g..sg90 will work ..but if sanitizer bottle needs to be pressed hard, then sg90 cannot give that much torque. So you can try with sg90 servo motor. If it is not able to press the bottle, then you have to use 996g..
@AnshulBhaskar-q1i
@AnshulBhaskar-q1i Жыл бұрын
hi bro... can we use sg90 servo motor instead of mg996 servo motor?
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend. You can use SG90 servo motor also. But its torque is way lesser than MG996 motor. MG996 motor produces 11 kgcm torque whereas SG 90 produces only 1.6 kgm torque, i.e. almost 7 times lower. So SG90 pushing force will be less, but it will just work I think.
@SakinaMazhar-l7q
@SakinaMazhar-l7q 2 ай бұрын
does your soap dispense worked with servo motor sg 90 with the same arrangement or not??
@hruthikanp6337
@hruthikanp6337 7 ай бұрын
If im running the code qith only a arduino uno. It is showing some error
@Science_4U_
@Science_4U_ 7 ай бұрын
Hi friend. What is the error that it is showing?
@hruthikanp6337
@hruthikanp6337 7 ай бұрын
@@Science_4U_ hey it worked well, sry for the late reply. I presented well for my exhibition thankss
@Science_4U_
@Science_4U_ 7 ай бұрын
@hruthikanp6337 okay friend. Glad to know that it worked well for your exhibition..🥰❤️🙂
@manadupavankumar4828
@manadupavankumar4828 2 ай бұрын
I dont have an rocker switch in tinker how can I do can you pls reply
@user-xv1fg7xy9m
@user-xv1fg7xy9m 9 ай бұрын
Hi, We have connected the components exactly like yours.. But the servo motor is not at all rotating...please give me some suggestions
@Science_4U_
@Science_4U_ 9 ай бұрын
Hi friend. Either the servo motor could be faulty or ultrasonic sensor may not be working correctly to detect your hand near it.
@Science_4U_
@Science_4U_ 9 ай бұрын
You have to test servo motor and ultrasonic sensor separately and find out which is having problem.
@user-xv1fg7xy9m
@user-xv1fg7xy9m 9 ай бұрын
@@Science_4U_ can i replace the servo motor with sg90 ? Will that work?
@Science_4U_
@Science_4U_ 9 ай бұрын
@user-xv1fg7xy9m Yes sure friend. That will also work. If that servo motor is also not working, most likely the ultrasonic sensor is faulty. It is not detecting you hand and hence the sevo motor is not rotating.
@user-xv1fg7xy9m
@user-xv1fg7xy9m 9 ай бұрын
@@Science_4U_ No we've checked the sensor.. it's working perfectly.. Still don't understand where the problem is.. we have tried to do exactly the way you have shown in the video..
@eline_111
@eline_111 Жыл бұрын
hi, me and my friend tried doing this. We bought all the equipment needed and tried the code given, it did not pump. any suggetions on what to do right now?
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend. Is the servo motor arm rotating when you are bringing your hand near the ultrasonic sensor?
@Science_4U_
@Science_4U_ Жыл бұрын
Or is it just a pumping problem?. Like the arm is moving when hand is brought near the ultrasonic sensor, but the sanitizer is not coming out of the bottle?.
@eline_111
@eline_111 Жыл бұрын
@@Science_4U_ yes.. it is the pumping problem. We tried many things... any solution for this??
@Science_4U_
@Science_4U_ Жыл бұрын
@eline_3 Is the sanitizer coming out by pressing with hand. Normally it takes a few presses initially for the sanitizer to come out. Also, are you using just alcohol sanitizer which flows like water?. You can use some thicker alcohol based sanitizer fluids which will be easy to come out with a press. You can try with handwash also and see if that works.
@eline_111
@eline_111 Жыл бұрын
@@Science_4U_ the sanitizer is coming out by using hand. thanks for the solution! it is liquidy...and we are using an ethyl alcohol based sanitizer
@KimVlogOfficial
@KimVlogOfficial 11 ай бұрын
sir what are the jumper wires? male to male / female to female or male to female, thankyou for response❤
@Science_4U_
@Science_4U_ 11 ай бұрын
Hi friend. I have use the following. 4 numbers male to female jumper wires for connecting ultrasonic sensor to arduino. 3 Nos. of jumper wires male to male for connecting servo motor to arduino.
@junnieriss_9495
@junnieriss_9495 3 ай бұрын
hello , im working on this project for my school project and its working but why suddenly the servo motor didnt moving and just stay on the same position..please need help
@paulaandreatupaz42
@paulaandreatupaz42 Ай бұрын
Pls answer
@NicoliAndina
@NicoliAndina 9 ай бұрын
hi, we have constructed the device. but it is not working.
@Science_4U_
@Science_4U_ 9 ай бұрын
Okay friend. I guess the ultrasonic sensor is faulty. It is not detecting your hand and that is why it is not working. Is the sensor a new one or have you already used it before and working?
@Foot_EditzX
@Foot_EditzX 7 ай бұрын
Hey bro can I make this with normal blue small servo motor
@Science_4U_
@Science_4U_ 7 ай бұрын
Yes friend. The blue motor that you are telling is an SG 90 servo motor. That will also work. I have seen many videos of similar project with that motor as well.
@Foot_EditzX
@Foot_EditzX 6 ай бұрын
Thanks
@laurenlucero148
@laurenlucero148 10 ай бұрын
Will arduino uno r3 work as well?
@Science_4U_
@Science_4U_ 10 ай бұрын
Yes friend. Definitely. All the connections will be same.
@ChrisJeanViernes
@ChrisJeanViernes Жыл бұрын
Hi is there a specific Arduino Uno for this project? Because when I was trying to buy there is Arduino Uno DIP and Arduino Uno CH340G. I'm not quite sure which to buy.
@Science_4U_
@Science_4U_ Жыл бұрын
Both will work friend..🙂There are only minor differences between them in term of speed. Also in DIP the chip is removable . But both boards are fundementally the same.
@ChrisJeanViernes
@ChrisJeanViernes Жыл бұрын
Thank you so much.
@riddhipatil5618
@riddhipatil5618 11 ай бұрын
which software is required to run the code
@Science_4U_
@Science_4U_ 11 ай бұрын
Hi friend..It is called IDE software. IDE stands for Integrated Development Environment..it can be downloaded from internet for free..I will give the download link below.. www.arduino.cc/en/software
@joeljaswanth6490
@joeljaswanth6490 Жыл бұрын
bro that code is not working and Servo motor rotating continuously can you change the code
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend. The code is correct only. Many have done this project also succesfully with this code. I think the servo that you have is a continous rotation servo. You need a stadard servo motor with around 180 degree rotation to work correctly. Both are different type of servo motors. You can search in internet..
@4aidsmker172
@4aidsmker172 Жыл бұрын
Heyy , i cant download the code link using wps office , which app can i download it?
@Science_4U_
@Science_4U_ Жыл бұрын
Just goto google drive link and click on download button. The code will be downloaded to PC. Then you can use arduino IDE software for opening the code..
@wahib_hussain1.
@wahib_hussain1. 5 ай бұрын
Hi broo... coding preview is not available, what to do and how to do
@Science_4U_
@Science_4U_ 5 ай бұрын
You have to download the file friend, to your PC or laptop. Then upload the code to arduino using IDE software.
@wahib_hussain1.
@wahib_hussain1. 5 ай бұрын
For how many days till the battery will last till if there is 10 times of use in a day
@Science_4U_
@Science_4U_ 5 ай бұрын
@@wahib_hussain1. I think it will last atleast a month..
@wahib_hussain1.
@wahib_hussain1. 5 ай бұрын
How to get IDE software
@Science_4U_
@Science_4U_ 5 ай бұрын
@@wahib_hussain1. you can download from internet for free.
@pxlxx2706
@pxlxx2706 7 ай бұрын
Hey ! Thanks for the guidance. But i am facing a problem. When i connect the board with laptop, the code works perfectly fine and servo motor also rotates but when disconnected from the laptop and operated on battery only the servo motor does not rotate at all. Can you suggest what the problem might be?
@Science_4U_
@Science_4U_ 7 ай бұрын
Hi friend. It is definitely due to the battery not powerful enough to rotate the servo motor. When uno is directly connected to laptop, there is adequate power available from the UDB port. Hence no shortage of power and it works correctly. But when uno is disconnected from laptop, the board, sensor and servo motor has to be powered by the battery only. So if it is not powerful enough or discharged, it cannot rotate the servo motor. Servo motor consumes large amount of current during operation.
@Science_4U_
@Science_4U_ 7 ай бұрын
Which battery are you using friend?
@pxlxx2706
@pxlxx2706 7 ай бұрын
@@Science_4U_ i am using a 9V battery, the same as u used
@Science_4U_
@Science_4U_ 7 ай бұрын
@@pxlxx2706 hmm..okay friend. This 9V battery is good enough. But i think it may be discharged. Is it a new one that you are using?
@pxlxx2706
@pxlxx2706 7 ай бұрын
@@Science_4U_ Yes it is !
@JulminJanudi
@JulminJanudi 7 ай бұрын
Why can't I download the link for the Arduino Uno code? Can you drop the code for me?
@Science_4U_
@Science_4U_ 7 ай бұрын
Hi friend. Have you tried downloading code from the following mediafire link also? www.mediafire.com/file/r9jh7nd4nip6kga/automatic_sanitizer.ino/file
@lc_electric
@lc_electric 2 жыл бұрын
Keep going bro ❤
@Science_4U_
@Science_4U_ 2 жыл бұрын
Thank you bro..🥰💓👍
@veergamer7434
@veergamer7434 Жыл бұрын
Can u list the components which are required to this ??
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend. The list of items required and their purchase links too are given in the description box just below the video...🙂
@shreyasvh6569
@shreyasvh6569 Жыл бұрын
Arduino code is not working pls send it
@MuhammedWaqas-m7q
@MuhammedWaqas-m7q 10 ай бұрын
The code isn't downloading what to do kindly tell me hurry tomorrow is my exam
@Science_4U_
@Science_4U_ 10 ай бұрын
Hi friend. Don't worry. I have uploaded the code in mediafire site also. Can you try downloading the code from the below link? www.mediafire.com/file/r9jh7nd4nip6kga/automatic_sanitizer.ino/file
@shreyasvh6569
@shreyasvh6569 Жыл бұрын
Means it shows no preview available
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend.. I didn't understand the question. What is the preview you are referring to?
@shreyasvh6569
@shreyasvh6569 Жыл бұрын
Sir if we try to download the arduino code it shows no preview available
@shreyasvh6569
@shreyasvh6569 Жыл бұрын
please send that Arduino code
@Science_4U_
@Science_4U_ Жыл бұрын
@@shreyasvh6569 It will show no preview available. But there will be a download button also in google drive. By clicking on it, the file will get downloaded.
@shreyasvh6569
@shreyasvh6569 Жыл бұрын
@@Science_4U_ there will be download button but once it downloaded I will make try to open it but file can't open that's would you plss send me the code
@samyaksalve7626
@samyaksalve7626 2 ай бұрын
Sir the code is not working
@Science_4U_
@Science_4U_ 2 ай бұрын
The code is a tested and working one friend. What is the problem you are facing?
@samyaksalve7626
@samyaksalve7626 2 ай бұрын
@@Science_4U_ The code file is not opening
@redbarron3695
@redbarron3695 3 ай бұрын
Does this also work for lotion bottles? Asking for a friend
@RavindraKumar-fd8xg
@RavindraKumar-fd8xg Ай бұрын
can i buy this project
@Science_4U_
@Science_4U_ Ай бұрын
I am sorry friend. This is not available for sale..
@funwithrakshanraj9262
@funwithrakshanraj9262 10 ай бұрын
I didn’t get the code
@Science_4U_
@Science_4U_ 10 ай бұрын
The code will be small size only but will have an extension .ino
@santoshgodawale-sy4ep
@santoshgodawale-sy4ep Жыл бұрын
Heyy can please share the diagram of connection
@Science_4U_
@Science_4U_ Жыл бұрын
Yes sure friend. I made the circuit diagram now & it can be downloaded from the following link : drive.google.com/file/d/1TqooN2gKNmgrDdJC0sjF-hJeRgPpGmvY/view?usp=sharing
@loktale6483
@loktale6483 2 жыл бұрын
Brilliant idea ❤
@Science_4U_
@Science_4U_ 2 жыл бұрын
Thanks🙂
@easy_notes19
@easy_notes19 Жыл бұрын
How i can download the code for it ...plz suggest
@Science_4U_
@Science_4U_ Жыл бұрын
Hi friend, the code can be downloaded from the google drive link that I have given in the description section. Iam giving the link to download code below also.. drive.google.com/file/d/17qf--8l59exZo_DeykKACKy51wdMksMC/view?usp=share_link
@JohnSmith-kc7fi
@JohnSmith-kc7fi 2 жыл бұрын
How much did you take it to make this?
@Science_4U_
@Science_4U_ 2 жыл бұрын
It took around 20 dollars to make this..
@Science_4U_
@Science_4U_ 2 жыл бұрын
Arduino UNO board - 10 dollars.. Servo motor - 4 dollars Ultrasonic sensor - 4 dollars And other items like battery, switch and jumper wires - 2 dollars..
@JohnSmith-kc7fi
@JohnSmith-kc7fi 2 жыл бұрын
@@Science_4U_ thanks for this can you please name all the equipments you used in this project and how much time diit take to do it?
@Science_4U_
@Science_4U_ 2 жыл бұрын
@@JohnSmith-kc7fi Yes sure. Please find below the items used for this project and the purchase links too. 1. Arduino Uno: amzn.eu/d/5IlDq9r 2. 9V battery: amzn.eu/d/34SPqIR 3. Servo motor MG 996 : amzn.eu/d/fcIwdMR 4. Ultrasonic sensor HC-SR04 : amzn.eu/d/8Qi1WuQ 5. Rocker switch : amzn.eu/d/1BBajCn 6. jumper wires : amzn.eu/d/7uemocG 7. Connector for 9V battery : amzn.eu/d/gXdNQt6
@Science_4U_
@Science_4U_ 2 жыл бұрын
@@JohnSmith-kc7fi It is a rather easy project. It takes just 3-4 hours to complete this project🙂.
@leejaj
@leejaj 2 жыл бұрын
So useful👌
@Science_4U_
@Science_4U_ 2 жыл бұрын
Thank you..🙂🥰
@Criz-rd5ti
@Criz-rd5ti 10 ай бұрын
hi can i have the code.pls
@Science_4U_
@Science_4U_ 10 ай бұрын
Hi friend. Sure. The code can be downloaded from the google drive link given in the description box below the video.
@funwithrakshanraj9262
@funwithrakshanraj9262 10 ай бұрын
Simply coming 1KB and not showing nothing
@Science_4U_
@Science_4U_ 10 ай бұрын
Hi friend..You can try downloading the code from the following links.. Link to Arduino code: drive.google.com/file/d/17qf--8l59exZo_DeykKACKy51wdMksMC/view?usp=share_link Alternate link to download code www.mediafire.com/file/r9jh7nd4nip6kga/automatic_sanitizer.ino/file
@jayniv6345
@jayniv6345 8 ай бұрын
​@@Science_4U_ Link to arduino code : No preview available?
@Science_4U_
@Science_4U_ 8 ай бұрын
@@jayniv6345 No preview is available friend. You have to download it and then open in IDE software.
@EDUARDOOMANDAM
@EDUARDOOMANDAM 8 ай бұрын
can i have the code?
@Science_4U_
@Science_4U_ 8 ай бұрын
Yes friend..sure.. The link to download code is already given in the description box below every video. I am giving links here also. Link to Arduino code: drive.google.com/file/d/17qf--8l59exZo_DeykKACKy51wdMksMC/view?usp=share_link Alternate link to download code www.mediafire.com/file/r9jh7nd4nip6kga/automatic_sanitizer.ino/file
@VinKrishSolutions
@VinKrishSolutions 2 жыл бұрын
Super😊👌
@Science_4U_
@Science_4U_ 2 жыл бұрын
Thank you..🙂🥰
@hruthikanp6337
@hruthikanp6337 8 ай бұрын
Thanksss bro.
@Science_4U_
@Science_4U_ 8 ай бұрын
You are welcome dear friend..❤️🙂
@funwithrakshanraj9262
@funwithrakshanraj9262 10 ай бұрын
And l have project tomorrow
@quicklookkarthik
@quicklookkarthik 2 жыл бұрын
Innovative.
@Science_4U_
@Science_4U_ 2 жыл бұрын
Thank you so much friend..💓🙂
@larryhull2752
@larryhull2752 Жыл бұрын
Bro how many times are you gonna sanitize 😂😂
@Science_4U_
@Science_4U_ Жыл бұрын
😂To ensure 100% disinfection😂😂
DIY Automatic Alcohol Dispenser ($3 No Arduino Needed)
4:02
TechBuilder
Рет қаралды 1,5 МЛН
How to make Automatic Hand Sanitizer Dispenser | DIY
5:08
hash include electronics
Рет қаралды 52 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Arduino NANO Propeller LED Analog Clock
23:24
Hobby Projects
Рет қаралды 2,3 МЛН
Automatic Hand Sanitizer Dispenser using Arduino | ✅ COVID-19 Safety Project
3:55
RootSaid - Robotics, Electronics & Technology
Рет қаралды 66 М.
Automatic Hand Sanitizer|Arduino and Ultrasonic sensor
3:13
ElectroCrafTech by KusanMohan
Рет қаралды 1,5 М.
How To Make Homework Writing Machine at Home
7:21
Creativity Buzz
Рет қаралды 49 МЛН
Build an Arduino Automatic Pill Dispenser | Engineering Project
18:30
Science Buddies
Рет қаралды 29 М.
Simple Touch Free Automatic Hand Sanitizer Dispenser
5:22
Superb Tech
Рет қаралды 50 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН
How Servo Motors Work & How To Control Servos using Arduino
9:54
How To Mechatronics
Рет қаралды 685 М.