---+ The !WS2812B RGB LED shield On this board we have the addressable [[https://cdn-shop.adafruit.com/datasheets/WS2812B.pdf][WS2812B]] RGB LED. This LED is used in many LED chains. <img alt="ws2812b.png" height="149" src="%ATTACHURL%/ws2812b.png" title="ws2812b.png" width="152" /> The board uses D2 (GPIO 4) as data line. Since the same line is used as SDA for !I2C modules it cannot be used in conjunction with !I2C shields. From the software point of view a driver is already available in the micro Python library named neopixel. Accessing the !WS2812B using this driver is the pretty simple. Here is a program demonstrating this: %ATTACHURL%/ws2812.py.txt Be careful with this LED and do not look into into when it emits light with full intensity. The light is so intense that you may damage your eyes! -- %USERSIG{UliRaich - 2019-03-22}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
txt
ws2812.py.txt
r1
manage
0.6 K
2019-03-22 - 14:02
UliRaich
png
ws2812b.png
r1
manage
40.1 K
2019-03-22 - 13:56
UliRaich
This topic: AFNOG
>
WebHome
>
AFNOGWorkshop2019
>
WeMosD1Mini
>
TheWS2812BRgbLED
Topic revision: r1 - 2019-03-22 - UliRaich
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback