LPD8806 Clock rate

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

LPD8806 Clock rate

Postby timistof » Mon Sep 12, 2011 4:17 am

Hi Everyone,

Has somebody tried to boost the clock frequency of a LPD8806-controlled led strip? I'm planning on doing a project where I need to control a lot of these strips (for about 3000 leds worth), and would like to have a decent "refresh-rate". On a standard Arduino-Uno the clock rate seems to be about 65 khz. I'd like to make this as fast as possible, using an STM32 with fast GPIO / SPI ports.
Also, does anyone know how much of these strips you can daisy-chain together? I can imagine that the current can get quite high on longer runs.
timistof
 
Posts: 2
Joined: Mon Sep 12, 2011 3:54 am

Re: LPD8806 Clock rate

Postby kch » Mon Sep 12, 2011 6:15 am

I did some work on the WS2801 library and used the hardware SPI to get the per-pixel time down to 27.5uS. The LPD8806 looks quite similar in the way it works from my quick look at the code.

If you can incorporate my code into the LPD8806 library, you may be able to get a reasonable frame rate.

My post is in the forum here (WS2801 Speed Improvement & Code Additions). Look at the "show()" function and the SPI library stuff.

Sorry I can't help more, but I don't have these pixels to test with.
ph1x3r
kch
 
Posts: 16
Joined: Tue Nov 23, 2010 2:29 pm

Re: LPD8806 Clock rate

Postby timistof » Mon Sep 12, 2011 10:12 am

Thanks! That looks promising. Indeed these controllers look alike, I just hope the chinese have done a very thorough job imitating this chip :)
I'll be using the 2 spi ports of the STM32 / Maple, which is able to run spi up to 18 mhz.
I think I'm just have to going to order a strip to see how fast I can push it.
I'll post something as soon I have some results..
timistof
 
Posts: 2
Joined: Mon Sep 12, 2011 3:54 am

Re: LPD8806 Clock rate

Postby kch » Mon Sep 12, 2011 9:52 pm

If you *really* want to push the limits of the device, then take a look at the FPGA dev board that was just announced. These are the devices that are normally used to drive very large LED arrays as they can do lots of things in parallel.
ph1x3r
kch
 
Posts: 16
Joined: Tue Nov 23, 2010 2:29 pm

Re: LPD8806 Clock rate

Postby cjbaar » Sat Sep 17, 2011 11:53 am

FYI... I just posted a modified version of the LPD8806 library that uses native SPI. It takes advantage of some of the modifications to the WS2801 library made above by ph1x3r. It isn't quite as fast as the 27.5us-per-pixel refresh, but it comes close. Depending on the number of pixels being changed, I have gotten down to 37.4us-per-pixel on a 160-LED strip, using an Arduino Uno at 16MHz.
http://forums.adafruit.com/viewtopic.php?f=47&t=22982
cjbaar
 
Posts: 64
Joined: Fri Aug 26, 2011 4:58 pm


Return to Glowy things (LCD, LED, TFT, EL) purchased at Adafruit

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]