An arduino decibel meter
The eventual aim is to get the decibel meter running just on the raspberry pi. However as we are newbies and did not want to have to solder on an ADC converter, we have started off using an arduino
Clone the repository
Download the arduino IDE
Hook up the sparkfun sound detector. Follow instructions here On our setup, we have connected the envelope output to A2 and gate output to digital 3 (as well as 5V VCC and gnd). We have left the audio output disconnected because we do not need to use it.
Connect LCD screen. We use pins: [7, 8, 9, 10, 11, 12]. Please see hardware hook up instructions here
Connect arduino to usb port of computer and check you are connected to your arduino port (Tools -> Port)
Open the sound.ino file in the arduino IDE
Click Sketch -> Upload to upload the sound.ino code onto your arduino
You should now see the decibels on the lcd screen.
Feel free to plug into a wall plug or power the arduino with a battery instead.
Video of it in action: https://youtu.be/mYaD5LH4KYI