Hi i am an beginner AND theres some problem with the code this is the error message. /Users/wahajkhan/Downloads/Ultrasonic_Led/Ultrasonic_Led.ino: In function 'void loop()': /Users/wahajkhan/Downloads/Ultrasonic_Led/Ultrasonic_Led.ino:36:3: error: expected ')' before 'delay' delay(2); ^~~~~ error: 'High' was not declared in this scope digitalWrite(buzz,High); ^~~~ note: suggested alternative: 'sinh' digitalWrite(buzz,High); ^~~~ sinh Multiple libraries were found for "Servo.h" Compilation error: expected ')' before 'delay'
Hi, is there any way we can make the bin only open for biodegradable? Like paper and such. I want to make a similar project except it would only open to assigned type of waste. Pls help.
Thank you very much for this video. please, i need to make some adjustments to this beautiful project. First, i want to include a level sensor that detects when the dustbin is full , and closes permanently. Also, i need to include a RED indicator light to show that the bin is full and a GREEN indicator light to show that the bin is functional. The RED indicator will call the attention of the management team to empty the dustbin manually. please, how do i go about that? Thanks in anticipation of your prompt feedback
For checking that the dustbin is full you can add an IR sensor or an ultrasonic sensor on the lid which detects if the bin is full and turns on the the red led and if the bin isnt full it turns on the green led you can do this simply by just adding some lines of code and you can message me on my instagram for further help link is in the about section🙂
Im not sure abt that , but the better way to make this is by doing the wiring of sensors with arduino and uploading the code to arduino Link for codes and circuit in description
@@Flaretech.in_ yes it works but when I use the 9v battery it malfunctioning it moves its own and the sensor is not working when I use the 9v but when I use the laptop cord it works properly
hey. can i use the same code is i am using the esp8266 microcontroller. i know i have to change the pin values, but other than that will the code be compatible.
Not sensible project for the use in a dust bin. Electronics, power supply and the other adjustments.... No. Dust bin with a leg operated lid is enough and proper.
We can operate small dustbins with our legs but large dustbins require more force to open the lid. We can use this technology in some public areas where people need an automated lid opening system. such as schools, hospitals etc...
This project is work very well thank you I am beginner for arduino first I try led blink project second I try this project.
Genial y muchas gracias por compartir el código.
This is very good thanks❤👍👍
Thank you for project ❤🎉
FIRST 🎉
Wow 😍😍😍
Very good hardit... 👌
Hi i am an beginner AND theres some problem with the code this is the error message. /Users/wahajkhan/Downloads/Ultrasonic_Led/Ultrasonic_Led.ino: In function 'void loop()':
/Users/wahajkhan/Downloads/Ultrasonic_Led/Ultrasonic_Led.ino:36:3: error: expected ')' before 'delay'
delay(2);
^~~~~
error: 'High' was not declared in this scope
digitalWrite(buzz,High);
^~~~
note: suggested alternative: 'sinh'
digitalWrite(buzz,High);
^~~~
sinh
Multiple libraries were found for "Servo.h"
Compilation error: expected ')' before 'delay'
Copy the code from description again and paste it in a new sketch
Battery in which pins can you please reply?
Hi, is there any way we can make the bin only open for biodegradable? Like paper and such. I want to make a similar project except it would only open to assigned type of waste. Pls help.
Yeah we can do that by making two different compartments in the bin for biodegradable and non biodegradable
@@Flaretech.in_ how can we make the bin identify what's bio and what's on tho
gracias por la informacion brindada
Thanku u so much sir ❤
Servo not working after some time... causing sounds like "TEEEEEE" sir please help
Sir adino ko mobail se kase coding kare please bataiyega😢😢😢
wowwwww
Can you list all the important components
Which board and port we have to select while doing coding in Arduino ide ??
Board is arduino uno and the port at which you have connected is to be selected
@@Flaretech.in_ how to use the code i just can open at notepad ,you open the code with what app
Sir 9v battery is safe plz reply fast
Smart dustbin me use Hui chijo ka naam btaiye
When i but the code and try to upload it they say ( Trig is not declared in this scope ) why ?
We can use the arduino nano board ?
Yeah
can we use anthere code for dustbin pl reple fast
You need to install arduino software in your system and then paste the codes and upload to your board
you can send me code means paste in comment box and while i am copying code so in software it is saying that code error pl help
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
@@yatharthbhatt941 tell me which error its showing?
Sir isme code work nahi kar rha h servo motor bahut jaldi move kar rha h code m timing kitni h or distance bhi
Sir please say something response kariye sir mera project work nahi kar rha h what i can do sir
Hath sensor ke samne lane ke baad servo move karti hai 4.5sec baad waapis aati hai default position pe
Thank you very much for this video.
please, i need to make some adjustments to this beautiful project.
First, i want to include a level sensor that detects when the dustbin is full , and closes permanently.
Also, i need to include a RED indicator light to show that the bin is full and a GREEN indicator light to show that the bin is functional. The RED indicator will call the attention of the management team to empty the dustbin manually.
please, how do i go about that?
Thanks in anticipation of your prompt feedback
For checking that the dustbin is full you can add an IR sensor or an ultrasonic sensor on the lid which detects if the bin is full and turns on the the red led and if the bin isnt full it turns on the green led you can do this simply by just adding some lines of code and you can message me on my instagram for further help link is in the about section🙂
I have messaged you on Instagram.
I am waiting your feedback.
I also want this function ?? How can I do that
Contact me on Instagram
@@Flaretech.in_ I messaged you!
Can you please tell how u manage to put two jumper in 1 slot
Like you see in the diagram it is there that vcc neads 5v and servo also need 5v so tell how to connect the wire pls answer fast
Cut both of the wires and join them then you have to attach a male jumper wire to it which is half cutted
Or you can also connect the servo to 3.3v pin
Hello,can we make using arduino maker uno x board
Im not sure abt that , but the better way to make this is by doing the wiring of sensors with arduino and uploading the code to arduino
Link for codes and circuit in description
@@Flaretech.in_ okey...thanks 😊
@@Flaretech.in_ how to reset arduino board?
@Huawei Huawei just open arduino software and upload that code already written there
Bro i think circuit diagram wrong
i just checked it a few days ago , i will still check again just let me know where do you find problem'
where do you think the problem is? i tried it and it worked
hello sir .. compile krne par sg90 not define bata raha h please help🙏
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
@Satish .bhagat copy and paste this code
Aapne pure code nhi copy kare hai yeh wale karlo
Plats ka naam btaiye
Why its not working on my arduino😭 it doesnt move
Check the connections and circuit diagram again
@@Flaretech.in_ yes it works but when I use the 9v battery it malfunctioning it moves its own and the sensor is not working when I use the 9v but when I use the laptop cord it works properly
Replace the battery
It says there is error on my code but i just copied your code paste it.
check the updated codes
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
@@Flaretech.in_ TYSM IT WORKED YESS!!!
@@lavenderph8714 your welcome😀
Dont forget to share with your friends
not working is the wiring or the code wrong???
@Kaustubh Pandey , just recheck the updated codes and it will work
@ARNAV SINGH
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
@ARNAV SINGH they are also in video description
@ARNAV SINGH
your welcome :)
dont forget to share my channel
Bro your code working but servo motor automatically run and uldrasonic sensor not sence the object please tell this problem 🥺
Hello same thing happened with me.... Did u find any solution to this?
hey. can i use the same code is i am using the esp8266 microcontroller. i know i have to change the pin values, but other than that will the code be compatible.
I have never used that microcontroller so i dont know if it will work
does servo motor really keeps spinning?
Depends on what motor servo you buy . I think for this project, you should buy the 180° not the 360°
Where to do code ?
You have to download arduino ide in your pc and then paste the codes in it and upload it
Library??
What is the wire called?
Jumping wire
Sir humara sensor work hi nahi kar rha h
Connections check karo
@@Flaretech.in_ sir ho gya mera dustbin complete and it works properly tgank you sir
Thank you very much
@@deepashakya655 Wow! Thats great, congratulations
Dont forget to share with your friends ❤
@ARNAV SINGH humne jo smart dustbin bnaya tha usme 3 volt supply nahi ho rha tha arduino ka pin thoda sa disturb tha
Sir kitna money lagaga
Servo- 150
Ultrasonic Sensor- 150
Arduino Uno - 350
Wires- 50
Total - 800
How to make the servo spin just 90 degree please respond to me so fast 😭😭 the due date is just around the corner
Ah sokay la dude I found the way 😎
@@jazlanjubri9377hello can I get the solution?
Circuit diagram vul hai
Can you give the codes man?, for my project purposes,, hope you notice my comment,, godbless
codes are in the description
do you want me to give you here?
Thank u very much man,,
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
@@kurtadam1617 Is the project working?
You can havae give me samrt dasbin code
#include //servo library
Servo sg90;
int echo = 7;
int trig = 6;
int servopin = 8;
int distance;
int duration;
void setup() {
sg90.attach(8);
pinMode(trig, OUTPUT);
pinMode(echo, INPUT);
}
void loop() {
digitalWrite(trig,0);
delay(2);
digitalWrite(trig,1);
delayMicroseconds(10);
digitalWrite(trig,0);
duration = pulseIn(echo,1);
distance = duration*0.034/2;
if ( distance
if you don't mind , can you send me a list of all the things that are used in this project // including the wires !! I'm just a beginner hehe sorry
Arduino Uno
Servo motor
Ultrasonic sensor
9v battery
Battery connector
Female to make wires 10-15
Male to male wires 10
@@Flaretech.in_ 10-15 cm or pcs
@@asemkhalid3849 10-15 pcs
@@Flaretech.in_ What is female to make wires?
Arduino code copy please 😢
Not work
Harry
Hi
oe pon elcodigo bien pe >:v
Please reply me
Not sensible project for the use in a dust bin. Electronics, power supply and the other adjustments.... No. Dust bin with a leg operated lid is enough and proper.
We can operate small dustbins with our legs but large dustbins require more force to open the lid. We can use this technology in some public areas where people need an automated lid opening system. such as schools, hospitals etc...
@Haseeb2010 O. K.
Worst presentation I've ever seen😂
Yes it is worst for professionals Arduino programmes but for beginners it is precious for them ❤