hi, i followed all your instructions and used the code you provided. however, it still does not work. could you give me some tips on which part i should look out more or give it a second look?
What´s up fellas! As you probably can see the link with the code aint working, when I saw that I realized that some of you might not be able to make your own script and that´s why I made this script that should work with this tutorial! : const int sensorPin = A0; const int ledPin = 10; const int threshold = 500; const int debounceDelay = 200; bool ledState = false; unsigned long lastClapTime = 0; void setup() { pinMode(ledPin, OUTPUT); digitalWrite(ledPin, LOW); } void loop() { int sensorValue = analogRead(sensorPin); if (sensorValue > threshold && millis() - lastClapTime > debounceDelay) { ledState = !ledState; digitalWrite(ledPin, ledState ? HIGH : LOW); lastClapTime = millis(); } } If you feel like it and want to help others please like, that will make this comment more popular! Thanks.
The range of sound distance is very low :( I also tried to adjust the sound sensor but that didn't worked. Do you know how to increase the distance? I think there's something with the code.
if (clap == 0) { detection_range_start = detection_range = millis(); clap++; } code me detection_range_start = detection_range = millis(); ye line aisi hi hai or i ve written something wrong? is line me 2 = to signs hai? i have simply copy pasted code. plz reply urgently.we have exhibition in school on 14thNovember n i am willing to participate.
The only problem was the adjustment of the sensor which I fixed finally bro ! It's working very well now, a good school project
How did you adjust can you explain me? I tried more than 100 times but its not working 😭...
help us
Hlo bro can u send me code
hi, i followed all your instructions and used the code you provided. however, it still does not work. could you give me some tips on which part i should look out more or give it a second look?
What´s up fellas! As you probably can see the link with the code aint working, when I saw that I realized that some of you might not be able to make your own script and that´s why I made this script that should work with this tutorial! :
const int sensorPin = A0;
const int ledPin = 10;
const int threshold = 500;
const int debounceDelay = 200;
bool ledState = false;
unsigned long lastClapTime = 0;
void setup() {
pinMode(ledPin, OUTPUT);
digitalWrite(ledPin, LOW);
}
void loop() {
int sensorValue = analogRead(sensorPin);
if (sensorValue > threshold && millis() - lastClapTime > debounceDelay) {
ledState = !ledState;
digitalWrite(ledPin, ledState ? HIGH : LOW);
lastClapTime = millis();
}
}
If you feel like it and want to help others please like, that will make this comment more popular! Thanks.
i love you
The range of sound distance is very low :(
I also tried to adjust the sound sensor but that didn't worked.
Do you know how to increase the distance? I think there's something with the code.
Brother can we display out put on LCD too? Output of claps and time taken. I have a project submission.
Tell to which port I should connect the 5v single channel relay
the next video we will create project with Relay. you can benefit from it how to connect relay with arduino.
thank you
Bro your both link for circuit and code is not working, give me other one
andprof.com/creativity/clap-switch-with-arduino-and-sound-sensor-arduino-project-with-code/
can i have the code link is not working
I really dont think this is the code ur using in the video because it really doesnt make any sense. Did u change something afterwards?
Hi faced trouble in led it did not respond to the sound please help
Thank you.... I made it.. ❤️
what s the code?
What is the code
Please share the code
Please how did you do it 😢
code link isnt working
yes
No
will it works with 330 ohm?
I can not find the red sensor in the tinkercad what is its name in the search?
Thank you so much prof
you are welcome
Code ki link bhejo code nahin mil rahe
hey can you upload somewhere the code again because it isnt workin plss
bro the link havent found me the code
bro where is the code? the link isnt working
What's up with the code ?
How can I do the adjustment of the sensor ?? it is not working
Bro very good loved it but I want to ask a question
But bro how to connect main electricity to it
you can use it with relay to control any device at home
hi ,what is the difference between 'ao' input and 'do' input
What code did you use
sensor adjust not working
Bro I made it am it worked!
could u share me the code ?
@@divyadivvi9497 (2)
Please share your code
Subscribed 😚
How to do I use relay on it???
connect the relay in place of the led, and connect also relay with main electricity at home
can u post the code in comments section that andprof link is not working its fast plz urjent
We are in the process of revamping our site
@@AndProfPlus the link that you give isn't working
Code doesnt exist
bro it's good but where's the rest of the code
Bro how to connect power .......
andprof.com/creativity/clap-switch-with-arduino-and-sound-sensor-arduino-project-with-code/
error compilation on code
Please can you post the code here
Link
Bro i want source of contact so I can I can talk to you
in next time, i will create an account facebook or whatsapp to contact from us
also thank you for watching and subscribe our channel
youtuber gak niat🪨
if (clap == 0)
{
detection_range_start = detection_range = millis();
clap++;
}
code me
detection_range_start = detection_range = millis();
ye line aisi hi hai or i ve written something wrong?
is line me 2 = to signs hai?
i have simply copy pasted code.
plz reply urgently.we have exhibition in school on 14thNovember n i am willing to participate.
فيه إيه هو إنت أخرس ولا فاكرنا لا نسمع.. ديسلايك
Cobe
VG
what is this Ooops... Error 404
Same issue with everyone