Pages: [1]   Go Down
Author Topic: Trying to control 30 ws2801 RGB LEDs  (Read 3467 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have an UNO R2 Arduino Board I am in desperate need for help! I have 30 RGB ws2801 LEDs that I am trying to get working. But I have no clue how to hook the wire to the board. All the forums show the ws2801 led with different color wires then my LEDs. Wires are as noted
wire color-LED
Blue- B
Green- G
White- Positive      turns to black at beginning and end
Red- R


Please help me connect the wires to the proper connections on the arduino UNO R2 board.

Logged

Wisconsin
Offline Offline
Edison Member
*
Karma: 4
Posts: 1000
I LOVE THIS STUFF!!!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Here ya go
http://www.freetronics.com/pages/rgbled-rgb-led-quickstart-guide#.UJdEm8XA-Jo
Logged

Accelerate to 88 miles per hour.

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Funky, that's the wrong pin layout for that specific string.  Look closely at the labels.  I have the same string.  Looking at the first picture, the wires are, from LEFT to RIGHT:
(SDI) Serial Data In, (CKI) Clock In, GND, VCC

Drm, download and install the FastSPI library.  (http://code.google.com/p/fastspi/)

Open the testleds example from the library.  Set it to use the WS2801 (read the first few lines of the example sketch).  Set a data rate of 2 like so:
Code:
FastSPI_LED.setDataRate(2);

Connect the VCC and GND lines to your Arduino's 5V VCC and GND.  Connect the SDI wire to the Arduino's MOSI pin (pin 11) and the CKI wire to the Arduino's SCK pin (pin 13).  Copmile and upload the sketch.

Report your results.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have put the wires to the appropriate outputs. Now I am having trouble with the steps of controlling the LEDS. and sending the code to them. any help.And thanks for the wire help Kir
Logged

Colorado
Offline Offline
Edison Member
*
Karma: 47
Posts: 1562
Reviving dead brain cells with Arduinos.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't help you if you don't tell me what you're doing.  I asked you to run the testleds sketch and see if that even works.  Now you're asking for help without giving any kind of idea what it is you're trying to do, or what code you're trying to send.  Doesn't work that way.
Logged

Pages: [1]   Go Up
Jump to: