How To Use Sound Sensor | Control LED By Clap Using Arduino And Sound Sensor

How To Use Sound Sensor | Control LED By Clap Using Arduino And Sound Sensor

IoTBoys

6 лет назад

127,504 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

LRHPro
LRHPro - 21.02.2018 15:26

that's good ,
I think this would be easy
if (sensorData==1){
ledstatus= ! ledstatus ;
digitalWrite(LED,ledstatus);
}

Ответить
Vini Vinefera
Vini Vinefera - 17.02.2018 18:15

Hello,Your explanation is really nice and even your website too ..I have a doubt,hope u will clear it
I want to set a threshold value and based on that, if the sound exceeds the threshold (then the Arduino needs to command GSM to make alert call). Is detecting higher range sounds be done by modifying your circuit and code a bit???

For this, can you tell me what are all the exact requirements I need to have?
Thanks in advance!!

Ответить
ML
ML - 05.02.2018 15:51

Nice! I just don't understand how the sensor distinguishes between an ordinary sound and a clapping sound. Is it programmed on the sensor's IC?

Ответить
Paresh Kurdekar
Paresh Kurdekar - 12.01.2018 16:56

Can this sensor be used to control multiple led's (1 clap ,1 led turns on; 2 clap 2 led's turn on)?
if so how?

Ответить