Arduino + Sound Sensor

I got a sound sensor on Ebay some days ago, and decided to give it a try!
Really simple, just made a code to light up the led when the volume was higher than the ambient sound.

Just for fun! 😉

As many people have asked, here goes the code:

Remember that there are many other ways of doing this, for example using the PWM function along with analogRead() and map().

34 thoughts on “Arduino + Sound Sensor”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.