![]() |
Programming Led Light Strips
We are testing out the Andymark 8.2 ft RGB Led strip this year -> http://www.andymark.com/product-p/am-2645.htm, and are having some difficulty getting the leds to light up. We currently have the leds wired exactly as they are in the diagram located on the website. We have been testing with the example code on github, as well as some of our own code.
Code:
//This is simple "light saber" demo to show off the AM-2640 5V, Addressable LED strips http://www.andymark.com/product-p/am-2640.htm |
Re: Programming Led Light Strips
Describe what happens when you run the code.
Where do you see lights? Add print statements to your code, is it running properly? Check for proper voltages on the LED strip, and at the arduino, with a multimeter. If you're using the compression nut things shown on the AM page, maybe you are crimpped down on the wire jacket somewhere and not on the wire conductor. Provide photos of your setup. It's hard to debug a problem we can't see. Provide more information and people will be better able to help you. |
Re: Programming Led Light Strips
When you click on the "Verify" button on the Arduino environment, does the process generate any errors?
As Otherguy asked, detailed photos of all connections to the Arduino, LED strip, and power supply will go a long way to helping us help you. |
Re: Programming Led Light Strips
Thanks for the response, and sorry for the lack of detail, i will be able to get photos at our meeting tonight, i will check out the wire jackets when i get there as well, and also get the most recent version of code that we will run. as of now, none of our leds light up, but...
The arduino power light is lit. We have tested with a multimeter, and the led strip is getting power the code is running, and we have added print statements, the code i posted above does not have those however, one of our other programmers currently has that program The print statements do actually print. I will also double check the wiring... thanks again |
Re: Programming Led Light Strips
Not meaning to tell stories on my self, but.......
I find that a high percentage of problems I have had using an Arduino are caused by not getting the connections to the right pin. That is equally true when using a breadboard. One pin off, and the project doesn't work. In your case, if the Printf statements work, then the code is reaching those lines. It may be as simple as having the Clock and/or Data wires in the wrong place. |
Re: Programming Led Light Strips
#define DATA_PIN 11 //Green wire from AM-2640's power connector
#define CLOCK_PIN 13 //Blue wire from AM-2640's power connector Check these; it might define the name with the number plus the comment. So CLOCK_PIN gets replaced with "13 //Blue wire from AM-2640's power connector". Do a printf of CLOCK_PIN to check. Edit: Hmm, the #define on the arduino website seems to allow it, just don't use the end semicolon. |
Re: Programming Led Light Strips
I was also having issues with this strip. I documented the solution here. Take a look and see if it helps.
|
Re: Programming Led Light Strips
Quote:
It's simple things like this, or poorly documented functions, that always seem to cause the biggest problems. |
Re: Programming Led Light Strips
I recently received at 5m lpd8806 digital LED strip, and have been having a problem with the entire strip lighting. The wires are all soldered and connected properly, as the majority of the strip is responding perfectly. The last 0.5 meter however, does not light at all. Originally it the entire strip functioned normally when I ran the strandtest example in Arduino IDE. I am only using a 2A power supply, could this be the issue? From what I read in the adafruit tutorial it seems that if the strip was not powered fully, the ending LEDs would still light up albeit not the correct colors.
|
Re: Programming Led Light Strips
Did you change the code? Specifically the number of pixels defined. (Adafruit code I think keeps a standard #define at the top of the code.) Or change a loop to turn LEDs on/off?
Check the LED strip at the point between lit and unlit. Anything broken, bent? The last 0.5 meter point is on a joint. What is your power source? I don't run the LEDs thru the Arduino, but instead a separate 5V power source. I've had a 5 meter strip run for a couple hours on 4 x AA batteries, reducing to just the red pixels when the batteries run down. Usually, an all-white strip may dim at the end, but not totally turn off, but I haven't had much experience in that happening. There's usually something at the end. |
| All times are GMT -5. The time now is 03:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi