Microphone Sensor Product Info and Code

DOWNLOAD ARDUINO SAMPLE CODE & EXPLANATION HERE

This Microphone Sensor module is ideal for using with Arduino or other logic based systems.
Common uses include helper products for people with hearing difficulties (eg flashing a light when a cooking timer sounds), intruder detection or checking industrial or other noise levels.

View our YouTube Video here for full explanation of the circuit and code

All you need to do is connect 5v power and ground and then use either the analog or digital output pins to trigger a response. You can use power from an arduino or other board.

Setting up:

Plug the sensor into a breadboard or connect power with Dupont Leads.
If both LEDs on the board light up, turn the trimmer anti-clockwise/left until the sensor light goes out.
Keep adjusting the screw until the light is just going out and then flickers when you make a noise. If you start with the light off, then of course turn the screw in until you reach the sensitive point.

Connect the Digital output D0 to an input pin on an arduino or similar board. When the microphone picks up sound, the pin goes HIGH and you can can trigger an LED or anything else using that input.

Click the link at the top of this page to see code for a simple Arduino sketch you can copy and paste to try out the sensor, including explanatory comments.