G+_T Burns Posted June 14, 2017 Share Posted June 14, 2017 I'm working on an LED light strip using 12V SMD5050s, an LED Driver (linked in ep250), and an arduino nano and a UBEC. Since so many of the episodes have code missing (specifically the one with the LED Strip Driver library) I'm having to piece this together from the screen. I searched here for information on the RGBDriver.h and David Peach linked to the Seeed Github that seems to work. I have two big issues: I want to control brightness and I need to know if it's necessary to specify the number of LED's. No where in the Seeed library do I see a place to specify the number of LED's. Is that necessary with 3030's? Also, I don't see a way to control the brightness in the RGBDriver.h. How do I do that through the driver. Last question (for now): can I/should I us the code for the fastLED library and send it through the driver? I know that the fastLED library is more for WS2812 but I'm mostly looking for a brightness control solution that wasn't shown in the nanobox reloaded episode (ep252). Thanks for any help anyone can pass my way. Link to comment Share on other sites More sharing options...
G+_David Peach Posted June 14, 2017 Share Posted June 14, 2017 I'm not at a computer to look at code and the various libraries, but here? is what I can say to get you started in the googling process. 1. You don't need to specify the number of LEDs if you are working with a strip of lights that are not addressable. In other words, if all your lights are the same color at the same time, you won't need to say how many lights you have. 2. Brightness is controlled by turning the lights on and off quickly. The more time they are on during a second, the brighter they are. The less time they are on, the dimmer they are. I haven't played with LEDs (in this way) in a couple of months so I don't remember the details of the code, but maybe this will point you in the right direction. Link to comment Share on other sites More sharing options...
Recommended Posts