ws2811 driving?

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
Strik3r
Posts: 15
Joined: Thu Nov 28, 2019 7:36 pm
Location: Saratov, Russia

ws2811 driving?

Post by Strik3r » Sat Dec 12, 2020 4:32 pm

Hello. I was written my program to control ws2812b led-tapes last year, and now i tried to replace ws2812b with ws2811, and its does not work.
Why? As i know, ws2811 using the same signals??

And, i using default neopixel lib.
Any suggestions, assumptions?

And also, in the manual there is some info about this:
"For low-level driving of a NeoPixel: esp.neopixel_write(pin, grb_buf, is800khz)"

Whats the differense between esp.neopixel_write and NeoPixel object? What is "grb_buf"? Is "is800khz" bool value or what?

User avatar
jimmo
Posts: 2052
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: ws2811 driving?

Post by jimmo » Sun Jan 10, 2021 11:25 pm

Strik3r wrote:
Sat Dec 12, 2020 4:32 pm
Whats the differense between esp.neopixel_write and NeoPixel object? What is "grb_buf"? Is "is800khz" bool value or what?
esp.neopixel_write is the underlying function (written in C) that does the timing-sensitive signal generation. grb_buf is the pixel data to write. is800khz can be True/False or 1/0 to use either 800khz or 400khz signalling.

The NeoPixel object is a high-level wrapper written in Python and included automatically in the firmware. See:
https://github.com/micropython/micropyt ... eopixel.py
Strik3r wrote:
Sat Dec 12, 2020 4:32 pm
Any suggestions, assumptions?
I wonder if the 2811 are more sensitive to signal voltage? Do you have a level shifter between the ESP32 and the first LED?

Post Reply