0

LPD8806 RBG LED strip issue - newbie
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Thu May 27, 2021 4:26 pm

Hi
I am just starting to work with Arduino. I have walked through the basic tutorials. I need to get a LED strip to blink or marquee for a project. But when I upload the code it only shows one color continuously.

I am using the wiring displayed here: https://learn.adafruit.com/digital-led-strip/wiring I have double checked all the wiring to it matches the schematic.
I am not using the LPD8806 strip though. I am using a generic RGB LED strip from another company. Does this make a difference?

I am using the code straight from the library - no alterations. https://learn.adafruit.com/digital-led-strip/code Is there a different code I should be using for a generic LED strip?
I clear the Arduino Uno by pressing the button. The LED lights turn Green. I compile the code. I upload the code. The lights turn a Blue-ish color. No blinking, no scrolling.
I have tried switching the clock wire and the data wire just in case I got backwards.

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Re: LPD8806 RBG LED strip issue - newbie

by dastels on Thu May 27, 2021 4:34 pm

Your strip could very well make a huge difference. Exactly what is it? Do you have a link to it?

Dave

dastels
 
Posts: 6812
Joined: Tue Oct 20, 2015 3:22 pm

Re: LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Thu May 27, 2021 4:38 pm

13.2 Feet Battery Powered Led Strip Lights,DIY Color Changing Led Lights Battery Operated
https://www.amazon.com/gp/product/B089YQPXBG/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1

I used most of it for a project so I thought I could use the last 13 LEDs for one more part. But the switch that came with it was used on the first part so I wanted to program my own.

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Re: LPD8806 RBG LED strip issue - newbie

by dastels on Thu May 27, 2021 5:08 pm

It all depends on what the LED modules are. What are the connections on the strip? Can the different LEDs be set to different colors or is all of it a single color at a time?

Unfortunately that product listing doesn't have much useful information.

Dave

dastels
 
Posts: 6812
Joined: Tue Oct 20, 2015 3:22 pm

Re: LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Thu May 27, 2021 5:19 pm

Thanks, Dave for your help.
I've attached an image of the strip connection. I don't know how to change the colors. Is there a basic code I could play with first?
Attachments
LED Strip.jpg
LED Strip.jpg (75.47 KiB) Viewed 298 times

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Re: LPD8806 RBG LED strip issue - newbie

by dastels on Thu May 27, 2021 8:19 pm

The guide you used for wiring (LPD8806 Digital RGB LED Strip) is not for the strip you have. You have an analog RGB strip. That means a couple things: you directly control the red, green, and blue channels via PWMing them through a power transister, and the whole strip can be a single color at a time (i.e. different LEDs can't be different colors at the same time).

You want to read through this guide: https://learn.adafruit.com/rgb-led-strips. Code examples are provided. Pay special attention to https://learn.adafruit.com/rgb-led-strips/usage.

Dave

dastels
 
Posts: 6812
Joined: Tue Oct 20, 2015 3:22 pm

Re: LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Thu May 27, 2021 8:39 pm

Thank you so much!
Have a great night.

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Re: LPD8806 RBG LED strip issue - newbie

by dastels on Thu May 27, 2021 8:52 pm

Note that the guide I linked to is for a 12v strip. You have a 5v strip, but the only difference is the power voltage.I'm not sure how your strip is wired so it's had to say what kind of current you'll need.

Dave

dastels
 
Posts: 6812
Joined: Tue Oct 20, 2015 3:22 pm

Re: LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Fri May 28, 2021 10:40 am

Can I ask another question here or do I need to start a new thread?
I'm just wondering if I can substitute a Nano for the Uno. The Uno seems to be more than what I need and hard to conceal.
Thanks

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Re: LPD8806 RBG LED strip issue - newbie

by dastels on Fri May 28, 2021 11:04 am

Sure, the Nano is pretty much the same as the UNO in a smaller package.

Dave

dastels
 
Posts: 6812
Joined: Tue Oct 20, 2015 3:22 pm

Re: LPD8806 RBG LED strip issue - newbie

by sutliff2000 on Fri May 28, 2021 11:08 am

Thanks!

sutliff2000
 
Posts: 15
Joined: Sun Mar 04, 2018 5:09 pm

Please be positive and constructive with your questions and comments.