Looking for circuit example (audio line level to single LED)
RobotWorkshop
Posts: 2,307
Hello, I'm trying to wrap up a demo project for the upcoming UPENE show and I hope that perhaps some of you may be able to help me with a simple circuit. There probably is an example out on the net somewhere but I haven't found one. I'd normally just start wiring up things on a breadboard but I am really pressed for time and am focused on other aspects of the project.
I currently have an audio output (line level) that is going to a set of amplified speakers. I also want to take that same line level audio signal and drive a single LED with it. Basically I just want the LED to light when there is some sound being generated. It can be as simple as varying the intensity depending on the signal or just flash the LED when the audio plays. I'd like to keep it fairly simple and not load down the audio signal too much.
So, if anyone has something they know of that would work or serve as a basis for this it would really help!
Robert
I currently have an audio output (line level) that is going to a set of amplified speakers. I also want to take that same line level audio signal and drive a single LED with it. Basically I just want the LED to light when there is some sound being generated. It can be as simple as varying the intensity depending on the signal or just flash the LED when the audio plays. I'd like to keep it fairly simple and not load down the audio signal too much.
So, if anyone has something they know of that would work or serve as a basis for this it would really help!
Robert
Comments
example of voltage follower on single rail supply
I didn't use one, but for LED life, I'd probably use a diode to ground (or another LED in reverse polarity) to rid the negative values of Audio. Depending on the power of your amplifier, it might lower the volume of that audio channel though..... just a little.
Heck if you don't use the idea, it takes 30seconds to hook up and mildly entertaining...
Oh, you said line level.... Ya might need a simple audio amp transistor (Radio Shack) to drive it then.... or a 741 op amp (Radio Shack). There should be + supply circuits on the datasheet.
Robert
It MIGHT work off the line level if you use one of the little 3mm bright green LEDs I bought from Jameco. They provide good light at about 1mA!!! Chances are I'll bet you'll need a preamp though. You could try it, the worst that happens is you pull the line low and don't get audio out right?
If you build a small crude amp, which wouldn't take much, you may need a cap on the output to rid of DC level. Otherwise the LED would go from light to bright levels and never really blink. You'd see it with an o-scope if you have one.
I second the suggestion for low-current LEDs. I get mine from Junun:
red: http://www.junun.org/MarkIII/Info.jsp?item=62
green: http://www.junun.org/MarkIII/Info.jsp?item=63
That's what I would use. Erco is greater than I though... his suggestion might be a lot better.
I like the lm567 tone decoder and the 3909 flasher too! :-)
Hard to find a good buy on the 3909 though. You can get
the 567 for .25 from China in large lots....easier than writing
tone detection code.
I see guys scalp obsolete 3909s on Ebay for $5-10: http://cgi.ebay.com/LM3909-Oscillator-LED-Flasher-3909-/400083973122?pt=LH_DefaultDomain_0
But they are always in stock at http://futurlec.com/ for $2.75. Shipping takes a while, but they have some interesting parts.
When anybody finds a deal on my beloved obsolete FPT540A phototransistor, please advise! I'll buy a batch for my own nefarious purposes....
Robert
Robert
I've experimented with a couple different LM386 circuits but nothing promising so far. I just want to monitor the audio line and when there is sound then vary the voltage for the LED so that it is on when speaking. It can either just flash on/off as the audio is there or even better vary in brightness as the audio is active. I just want it to come on when the speech module is talking so that there is some visual indication of speech.
Has anyone else had to make a similar circuit or know of some other examples?
Robert
Pretty much any op-amp will work. The only requirement is that it deliver 10mA on its output for the LED.
Running the op-amp with an open loop means tons 'o gain so any wiggle on the input is going to slam the output from near 5 volts to near ground.
The 1uF will be sufficient to pass freqs beyond 10kHz. The two 20k resistors bias the op-amp to mid-supply, in this case around 2.5V.
If things get squirrely, there may be the need to reduce the input signal, and/or, add a cap from the 510/LED junction to ground. We can talk about that if you like.
Regards,
DJ
Robert