Skip to content

dwyl/iot-decibel-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iot-decibel-meter

An arduino decibel meter

img_4568 img_4569

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

You will need:

  • a positive mental attitude ❤️ 😄 ❤️
  • a laptop or a raspberry pi 🍰
  • an arduino
  • a sparkfun sound detector (with envelope readings)
  • a breadboard 🍞
  • some male-male wires 👦 👦
  • USB A to B cable
  • LCD screen (we have the LCD 1602 module) and potentiometer (10k)

Steps

  • 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

About

A decibel meter built with an arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%