Greetings, all. I've never posted to the fastled community but I've been following the

Greetings, all. I’ve never posted to the fastled community but I’ve been following the group and working on my own installations/sculptures for over a year now. I’m so inspired by all of the work here and the level of support is astounding. I swear I will contribute more! But I haven’t been able to move forward with my project for months now because of one small issue… SPI CABLE LENGTH! GAHHHH.

Anyway, SPI amplification. I’ve searched through these posts and across the web for a while now but I haven’t found any straightforward explanations, or at least any that seem to apply directly to addressable leds. I don’t know. Maybe I haven’t been looking hard enough, but it just seems a bit over my head.

I’m currently working with WS2801 LEDs that require 12v power and both a clock and data signal. Ideally there would be a ~15ft three-pin cable between my controller and the LEDs with a separate power source for the LEDs (with common ground between the lights and arduino).

I keep hearing about the RS232/RS485/MAX3232 chips. From what I understand (likely not at all accurate) these kinds of chips electrically amplify signals! By… uh, taking an SPI signal, or any kind of signal with both data and clock lines and putting more voltage behind it…? And the signals have to go down wrapped cables, like a DMX or CAT5 cable!! Because… it electrically isolates the data and clock signals…? And then at the other end of the cable I can just plug right into the data and clock lines of the LEDs!! Or… no?

Is there a specific chip I should look at for this kind of application? It looks like the RS485 chip is the way to go?

And when I find the right one, I should just be able to take a look at the data sheet and figure out where the power, ground, clock, and data lines go?

Do chips like these require a specific voltage? I take it supplying +5v from the arduino wouldn’t be enough.

And at the other end of the signal, do I need to use a step down voltage converter? If I amplify the 5v SPI signal to 12v, and the WS2801 LEDs require 12v, I should be good to just plug right in to the led’s clock and data lines?

And does it HAVE to be a wrapped cable? I would love to use XLR cables, but I could move to DMX, and I would prefer not to use CAT5. But beggars can’t be choosers I guess.

Any help, any link to another discussion post, any resources would be greatly appreciated. Once I tackle this I will send my thanks, post my work, and have a beer. Thank you all!

If your LED strip needs Data and Clock you’ll need two twisted pairs.

I think you could use a DMX cable (with 5 pins and two twisted pairs). The key is to only put one signal per twisted pair. So on one pair: Data and ground, and on another pair: Clock and ground.

If you use CAT6 cable I believe it wants a 100 ohm resistor on the end of those signal lines just before connecting to your LED strip. DMX might be 120 ohm, but 100-120 should get you started.

Example wiring with CAT6 pairs: http://imgur.com/qn7BH7S

And all the grounds would be tied together on each end.

For RS485, you need a chip at both ends of the transmission. I have done this with I2C communication but not directly with the data or clock lines on the WS2801. RS485 can go 1000s of feet…and at very high speed. so it should do what you want. I just used normal ethernet cable for my lines.

the ones I used are like this but are rated for 5v. Are the data and clock lines 5v or are they 12v?

@Justin_Eastman Do you just connect the signal wire to one… run whatever length of wire to the next one… and then to the LED strip?

What about something like the following?
http://www.ebay.com/itm/DC12V-12A-White-Mini-Tiny-Thumb-Amplifier-With-DC-Plug-Adapter-for-RGB-LED-Strip-/161296132031?var=&hash=item258dffa7bf:m:mbHe8WadWaVSBKqDLdsMpGw