How To Make An Automatic Object Sensing Smart Dustbin - DIY Project

Поділитися
Вставка
  • Опубліковано 28 вер 2019
  • In This Video You Will Learn How To Make An Automatic Object Sensing Dustbin. This Project has been completed with the help of Arduino UNO R3 And a little bit of programming.
    Please Help Me To Reach 1M Subscribers: bit.ly/2qenvfD
    ★ Arduino Code ★
    ------------------
    ➤Arduino Servo Code - bit.ly/2oQ7knX
    ➤Arduino LED Code - bit.ly/2o7WI3k
    ★ List of Products ★
    ------------------
    ➤ Arduino Compatible UNO R3 - bit.ly/2jXalAO
    ➤ Arduino UNOR3 Basic Learning Starter - bit.ly/2koOzGp
    ➤ LEDs - goo.gl/6cohBq
    ➤ Mini Gear Servo 9g - bit.ly/2krIKYD
    ➤ DC 9v Battery Button Power Plug for Arduino - bit.ly/2luzd3k
    ➤ Ultrasonic Module HC-SR04 Distance - bit.ly/2krFoF0
    ➤ Dupont Wire Combination For Arduino - bit.ly/2jXjc5t
    ➤ Double-Sided Tape - goo.gl/QvDhGn
    ➤Hot glue gun - goo.gl/ZpjjiA
    ➤Soldering Iron - goo.gl/gVKGJT
    ➤ Background Plant Tree - goo.gl/wqTBtB
    ----------------
    ★ Follow me on ★
    ----------------
    ➤ Facebook - / ilovecreativity1
    ➤ Tiktok - / ilovecreativity1
    ➤ Instagram - / ilovecreativity1
    ➤ Twitter - / ilovetechs
    ➤ Subscribe to I Love Creativity - goo.gl/oTs4Vk
    Disclaimer: Some of these links go to my social media accounts and some are affiliate links where I'll earn a small commission if you make a purchase at no additional cost to you.
  • Навчання та стиль

