A simple PlatformIO/Arduino sketch for a Teensy 2.0-powered lamp base for the NovelKeys Big Switch.
- 1x NovelKeys Big Switch
- 1x Teensy 2.0
- 4x WS2812 individually-addressable RGB LEDs
- 1x Big Switch case (see below)
The WS2812 LEDs are connected to the Teensy as follows:
WS2812 | Teensy |
---|---|
VCC | VCC |
GND | GND |
DIN | D5 |
The Big Switch is connected to the Teensy as follows:
Big Switch | Teensy |
---|---|
SIGNAL | B0 |
GND | GND |
If you prefer to use different data pins you may do so -- just change the #define declarations in the code.
I have provided the design files for a 3D-printed case on Thingiverse. The case is small enough to be printed on a Monoprice Mini Delta.