LPD6803 LED's & ATmega32u4

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

LPD6803 LED's & ATmega32u4

Postby alexwitter » Tue Apr 24, 2012 5:54 pm

I am pretty new at this and have been spending days attempting to program a strand of 50 LPD6803 controlled pixels, and getting nowhere.

Electronics
Macbook running 10.7
ATmega32u4

LED's
The LED's do not contain any hint to the input side (from my research its the chip side) although I have tried both sides in frustration.

blue is labeled GND
green in labeled Cin
white is labeled Din
red is labeled VCC

the only other text on the led is V03 and 10.22 but I was told they are LPD6803 chips.

Wiring
I have attempted to use the ISP headers as well as the breadboard shown in the image.
The power supply is 5V 1A (fully lit the strand should pull over 2 amps though)

Software
Custom Arduino alpha 0021 http://www.ladyada.net/make/ledbelt/ (only IDE that won't throw up an out of sync error with ATmega32u4)

Strandtest.pde
https://github.com/adafruit/LPD6803-RGB-Pixels

modifications I made as follows:

Code: Select all
int dataPin = 2;       // 'yellow' wire
int clockPin = 1;      // 'green' wire
// Don't forget to connect 'blue' to ground and 'red' to +5V

// Timer 1 is also used by the strip to send pixel clocks

// Set the first variable to the NUMBER of pixels. 20 = 20 pixels in a row
LPD6803 strip = LPD6803(50, dataPin, clockPin);


As soon as the upload completes (with no power supply connected) all the LEDs flash dim red very fast.
whether the external power supply is connected before or after the upload all the LED's are all solid random shades.(which is always the case when power is applied)

I have attempted to reverse and change the data and clock pins, but apparently on then ATmega32u4 Pin B1 and B2 are 1 & 2 on a standard Arduino

Possible Issues
Could the 1A power supply be causing this issue (even though this sketch shouldn't light them all up)?
some critical flaw I don't realize in my circut wiring?
Issue with the sketch?

Any help is much appreciated, thank you
Attachments
IMG.jpg
IMG.jpg (490.69 KiB) Viewed 642 times
alexwitter
 
Posts: 6
Joined: Tue Apr 17, 2012 5:22 pm

Re: LPD6803 LED's & ATmega32u4

Postby adafruit » Wed Apr 25, 2012 2:03 pm

Hi there, we dont sell LPD6803 LEDs - did you purchase those from Adafruit?
User avatar
adafruit
 
Posts: 10483
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to Microcontrollers

Who is online

Users browsing this forum: No registered users and 3 guests

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


New Products [105]

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


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
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]