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. - แนวปฏิบัติและการใช้ชีวิต
*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
uy pero que pro
is this need your access?
How to buy
.
❤❤
Great project. Thank you for sharing
Could this work for a wall powered vacuum. Edit. Like could I change that servo for turing on and off the vacuum.
How do we make the final connection of both Servo motor and ultrasonic sensor to the arduino uno
Amazing tutorial.. Thanks
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
you helped me a lot thank u
Thanks it is helpful for my project
Oohh💥🔥nyzz presentation
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
The way you showed every wire setup it becomes very user friendly for beginners. Loved it 😍
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : th-cam.com/video/9RivHtAlDW8/w-d-xo.html
how to use the code
What do u mean by led code is it separate to servo code,,?
VERY VERY HELP FUL VIDEO THANK YOU VERY MUCH
Can someone pls tell me how to combine the servo and led code
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.
do i have to include some libraries if i use elegoo?
Wow! Amazed!
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.
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.
What are those pins called as how shall i buy them , i mean those wires?
hi if i want to add both the led and the motor how do i do that?
amazing.. please upload simple robotic for lifehack
i dont have a male to male orange wire can i keep other one? pls reply fast
Great project boss
Sir why the servo and the sensor has the same spot to the arduino? Please help
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!
What is the com port should I select or how should I change Com port
Awesome!!!
just awsome
Amazing tutorial, very easy to follow
What version IDE are you using?
Thank you bro this two project done well because of you very very thank you
Thank you so much for sharing
Plz... Help me to make this project... My project is not working
i lve tha creativity
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!!!
Hi,can i know how to add code to Arduino?
Can I know it?
@@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!!!
@@smrtinnovtor3799need coding app to do it right, thanks, I will do it
@@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!!!
Nice 🎉😂😅 I can’t wait to do this project.
how much adruino compitable UNO R3 you use? please respons🙏🙏
hii, amazing video,but, do i have to use a 9v battery power plug?,can i use just 4 normal battery?
Great One indeed! Easy to follow. I bought theze products and they were exactly what i expected. Keep up the good work.
Thank you so much for the comment
How can I bought theezz?
@@sasikumarm1509 you can check the description. As they were mentioned there.
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : th-cam.com/video/9RivHtAlDW8/w-d-xo.html
Cost ?
Superb🎉
Do you use two arduinos?
Hi I wanna ask .. So ultrasonic and motor servo connected to same 5v pin ?
Check mine with full wiring diagram
Is led necessary for this project or you can just excluded and only need the motor?
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
You gotta very cool videographer
Otherwise we give powersupply adopter means it will work and how much volts adopter need ardunio
First of all, it will depend on the motor being used. Please check the manufacturer's website for more information.
Nice.
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 :)
Thank you so much for your valuable feedback. I got the dustbin from local market
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : th-cam.com/video/9RivHtAlDW8/w-d-xo.html
hey good project , but clarification that ultrasonic and servo but are joining to 5V??
You can use breadboard for that
🤗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
Yaru project thai gyu hoy too plz
...ame aama help kari de pz
Taru*
Does this project require led lighting
Can I use adruino nano 328
Bro will you help me how to write abstract on this project...?
Awesome video
Hello good day can ask something sir I would like to now the function of each systematic diagram
good idea
Brooo damn easy
The program (sketch) kept giving me errors. Tried another fellows and worked . Problem is don’t have enough room for a longer aren
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...
yes sure you can
Hey were do I get the headers (.h) file.
Loved the way of teaching 💝💞💖💖💖
I am unable to open servo and led code in my smartphone.is it supported only for windows??
Thank u sir
how to use the code
hi may i know where to learn that arduino coding from
Hi bro muze ye project CLG ko submit karna hai ppt our report Hoga to milsakta hai kya
i love anna super
Hi i wanna ask , did you use the electric solder iron in this project?
✌️✌️✌️No ( check mine )
Nie
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
fast
How do u plug in the ultrasonic sensor at 5v but also the motor at 5v?
im confuse at it too
same problem@@govand3622
dust pin ok .but ithuku related ahh ithe mathiri vera things ethu automatic open agum .
plss give me idea
the ultrasonic led code?
we don 't need to combine the codes ?
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
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
Hi, why the servo keeps moving? and it wont stop at 90 ? and never go back to 0 ?
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : th-cam.com/video/9RivHtAlDW8/w-d-xo.html
Samee
Please State Your Country Name? The Country Which Gets More Likes will Get Featured on This Channel
bit.ly/2qenvfD
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?
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
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
Where will I put the GND and 5v for the sensor and the motor?
You can use a breadboard
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
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?
u can use Arduino uno and it will still work even nano too it will work perfectly
Amazing and Contemporary solution in short detailed video. Thanks for sharing! :)
Thank you so much for your precious feedback
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : th-cam.com/video/9RivHtAlDW8/w-d-xo.html
do you have a circuit diagram?
Bro can i connect a srevo motor and a microphone to same server
Sir can you tell how did you connect 2 wires to 5v
nice
Nice Maza aya ga
Thank you boss
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
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?
You can just connect servo motor wire to 3.3v and the sensor wire to 5v
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????
yes same problem
Can i coding for this project..
Bro how to get those pins
Can someone please tell me how to connect 9g servo with Arduino...???
Servo ko kis se connect kiya hai uske wires???
sorry for the inconvenience I wanted to ask in this video where is the code for the engine
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
Servo code aur aurdino code dono kyu diyee kon sa paste krna h ??
★ loved it i noted down metirials
materials
Broooo which library is required
which app is needed to open the ultrasonic led code?
Arduino ide
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!