Menu Close
Spread the love

Arduino Sound Detection Sensor


Arduino Sound Detection Sensor Modul LM393

Arduino Sound Detection Sensor

Parts Required:

–  Arduino NANO v3.0
–  Sound Detection Sensor Modul LM393
–  LED (1)
–  Wires to connect it all together


Arduino Code:


// Example by Hisham Marzouk

int LED = 3;
int brightness = 0;
int fadeAmount = 1;

void setup(){
pinMode (LED, OUTPUT);

void loop() {
int statusSensor = analogRead(A1);

if(statusSensor > 800){

for(int i = 0; i < 255; i++){
analogWrite(LED, brightness);
brightness = brightness  + fadeAmount;
if (brightness <= 0 || brightness >= 255) {
fadeAmount = fadeAmount ;
Serial.println (brightness);
digitalWrite(LED, LOW);


Arduino Sound Detection Sensor


It uses a microphone which supplies the input to an amplifier, peak detector, and buffer.

When the sensor detects sound, it processes an output signal voltage which is sent to a microcontroller then performs necessary processing.



For more Please make sure to subscribe to Officialhrm YouTube channel and like Facebook Page.

Thank you for visiting OfficialhrmPlease don’t forget to share this website with your friends.



File Description Date added File size Downloads
zip sound sensor claper August 15, 2018 5:02 pm 465 KB 8125
Posted in Arduino

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *