Arduino + 12V 5050 LED
Moderators: adafruit_support_bill, adafruit

Arduino + 12V 5050 LED

by gubel on Tue Feb 26, 2013 5:56 pm

Just received my 5 meter of 5050 12 LED and Im trying to connect it to Arduino according to adafruits descriptions. Its all connected (both Arduino and led) and works but i dont get the respons to the led. I have tried all kind of examples incl LedStream but no respons, its just the same as before.

So my guess its something with the wirering.. I got something called Di, Ci, , St and Li .... which one goes where? I read what they do but im unsure whats what as its not responding..
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by adafruit_support_bill on Tue Feb 26, 2013 6:36 pm

Which Adafruit product are you referring to?
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

by gubel on Wed Feb 27, 2013 4:38 am

I bought a Arudino and 12V adapter here but already had a LED at home so trying to get that to work on the small screen, If it works im about to order a larget (Stronger led) for my 60" screen.
What is the strongest LED i can find here?
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by adafruit_support_bill on Wed Feb 27, 2013 7:26 am

The neopixel strands are the brightest we stock: https://www.adafruit.com/products/1138
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

by tldr on Wed Feb 27, 2013 8:22 am

it's not clear exactly what you've got or what you're trying to do. i'm guessing you're after an adalight, but it sounds as though you've got an led strip that's probably only addressable three leds at a time.

do you know what controller chip your led strip is based on? what is the ratio of ic's to leds on the strip. it's probably 1:6. if so, that's not really what you need.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Arduino + 12V 5050 LED

by gubel on Wed Feb 27, 2013 8:43 am

yes its correct its a 1IC to 3 LED strip as you pointed out. This is what i found on them:

LED: SMD5050
IC: LPD6803
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by gubel on Wed Feb 27, 2013 8:46 am

Ill order the bright one once I got this workning. Just wanna make sure that im doing it right first. But they are 1 to 1 right?

Do I need a other script depending on LED IC? Kind of lost right now..
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by adafruit_support_bill on Wed Feb 27, 2013 9:20 am

We used to sell LPD6803 strands, but have since upgraded to the WS2801 controllers. Are you sure yours are 12v? All the ones I have seen are 5v max!
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

by gubel on Thu Feb 28, 2013 8:32 am

Its actually 12V, And there is now issue with the power suply, the only thing is that i cant controll the lights..
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by tldr on Thu Feb 28, 2013 6:13 pm

adafruit has a library for the lpd6803, but i'm pretty sure that your leds will light up in groups of three. the color you set for the first led will be on the first three leds on your strand, the color you set for the second led will appear on the 4th through 6th leds on your strand... like i say, i'm not positive, but i'm pretty sure. i've spent a lot of time browsing led strands on alibaba.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Arduino + 12V 5050 LED

by gubel on Mon Mar 04, 2013 11:17 am

Tks tldr..

Yes make sense, that is what i had in mind ... 3 by 3 leds shouldnt be a issue on a 50-60 inch led i would say?

But will the code work on Boblight/XBMC? That is my plan and Im not impressed with my Arduino skills :D I thought it would be a walk in the park... i was wrong..
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

by gubel on Mon Mar 18, 2013 5:38 am

I just plugged in arduino and the led to run the strandtest. This are the results:
So the following question, what does it say and whats wrong?











strandtest.pde:2:21: error: LPD6803.h: No such file or directory
strandtest:21: error: 'LPD6803' does not name a type
strandtest.pde: In function 'void setup()':
strandtest:33: error: 'strip' was not declared in this scope
strandtest.pde: In function 'void rainbow(uint8_t)':
strandtest:59: error: 'strip' was not declared in this scope
strandtest:62: error: 'strip' was not declared in this scope
strandtest.pde: In function 'void rainbowCycle(uint8_t)':
strandtest:73: error: 'strip' was not declared in this scope
strandtest:80: error: 'strip' was not declared in this scope
strandtest.pde: In function 'void colorWipe(uint16_t, uint8_t)':
strandtest:90: error: 'strip' was not declared in this scope
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm