Загрузка страницы

Connect RGB LED and WS2812B Strip to Arduino

This project is about connecting RGB LED and RGB strip. However, it introduces PWM (pulse-width modulation) to simulate analog signal in a Arduino digital pin. When Arduino connects to a WS2812B RGB LED strip with digital pin, the line protocol is introduced. So RGB LED and LED strip are the parts in this project, PWM and Protocol are the main idea in this project.

Source code:
http://www.cmee4k.com/files/Intro_ArduinoUno_Projects/RGB_LED_sample.zip
The source code are from https://create.arduino.cc/projecthub . Just search "rgb led tutorial", and we enhanced some codes for our project.

Reference:
https://en.wikipedia.org/wiki/Pulse-width_modulation
https://www.arrow.com/en/research-and-events/articles/protocol-for-the-ws2812b-programmable-led
https://howtomechatronics.com/tutorials/arduino/how-to-control-ws2812b-individually-addressable-leds-using-arduino/
https://www.sdiplight.com/what-is-ws2812b-led-and-how-to-use-ws2812b-led/

https://youtu.be/GQwBUmrLK1A - CMEE4K RGB video
https://youtu.be/yQjnEbFQSJo - CMEE4K use PWM to control servo

More small projects with WS2812B strip
https://youtu.be/md1lDX6Hts0 - CMEE4K Arduino and RGB LED strip
https://youtu.be/krM0ETfw7lg - CMEE4K Arduino tests with WS2812 RGB LED strip
https://youtu.be/27162u-_Fbk - CMEE4K Enhance the existing Arduino Uno RGB project

https://www.aliexpress.com/item/32966375934.html - AliExpress WS2812B
https://www.aliexpress.com/item/33008860640.html - AleExpress Power supply. For WS2812B, select 5 volt. 5A is good for 256 LED, 10A is good for 512 LED. Sorry, never try 1024 LED.

The voiceover is generated by Speechlo software https://speechelo.com

Видео Connect RGB LED and WS2812B Strip to Arduino канала Simon Yuen
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 октября 2020 г. 3:21:42
00:04:54
Яндекс.Метрика