A simplified Sound-to-Light display using a few inexpensive parts.

Step 1: The Circuit - Overview

If you're familiar with the original Musicator-Jr, you'll know it uses a dual op-amp to convert sound from an electret microphone to display on LEDs. This new design uses a much-simplified circuit and is able to support up to 40 LEDs.

Like the USB-Musicator design, this circuit makes use of the LM431 "Programmable Zener" circuit. Although packaged like a transistor in a familiar TO92 form, there is a half-dozen transistors inside which forms a powerful op-amp and driver, which we will make use of here.

We have added a 2N4401 transistor as an output stage, which will allow us to drive LEDs up to 600mA. So it is not advisible to substitute any other device for it.

The basic design is for a 9-volt battery, but 12-volt operation is also possible with a few value changes.

A point-to-point diagram is supplied below, a larger / clearer version is also avilable here.

Step 2: The LED Display Arrays

As you can see, our demo unit consists of 15 LEDs: 10 x Red, 3 x Blue and 2 x White. They are organised as 5 parallel rows of 3 LEDs, each row comprising of 2 Reds and either a White of Blue LED. Since White LEDs are made from Blue LEDs, their specs are essentially the same.

To make the most of available voltage, we'll use the following formulae to work out the optimal LED composition for each chain:

Vs = (V-supply-1) * 0.9, then
Subtract 3 for each White, Blue, Pink or Violet LED
Subtract 2 for each Red, Yellow or Orange LED
 repleat until you are as close to 0 as possible.

 This design requires that at least two of the LEDs be Red, Yellow or Orange, but can be any 2.

In our sample with 2 reds and a blue and Vs = 7.2; so 7.2 - 2 - 2 - 3 = 0.2, which is very close to optimal.

Additional chains composed of similar LEDs (same number of 2 and 3 -type LEDs) can be attached to points (A) and (B) on the scematic, up to a limit of 400mA, or about 20 chains of 20mA LEDs.

 Here's a video of it in action:

Step 3: Parts List

Q1 LM431 Programmable Zener
Q2 2N4401 NPN Driver Transistor
C-in 1uF to 5uF capacitor, + to Electret Mic side

R-bias 10K
R-drive 1.5K
R-feedback 150k to 560k. I used 2 x 470k in parallel to get 235k-ohm. Use 150k for the lowest sensitivity, ie LOUD environments. This is connected to the top of the 2 x RED LEDs.

 An additional 0.1uF capacitor can be inserted from the top end of R-feedback to ground to extend the time LEDs stay on, but is entirely optional.

A series of images are provided to guide you in the wiring.

Step 4: Variations

The circuit is versatile enough to support almost any LED combinations. Here is another version with Amber and Pink LEDs in an eye-watering arrangement. A 500k-ohm trimmer is placed in series with a 47K resistor as an adjustable R-feedback.

For other voltages, use the formulae presented in step (2) and adjust R-bias to V*1000-ohms, R-drive to V*150-ohms.

Have fun! Visit my website for more ideas on lights and LEDs.

