This instructable is the written version of my "Arduino - Sound Sensor (with LED)" YouTube video that I've uploaded recently. I strongly recommend you to check it out.

My YouTube Channel

Step 1: Tutorial

Sound sensors can be used for a variety of things, one of them could be turning lights off and on by clapping. Today however we are going to use hook up the sound sensor to an array of LED lights which will beat with music, clapping or knocking.

Step 2: Hardware Required

  • Arduino
  • A Sound Sensor
  • LED
  • 220 ohm Resistors
  • Mini Breadboard
  • Wires

Step 3: Circuit & Connections

Arduino Sound Detection Sensor

This module allows you to detect when sound has exceeded a set point you select.Sound is detected via a microphone and fed into an LM393 op amp. The sound level set point is adjusted via an on board potentiometer. When the sound level exceeds the set point, an LED on the module is illuminated and the output is sent low.

Step 5: If I Was Helpful

First of all, I would like to thank you for reading this guide ! I hope it helps you.

If you want to support me, you can subscribe my channel and watch my videos.

Visit My YouTube Channel

<p>Can someone please help me, it doesn't work</p><p>int soundSensor = 2;<br>int LED = 3;<br>void setup() <br>{<br>Serial.begin (9600);<br>pinMode (soundSensor, INPUT);<br>pinMode (LED, OUTPUT);<br>}</p><p>void loop()<br>{<br>int statusSensor = digitalRead (soundSensor);<br><br>if (statusSensor == 1)<br>{<br>digitalWrite(LED, HIGH);<br>}<br><br>else<br>{<br>digitalWrite(LED, LOW);<br>}<br>Serial.println(statusSensor);<br>}</p>
<p>Hey,</p><p>By Using Arduino --</p><p>I want at 10 PM all my home lights should OFF and at 6 AM same should be ON.</p><p>I have set up the Arduino Uno board with DS3231 RTC but only unable to tell Arduino to read that particular time (from 10PM to 6AM) from RTC and to execute the task.</p><p>Kindly suggest all the possible method.</p><p>Thanks.</p>
Use the 'Time' library<br>
<p>It could be a really good project.</p><p>But the project algorithm can be very difficult.</p><p>You can use the DS3231 RTC. I would very much like to help but it takes a long time and I do not have much time.</p><p>I think, first of all, the power output of all the lights should be from one place. So it must be intertwined with an Arduino scheme. Otherwise, the project needs to be extended and remotely controlled. Different modules are used in this. If all the light inputs are in one place, the DC3231 RTC and Arduino are programmed. Then you can interact with the lights using the relay card. A project that should be considered long and carefully!</p>
<p>Thanks for your reply.</p><p>I've no issue with the Hardware setup, either Arduino side or 230V power side, all are ready.</p><p>The main problem I am facing is-- DS3231 is printing time in Arduino serial monitor and I want Arduino to Read that particular time from Serial monitor and execute the task.</p><p>Suppose serial monitor is printing hour, minute and second as :</p><blockquote>21:59:57<br>21:59:58<br>21:59:59<br>22:00:00 I want Arduino to read this moment as it shows 22:00:00<br>22:00:01 either through Serial Monitor or Directly<br>22:00:02 from DS3231 and execute the desired task.<br></blockquote><p>Your <strong>assistance </strong>would be <strong>appreciated</strong>...</p>
that's great<br>
<p>I made it with an Arduino Nano and it works perfectly. Thank you for the tutorial.</p><p>(The other sensors on the breadboard are not in use in the project, nevermind haha).</p>
<p>That's great!</p>
<p>I made it. thank you~~</p><p>---------------------</p><p>int LED = 3;</p><p>void setup(){</p><p>pinMode (LED, OUTPUT);</p><p>}</p><p>void loop() {</p><p>int statusSensor = analogRead(A0);</p><p>if (statusSensor &gt; 200){</p><p>delay(100);</p><p>while(true){</p><p>digitalWrite(LED, HIGH);</p><p>int statusSensor = analogRead(A0);</p><p>if(statusSensor&gt;200){</p><p>break;</p><p>}</p><p>}</p><p>delay(100);</p><p>}</p><p>else{</p><p>digitalWrite(LED, LOW);</p><p>}</p><p>}</p><p>---------------------</p>
<p>Congratulations. I wish you continued projects.</p>
<p>I want to make a baby's cry alarm that connect via bluetooth to my smartphone when the a sound exceed 10 seconds. How can I set the threshold and the bluetooth connection? Please help. Thank you :D </p>
<p>&ccedil;ok teşekk&uuml;r ederimm mert kardeş bravo tebrikler</p>
<p>Takibin ve yorumların i&ccedil;in ben teşekk&uuml;r ederim.</p>

About This Instructable




Bio: For more projects and tutorial visit my YouTube channel Mert Arduino and Tech
More by MertArduino:Arduino - How to Use DHT11 and DHT22 Humidity and Temperature Sensor Arduino Processing - Serial Communication and Processing  Arduino - DS3231 Real Time Clock  
Add instructable to: