8 × 8 LED matrix, one bit at a time
A MAX7219 drives a 1088AS 8 × 8 matrix with no microcontroller. You do the microcontroller's job yourself. A switch sets DIN, a button clocks that bit in through an NE555 one-shot, and a second button latches the 16-bit word. Sixteen presses write one row, and the chip keeps the picture for as long as it has power. Power is 5 V from the USB-C breakout.
Connection diagram
The matrix wiring is chosen on purpose. DIG0–DIG7 go to rows 1–8, so register 0x01–0x08 is row 1–8. SEG DP, A, B … G go to columns 1–8, so data bit D7 is the leftmost dot and D0 the rightmost. The byte you key in looks exactly like the row it draws.
Details that matter (each is explained under Validation): a pull-up (R4) on the 555 output, a coupling capacitor (C6) between the CLK button and pin 2, a 52 ms one-shot, 12 kΩ on ISET, DIN and LOAD switched to +5 V so a closed switch is a 1, and the wake-up command sent last. Power comes straight from a USB-C breakout, with no regulator.
Bench
This is the circuit above, running on the datasheet's rules. Set DIN, press CLK to shift that bit in, then press LOAD to latch the last 16 bits. Keys: 0 / 1 set DIN, Space is CLK, L is LOAD.
Power-up state from the datasheet: shutdown, scan 1 digit, minimum intensity, no decode. The row registers aren't cleared, so they start with random dots.
one-shot t = 1.1 · R2 · C1 = 1.1 · 47 kΩ · 1 µF ≈ 52 ms
Iseg
≈ 40 mA peak (R5 12 kΩ) · each row lit 1/8 of the time
Readouts
LOAD now would latch: –
- Mode
- –
- Scan limit
- – register 0x0B
- Intensity
- – register 0x0A
- Decode
- – register 0x09
- Supply
- – MAX7219, average
- Chip power
- – DIP-24, 75 °C/W
Draw it, then key it in
Click or drag to draw. The sheet turns the picture into the exact bits to enter, leftmost bit first. Turn on the guide and the bench tells you the next bit and catches mistakes. Click any row to start the guide there.
Validation
Running the netlist check…
Pinouts
Chips seen from above with the notch at the top: pin 1 is top-left, and the numbers run down the left side and back up the right. The matrix is drawn from the front (LED side). Each pin shows where it goes in this build.
Connection list
Every net, pin by pin. It works for breadboard or perfboard. Hover a row to light that net in the diagram.
Nets
The 16 matrix wires
Build and test order
- Check the matrix first. Put a meter in diode mode, red probe on pin 13 and black on pin 9. One corner dot (row 1, column 1) should glow faintly. That corner is your top-left. If it only glows with the probes swapped, see the polarity check under Validation before wiring anything.
- Power. USB-C breakout VBUS to +5 V and GND to ground, with 5.1 kΩ from CC1 and from CC2 to GND (some breakouts have these already). Measure about 5 V, and check there's no short between the rails.
- Clock section alone. Build U1 with R1–R4, C1–C3, C6 and SW1. For testing only, hang an LED with a 1 kΩ resistor from pin 3 to GND. Each press should give exactly one short blink, never two. Take the LED off afterwards, because it drags the high level back down.
- MAX7219 and matrix. DIP-24 socket. Put C4 (100 nF) and C5 (10 µF) right at pins 19 and 4/9, and connect both GND pins. Fit R5 from pin 18 to +5 V. Put the matrix in two 8-way female header strips and run the 16 wires from the table.
- DIN and LOAD. SW2 from +5 V to pin 1 with R6 to GND. SW3 from +5 V to pin 12 with R7 to GND. Closed means 1.
-
Display test. Key in T1 (
0000 1111 0000 0001) and press LOAD. All 64 dots light, even though the chip is still in shutdown. Then T2 turns them off. Nothing? Count again: exactly 16 bits before LOAD. Then check 5 V on pin 19 and R5 on pin 18. - Your picture. Steps 1–12 from the sheet. The matrix stays dark until step 12 wakes the chip, and then the whole picture appears at once.
- Wrong bit? Don't count backwards. Clock the whole 16-bit command again from the start and press LOAD: the bad bits fall out the far end. If the picture appears mirrored or upside down, that's just which way you're holding the matrix. Turn the board, not the matrix, because the pins aren't symmetric.
Using a ready-made matrix module
Many 8 × 8 matrices are sold as modules: a small red board with the 1088AS and a socket for the MAX7219. They work with this build and save most of the wiring.
CS is the LOAD pin. The MAX7219 calls pin 12 LOAD. Its sister chip, the MAX7221, calls the same pin CS, and module makers print "CS" whichever chip they fit. A continuity test from the CS header pin to socket pin 12 confirms it. With the notch at the top, pin 12 is the bottom pin on the left side.
Use the input header
- Input: VCC, GND, DIN, CS, CLK. Wire the circuit to this side.
- Output: VCC, GND, DOUT, CS, CLK. This side only chains a second module. Data fed in here goes nowhere.
What's already on the board
The 16 matrix connections, the ISET resistor (usually 10 kΩ, which is fine) and the supply capacitors. You only build the USB-C supply to VCC and GND, the NE555 clock section (R1–R4, C1–C3, C6, SW1) to CLK, the DIN switch and R6 to DIN, and the LOAD button and R7 to CS.
Find which way up the picture is
Each maker wires the matrix a little differently, so the picture can come out rotated or mirrored. One test dot shows the orientation:
-
Run the display test:
0x0F 0x01, then0x0F 0x00. -
Send
0x0B 0x07(scan all rows), then0x0C 0x01(wake up). -
Send
0x01 0x80, which is0000 0001 1000 0000.
The dot that lights is row 1, leftmost. Turn the module so that dot is top-left, and the key-in sheet draws the picture the right way up.