Look on the plastic, molded housing itself for arrows that indicate which side is in and which side is out. See the attached image where I highlighted the arrow in red. Each "pixel" will have one side that's in and one side that's out. You want the wires on the IN side.
The red/black wire pair is always VCC and Ground. The three on the connector are DATA, CLOCK, and Ground. This design allows you to connect the red/black pair to an external power source (recommended) while the DATA, CLOCK, and additional Ground is connected to your controller (Arduino I presume.)
Note that strings like this can require a surprising amount of current. If you switch all LEDs on simultaneously that's 60*3*0.02 = 3.6 Amps. You need at least a 4 Amp power supply, preferably 6 Amps or more if you plan to switch it on for hours at a time (although you probably won't have it all white very often in practice so 5-6 Amps is probably OK).
Hmm. This map will have about 50 LED to be exact and I plan to keep them at a solid color to indicate account status. Ideally I could leave this plugged in forever, but if I need to switch out off I can. You said I need 5-6 Amps, does that mean the v5 won't do it?
Quote from: AceoStar on Feb 28, 2013, 04:59 pmHmm. This map will have about 50 LED to be exact and I plan to keep them at a solid color to indicate account status. Ideally I could leave this plugged in forever, but if I need to switch out off I can. You said I need 5-6 Amps, does that mean the v5 won't do it?Power supply volts is usually independent of amps. The 5 volts aren't negotiable, the amps are.I'd get at least 6A if you're going to leave it on 24/7. 8A would be even better.Make sure it's a 'regulated' supply, something like this: http://www.ebay.com/itm/110741575602(nb. randomly chosen eBay item...)
hm, I'll probably come back to you on this one. I should be able to drive this from my PC until I know enough to try and attach an external supply. Thanks for the recommendation!
Any PC power supply can do this for you.
Quote from: KirAsh4 on Feb 28, 2013, 09:52 pmAny PC power supply can do this for you. Yep. Any old PC supply will do it. You have to short out two pins on the motherboard connector to get it to switch on but apart from that there's no problem.
As for the code, I'm using Pin 4 as specified in FastSPI example. I commented out the other modes and just ran FastSPI_LED.setChipset(CFastSPI_LED::SPI_WS2801);. I'm hooking clock into pin 13 and digital into 4.