Pages: [1]   Go Down
Author Topic: LED bar graph to electrolyte mic  (Read 1136 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys!

I have a question. I need a little help setting up my project. I want to have 6 LEDs act as a bar graph that reacts to sound. The louder the sound (from a electrolyte microphone), the more LEDs in a row light up. I also want to be able to increase the sensitivity of the mic with a potentiometer. Can somebody help me out with the code and maybe how to set this up?

Thanks!
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

   The quickest and easiest way to do this is to use an LM3914, its a purpose designed chip for audio power metering, its widley available, cheap and easy to use. Search your favorite video site and you will find lots of examples and tutorials for using it.

Duane B

rcarduino.blogspot.com
Logged


Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 627
Posts: 34220
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Look at the arduino esplora schematic, that has a dual op amp set up that will do exactly that. Just change the feedback resistor on the first op amp to a pot.
What this is, is an amplifier followed by a peak detector.
Logged

Pages: [1]   Go Up
Jump to: