Electronic – arduino – LPD6803 RGB LED Strip with an Arduino

arduinoled

I purchased a 5 Meter flexible waterproof Digital Addressable RGB LED strip from Lee's Electronic (A local electronics store). The strip uses LPD6803 (datasheet) and I have purchased a 6A 12v power supply.

Adafruit has a LPD6803 library on github. The library was designed for AdaFrute's 20mm Clear Digital RGB LED Pixels. Using the example code that came with library, I connected power supply and the Arduino UNO

Here is an image of the connector on the RGB LED strip. I connected the C1 (green) to Arduino pin 3 (clock). I connected the S1 (Red) to the Arduino pin 2 (data), and Gnd to the Arduino ground.

After I upload the sketch to the Arduino and connected the power. All the LEDs turn white. I played with the sketch a bit but I was unable to get it to do anything but ALL white.

After some googling I found an alternative libary FastSPI_LED that also supports this chip. Set up the example and had the same problem. All white.

Next looked in to the data sheet and found that this chip uses a 32 zero sequence at before it starts the sequence for the different colors. So I used ShiftOut on the arduino and shifted out 32 zeros followed by a sequence of other values. All white.

I'm not sure what to try next.
Suggestions, comments, thoughts?

Best Answer

I have this strand of LEDs/Controllers and I've made it work with the LPD6803-RGB-Pixels library.

To connect the strip correctly:

  • Di (Blue Wire) = VCC -> Connect pin: Vin on Arduino.
  • Ci (Green Wire) = Data -> Connect to pin: 2 on Arduino.
  • St (Red Wire) = Clock -> Connect to pin: 3 on Arduino.
  • Li (Black Wire) = GND -> Connect to pin: GND on Arduino.

Once the Arduino is programmed, unplug USB cable, and only use the 12V supply.

Hope this helps.