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

preview_player
Показать описание
Source code and PDF document:

Website:

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:
STM32 Board: STM32F411E-DISCO

00:00 Introduction
00:29 WS2812 Theory
02:50 CubeMx PWM configuration for WS2812
04:50 Code explanation
Рекомендации по теме
Комментарии
Автор

I understand how these addressable LEDs work after watching this video. Keep doing great work. 💪

brianblasius
Автор

It works well but I'm a bit confused about the data structure newpixel_led, why are you using uint16_t instead of uint8_t? and why a 3 elements of that size if every color is represented with only 8-bits?

amiral
join shbcf.ru