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

Sdílet
Vložit
  • čas přidán 28. 09. 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.
  • Jak na to + styl

Komentáře • 400

  • @ILoveCreativity
    @ILoveCreativity  Před rokem +47

    *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

  • @camarayekominanfelix8421
    @camarayekominanfelix8421 Před 2 lety +4

    Great project. Thank you for sharing

  • @kevinshah3070
    @kevinshah3070 Před 3 lety +66

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

    • @vinaykaushik5945
      @vinaykaushik5945 Před 2 lety

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : czcams.com/video/9RivHtAlDW8/video.html

    • @wanghooizhao8042
      @wanghooizhao8042 Před rokem

      how to use the code

  • @afsalsharaf9852
    @afsalsharaf9852 Před rokem +2

    Oohh💥🔥nyzz presentation

  • @s344adithyaraokedige7
    @s344adithyaraokedige7 Před 3 lety +2

    you helped me a lot thank u

  • @manaranjansahu4901
    @manaranjansahu4901 Před 2 lety

    Thanks it is helpful for my project

  • @reenapriya3300
    @reenapriya3300 Před 11 měsíci

    Amazing tutorial.. Thanks

  • @prasathkarupu3287
    @prasathkarupu3287 Před rokem

    Wow! Amazed!

  • @MrFACTS-mk1ib
    @MrFACTS-mk1ib Před 4 lety +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  Před 4 lety +2

      Thank you so much for the comment

    • @sasikumarm1509
      @sasikumarm1509 Před 4 lety +3

      How can I bought theezz?

    • @MrFACTS-mk1ib
      @MrFACTS-mk1ib Před 4 lety +1

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

    • @vinaykaushik5945
      @vinaykaushik5945 Před 2 lety

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : czcams.com/video/9RivHtAlDW8/video.html

    • @sparklinggurl1154
      @sparklinggurl1154 Před rokem

      Cost ?

  • @robot9391
    @robot9391 Před 4 lety

    VERY VERY HELP FUL VIDEO THANK YOU VERY MUCH

  • @supantha118
    @supantha118 Před rokem +3

    Amazing tutorial, very easy to follow

  • @sehafoodie
    @sehafoodie Před rokem

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

  • @AlafGaniIT
    @AlafGaniIT Před 3 lety +1

    amazing.. please upload simple robotic for lifehack

  • @PatelPravin-pq6ym
    @PatelPravin-pq6ym Před měsícem

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

  • @electronicalminds9411
    @electronicalminds9411 Před 3 lety

    Awesome!!!

  • @Vlight.
    @Vlight. Před 8 měsíci

    Great project boss

  • @raaghavkapoor3883
    @raaghavkapoor3883 Před 3 lety +1

    just awsome

  • @RakeshgavidiGavidi
    @RakeshgavidiGavidi Před rokem +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

  • @almasara7358
    @almasara7358 Před 3 lety +1

    Loved the way of teaching 💝💞💖💖💖

  • @elizamary154
    @elizamary154 Před 4 lety +1

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

    • @ILoveCreativity
      @ILoveCreativity  Před 4 lety

      Thank you so much for sharing

    • @rutjoshi9941
      @rutjoshi9941 Před 2 lety

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

  • @smrtinnovtor3799
    @smrtinnovtor3799 Před 3 lety +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 Před 3 lety +1

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

    • @honghtc4628
      @honghtc4628 Před 3 lety +1

      Can I know it?

    • @smrtinnovtor3799
      @smrtinnovtor3799 Před 3 lety

      @@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 Před 3 lety +1

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

    • @smrtinnovtor3799
      @smrtinnovtor3799 Před 3 lety

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

  • @shahmyshamsuri3087
    @shahmyshamsuri3087 Před 23 dny

    thankyou very much

  • @Ali-pp3nz
    @Ali-pp3nz Před 4 lety +4

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

    • @ILoveCreativity
      @ILoveCreativity  Před 4 lety

      Thank you so much for your precious feedback

    • @vinaykaushik5945
      @vinaykaushik5945 Před 2 lety

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : czcams.com/video/9RivHtAlDW8/video.html

  • @dr.chimpanz.1324
    @dr.chimpanz.1324 Před 3 lety

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

  • @ompatel5226
    @ompatel5226 Před 4 lety +1

    You gotta very cool videographer

  • @pipmaster168
    @pipmaster168 Před rokem

    Awesome video

  • @lavinaprakashkurian4570
    @lavinaprakashkurian4570 Před 9 měsíci

    Superb🎉

  • @shristijalan3401
    @shristijalan3401 Před 4 lety +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  Před 4 lety

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

    • @vinaykaushik5945
      @vinaykaushik5945 Před 2 lety

      this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : czcams.com/video/9RivHtAlDW8/video.html

  • @user-pc4ks1ew4t
    @user-pc4ks1ew4t Před rokem

    i lve tha creativity

  • @Ainmx
    @Ainmx Před 2 lety +3

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

  • @shakhen.8180
    @shakhen.8180 Před 2 lety +1

    Nice.

  • @pear3947
    @pear3947 Před 2 lety

    ★ loved it i noted down metirials

  • @omotokeokeyemi8979
    @omotokeokeyemi8979 Před 2 lety +5

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

  • @helenaheyerick5679
    @helenaheyerick5679 Před 2 lety +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.

  • @vishnusir3542
    @vishnusir3542 Před 4 lety

    Thank u sir

  • @mr.rkknowledgeking8757

    🤗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

  • @simonebruscino1146
    @simonebruscino1146 Před rokem

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

  • @rayannkhadheeja1133
    @rayannkhadheeja1133 Před 3 měsíci

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

  • @reetamenon8923
    @reetamenon8923 Před 3 lety +8

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

  • @user-rz6tw4zk6r
    @user-rz6tw4zk6r Před 11 měsíci

    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

  • @afiqahsahidin
    @afiqahsahidin Před 3 lety +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!

  • @SaurabhNayakVlogs
    @SaurabhNayakVlogs Před 2 lety

    nice

  • @NewsGirl6
    @NewsGirl6 Před rokem

    Brooo damn easy

  • @Vlight.
    @Vlight. Před 8 měsíci

    Iove your videos sir have been following ur page u are great

  • @belalabu1892
    @belalabu1892 Před 2 lety

    Do you use two arduinos?

  • @rajakumari9444
    @rajakumari9444 Před 3 lety +1

    i love anna super

  • @dr.chimpanz.1324
    @dr.chimpanz.1324 Před 3 lety

    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.

  • @FragranceHouse
    @FragranceHouse Před 4 lety +1

    Nice Maza aya ga

  • @casmirraj5950
    @casmirraj5950 Před 2 lety +1

    Vcc pin 5v and red wire is also 5v

  • @saivenkat4135
    @saivenkat4135 Před 2 lety +1

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

  • @mida5282
    @mida5282 Před rokem

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

  • @ahboonus4666
    @ahboonus4666 Před 4 lety

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

  • @miguelangelobatain3653
    @miguelangelobatain3653 Před 3 lety +5

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

  • @debarstudio3153
    @debarstudio3153 Před 3 lety +2

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

    • @NZHCreations
      @NZHCreations Před 2 lety +1

      Check mine with full wiring diagram

  • @vinamarta6128
    @vinamarta6128 Před 4 lety +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.

  • @memania9995
    @memania9995 Před 2 lety

    thnx

  • @mastercakoi1123
    @mastercakoi1123 Před 3 lety

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

  • @MrMic18650
    @MrMic18650 Před 2 lety +1

    What version IDE are you using?

  • @aaronacera9241
    @aaronacera9241 Před rokem +2

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

    • @Ruizo25
      @Ruizo25 Před rokem

      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

  • @nurayisahmina833
    @nurayisahmina833 Před 3 lety +1

    thanks or the amazing video n

  • @srujankulkarni9010
    @srujankulkarni9010 Před 4 lety

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

  • @zhinenxt6294
    @zhinenxt6294 Před 9 měsíci

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

  • @mahadeev2518
    @mahadeev2518 Před rokem

    Does this project require led lighting

  • @markstrunk6644
    @markstrunk6644 Před rokem +2

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

  • @vashortfilms9098
    @vashortfilms9098 Před 2 lety

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

  • @dobe1234
    @dobe1234 Před rokem

    Very Good Idea Sir.🙂

  • @team09mysorewheeliemafia81

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

    • @ILoveCreativity
      @ILoveCreativity  Před 4 lety

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

  • @nururururururum_6538
    @nururururururum_6538 Před 2 lety +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?

  • @wadewilson-bz2dr
    @wadewilson-bz2dr Před měsícem

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

  • @knachithkumar1342
    @knachithkumar1342 Před 3 lety

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

  • @putrieireen6843
    @putrieireen6843 Před 2 lety

    Sir if you Don't mind too..can you tell me how to put wire from Arduino tu ultrasonic sensor..in your video,you just teach how to put wire from Arduino tu servo and not to ultrasonic sensor too..can you please teach me how

  • @dienshpandey8759
    @dienshpandey8759 Před rokem

    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

  • @Crownardio
    @Crownardio Před 3 lety

    Servo ko kis se connect kiya hai uske wires???

  • @tzarmy2013
    @tzarmy2013 Před 2 lety

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

  • @angelicalucernas1309
    @angelicalucernas1309 Před 2 lety

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

  • @MrMic18650
    @MrMic18650 Před 2 lety

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

  • @LobstahLOL
    @LobstahLOL Před rokem +5

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

  • @nitekaneshiro3188
    @nitekaneshiro3188 Před rokem

    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

  • @yakupmercan4268
    @yakupmercan4268 Před rokem

    bro müq

  • @TyW1203
    @TyW1203 Před 4 lety

    hi may i know where to learn that arduino coding from

  • @manheng6690
    @manheng6690 Před rokem

    Can you make a video how to coding

  • @AbdulMajeed-xj7tz
    @AbdulMajeed-xj7tz Před 3 lety

    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

  • @thebeginnerincreativity6589

    Are you using 2 arduino

  • @anmolbuttar5422
    @anmolbuttar5422 Před rokem +1

    we don 't need to combine the codes ?

  • @jyotideore2001
    @jyotideore2001 Před 3 lety

    Hi bro muze ye project CLG ko submit karna hai ppt our report Hoga to milsakta hai kya

  • @ILoveCreativity
    @ILoveCreativity  Před 4 lety +2

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

  • @theavyzer8383
    @theavyzer8383 Před 4 lety

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

  • @sanskarguptadee2611
    @sanskarguptadee2611 Před 2 lety

    Servo code aur aurdino code dono kyu diyee kon sa paste krna h ??

  • @muizbaruwa3336
    @muizbaruwa3336 Před rokem

    Pls hw many 5v are on the board it is one but u told us to connect vcc to 5v and red wire to 3.3v

  • @pinkbrush5543
    @pinkbrush5543 Před 11 měsíci +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. Před 8 měsíci

      yes sure you can

  • @brotysontomar5558
    @brotysontomar5558 Před rokem

    Can I use adruino nano 328

  • @nicolebobis4886
    @nicolebobis4886 Před 3 lety

    Paturo nmn po pano gumawa nyan without arduino

  • @aliengamer1716
    @aliengamer1716 Před 2 lety +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. Před 8 měsíci

      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

  • @manoisha2426
    @manoisha2426 Před rokem

    dust pin ok .but ithuku related ahh ithe mathiri vera things ethu automatic open agum .
    plss give me idea

  • @jhonbenedictnunal522
    @jhonbenedictnunal522 Před rokem +1

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

  • @cristianfenner1809
    @cristianfenner1809 Před rokem +1

    sorry for the inconvenience I wanted to ask in this video where is the code for the engine

  • @izz7388
    @izz7388 Před 4 lety +1

    Hello,can u guess how much the cost

  • @imranazizi668
    @imranazizi668 Před 2 lety

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

  • @hakyymtj3688
    @hakyymtj3688 Před 2 lety +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????

  • @whoatemycake-km7
    @whoatemycake-km7 Před 6 měsíci

    the ultrasonic led code?