У нас вы можете посмотреть бесплатно STM32 Tutorial #37 - HOWTO use WS2812 RGB LEDs (aka. NeoPixel) (PWM + DMA) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
How to drive WS2812 NeoPixel RGB LEDs with a STM32. In this video we'll go through my library which uses Timer PWM + DMA to drive a string WS2812 NeoPixel RGB LEDs. The complete development of a WS2812 library is probably too long to explain in one video, so we will merely go through the details of an existing library. Adding Custom USB HID to set the LEDs is described in this video: • STM32 Tutorial #69 - WS2812 USB HID Contro... An alternative approach to RGB LEDs can be found here: • STM32 Tutorial #63 - COOL I2C RGB LED Board We will be using a STM32F411 Black Pill board ( https://stm32world.com/wiki/Black_Pill ) for this example. Wiki page for the library is here: https://stm32world.com/wiki/STM32_WS2...) Source code for the example and library is here: https://github.com/lbthomsen/stm32-ws... #stm32 #tutorial #ws2812 #ws2812b #neopixel #timer #pwm #dma #stm32world #arduino 00:00 Intro 00:55 Introducing RGB LEDs 02:19 Introducing the WS2812 NeoPixel 04:22 Explaining the WS2812 Protocol 08:45 Alternatives to bit-banging - SPI and PWM 11:05 Github repository 12:15 The project setup in STM32CubeMX 13:00 Calculating the timer count to get 800 kHz 16:25 The basic code 17:00 The WS2812 library header and source 21:20 Explaining the library handler 24:20 Color lookup table 26:05 The C library source - initialization 27:38 The meat of the library - the callback! 29:00 Explaining the state machine 30:44 Updating the DMA buffer 33:14 Testing the code 34:17 Adding a demo 34:55 Running the demo 37:15 Call for ideas