This component comprises 64 Red LEDs and 64 Green LEDs arranged in an 8x8 grid. Each location in the grid has both a Red and a Green LED, so each cell could be OFF, RED, GREEN or ORANGE if both LEDs are switched on.
The internal connection diagram is shown below:
There are 24 different connections, therefore too many for all combinations to be used on a basic Arduino Uno. However,we can use one colour (Red or Green, but not both) with very simple wiring. For the basic examples ( Runner.ino and Chars.ino) connect to the Arduino Uno as follows (using the Red LEDs:
- Matrix pins: 12, 9, 6, 3, 13, 16, 19, 22 to Arduino data pins 0, 1, 2, 3, 4, 5, 6, 7 in the same order. Connect through a 330Ω resistor. For example, matrix pin 12 goes to one end of 330Ω resistor; then the other end of the resistor is connected to Arduino pin 0. So 8 resistors are used for this
- Matrix pins: 23, 20, 17, 14, 2, 5, 8, 11 to Arduino data pins 8, 9, 10, 11, 12, 13, A0, A1. (A0 is analog pin0, A1 is Analog pin 1)
You will probably need to use two breadboards side by side for this component so that you can access the pins properly. Plug pins 1-12 into one breadboard and pins 13-24 into the other.
For use with multiple colours we need to use a shift register to create more out pins. Please see the Shift Register page for details.
|