(Sponsored) STM32 + RGB LEDs Firmware Tutorial (TIM + DMA) - Phil's Lab

Опубликовано: 25 Март 2026
на канале: Phil’s Lab
24,320
782

How to control addressable RGB LEDs (SK6805, WS2812) using PWM timers with DMA in C using STM32 MCUs. PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay.)

[SUPPORT]
Hardware design courses: https://phils-lab-shop.fedevel.education
Course content: https://www.phils-lab.net/courses
Patreon:   / phils94  

[GIT]
https://www.github.com/pms67

[SOCIAL]
  / philslabyt  

[LINKS]
SK6805 Datasheet: https://cdn-shop.adafruit.com/product...

[TIMESTAMPS]
00:00 Introduction

01:08 PCBWay (Ad)

01:42 Hardware & Schematic Overview
06:06 Datasheet
07:25 Data Structure & Timing

13:34 CubeIDE Set-Up
15:16 Timer Set-Up
18:26 DMA Set-Up

20:15 Driver Header Code
27:04 Driver Source Code
30:10 main.c

31:57 Scope Measurement & Demo

34:47 Outro