How To Make Clap Switch with Arduino and Sound Sensor | Arduino projects
Вставка
- Опубліковано 6 вер 2024
- In this video we will discover :How To Make Clap Switch with Arduino and Sound Sensor |
| Module KY-038 | Arduino UNO R3 projects for beginners.
Clap Switch with Arduino
Schema of the circuit : andprof.com/cr...
Programming Code : andprof.com/cr...
How to use arduino IDE software : andprof.com/to...
---------------------------
our website link : andprof.com/
--------------------------
#arduino
#Arduino_projects
-----------------------
Sound Sensor Module with Arduino Tutorial.Clap Switch
Arduino Clap Switch Using Sound Sensor
How To Make A Clap Switch | Control Light With Clap using Arduino
How to make a Clap Switch using Arduino
Arduino Sound Sensor Control
Sound Sensor Module KY-038
sound sensor arduino code
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 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
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?
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.
code link isnt working
yes
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
Hi faced trouble in led it did not respond to the sound please help
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/
Brother can we display out put on LCD too? Output of claps and time taken. I have a project submission.
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?
bro the link havent found me the code
hey can you upload somewhere the code again because it isnt workin plss
I can not find the red sensor in the tinkercad what is its name in the search?
What's up with the code ?
Thank you so much prof
you are welcome
Thank you.... I made it.. ❤️
what s the code?
What is the code
Please share the code
Please how did you do it 😢
How can I do the adjustment of the sensor ?? it is not working
sensor adjust not working
will it works with 330 ohm?
But bro how to connect main electricity to it
you can use it with relay to control any device at home
Code doesnt exist
bro where is the code? the link isnt working
Code ki link bhejo code nahin mil rahe
bro it's good but where's the rest of the code
error compilation on code
Bro how to connect power .......
andprof.com/creativity/clap-switch-with-arduino-and-sound-sensor-arduino-project-with-code/
Subscribed 😚
Bro very good loved it but I want to ask a question
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
hi ,what is the difference between 'ao' input and 'do' input
What code did you use
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
Bro I made it am it worked!
could u share me the code ?
@@divyadivvi9497 (2)
Please share your 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
what is this Ooops... Error 404
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.
youtuber gak niat🪨
VG
فيه إيه هو إنت أخرس ولا فاكرنا لا نسمع.. ديسلايك
Cobe