STM32 LED Strip (WS2812b) control 1: Theory and implementation

Опубликовано: 05 Февраль 2025
на канале: Steppe School
7,578
137

Source code and PDF document:
https://www.patreon.com/user?u=80399744

Website:
https://www.steppeschool.com

This video is about controlling NeoPixel (WS2812) LEDs using the STM32 MCUs. The idea is to generate a PWM signal with varying duty cycles:
HAL_TIM_PWM_Start_DMA

HARDWARE:
NeoPixel Board:
https://www.digikey.fr/fr/products/de...
STM32 Board: STM32F411E-DISCO

00:00 Introduction
00:29 WS2812 Theory
02:50 CubeMx PWM configuration for WS2812
04:50 Code explanation