- WS2812 LED strip
- 24 AWG (or smaller) stranded wire in 3 colors (white, red, black are good choices)
The WS2812B strip is also fine, but avoid the sealed waterproof one for keyboards.
Look for a strip with spaced, 3-pad connectors. When you cut between them the pads are bigger and it's easier to solder to. Example:
- Cut 2 5-LED segments from the WS2812 strip (cut between the pads, or in the middle of the pads if you don't have a space between)
- Fill the pads on both ends with solder like the picture below
Avoid buying LED strips like this one where you cut the pad in half. There's just not much left to solder to, but it can be done.
- Cut 3 white, 3 red, and 3 black wires, about 5cm (2in) in length
- Strip the ends about 2-3mm
- Solder the wires on each end of the strip
- White: VCC
- Red: DIN/DO
- Black: GND
Remember, current only flows one way through diodes so be sure you've got your LED strip in the correct orientation.
Data goes like this: --> Data In (DIN) --> Data Out (DO)
On the Pro Micro you connect the USB cable to:
- Connect LED DIN to TX0 pin
- Connect LED GND to any GND pin
- Connect LED VCC to VCC pin
Tip: You may need to adjust the length of some of your wiring so it routes snugly to the board.
Remember those jumpers we did before below the TRRS jack? We're going to use the 3rd pad here.
On the DO side of the controlled strip:
- Connect LED GND to GND pad
- Connect LED VCC to VCC pad
- Connect DO to Extra Data. It's a through hole right between the VCC/GND pads.
Tip: These pads are pretty small so be careful not to mess up your jumpers.
On the other side:
- Connect to VCC, GND, and Extra Data to DIN pad on the strip.
- Don't connect the DO side
Your wiring should look like this:
TX0 -> DIN -> DO -> extra data -> (TRRS to other side) -> extra data -> DIN
- Add a
Makefile
andconfig.h
to your keymap if you don't already have one. - In the Makefile add
RGBLIGHT_ENABLE = yes
- Add a layer to control the RGB lights
- In
config.h
:
#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 10
Now flash that sucker and turn your lights on.