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

Colour-changing RGB Arcade Buttons

In this video, I'll demonstrate how you can use a PL9823 individually-addressable LED to create an illuminated arcade button that changes colour each time you press it.
This gives you the capability to create tri-state (or more!) buttons, which toggle through an array of colours with each push.

PL9823 work in a similar way to "Neopixel"/WS2812B LED strips, except they come supplied in the same form factor as a regular 5mm LED, thus you can use them in place of a regular LED in any project so long as you accommodate GND, +5V, and a data wire. Like Neopixels, they can be chained together in series and controlled using a single Arduino GPIO pin, which can set different colours, fade brightness, set chase patterns or other animation sequences using a library like FastLED : http://fastled.io/

You can buy PL9823 at e.g. Amazon (https://amzn.to/2MuLYGn) or AliExpress (https://www.aliexpress.com/item/32713415710.html).
You can buy the arcade buttons from BangGood (https://www.banggood.com/12V-25A-Round-Lit-Illuminated-Arcade-Video-Game-Push-Button-Switch-LED-Light-Lamp-p-1044391.html?ID=233&cur_warehouse=CN&p=VP240122576862201806&custlinkid=437467)

You can view the wiring diagram, Arduino code, and the .STL file for my LED holder from my Github page: https://github.com/playfultechnology/arduino-fruitmachine/tree/master/FruitMachineButtons

Видео Colour-changing RGB Arcade Buttons канала Playful Technology
Показать
Комментарии отсутствуют
Введите заголовок:

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

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

Зарегистрируйтесь или войдите с
Информация о видео
31 июля 2019 г. 18:13:11
00:07:27
Яндекс.Метрика