КОМЕНТАРІ • 400

  • @ILoveCreativity
    @ILoveCreativity  Рік тому +50

    *Code For Automatic Dustbin*
    //define Pins
    #include
    Servo servo;
    int trigPin = 9;
    int echoPin = 8;
    // defines variables
    long duration;
    int distance;
    void setup()
    {
    servo.attach(7);
    servo.write(0);
    delay(2000);

    // Sets the trigPin as an Output
    pinMode(trigPin, OUTPUT);
    // Sets the echoPin as an Input
    pinMode(echoPin, INPUT);
    // Starts the serial communication
    Serial.begin(9600);
    }
    void loop()
    {
    // Clears the trigPin
    digitalWrite(trigPin, LOW);
    delayMicroseconds(2);
    // Sets the trigPin on HIGH state for 10 micro seconds
    digitalWrite(trigPin, HIGH);
    delayMicroseconds(10);
    digitalWrite(trigPin, LOW);
    // Reads the echoPin, returns the sound wave travel time in microseconds
    duration = pulseIn(echoPin, HIGH);
    // Calculating the distance
    distance= duration*0.034/2;
    // Prints the distance on the Serial Monitor
    Serial.print("Distance: ");
    Serial.println(distance);
    if ( distance

  • @ILoveCreativity
    @ILoveCreativity  4 роки тому +2

    Please State Your Country Name? The Country Which Gets More Likes will Get Featured on This Channel
    bit.ly/2qenvfD

  • @camarayekominanfelix8421
    @camarayekominanfelix8421 2 роки тому +4

    Great project. Thank you for sharing

  • @dr.chimpanz.1324
    @dr.chimpanz.1324 3 роки тому

    Could this work for a wall powered vacuum. Edit. Like could I change that servo for turing on and off the vacuum.

  • @afsalsharaf9852
    @afsalsharaf9852 Рік тому +2

    Oohh💥🔥nyzz presentation

  • @s344adithyaraokedige7
    @s344adithyaraokedige7 3 роки тому +2

    you helped me a lot thank u

  • @kevinshah3070
    @kevinshah3070 4 роки тому +66

    The way you showed every wire setup it becomes very user friendly for beginners. Loved it 😍

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

    • @wanghooizhao8042
      @wanghooizhao8042 Рік тому

      how to use the code

  • @manaranjansahu4901
    @manaranjansahu4901 2 роки тому

    Thanks it is helpful for my project

  • @RakeshgavidiGavidi
    @RakeshgavidiGavidi Рік тому +1

    Sir i really appreciate your work
    I want to do this project as one of my college assignment can you please share the circuit diagram and more detailed explaination about the project
    It would really helpful if you reply quickly

  • @sehafoodie
    @sehafoodie Рік тому

    Nice 🎉😂😅 I can’t wait to do this project.

  • @omotokeokeyemi8979
    @omotokeokeyemi8979 2 роки тому +5

    How do we make the final connection of both Servo motor and ultrasonic sensor to the arduino uno

  • @reenapriya3300
    @reenapriya3300 Рік тому

    Amazing tutorial.. Thanks

  • @robot9391
    @robot9391 4 роки тому

    VERY VERY HELP FUL VIDEO THANK YOU VERY MUCH

  • @prasathkarupu3287
    @prasathkarupu3287 Рік тому

    Wow! Amazed!

  • @Ainmx
    @Ainmx 2 роки тому +3

    What do u mean by led code is it separate to servo code,,?

  • @electronicalminds9411
    @electronicalminds9411 3 роки тому

    Awesome!!!

  • @AlafGaniIT
    @AlafGaniIT 4 роки тому +1

    amazing.. please upload simple robotic for lifehack

  • @simonebruscino1146
    @simonebruscino1146 Рік тому

    do i have to include some libraries if i use elegoo?

  • @supantha118
    @supantha118 2 роки тому +3

    Amazing tutorial, very easy to follow

  • @MrFACTS-mk1ib
    @MrFACTS-mk1ib 4 роки тому +13

    Great One indeed! Easy to follow. I bought theze products and they were exactly what i expected. Keep up the good work.

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому +2

      Thank you so much for the comment

    • @sasikumarm1509
      @sasikumarm1509 4 роки тому +3

      How can I bought theezz?

    • @MrFACTS-mk1ib
      @MrFACTS-mk1ib 4 роки тому +1

      @@sasikumarm1509 you can check the description. As they were mentioned there.

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

    • @sparklinggurl1154
      @sparklinggurl1154 Рік тому

      Cost ?

  • @belalabu1892
    @belalabu1892 2 роки тому

    Do you use two arduinos?

  • @PatelPravin-pq6ym
    @PatelPravin-pq6ym 2 місяці тому

    Thank you brother ❤ tum ne jo code dala he iske vajah se mera code upload hogaya

  • @helenaheyerick5679
    @helenaheyerick5679 2 роки тому +1

    Hey cool project, I'd like to use your project as a base for mine. Do you have experience adding sound. I would like to play sound when a person passes to lure him or her to the trash can. If anyone can help me, just let me know.

  • @dr.chimpanz.1324
    @dr.chimpanz.1324 3 роки тому

    Instead if of using a 9v battery could I do the usb cable that you used Plugged into the wall with a simple wall outlet.

  • @shristijalan3401
    @shristijalan3401 4 роки тому +7

    Hey! Amazing video! Could you please tell us where did you get the bin from? We are trying to build a segregation project and this seems like a perfect fit for it. Thanks :)

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому

      Thank you so much for your valuable feedback. I got the dustbin from local market

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

  • @Vlight.
    @Vlight. 9 місяців тому

    Great project boss

  • @smrtinnovtor3799
    @smrtinnovtor3799 3 роки тому +1

    This project really works guys I tried it and it worked I was shocked
    because I had tried the other videos but they did not work
    I was soo happy to see it working
    I recommend all of you all to try this!!!

    • @honghtc4628
      @honghtc4628 3 роки тому +1

      Hi,can i know how to add code to Arduino?

    • @honghtc4628
      @honghtc4628 3 роки тому +1

      Can I know it?

    • @smrtinnovtor3799
      @smrtinnovtor3799 3 роки тому

      @@honghtc4628 sure you need to make sure that the code is correct so verify your code first and then you can press the upload button which is and arrow to the left
      done!
      its very easy!!!

    • @honghtc4628
      @honghtc4628 3 роки тому +1

      @@smrtinnovtor3799need coding app to do it right, thanks, I will do it

    • @smrtinnovtor3799
      @smrtinnovtor3799 3 роки тому

      @@honghtc4628 if you found it helpful then please checkout my channel please
      you will get to learn more about arduino in my future videos
      thank you so much!!!

  • @elizamary154
    @elizamary154 4 роки тому +1

    Thank you bro this two project done well because of you very very thank you

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому

      Thank you so much for sharing

    • @rutjoshi9941
      @rutjoshi9941 2 роки тому

      Plz... Help me to make this project... My project is not working

  • @rayannkhadheeja1133
    @rayannkhadheeja1133 4 місяці тому

    hii, amazing video,but, do i have to use a 9v battery power plug?,can i use just 4 normal battery?

  • @reetamenon8923
    @reetamenon8923 4 роки тому +8

    Can someone pls tell me how to combine the servo and led code

  • @ahboonus4666
    @ahboonus4666 4 роки тому

    hi if i want to add both the led and the motor how do i do that?

  • @mida5282
    @mida5282 Рік тому

    What is the com port should I select or how should I change Com port

  • @raaghavkapoor3883
    @raaghavkapoor3883 3 роки тому +1

    just awsome

  • @user-rz6tw4zk6r
    @user-rz6tw4zk6r Рік тому

    bonjour
    j'ai remarquer que sur la borne "+" de l'arduino il n'y a que 1 broche, alors comment vous faite pour brancher le positif du "servo moteur" et "HCsr04" ?
    merci

  • @mastercakoi1123
    @mastercakoi1123 3 роки тому

    how much adruino compitable UNO R3 you use? please respons🙏🙏

  • @lavinaprakashkurian4570
    @lavinaprakashkurian4570 10 місяців тому

    Superb🎉

  • @MrMic18650
    @MrMic18650 2 роки тому +1

    What version IDE are you using?

  • @aaronacera9241
    @aaronacera9241 Рік тому +2

    Is led necessary for this project or you can just excluded and only need the motor?

    • @Ruizo25
      @Ruizo25 Рік тому

      No it is not necessary he only used as a feedback at the beginning but u could use others software to read the sensor values

  • @debarstudio3153
    @debarstudio3153 3 роки тому +2

    Hi I wanna ask .. So ultrasonic and motor servo connected to same 5v pin ?

    • @NZHCreations
      @NZHCreations 3 роки тому +1

      Check mine with full wiring diagram

  • @pipmaster168
    @pipmaster168 Рік тому

    Awesome video

  • @shahmyshamsuri3087
    @shahmyshamsuri3087 Місяць тому

    thankyou very much

  • @almasara7358
    @almasara7358 3 роки тому +1

    Loved the way of teaching 💝💞💖💖💖

  • @Ali-pp3nz
    @Ali-pp3nz 4 роки тому +4

    Amazing and Contemporary solution in short detailed video. Thanks for sharing! :)

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому

      Thank you so much for your precious feedback

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

  • @saivenkat4135
    @saivenkat4135 2 роки тому +1

    i dont have a male to male orange wire can i keep other one? pls reply fast

  • @ompatel5226
    @ompatel5226 4 роки тому +1

    You gotta very cool videographer

  • @vinamarta6128
    @vinamarta6128 4 роки тому +1

    Bro please help me...
    How can i connect ultrasonic sensor to led such that as the garbage level increases the led will light up, there will be 4 LED's green (bottom at 4th no.) blue (3rd) yellow(2nd) red(at top) and how can we tell gsm module that the garbage is at top go and send a message to the authorised no.

  • @miguelangelobatain3653
    @miguelangelobatain3653 3 роки тому +5

    Sir why the servo and the sensor has the same spot to the arduino? Please help

  • @afiqahsahidin
    @afiqahsahidin 3 роки тому +24

    sir, if you don't mind can you upload the arduino circuit? Please~ I need the circuit for my assignments and have to submit it on Nov 29, 2020. I'm looking forward to it, thank you!

  • @team09mysorewheeliemafia81
    @team09mysorewheeliemafia81 4 роки тому +1

    Otherwise we give powersupply adopter means it will work and how much volts adopter need ardunio

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому

      First of all, it will depend on the motor being used. Please check the manufacturer's website for more information.

  • @zhinenxt6294
    @zhinenxt6294 10 місяців тому

    What are those pins called as how shall i buy them , i mean those wires?

  • @srujankulkarni9010
    @srujankulkarni9010 4 роки тому

    hey good project , but clarification that ultrasonic and servo but are joining to 5V??

  • @shakhen.8180
    @shakhen.8180 2 роки тому +1

    Nice.

  • @LobstahLOL
    @LobstahLOL Рік тому +5

    How do u plug in the ultrasonic sensor at 5v but also the motor at 5v?

  • @TyW1203
    @TyW1203 4 роки тому

    hi may i know where to learn that arduino coding from

  • @mahadeev2518
    @mahadeev2518 Рік тому

    Does this project require led lighting

  • @user-pc4ks1ew4t
    @user-pc4ks1ew4t Рік тому

    i lve tha creativity

  • @knachithkumar1342
    @knachithkumar1342 3 роки тому

    I am unable to open servo and led code in my smartphone.is it supported only for windows??

  • @vishnusir3542
    @vishnusir3542 4 роки тому

    Thank u sir

  • @imranazizi668
    @imranazizi668 3 роки тому

    Hi i wanna ask , did you use the electric solder iron in this project?

  • @anshjayara2347
    @anshjayara2347 3 роки тому +1

    I do not have my computer currently and I have a preuploaded code in my ardiuno,can I do the making like you using that code??? Please reply fast

  • @FragranceHouse
    @FragranceHouse 4 роки тому +1

    Nice Maza aya ga

  • @pinkbrush5543
    @pinkbrush5543 11 місяців тому +1

    Is that possible to control two different mechanism with one arduino. Let's say I do two of these, but when one sensor works, I want the open two different box at the same time. There will be a distance between them, so I can't connect with the cable. Please help...

    • @Vlight.
      @Vlight. 9 місяців тому

      yes sure you can

  • @aliengamer1716
    @aliengamer1716 2 роки тому +3

    What if i place a hand in front of the sensor range, the distbun lid will open and close. But if i don't remove the hand from the range, after lid closes will it open again? Or should the hand needed to removed from range?

    • @Vlight.
      @Vlight. 9 місяців тому

      the lid does not close as long as your hand is still there covering the eyes of the sensor it only when you takes your hand away that when it will close it self back

  • @hakyymtj3688
    @hakyymtj3688 2 роки тому +1

    Hello.. thanks for sharing the project. I tried it but then the lid keeps opening and closing continuously once the sensor senses an object. It doesn't stop afterwards... what can I do please????

  • @vashortfilms9098
    @vashortfilms9098 2 роки тому

    Bro will you help me how to write abstract on this project...?

  • @markstrunk6644
    @markstrunk6644 Рік тому +2

    The program (sketch) kept giving me errors. Tried another fellows and worked . Problem is don’t have enough room for a longer aren

  • @harolddelrosario8954
    @harolddelrosario8954 3 роки тому +3

    Hi, why the servo keeps moving? and it wont stop at 90 ? and never go back to 0 ?

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

    • @2c-afiqdaniel526
      @2c-afiqdaniel526 Рік тому

      Samee

  • @MrMic18650
    @MrMic18650 2 роки тому

    Hey were do I get the headers (.h) file.

  • @SaurabhNayakVlogs
    @SaurabhNayakVlogs 2 роки тому

    nice

  • @TenChu
    @TenChu 3 роки тому +2

    hi, can you tell me how much did it cost for this sensor tools? im making one sensor smart trash for my final project for student , i hope you can tell me asap, love your tutorial 💖💖💖

    • @vinaykaushik5945
      @vinaykaushik5945 2 роки тому

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html

    • @maxnowak5336
      @maxnowak5336 2 роки тому

      Mi wykostowało na allegro 379,25 zł

  • @pear3947
    @pear3947 2 роки тому

    ★ loved it i noted down metirials

  • @brotysontomar5558
    @brotysontomar5558 Рік тому

    Can I use adruino nano 328

  • @nursuhailah3806
    @nursuhailah3806 3 роки тому

    Can i ask ? Are you using the soldering wire in this project ?

  • @dienshpandey8759
    @dienshpandey8759 Рік тому

    Can we sensing a Container for plastics? If yes, we are working for this, I need a technical person who can do that...answer plz

  • @vigneshk4040
    @vigneshk4040 3 роки тому

    The 9 V battery does not seem to be a correct source of power. It is working fine with USB but not with 9v battery. Please help!

  • @anmolbuttar5422
    @anmolbuttar5422 Рік тому +1

    we don 't need to combine the codes ?

  • @zandizoo
    @zandizoo 12 днів тому +1

    Very good video but you may want to cover the electronics on the inside so they do not get dirty or damaged, but still very good work!

  • @nitekaneshiro3188
    @nitekaneshiro3188 2 роки тому

    can someone help me? why i using the battery snap connector but doesn't work? when i using arduino cable connected to computer can operate

  • @nururururururum_6538
    @nururururururum_6538 2 роки тому +1

    Why didn't you use a proximity sensor instead? Yeah, it won't be as 'smart" as using the Uno but it'll get the job done for the opening and closing of the lid.
    Or, why didn't you use the Nano instead of this Uno?

  • @rajakumari9444
    @rajakumari9444 4 роки тому +1

    i love anna super

  • @jhonbenedictnunal522
    @jhonbenedictnunal522 Рік тому +1

    Where will I put the GND and 5v for the sensor and the motor?

  • @thebeginnerincreativity6589
    @thebeginnerincreativity6589 2 роки тому

    Are you using 2 arduino

  • @reinnagayle
    @reinnagayle 3 роки тому +1

    hello will this work on Infrared Proximity sensor???

  • @wadewilson-bz2dr
    @wadewilson-bz2dr Місяць тому

    i dont known at 2:20 connect servo with arduino , can you help me pls

  • @theavyzer8383
    @theavyzer8383 4 роки тому

    Can someone please tell me how to connect 9g servo with Arduino...???

  • @AbdulMajeed-xj7tz
    @AbdulMajeed-xj7tz 3 роки тому

    Hello sir
    Hope u r doing great
    Sir why u r code is not opening I have tried to open the code which u have given in description box

  • @user-cg6sn6sf8o
    @user-cg6sn6sf8o 5 місяців тому

    Can i ask a question? in arduino, how can i connect the vcc pin to 5v if the servo motorr power wire is in it?

  • @whoatemycake-km7
    @whoatemycake-km7 6 місяців тому

    the ultrasonic led code?

  • @b34rb00
    @b34rb00 2 роки тому

    I can't upload the code to the board. Could you tell me what to do?

  • @angelicalucernas1309
    @angelicalucernas1309 2 роки тому

    Hello good day can ask something sir I would like to now the function of each systematic diagram

  • @mr.rkknowledgeking8757
    @mr.rkknowledgeking8757 3 роки тому

    🤗Waah Bhai 💯 aekdam 👌 Perfect 🙌 project 👍👌Pin configuration aekdam saras batayu je pins kya joint kare che ae complete batayu💯👍bahu jj Jordar 😀 Bro 💥💯 amazing video

    • @rutjoshi9941
      @rutjoshi9941 2 роки тому

      Yaru project thai gyu hoy too plz
      ...ame aama help kari de pz

    • @rutjoshi9941
      @rutjoshi9941 2 роки тому

      Taru*

  • @tzarmy2013
    @tzarmy2013 2 роки тому

    Sir can you tell how did you connect 2 wires to 5v

  • @NewsGirl6
    @NewsGirl6 Рік тому

    Brooo damn easy

  • @fish5411
    @fish5411 3 роки тому +1

    are the products available worldwide?

  • @priyanshubanerjee2622
    @priyanshubanerjee2622 4 роки тому +8

    in arduino there is only one 5v pin where will i put the other pin

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому +1

      Excellent Question! Just for experiment purpose, you can use a 3v pin. But it is recommended to provide external power to the servo

    • @kevinshah3070
      @kevinshah3070 4 роки тому

      I Love Creativity how will we do that ??

  • @izz7388
    @izz7388 4 роки тому +1

    Hello,can u guess how much the cost

  • @Takoyakiv
    @Takoyakiv 6 місяців тому

    What kind of wire was used?

  • @meiruko3999
    @meiruko3999 Рік тому

    I can't visit the servo code and led code can you please fix it?

  • @Mr.GAP-Tech
    @Mr.GAP-Tech 4 роки тому +1

    Please help me. How can i install ultrasonic LED code in my computer

    • @ILoveCreativity
      @ILoveCreativity  4 роки тому +2

      First You Need To Install Arduino IDE From :
      www.arduino.cc/en/main/software

  • @thebeginnerincreativity6589
    @thebeginnerincreativity6589 2 роки тому

    how many you use arduino uno,its look like 2 isn't?