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.
  • แนวปฏิบัติและการใช้ชีวิต

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

  • @ILoveCreativity
    @ILoveCreativity  11 หลายเดือนก่อน +33

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

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

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

  • @reenapriya3300
    @reenapriya3300 8 หลายเดือนก่อน

    Amazing tutorial.. Thanks

  • @user-rz6tw4zk6r
    @user-rz6tw4zk6r 9 หลายเดือนก่อน

    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

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

    you helped me a lot thank u

  • @manaranjansahu4901
    @manaranjansahu4901 2 ปีที่แล้ว

    Thanks it is helpful for my project

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

    Oohh💥🔥nyzz presentation

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

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

    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 : th-cam.com/video/9RivHtAlDW8/w-d-xo.html

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

      how to use the code

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

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

  • @robot9391
    @robot9391 3 ปีที่แล้ว

    VERY VERY HELP FUL VIDEO THANK YOU VERY MUCH

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

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

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

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

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

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

    Wow! Amazed!

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

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

  • @zhinenxt6294
    @zhinenxt6294 7 หลายเดือนก่อน

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

  • @ahboonus4666
    @ahboonus4666 3 ปีที่แล้ว

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

  • @AlafGaniIT
    @AlafGaniIT 3 ปีที่แล้ว

    amazing.. please upload simple robotic for lifehack

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

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

  • @Vlight.
    @Vlight. 6 หลายเดือนก่อน

    Great project boss

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

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

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

  • @electronicalminds9411
    @electronicalminds9411 3 ปีที่แล้ว

    Awesome!!!

  • @raaghavkapoor3883
    @raaghavkapoor3883 3 ปีที่แล้ว

    just awsome

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

    Amazing tutorial, very easy to follow

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

    What version IDE are you using?

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

  • @user-pc4ks1ew4t
    @user-pc4ks1ew4t 9 หลายเดือนก่อน

    i lve tha creativity

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

  • @sehafoodie
    @sehafoodie 11 หลายเดือนก่อน

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

  • @mastercakoi1123
    @mastercakoi1123 3 ปีที่แล้ว

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

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

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

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

      How can I bought theezz?

    • @MrFACTS-mk1ib
      @MrFACTS-mk1ib 3 ปีที่แล้ว +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 : th-cam.com/video/9RivHtAlDW8/w-d-xo.html

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

      Cost ?

  • @lavinaprakashkurian4570
    @lavinaprakashkurian4570 6 หลายเดือนก่อน

    Superb🎉

  • @belalabu1892
    @belalabu1892 2 ปีที่แล้ว

    Do you use two arduinos?

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

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

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

      Check mine with full wiring diagram

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

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

    You gotta very cool videographer

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

  • @shakhen.8180
    @shakhen.8180 ปีที่แล้ว +1

    Nice.

  • @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 : th-cam.com/video/9RivHtAlDW8/w-d-xo.html

  • @srujankulkarni9010
    @srujankulkarni9010 3 ปีที่แล้ว

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

    • @kevinshah3070
      @kevinshah3070 3 ปีที่แล้ว

      You can use breadboard for that

  • @mr.rkknowledgeking8757
    @mr.rkknowledgeking8757 2 ปีที่แล้ว

    🤗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*

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

    Does this project require led lighting

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

    Can I use adruino nano 328

  • @vashortfilms9098
    @vashortfilms9098 2 ปีที่แล้ว

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

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

    Awesome video

  • @angelicalucernas1309
    @angelicalucernas1309 2 ปีที่แล้ว

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

  • @2013MrAram
    @2013MrAram หลายเดือนก่อน

    good idea

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

    Brooo damn easy

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

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

      yes sure you can

  • @MrMic18650
    @MrMic18650 2 ปีที่แล้ว

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

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

    Loved the way of teaching 💝💞💖💖💖

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

  • @TyW1203
    @TyW1203 3 ปีที่แล้ว

    hi may i know where to learn that arduino coding from

  • @jyotideore2001
    @jyotideore2001 3 ปีที่แล้ว

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

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

    i love anna super

  • @imranazizi668
    @imranazizi668 2 ปีที่แล้ว

    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

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

      fast

  • @LobstahLOL
    @LobstahLOL 10 หลายเดือนก่อน +5

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

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

      im confuse at it too

    • @preciouscruz9995
      @preciouscruz9995 4 หลายเดือนก่อน

      same problem@@govand3622

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

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

  • @user-kp3xl1io5c
    @user-kp3xl1io5c 3 หลายเดือนก่อน

    the ultrasonic led code?

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

    we don 't need to combine the codes ?

  • @jyotideore2001
    @jyotideore2001 3 ปีที่แล้ว

    Bhai tune ultrasonic sensor ki jumper our servo motor ki jumper 5 v ko hi dala hai ye to kaise possible hai tell mi pls I'm waiting for your response

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

  • @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 : th-cam.com/video/9RivHtAlDW8/w-d-xo.html

    • @2c-afiqdaniel526
      @2c-afiqdaniel526 ปีที่แล้ว

      Samee

  • @ILoveCreativity
    @ILoveCreativity  4 ปีที่แล้ว

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

  • @nururururururum_6538
    @nururururururum_6538 ปีที่แล้ว +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?

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

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

    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

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

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

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

    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

  • @user-hy5xq8do6l
    @user-hy5xq8do6l 7 หลายเดือนก่อน

    Hello! I have a question, can I use Arduino Uno and will it be still gonna work? Or do I really have to use Arduino Uno R3?

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

      u can use Arduino uno and it will still work even nano too it will work perfectly

  • @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 : th-cam.com/video/9RivHtAlDW8/w-d-xo.html

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

    do you have a circuit diagram?

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

    Bro can i connect a srevo motor and a microphone to same server

  • @tzarmy2013
    @tzarmy2013 2 ปีที่แล้ว

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

  • @SaurabhNayakVlogs
    @SaurabhNayakVlogs 2 ปีที่แล้ว

    nice

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

    Nice Maza aya ga

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

    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

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

    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?

  • @hakyymtj3688
    @hakyymtj3688 ปีที่แล้ว +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????

    • @prushtiv3995
      @prushtiv3995 11 หลายเดือนก่อน

      yes same problem

  • @ngongangphom5176
    @ngongangphom5176 8 หลายเดือนก่อน

    Can i coding for this project..

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

    Bro how to get those pins

  • @theavyzer8383
    @theavyzer8383 4 ปีที่แล้ว

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

  • @Crownardio
    @Crownardio 3 ปีที่แล้ว

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

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

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

  • @Unknown8Gamer
    @Unknown8Gamer 6 หลายเดือนก่อน

    Im facing problem tho
    Like the Arduino board, when connected to computer with its wire
    Then
    LED, when inserted in the Arduino terminals, it started glowing on its own
    And the glow was non stop
    I dint even write anything
    It started glowing on its own

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

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

  • @pear3947
    @pear3947 2 ปีที่แล้ว

    ★ loved it i noted down metirials

    • @pear3947
      @pear3947 2 ปีที่แล้ว

      materials

  • @umesh.h.n.7240
    @umesh.h.n.7240 3 ปีที่แล้ว

    Broooo which library is required

  • @sakshisingh-sv6tn
    @sakshisingh-sv6tn 2 ปีที่แล้ว

    which app is needed to open the ultrasonic led code?

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