Go Down

Topic: Using analog RGB individually addresable LED strip without a moffset (Read 1 time) previous topic - next topic

UltiFix

Can this be done using analog or pwm ports on a cheapduino?

It's an analog individually addreseble led rgb strip of 60 led's.

Thanks!
-Sam

septillion

Short answer, no. You need a MOSFET or a relay. You cannot dim with a relay.
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

MarkT

1) No part number or datasheet - no information to go on at all.

2) Individually addressable LEDs are _not_ analog, and MOSFET is not needed to drive a serial signal
used in individually addressable LEDs.

So please produce accurate information about the actual LED strip you have.
[ I will NOT respond to personal messages, I WILL delete them, use the forum please ]


septillion

Mm, you guys are right. A link to the ledstrip would help (or a better explanation).

When I read analog RGB strip I just thought of a logic-less 5050 ledstrip. But then "individually addressable" doesn't make sens. And for a Neopixel the word analog doesn't make sens...
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

UltiFix

Iv used arduino in the past, but don't know a ton about leds... (Obviosuly)
Here is the datasheet https://www.adafruit.com/datasheets/WS2812B.pdf

Thanks!
-Sam

CrossRoads

Find the Neopixel library at adafruit.com


WS2812B is combined 3 LEDs and 8-bit PWM output per LED chip. You shift in 24 bits, pause, and it updates its outputs.
If you shift in more bits, its passes them along, and when shifting stops each devices uses the last 24 bits it received.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

UltiFix

Got it working with the strand test, Thanks!!!
Find the Neopixel library at adafruit.com


WS2812B is combined 3 LEDs and 8-bit PWM output per LED chip. You shift in 24 bits, pause, and it updates its outputs.
If you shift in more bits, its passes them along, and when shifting stops each devices uses the last 24 bits it received.

septillion

Btw, 60 leds needs a separate power supply. The USB power from a PC is not enough and the 5V out of the Arduino when powering the Arduino from anything else then 5V is not going to last.
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


Go Up