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

Опубликовано: 11 Март 2025
на канале: Phil’s Lab
19,157
705

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

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

Free trial of Altium Designer: https://www.altium.com/yt/philslab
Altium 365: https://www.altium.com/altium-365

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

[SOCIAL]
  / philslabyt  

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

[TIMESTAMPS]
00:00 Introduction

01:08 PCBWay

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