View on GitHub

Hammes Hacks

Projects designed by Emily Hammes

8x7 Charlieplexed LED Shield

Introduction

The 8x7 Charlieplexed Shield contains 56 LEDs in a 8x7 matrix and plugs into 8 adjacent pins on a microcontroller such as an Arduino Pro Mini or an Arduino Nano. By controlling the state of the pins all LEDs can be individually turned on or off.

Theory

Soldering The Shield

Materials

To solder the shield follow these steps:

  1. Solder the resistors.
  2. Cut the leads on all of the LEDs to 2.5-3mm.
  3. Solder 1 side of each of the LEDs, making sure that the flat side of the LED matches the flat side on the silkscreen.
  4. Align the LEDs by remelting the solder and moving the LED into place.
  5. Once aligned, solder the other side of the LEDs.
  6. Solder the female 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.

The Laser Cut Case

Soldering the Arduino Nano

  1. Solder the pin headers onto the Arduino Nano so that the pins point up on the same side as the USB.

Note: this is the opposite side to what is normally shown on the Internet.

Building the Case

  1. Glue the front and sides together leaving the back panel unglued. It is often useful to use the back to make sure all parts are aligned, but be very careful not to get glue on the back panel!
  2. Wait for glue to dry.
  3. Once glue is dry, place the offset angles into the case.
  4. Plug pins 2-9 of the Arduino into the shield.
  5. Place the shield and Arduino into the case.
  6. Assemble the T-shaped offset, and place it into the case.
  7. Close the case. Friction should hold the back in place.

Uploading Code for Snakes

Whats Inside the PCB?

schmatic

This is the schematic of the PCB, showing how all the components are connected.

PCBPCB

Above left is a transparent view of the 5mm LED PCB. Above right is a view of the 3mm LED PCB. Green lines are wires on one side and red lines are wires on the other side of the PCB. The text that will be printed on the board is in magenta on one side and teal on the other. The yellow line is the edge of the board. The gold circles are drilled through the board and have copper on both sides.