How to make Smart Dustbin with Arduino | Arduino Project

preview_player
Показать описание
Here we will make a Smart Dustbin by using arduino and ultrasonic sensor.
I hope you guys enjoy learning this project.

Buy Stuff here:

individual Components used:

Рекомендации по теме
Комментарии
Автор

I hope this video will be helpful for your next science project.

Buy Stuff here:

IndianLifeHacker
Автор

Just because of this project we got 1st prize in our competition thank you

n.trockers
Автор

Thank you for your help! I have a correction for the schematic tho.

Servo motor's volt pin should be plugged at 5v and sensor to 3.3v.
otherwise, the motor would be slow.

hope this helps anyone who faced the same slow motor problem as me 🙂

lemredd
Автор

Absolutely Amazing!
This is the code for this dustbin:

#include <Servo.h> //servo library
Servo servo;
int trigPin = 5;
int echoPin = 6;
int servoPin = 7;
int led= 10;
long duration, dist, average;
long aver[3]; //array for average


void setup() {
Serial.begin(9600);
servo.attach(servoPin);
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
servo.write(0); //close cap on power on
delay(100);
servo.detach();
}

void measure() {
digitalWrite(10, HIGH);
digitalWrite(trigPin, LOW);
delayMicroseconds(5);
digitalWrite(trigPin, HIGH);
delayMicroseconds(15);
digitalWrite(trigPin, LOW);
pinMode(echoPin, INPUT);
duration = pulseIn(echoPin, HIGH);
dist = (duration/2) / 29.1; //obtain distance
}
void loop() {
for (int i=0;i<=2;i++) { //average distance
measure();
aver[i]=dist;
delay(10); //delay between measurements
}


if ( dist<50 ) {
//Change distance as per your need
servo.attach(servoPin);
delay(1);
servo.write(0);
delay(3000);
servo.write(150);
delay(1000);
servo.detach();
}
Serial.print(dist);
}

subhanasif
Автор

Not the man we needed but the hero we deserved! Thank you for helping me with my school projects. I credited you in my powerpoint presentation.

evqn
Автор

I became 1st in my state level project competition because of this exact project☺️

sonu
Автор

Thank You. I am actually 8th grade and i wanted to learn robotics.
Today Finally because of teacher like you I learnt. Thank you once Love from Karnataka

adikind
Автор

You are the future of india brother hatts off

Love from.Pakistan

hassanshayan
Автор

Very Simple and nice arduino project. Thank for sharing.

ScitiveX
Автор

Thank you bro, very Nice, Easy, attractive and hope you will bring many more for us🇧🇩🇧🇩🇮🇳

rabbyahmed
Автор

Thanx because of your project I got an certificate in my electrical project

zgamingzonewithps
Автор

Because of this I won first prize in a competition. So thank you!!!

Manjar_premi
Автор

Shukriya bhai apki coding ki wajah se project mai mujhe ache marks mile mujhe thanku sirrr

hdr_songs
Автор

With the help of the USB 2.0 cable given with the arduino board, connect it with the arduino to the power bank

surabandanasahu
Автор

Really loved the video! thank you for making it, it was very practical for my every day life to have an automatic bin!

mr.octopie
Автор

Bhai Kamal ki hai
Maina bhee banaya hai, working perfectly!

bhavyagoel
Автор

Nice project but u can make it much cheaper by using arduino nano or attiny 45 in place of uno and in place of servo you can use small dc motor with lid stopper. It will cost you around 300 or less. And to make it more innovative you can use rechargeable battery with a little solar panel to make it more independent. Good work 👍

aayush
Автор

Hi bro i hope you are doing well.... So i just wanted to talk with you if it is possible so please let me know on my mail id.... Regards Mr. Indian hacker

MRINDIANHACKER
Автор

Everytime when i see this video, it helps me a lot :'( ty

akshit
Автор

Because of your project I got first prize in my robotics competition

krishivpimpale