pigpio icon indicating copy to clipboard operation
pigpio copied to clipboard

Is it possible to control LED-Stripes like WS2811 direct with PiGPIO?

Open Joey-1970 opened this issue 6 months ago • 2 comments

Hello! :-)

In my little project I want to control some short WS2811-stripes (I think something about five LED) with pigpiod. Is it possible?

Joachim

Joey-1970 avatar Sep 30 '25 05:09 Joey-1970

Greetings!

The WS2811 chip timing appears to be sub 1us. That would exclude the use of pigpio's waveform APIs. You would need to use DMA to directly drive the output of a peripheral such as PWM, SPI or other. There is a library that does just that called rpi-ws281x on GitHub.

Guy

guymcswain avatar Sep 30 '25 16:09 guymcswain

Hello Guy!

Thank you for your answer, I was afraid of that... :-(

Joachim

Joey-1970 avatar Oct 01 '25 09:10 Joey-1970