Arduino + 12V 5050 LED

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

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Arduino + 12V 5050 LED

Post by gubel »

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..

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

Post by adafruit_support_bill »

Which Adafruit product are you referring to?

gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

Post by gubel »

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?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

Post by adafruit_support_bill »

The neopixel strands are the brightest we stock: https://www.adafruit.com/products/1138

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Arduino + 12V 5050 LED

Post by tldr »

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.

gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

Post by gubel »

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

Post by gubel »

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..

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Arduino + 12V 5050 LED

Post by adafruit_support_bill »

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!

gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

Post by gubel »

Its actually 12V, And there is now issue with the power suply, the only thing is that i cant controll the lights..

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Arduino + 12V 5050 LED

Post by tldr »

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.

gubel
 
Posts: 7
Joined: Tue Feb 26, 2013 5:51 pm

Re: Arduino + 12V 5050 LED

Post by gubel »

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

Post by gubel »

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

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”