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
.
❤❤
Please State Your Country Name? The Country Which Gets More Likes will Get Featured on This Channel
bit.ly/2qenvfD
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.
Oohh💥🔥nyzz presentation
you helped me a lot thank u
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 : ua-cam.com/video/9RivHtAlDW8/v-deo.html
how to use the code
Thanks it is helpful for my project
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
Nice 🎉😂😅 I can’t wait to do this project.
How do we make the final connection of both Servo motor and ultrasonic sensor to the arduino uno
Amazing tutorial.. Thanks
VERY VERY HELP FUL VIDEO THANK YOU VERY MUCH
Wow! Amazed!
What do u mean by led code is it separate to servo code,,?
Awesome!!!
amazing.. please upload simple robotic for lifehack
do i have to include some libraries if i use elegoo?
Amazing tutorial, very easy to follow
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 : ua-cam.com/video/9RivHtAlDW8/v-deo.html
Cost ?
Do you use two arduinos?
Thank you brother ❤ tum ne jo code dala he iske vajah se mera code upload hogaya
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.
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.
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 : ua-cam.com/video/9RivHtAlDW8/v-deo.html
Great project boss
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!!!
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
hii, amazing video,but, do i have to use a 9v battery power plug?,can i use just 4 normal battery?
Can someone pls tell me how to combine the servo and led code
hi if i want to add both the led and the motor how do i do that?
What is the com port should I select or how should I change Com port
just awsome
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
how much adruino compitable UNO R3 you use? please respons🙏🙏
Superb🎉
What version IDE are you using?
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
Hi I wanna ask .. So ultrasonic and motor servo connected to same 5v pin ?
Check mine with full wiring diagram
Awesome video
thankyou very much
Loved the way of teaching 💝💞💖💖💖
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 : ua-cam.com/video/9RivHtAlDW8/v-deo.html
i dont have a male to male orange wire can i keep other one? pls reply fast
You gotta very cool videographer
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.
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!
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.
What are those pins called as how shall i buy them , i mean those wires?
hey good project , but clarification that ultrasonic and servo but are joining to 5V??
You can use breadboard for that
Nice.
How do u plug in the ultrasonic sensor at 5v but also the motor at 5v?
im confuse at it too
same problem@@govand3622
hi may i know where to learn that arduino coding from
Does this project require led lighting
i lve tha creativity
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 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
Nice Maza aya ga
Thank you boss
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
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?
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
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
Bro will you help me how to write abstract on this project...?
The program (sketch) kept giving me errors. Tried another fellows and worked . Problem is don’t have enough room for a longer aren
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 : ua-cam.com/video/9RivHtAlDW8/v-deo.html
Samee
Hey were do I get the headers (.h) file.
nice
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 💖💖💖
this one is far better , smart Automatic Intelligent Sensor Smart Trash Can Dustbin : ua-cam.com/video/9RivHtAlDW8/v-deo.html
Mi wykostowało na allegro 379,25 zł
★ loved it i noted down metirials
materials
Can I use adruino nano 328
Can i ask ? Are you using the soldering wire in this project ?
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
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!
we don 't need to combine the codes ?
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!
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
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?
i love anna super
Where will I put the GND and 5v for the sensor and the motor?
You can use a breadboard
Are you using 2 arduino
hello will this work on Infrared Proximity sensor???
Reinna Fandiño yes
i dont known at 2:20 connect servo with arduino , can you help me pls
Can someone please tell me how to connect 9g servo with Arduino...???
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
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
the ultrasonic led code?
I can't upload the code to the board. Could you tell me what to do?
Hello good day can ask something sir I would like to now the function of each systematic diagram
🤗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*
Sir can you tell how did you connect 2 wires to 5v
Brooo damn easy
are the products available worldwide?
Yes
in arduino there is only one 5v pin where will i put the other pin
Excellent Question! Just for experiment purpose, you can use a 3v pin. But it is recommended to provide external power to the servo
I Love Creativity how will we do that ??
Hello,can u guess how much the cost
What kind of wire was used?
I can't visit the servo code and led code can you please fix it?
Please help me. How can i install ultrasonic LED code in my computer
First You Need To Install Arduino IDE From :
www.arduino.cc/en/main/software
how many you use arduino uno,its look like 2 isn't?