Arduino Learning Board. Sound Sensor Digital.

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

The end result.

Pre-Knowledge.

Setup your Arduino.

http://brisbaneroboticsclub.id.au/setup-your-arduino/

Install the Arduino Learning Board Library.

http://brisbaneroboticsclub.id.au/arduino-import-learning-board-library/

References.

Nil.

Wiring Diagram.

Sound SensorArduino
A0Nil
GGND
+5V
D0D2

Code.

File>Examples>Arduino Learning Board>ALB_SoundSensor

Run the Code.

Upload the code to the Arduino Board and Open the Serial Monitor (Tools>Serial Monitor).

Use a screwdriver and adjust the sound sensors onboard setting. Turn the screw until the LED turns off. This sets the background threshold.

Now make a sound by clicking your fingers.

The values in the Serial monitor should change from 0 to 1 when a sound is detected.

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.