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

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ม.ค. 2023
  • Hello friends,
    Hope you are all doing good. Today, I am showing you how to convert a normal hand sanitizer bottle to an automatic hand sanitizer dispenser machine. This is done using arduino uno, a stepper motor MG 996R and an ultrasonic sensor HC-SR04. The ultrasonic sensor detects the presence of hand near and and triggers a servo motor. The motor arm pushes and dispenses the hand sanitizer.
    Link to purchase items
    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
    Link to Arduino code:
    drive.google.com/file/d/17qf-...
    Alternate link to download code
    www.mediafire.com/file/r9jh7n...
    Link to download Circuit Diagram:
    drive.google.com/file/d/1Tqoo...
    Please do watch the video .Thank you...
    Please share the video if you like it.
    ❤❤❤~~PLEASE SUBSCRIBE TO THE CHANNEL TO SEE MORE SUCH INTERESTING VIDEOS & MAKE LEARING SCIENCE FUN~~❤❤❤
    #arduino #scienceprojectideas #scienceexhibition #diyprojects #scienceproject #electronics #arduinoproject #projectforkids
    #automatichandsanitizer #arduino #arduinoproject #scienceproject
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 128

  • @viviendaso6077
    @viviendaso6077 5 หลายเดือนก่อน +2

    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_  5 หลายเดือนก่อน +2

      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..😀❤️

  • @user-mj1dv2lh2m
    @user-mj1dv2lh2m 5 หลายเดือนก่อน +1

    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_  5 หลายเดือนก่อน +2

      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.

    • @user-mj1dv2lh2m
      @user-mj1dv2lh2m 5 หลายเดือนก่อน

      Thank you so much.

  • @laurenlucero148
    @laurenlucero148 19 วันที่ผ่านมา +1

    Is there any way to make the angle of the servo motor for it to move more?

    • @Science_4U_
      @Science_4U_  19 วันที่ผ่านมา +2

      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.

  • @user-ht5pc9so7d
    @user-ht5pc9so7d 4 หลายเดือนก่อน +1

    hi bro... can we use sg90 servo motor instead of mg996 servo motor?

    • @Science_4U_
      @Science_4U_  4 หลายเดือนก่อน +2

      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.

  • @Branded...
    @Branded... 5 หลายเดือนก่อน +1

    Which gel is used to attach the components with sanitizer??

    • @Science_4U_
      @Science_4U_  5 หลายเดือนก่อน +1

      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... 5 หลายเดือนก่อน +1

      Which gum (fevical) you used ?

    • @Science_4U_
      @Science_4U_  5 หลายเดือนก่อน +2

      @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..

  • @shreyasvh6569
    @shreyasvh6569 4 หลายเดือนก่อน +1

    Arduino code is not working pls send it

  • @dxrkshadows
    @dxrkshadows 3 หลายเดือนก่อน +1

    how do i make the servo rotate more i am using the normal servo

    • @dxrkshadows
      @dxrkshadows 3 หลายเดือนก่อน +1

      pls help i need to submit tommorrow

    • @Science_4U_
      @Science_4U_  3 หลายเดือนก่อน +1

      @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.

  • @eline_111
    @eline_111 8 หลายเดือนก่อน +1

    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_  8 หลายเดือนก่อน +1

      Hi friend. Is the servo motor arm rotating when you are bringing your hand near the ultrasonic sensor?

    • @Science_4U_
      @Science_4U_  8 หลายเดือนก่อน +2

      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 8 หลายเดือนก่อน +2

      @@Science_4U_ yes.. it is the pumping problem. We tried many things... any solution for this??

    • @Science_4U_
      @Science_4U_  8 หลายเดือนก่อน +1

      @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 8 หลายเดือนก่อน +2

      @@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

  • @laurenlucero148
    @laurenlucero148 2 หลายเดือนก่อน +1

    Will arduino uno r3 work as well?

    • @Science_4U_
      @Science_4U_  2 หลายเดือนก่อน +2

      Yes friend. Definitely. All the connections will be same.

  • @Ki77mo66
    @Ki77mo66 3 หลายเดือนก่อน +1

    please. When I install, the servo moves four to five revolutions or more. What is the solution?

    • @Ki77mo66
      @Ki77mo66 3 หลายเดือนก่อน +1

      I want to deliver it to the university on Wednesday

    • @Science_4U_
      @Science_4U_  3 หลายเดือนก่อน +1

      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.

  • @4aidsmker172
    @4aidsmker172 7 หลายเดือนก่อน +1

    Heyy , i cant download the code link using wps office , which app can i download it?

    • @Science_4U_
      @Science_4U_  7 หลายเดือนก่อน +1

      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..

  • @kimzueyt8005
    @kimzueyt8005 3 หลายเดือนก่อน +1

    sir what are the jumper wires? male to male / female to female or male to female, thankyou for response❤

    • @Science_4U_
      @Science_4U_  3 หลายเดือนก่อน +2

      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.

  • @venunuvvula5383
    @venunuvvula5383 6 หลายเดือนก่อน +2

    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_  6 หลายเดือนก่อน +2

      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_  6 หลายเดือนก่อน +2

      Please change the code accordingly and upload. Please see if this solves the problem..

    • @venunuvvula5383
      @venunuvvula5383 6 หลายเดือนก่อน +1

      Now it worked thank you so much 😊

    • @Science_4U_
      @Science_4U_  6 หลายเดือนก่อน +1

      @@venunuvvula5383 okay friend..happy to know that..🙂

  • @santoshgodawale-sy4ep
    @santoshgodawale-sy4ep 7 หลายเดือนก่อน +1

    Heyy can please share the diagram of connection

    • @Science_4U_
      @Science_4U_  7 หลายเดือนก่อน +1

      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 ❤

  • @joeljaswanth6490
    @joeljaswanth6490 5 หลายเดือนก่อน +1

    bro that code is not working and Servo motor rotating continuously can you change the code

    • @Science_4U_
      @Science_4U_  5 หลายเดือนก่อน +2

      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..

  • @lc_electric
    @lc_electric ปีที่แล้ว +3

    Keep going bro ❤

    • @Science_4U_
      @Science_4U_  ปีที่แล้ว +2

      Thank you bro..🥰💓👍

  • @veergamer7434
    @veergamer7434 5 หลายเดือนก่อน +1

    Can u list the components which are required to this ??

    • @Science_4U_
      @Science_4U_  5 หลายเดือนก่อน +1

      Hi friend. The list of items required and their purchase links too are given in the description box just below the video...🙂

  • @riddhipatil5618
    @riddhipatil5618 3 หลายเดือนก่อน +1

    which software is required to run the code

    • @Science_4U_
      @Science_4U_  3 หลายเดือนก่อน +1

      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

  • @user-on5rt1vg9h
    @user-on5rt1vg9h หลายเดือนก่อน +1

    hi, we have constructed the device. but it is not working.

    • @Science_4U_
      @Science_4U_  หลายเดือนก่อน +1

      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?

  • @user-xv1fg7xy9m
    @user-xv1fg7xy9m หลายเดือนก่อน +1

    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_  หลายเดือนก่อน +1

      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_  หลายเดือนก่อน +1

      You have to test servo motor and ultrasonic sensor separately and find out which is having problem.

    • @user-xv1fg7xy9m
      @user-xv1fg7xy9m หลายเดือนก่อน +1

      @@Science_4U_ can i replace the servo motor with sg90 ? Will that work?

    • @Science_4U_
      @Science_4U_  หลายเดือนก่อน +1

      @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 หลายเดือนก่อน +1

      @@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..

  • @easy_notes19
    @easy_notes19 10 หลายเดือนก่อน

    How i can download the code for it ...plz suggest

    • @Science_4U_
      @Science_4U_  10 หลายเดือนก่อน

      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

  • @hruthikanp6337
    @hruthikanp6337 14 วันที่ผ่านมา +1

    Thanksss bro.

    • @Science_4U_
      @Science_4U_  14 วันที่ผ่านมา +1

      You are welcome dear friend..❤️🙂

  • @user-kz1mp9pv2c
    @user-kz1mp9pv2c 2 หลายเดือนก่อน +1

    The code isn't downloading what to do kindly tell me hurry tomorrow is my exam

    • @Science_4U_
      @Science_4U_  2 หลายเดือนก่อน +1

      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

  • @Criz-rd5ti
    @Criz-rd5ti 2 หลายเดือนก่อน +1

    hi can i have the code.pls

    • @Science_4U_
      @Science_4U_  2 หลายเดือนก่อน +1

      Hi friend. Sure. The code can be downloaded from the google drive link given in the description box below the video.

  • @quicklookkarthik
    @quicklookkarthik ปีที่แล้ว +1

    Innovative.

    • @Science_4U_
      @Science_4U_  ปีที่แล้ว +1

      Thank you so much friend..💓🙂

  • @leejaj
    @leejaj ปีที่แล้ว +2

    So useful👌

  • @EDUARDOOMANDAM
    @EDUARDOOMANDAM 14 วันที่ผ่านมา +1

    can i have the code?

    • @Science_4U_
      @Science_4U_  13 วันที่ผ่านมา +1

      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

  • @funwithrakshanraj9262
    @funwithrakshanraj9262 2 หลายเดือนก่อน +1

    And l have project tomorrow

  • @VinKrishSolutions
    @VinKrishSolutions ปีที่แล้ว +1

    Super😊👌

  • @funwithrakshanraj9262
    @funwithrakshanraj9262 2 หลายเดือนก่อน +1

    I didn’t get the code

    • @Science_4U_
      @Science_4U_  2 หลายเดือนก่อน

      The code will be small size only but will have an extension .ino

  • @larryhull2752
    @larryhull2752 9 หลายเดือนก่อน +1

    Bro how many times are you gonna sanitize 😂😂

    • @Science_4U_
      @Science_4U_  9 หลายเดือนก่อน +1

      😂To ensure 100% disinfection😂😂

  • @shreyasvh6569
    @shreyasvh6569 4 หลายเดือนก่อน +1

    Means it shows no preview available

    • @Science_4U_
      @Science_4U_  4 หลายเดือนก่อน +1

      Hi friend.. I didn't understand the question. What is the preview you are referring to?

    • @shreyasvh6569
      @shreyasvh6569 4 หลายเดือนก่อน +1

      Sir if we try to download the arduino code it shows no preview available

    • @shreyasvh6569
      @shreyasvh6569 4 หลายเดือนก่อน +1

      please send that Arduino code

    • @Science_4U_
      @Science_4U_  4 หลายเดือนก่อน +1

      @@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 4 หลายเดือนก่อน +1

      @@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

  • @funwithrakshanraj9262
    @funwithrakshanraj9262 2 หลายเดือนก่อน +1

    Simply coming 1KB and not showing nothing

    • @Science_4U_
      @Science_4U_  2 หลายเดือนก่อน +1

      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 14 วันที่ผ่านมา +1

      ​@@Science_4U_ Link to arduino code : No preview available?

    • @Science_4U_
      @Science_4U_  14 วันที่ผ่านมา +1

      @@jayniv6345 No preview is available friend. You have to download it and then open in IDE software.

  • @JohnSmith-kc7fi
    @JohnSmith-kc7fi ปีที่แล้ว +2

    How much did you take it to make this?

    • @Science_4U_
      @Science_4U_  ปีที่แล้ว

      It took around 20 dollars to make this..

    • @Science_4U_
      @Science_4U_  ปีที่แล้ว

      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 ปีที่แล้ว +1

      @@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_  ปีที่แล้ว +1

      @@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_  ปีที่แล้ว +1

      @@JohnSmith-kc7fi It is a rather easy project. It takes just 3-4 hours to complete this project🙂.