Adding Backlighting to Your Build

You've decided on the style of lighting you want for your keyboard. Now, let's get down to the practical steps of making it happen. Adding backlighting requires ensuring that all your components are compatible and, in some cases, a bit of soldering.

This guide will walk you through the process of checking compatibility, gathering the right components, and successfully installing lighting in your custom keyboard.

Step 1: Check Your PCB for LED Support

This is the most critical step. Not all PCBs support backlighting. You need to check the product description or documentation for your specific PCB to confirm its capabilities.

If your PCB does not explicitly mention any LED support, it likely cannot have backlighting added to it.

Step 2: Ensure Your Switches are Compatible

If you're adding per-key backlighting, your switches need to let the light through.

Step 3: Installing Through-Hole LEDs (If Necessary)

If your PCB uses through-hole LEDs, you'll need to install them yourself. This is usually done after you have soldered your switches to the PCB.

  1. Get the Right LEDs: You'll typically need 1.8mm or 2x3x4mm LEDs, as larger 3mm or 5mm LEDs may interfere with keycaps.
  2. Check Polarity: LEDs have polarity, meaning they only work in one direction. There's a long leg (anode, positive) and a short leg (cathode, negative). The PCB will have markings to show you which way to insert them. A square pad usually marks the anode.
  3. Insert the LED: Push the LED legs through the switch and then through the corresponding holes in the PCB.
  4. Solder: Solder the legs to the pads on the PCB.
  5. Trim: Use a pair of flush cutters to trim the excess length from the LED legs.

Tips for Clean, Consistent Results

Step 4: Firmware Enablement and Tuning

Once the hardware is in, ensure your firmware knows how to drive it.

Step 5: Underglow Considerations

If your PCB features an underglow strip:

Step 6: SMD Rework (Advanced)

If replacing a failed SMD RGB LED:

  1. Mask nearby components with Kapton tape.
  2. Apply flux, then heat with hot air until the LED floats; lift gently.
  3. Clean pads with wick, re-tin lightly, align a new LED observing orientation notch.
  4. Reflow and nudge into place; verify color channels before reassembling.

Final QA Checklist

Step 4: Choose a Compatible Case

As we mentioned in the previous section, if you want underglow, you must have a case with a transparent or translucent element to let the light out. A solid aluminum case will block all underglow.

With your hardware all sorted, the final step is to take control of your lights. Next, we'll explore how to do that with the most popular keyboard firmware: Controlling Your Lights with QMK.

Common Mistakes to Avoid

External Resources