Multiplexed RGB LED Shield
The Multiplexed RGB Shield contains 24 RGB LEDs in a 4x6 matrix and plugs into an Arduino Uno. By controlling the state of the pins all LEDs can be individually turned on or off and their colors can be controlled.
To understand how multiplexing works, it is easiest to start with the theory for a single color multiplexed matrix:
Multiplexing with RGB LEDs is basically the same as monochrome multiplexing with some small differences:
Soldering The Shield
- 12 resistors
- 24 RGB LEDs
- male pin header
To solder the shield follow these steps:
- Solder the resistors.
- Cut the leads on all of the LEDs to 2.5-3mm.
- Solder 1 side of each of the LEDs, making sure that the flat side of the LED matches the flat side on the silkscreen. I usually do the Square pin first.
- Align the LEDs by remelting the solder and moving the LED into place.
- Once aligned, solder the other pins on the LEDs.
- Solder cut and solder the pin header.
Note: Some people like to leave the leads long and bend them to hold them in place before soldering. Then they trim them after soldering. This is not recommended for this project because it makes alignment and replacement of LEDs difficult or impossible.
Building the Case
- Glue all sides of the case together except the one with the connector for the Arduino (the one with hammes hacks engraved in it).
- Wait for glue to dry. rubber bands can be used to hold the case together while it dries).
- Plug the shield into the Arduino.
- Slide the shield and Arduino into the case.
- Place transparent plastic between the Arduino shield and the top of the case.
- Close the case. Friction and the cables should hold the unglued side in place.