Go Down

Topic: Controlling RGB Leds (Read 1 time) previous topic - next topic

adyrn001

I wanted to use nearly 100 RGB Leds to light at once (Like RED)and after some delay all shoulb be in different colour(like Green). I Want to use arduino. How can i do that, is there any solution to that.

INTP

Easiest with smart LEDs, buy a strip of WS2812B LEDs.

septillion

Do all leds need to be the same color or all different? That makes a HUGE difference ;)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

Do all leds need to be the same color or all different? That makes a HUGE difference ;)
It appear he wants them to be able change colors.
The example he gives is from red to green.

septillion

Yeah, but you can read that two ways ;)

All change to the new different color but all the same.
OR all change to a individual different color.

For the first using NeoPixels is a bit overkill :)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

Yeah, but you can read that two ways ;)

All change to the new different color but all the same.
OR all change to a individual different color.

For the first using NeoPixels is a bit overkill :)
Other than RGB LEDs are there others that lets him change colors on the fly?


septillion

No, but read it again ;) He does not make clear of all those leds need to change to the same new color or from all being one single color to being all a different color.

All NeoPixels are RGB leds. Not all RGB leds are NeoPixels :)

If all those 100 (RGB) leds just need to go from red to green all at the same time NeoPixels can be used but are wayyyyyyy overkill. Normal RGB leds with simple transistors in front is way simpler and a heck of a lot cheaper.
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

All NeoPixels are RGB leds. Not all RGB leds are NeoPixels :)


To me they are synonymous as when people use the brand name Kleenex to mean facial tissue.

septillion

To me they are in NO way synonymous. NoePixels and WS2801, WS2811, WS2812B, LPD8806 or TM1809 are.

But a normal RGB led

and NeoPixel
[img  width=500]https://cdn-shop.adafruit.com/970x728/2659-03.jpg[/img]
are not.

Like I said, a NeoPixel is a RGB led, a RGB led does not need to be a NeoPixel ;)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

#9
Jul 23, 2017, 10:45 pm Last Edit: Jul 23, 2017, 10:46 pm by ieee488
To me, a RGB LED is a generic RGB with the controller whereas the NeoPixel is a brand name.


septillion

Then you have a weird view ;) To me (and many many others) a RGB led is a led and tells NOTHING about the driver. That there are leds with build in driver and we tend to call them by the brand name NeoPixel just is a subset

NeoPixel ∈ RGB led
RGB led ∉ NeoPixel
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

Then you have a weird view ;) To me (and many many others) a RGB led is a led and tells NOTHING about the driver. That there are leds with build in driver and we tend to call them by the brand name NeoPixel just is a subset

NeoPixel ∈ RGB led
RGB led ∉ NeoPixel
The ones I buy on eBay don't have brand names.

To me, when people are asking about them here, I translate RGB LED as being shorthand for RGB LED with controller especially when they are talking about them as on a LED strip.
If the OP doesn't mean that, then perhaps he will return and set me straight.





Grumpy_Mike

#12
Jul 23, 2017, 11:34 pm Last Edit: Jul 23, 2017, 11:37 pm by Grumpy_Mike
Quote
I translate RGB LED as being shorthand for RGB LED with controller especially when they are talking about them as on a LED strip.
Then you are missing something big.
Their are four major types:-
1) Four connections, one positive and one for each of the grounds for R,G and B. Normally these are 12V and are controlled by a PWM signal driving a FET in each colour line. This is how you use them https://learn.adafruit.com/rgb-led-strips/usage. What ever is the colour all the LEDs on that strip have the same colour.

2) Three connections 12V - Every three LEDs have full independent colour control.

3) Three connections 5V - power ground and data, of the WS2812 type sometimes called Neopixels. Each LED has full independent colour control.

4) Four connection 5V - power ground data clock, sometimes called dot star. Each LED has full independent colour control.
https://learn.adafruit.com/adafruit-dotstar-leds/overview?view=all

septillion

I translate RGB LED as being shorthand for RGB LED with controller
As Grumpy_Mike also says, I would drop that idea and ask what the person has / want to. Option 1 is still the most sold strip in China supermarkets :)
Use fricking code tags!!!!
I want x => I would like x, I need help => I would like help, Need fast => Go and pay someone to do the job...

NEW Library to make fading leds a piece of cake
https://github.com/septillion-git/FadeLed

ieee488

#14
Jul 24, 2017, 12:14 am Last Edit: Jul 24, 2017, 12:25 am by ieee488
Then you are missing something big.
Their are four major types:-
1) Four connections, one positive and one for each of the grounds for R,G and B. Normally these are 12V and are controlled by a PWM signal driving a FET in each colour line. This is how you use them https://learn.adafruit.com/rgb-led-strips/usage. What ever is the colour all the LEDs on that strip have the same colour.

2) Three connections 12V - Every three LEDs have full independent colour control.

3) Three connections 5V - power ground and data, of the WS2812 type sometimes called Neopixels. Each LED has full independent colour control.

4) Four connection 5V - power ground data clock, sometimes called dot star. Each LED has full independent colour control.
https://learn.adafruit.com/adafruit-dotstar-leds/overview?view=all
I have never been to a supermarket in China so I don't know what they sell.


Perhaps you can point out the four types on eBay.
As I said, that's where I buy mine.


Go Up