Info on hardware SPI

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Info on hardware SPI

Postby roontoon » Wed Nov 14, 2012 12:31 pm

Hi,

New to arduino and I am starting a project with LPD8806 addressable RGB LEDs.
( http://adafruit.com/products/306 ) I have seen code and various articles on using hardware SPI with these LED. Can someone point me to information on how to hook these up to the Arduino board using this protocol.

Thanks so much

d
roontoon
 
Posts: 7
Joined: Wed Nov 14, 2012 12:25 pm

Re: Info on hardware SPI

Postby franklin97355 » Wed Nov 14, 2012 5:41 pm

User avatar
franklin97355
 
Posts: 1764
Joined: Mon Apr 21, 2008 1:33 pm

Re: Info on hardware SPI

Postby roontoon » Wed Nov 14, 2012 8:01 pm

franklin97355 wrote:Have you looked here? http://www.ladyada.net/products/rgbledstrip/#example_code


Thanks for the reply but I don't think this is using SPI as per http://www.arduino.cc/en/Reference/SPI it references pins 11, 12 and 13 but the actual connection of the strip to the pins is what I am trying to pin down. I want to use SPI because it refreshes the strip much faster.

d
roontoon
 
Posts: 7
Joined: Wed Nov 14, 2012 12:25 pm

Re: Info on hardware SPI

Postby tldr » Wed Nov 14, 2012 11:27 pm

connect di on the lpd8806 strip to arduino pin 11, MOSI. connect ci on the lpd8806 strip to pin 13, SCK. MISO, pin 12, and SS, pin 10, need not be connected, though pin 10 shoulf be configured as an output to avoid having the arduino's spi interface go into slave mode.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 406
Joined: Thu Aug 30, 2012 12:34 am


Return to Arduino

Who is online

Users browsing this forum: No registered users and 12 guests

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


New Products [114]

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


 
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[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


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