Here's a video of it working:
A slightly different display, based on <em>AkoSiGloc9</em>'s suggestion - check it out below:<br> <br> <div class="media_embed"> <object height="385" width="480"><param name="movie" value="http://www.youtube.com/v/uATdgEe7Aec?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0xcc2550&amp;color2=0xe87a9f"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><embed allowfullscreen="true" allowscriptaccess="always" height="385" src="http://www.youtube.com/v/uATdgEe7Aec?fs=1&hl=en_US&rel=0&color1=0xcc2550&color2=0xe87a9f" type="application/x-shockwave-flash" width="480"></embed></object></div>
im very interested your idea and i tried to apply it to my project but doesnt work well. im not engineer nor technician ,just lawyer. My project s sound activated laser. I humbly request you to leave email contact to udom_ta@hotmail.com . Thank you for your attention.
You have a great deal of work to try and modulate a laser like an LED. Lasers can only have an on-or-off state. Any modulation must be done with a combination of pulse-width or frequency.
i d like to share idea wt u. Could u pls send me email as abow.
<p>Hi qs, just want to ask if there's any other component that can replace the LM431 in your ckt. I found it hard to find that piece and I'm so eager to have that kind of masterpiece. Hoping for your reply. Thank you:)</p>
<p>Do you think TL431 or KA431 could do?</p>
They took down your video for copyright reasons, that sucks. You can probably argue it since you aren't making money.
<p>It can also be argued that only Beethoven can do that, since he wrote the original!</p>
Hi how are you? I built your circuit on my breadboard. It works great with one exception. I can get the middle blue and white lights to light up beautifully. But the red ones hardly visable. I have each row in parallel like you have it. I have everything identical to your circuit. Hmm...
Unfortunately I cannot see enough details in the photos, but since all the LEDs are connected in series, they should be lighting up evenly - it may be that you have some blue/white LEDs going directly to ground. That is incorrect: make sure that EACH white or blue LED is connected to TWO red LEDs before going to Ground.
Thanks for the reply. I'll just try different Red LED's. Thanks again for the great instructable!!! I will be making your &quot;Using AC with LEDs (Part 3) - The BIG light&quot; once I find the BR. Take it easy!
Very nice. I'll put this one on my to do list lol. Thanks again :).
You are so very welcome. Happy building!
Hello! Great instructable! Can I use a 500 trimmer instead of the 470k (based on the pint-to-point diagram)? Or I must use it in parallel with a 47k resistor?
Hi, thanks for the comment.<br> <br> If, by 500 you meant a 500<strong>K-ohm</strong> trimmer then that is fine, nothing else is needed, since you can always adjust the pot to a lower resistance value.<br> <br> btw, if you had tried to parallel a 47K resistor to it, you would end up with a value around 43K. NOT what you'd have wanted.
Interesting circuit. I'm trying to figure out how it works. <br>It seems the IC is operating as a comparator. It's comparing the IC's internal 2.5V reference against the audio signal's AC component + a DC bias generated from the forward voltage on the 2 lower LEDs.<br>The voltage of the LEDs should add up to be around 2.5V then. So the performance of this circuit depends on the Vf of the LEDs you use?<br><br>Also there's negative feedback that keeps the DC bias at 2.5V on average. So an LED with lower Vf will be driven at higher current even when there is no audio- to maintain 2.5V at the feedback pin. That means the LEDs will be on even when there is no audio...<br><br>I also noticed your R-feedback resistor value is specified as a range. Does the value of R-feedback control the frequency response or the amplitude or both?<br><br> I've built several sound to light circuits. I typically use an audio amplifier IC to drive a opto-isolator. But I'm interested in getting different responses. I'll have to play around some with this circuit.
For this circuit, you have to think in <em>linear</em> terms.<br> <br> The overall circuit IS an Op-amp and, with no input, it will try and hold the voltage at the top of the 2 LEDs at 2.5v. This gives each LED about 1.25v. With less than 1mA through them, they're barely lit, if at all. Remember that they are connected in series, so both LED must share the same current, regardless of any differences in V<sub>f</sub>.<br> <br> When a signal arrives from the mic, it changes the equilibrium and the output changes such that V<sub>out</sub> = 2.5 - (V<sub>in</sub>* ( 1 + (R<sub>feedback</sub>/R<sub>in</sub>) )) where R<sub>in</sub> is the impedence of the Electret and associative components, usually about 2k-ohm. The range of R<sub>feedback</sub> tailors the amplification to bring the 0.5uV signal of the mic to something visible on the LEDs.
Seems like a wonderfully simple circuit, but... I tried building it with 9v, R-feedback=165K and two blue LEDs rated at 3.5V each. The top LED stays fully lit, and the bottom LED (replacing the two lower lights in your diagram) responds to the mic as expected. Extra two-LED chains are also always fully lit, but it seems like the voltage drop should be close enough... Any clues?
The fact that the LEDs do not light up equally means there is a problem with the connections. The top LED is probably shorting somewhere.
Thanks for the quick reply! It ended up being a faulty LED that lights up fine but I guess has a bad lead or draws way too much voltage...
Clever use of the programmable zener. I see your other version of the musicator gives more detail on the operation. A possible enhancement which springs to my mind would be a three channel version with RC / RL filers on the input to give bass, mid and treble displays in different colours. I love the simplicity of this though.
Thanks for your support!<br> <br> After the original Arduino-driven Musicator, I've been interested in building a frequency sensitive version based on the LM324, but I was discouraged by the parts count.<br> <br> I'm working on some ideas but time is in real short supply here...
I have been thinking about this idea as well. I wonder if it would be possible to grab a pre-made crossover from a speaker box to take care of the filtering for you? Seems like it might make the project less DIY, but more straightforward.<br><br>Looking forward to seeing more projects. Keep it up!
Thanks! <br> <br>Just posted a 3-channel version (using direct audio output) here: https://www.instructables.com/id/A-Triple-Channel-Musicator-the-TriM/ <br> <br>Turned out the filter was not as demanding as I had been afraid of. My first iteration used op-amp based active filters but the part count was way up there... This one is fairly simple but IMO very effective.
whats this symbol<br><br> + 1u or v?<br>----|(----
It's a 1 uF (1MFD) capacitor at any voltage. If it is polarized (Electrolytic or Tantalum), then the + should be towards the Electret mic side.
Is there a way and I hope this is not asking too much. Can you do a wiring diagram of which one connect to which I know you got the schematics but its hard for me to follow. Thanks!
Here is a point-to-point diagram (also added in Step 1) - hope it helps. A larger copy is downloadable <a href="http://www.quantsuff.com/Images/MusicatorMk2-3a.jpg">here</a>.
thank you i appreciate this so much i will let you know how my end product will end ill post up and instrucable as well thanks!
You are my Idol ! LOL<br>I love your work
I agree.<br><br>Damn, this looks so easy I'm almost ready to start building one!
Aw shucks! Thank you.
Nice work my friend.<br>Keep it up.
Thanks buddy! Glad to see your work featured so prominently!
Very innovative!<br><br>Nice work.
Thank you! <br> <br>

About This Instructable




More by qs:Joule Thief LED circuits A Triple Channel Musicator - the TriM... Musicator Jr - Mk 2 
Add instructable to: