I'm needing a crude VU meter for line level audio

I've got a few spare prop ports and I'm looking for a good way to indicate audio activity at a line level. It does not have to have any unit significance. I just want to drive a handful of LED's for troubleshooting purposes.
I'd like to minimize the number of external components.
Line level is roughly 0 to 1v, 60Hz would be an adequate sample rate. I could smooth the audio via an RC arrangement.
Ideas?
Jim-
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
I'd like to minimize the number of external components.
Line level is roughly 0 to 1v, 60Hz would be an adequate sample rate. I could smooth the audio via an RC arrangement.
Ideas?
Jim-
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.
Comments
If you just need a boolean, just amp it up and use the prop to do some timeout since last activity type logic. (Minimizing external components... should be easily doable externally though)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Not the fish.
www.hackniac.com
Joe
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm going insaine. It's SOOOOOO much fun. lol
It is written to run on the Demo board.
To run it stand-alone, you just need to built the ADC circuit (2 caps, 2 resistors).
It needs two pins to do the ADC function, and you'll need pins for however many LEDs you want.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information
Post Edited (Bean) : 3/30/2010 8:56:06 PM GMT
Jim
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Signature space for rent!
Send $1 to CannibalRobotics.com.