Is anyone successfully driving WS2812 strings with or without FastLED?
If so, please give me a starting point.
Thank you.
Is anyone successfully driving WS2812 strings with or without FastLED?
If so, please give me a starting point.
Thank you.
Straight up they will not work. The WS2812 and WS2812B requires about 5V to work. The WS2812 should operate at anywhere between about 4V to 7V while the WS2812B should operate at anywhere between about 3.3V to 5V. 5V is readily-available on most boards. The 5V header on an Arduino board, for example, is a perfect voltage supply for the LEDs. If you purchase the WS2812B devices it probably will work.
I've gotta call a mid-grade BS on that. I've bench tested the LED strip at 3.3V. Of course they get dimmer at lower than 5V, but the logic chips don't seem to cut out until under 3.2-ish, and in the setup I have in mind, I can power the lights themselves with 3.7-4.2 volts. I might need a step-up circuit to get them to 5V (I do like the brightness at that level), but it seems like the logic will run at 3.3V.
That said, I still haven't gotten mine to work, I'm using a seeed xiao esp32-c3, and I read somewhere maybe there's a discrepancy in the pinouts for the fastLED library? I accept that this might not be the optimal microcontroller for this project, but I can't really decide that until I see it work on this unit.
I have used the 5V led strips with a 3.3V, ESP32, logic driving the D signal. I powered the strip with 5V.
Maybe I'll try an oscilloscope on the data pin and see if I'm getting ANYTHING out of it.
Lolin C3 mini has ESP32-C3 and one RGB LED based on WS2812B ( C3 mini — WEMOS documentation). The whole thing is 3.3v. I was able to write code to drive the LED using AdaFruit-NeoPixel library (which was meant for ESP8266): Adafruit_NeoPixel/simple.ino at master · adafruit/Adafruit_NeoPixel (github.com)
I didn't need any of the AVR related stuff under #if
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.