Sound Sensor And LED Bar
This demo will show you how to use Sound Sensor, to indicate the intensity of sound, we need a LED Bar.
The output of sound sensor is analog signal, we connect it to A0 of Seeeduino.
LED Bar needs 10 IOs, about the connection, please refer to LED Bar.
Open Arduino IDE, click File -> Sketchbook -> sound_sensor.
We can use analogRead() to read the value of light sensor, this value will indicate the intensity of light. When the light stronger, the value larger.
To make the data more smoothly, we need some simple filtering. We read the value 32 times, and take the average value.
Help us make it better
Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!