Find all your DIY electronics in the MakerShed. 3D Printing, Kits, Arduino, Raspberry Pi, Books & more!

5mm or 10mm LEDs will work just fine for most projects, but if you really want to light up a room, consider using some of the “high-power” variety. With forward currents of up to a full amp, you’ll need a way to dissipate heat – but the results are very much worth the extra effort.

I’ve had color organs on the brain since the last installment of the Circuit Skills series, so I decided try my hand at a new incarnation of the basic 3-channel sound-to-light machine using high-power LEDs. This time, I took advantage of the fact that I play all of my music from a computer, and created a ‘patch’ in MaxMSP to calculate high, mid, & low values of the outgoing audio stream. Max then sends these values out to an Arduino via serial connection over USB. The Arduino uses these values to set the PWM output levels of 6 pins – each of which are wired to a couple of Tri-Driver boards powering my display. Alternatively, a much more affordable low-power display could be created by simply connecting each of those PWM outs to a 5mm LED and resistor wired in series.

Update: Head over to Make: Projects for the Arduino code, Max patch & basic instructions for this one.

Subscribe to the MAKE Podcast in iTunes, download the m4v video directly, or watch it on YouTube and Vimeo.

Collin Cunningham

Born, drew a lot, made video, made music on 4-track, then computer, more songwriting, met future wife, went to art school for video major, made websites, toured in a band, worked as web media tech, discovered electronics, taught myself electronics, blogged about DIY electronics, made web videos about electronics and made music for them … and I still do!


Related

Comments

  1. razldaz.myopenid.com says:

    Arduinos are great but can be overkill … and tying one up for a fairly simple project might not be idea. UARTs are great for this kind of operation … and can be simply interfaced with basic transistors.

  2. bauelemente says:

    LED’s a great invention the power & the life time are unbeliveable.I think in the future we can make our light only with LED’s.

  3. Alan Parekh says:

    Great robot dance Colin. :) Anyway… Those LEDs are very bright! When they are on and properly heatsunk are they hot to the touch?

  4. radauBruder says:

    I tried something similar.
    less sophisticated but with an also quite good effect.

    http://din-a4-blog.blogspot.com/2010/10/sound-controlled-led-letters.html

  5. Can I use a Rewire host with Max instead of Jack on a PC