RepositoryCATAustria
nimaltd

nimaltd/ws28xx

ws28xx (ws2811, ws2812, ws2812b, ws2815, ...) Library for STM32 (PWM+DMA)

108stars
10forks
2issues
2views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ws2812b

#1 Repository of the week

1
TINIX TRENDING·Topic: ws2811s

#1 Repository of the week

1
TINIX TRENDING·Topic: ws2811b

#1 Repository of the week

WS28XX (WS2811,WS2812,WS2812B,WS2815) LED Series Library for STM32 (PWM + DMA)


Please Do not Forget to get STAR, DONATE and support me on social networks. Thank you. :sparkling_heart:



  • Install Library from https://github.com/nimaltd/STM32-PACK/raw/main/WS28XX/NimaLTD.I-CUBE-WS28XX.pdsc
  • Add and enable it.
  • Configure Bit Length and ... .
  • Enable a TIMER with Internal clock and one channel PWM as default mode.
  • Enable DMA for PWM channel, set Direction Memory to Peripheral, select Increment Memory, set Memory Data Width to Byte, and set Peripheral Data Width to Half-Word.
  • Select 'Generate peripheral initialization as a pair of .c/.h files per peripheral' on the Code Generator Tab.
  • Generate Code.
  • Define a structure of WS28XX_HandleTypeDef.
  • Call WS28XX_Init() and enjoy.

Watch the Video:

Video

Similar Projects

Discover other similar projects and AI models.

RepositoryC
Crazy-Geeks/STM32-ARGB-DMA

STM32 Library for Addressable LEDs: WS2812(b), WS2811, SK6812, etc. Supports RGB & RGBW LEDs.

128
Jun 8, 2023
RepositoryC
MaJerle/stm32-ws2811-ws2812-ws2812b-ws281x-tim-pwm-dma-timer

WS2811, WS2812, WS2812B or compatible leds driver with STM32, TIM, PWM and DMA with minimum RAM required

291
Mar 25, 2025
RepositoryC#
todbot/blink1

Official software for blink(1) USB RGB LED by ThingM

977
Sep 26, 2026
Repository
PabloCastellano/awesome-ws2812

A curated list of awesome resources for ws2812 LED strips and matrices

157
Oct 17, 2022
RepositoryC
MaJerle/stm32-usart-uart-dma-rx-tx

STM32 examples for USART using DMA for efficient RX and TX transmission

1.8k
Sep 12, 2026
RepositoryC
libdriver/ws2812b

WS2812B full-featured driver library for general-purpose MCU and Linux.

207
Jun 30, 2026
RepositoryC
SimpleMethod/STM32-OV2640

Probably the best library for OV2640 camera on STM32 platform

152
Apr 19, 2021
RepositoryC++
FastLED/FastLED

The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.

7.5k
Dec 2, 2026
RepositoryC++
kitesurfer1404/WS2812FX

WS2812 FX Library for Arduino and ESP8266

1.7k
Jul 3, 2026