I am trying to control RGB leds using audio with the arduino and found various information abojut how to do so. I want the RGB leds changed color and blink depending to the audio (music) that is playing.
I found out that I need a DMX. While searching on this website I found out about the DMX512. Now I can't figure out how to use the DMX shield or where to get it from.
Does anyone have any information about a similar project that can help me start this going?
I would seriously consider the shiftbrite LED system
It's developed by someone who is also present here, and works with Arduino without the need for DMX
I need over 100 rgb leds so if I buy from that guy it will cost me a fortune
I want to find a cheap and a diy alternative...
DMX LEDs aren't going to be cheaper...however, if you plan to have all the LEDs display the same color, you should be able to work up something pretty inexpensive.
Or you can use shift registers to control the LEDs. You'll have 300 pins to control, so with 74HC595 chips you'll need to wire up 40 ICs. 400 wires leading to all the LEDs, so 800 solder joints. Then a PCB with 40 chips on it, those are 16-pin ICs, so at least 640 more solder joints. You'll need inter-chip wiring for power and comms but that will account for only a few hundred more solder joints. If you make PCBs the solder count goes down a bit since you don't need to solder both ends of single wires. I figure you're in 50 bucks on LEDs, maybe 20 bucks on ICs, 10 or 20 bucks on proto boards and the same for wiring. About $100 and a couple weeks of evenings putting it together. You'll need some timing-conscious code to actually get some levels of dimming on the LEDs, since the shift register will only turn the LEDs on and off.
ShiftBrites would definitely be more expensive. 100 of them is about $374, plus premade cables is about $100-$130 more. You also don't want to space them more than a foot or so apart, since it's transmitting a TTL signal between devices. The upside is that constructing the array would take under an hour, basically as fast as you can plug headers into cables.
I recently posted a blog entry show the difference between the two approaches: Why ShiftBrites Exist. Note that the pictures show a system about 1/3 the complexity of the one you're considering.
You might be able to figure out an interesting matrix arrangement to reduce the amount of control logic for 100 RGB LEDs. A 10x30 matrix, maybe...this will either reduce the light output significantly, or risk burning out all your LEDs with a single code mistake.
Edit: I forgot the current control resistors for the shift register solution, so that's 300 more resistors (cheap, a few bucks), and 600 additional solder joints for a total of about 2,250.