

Led driver board 1
8x8x8 LED Cube
- Size
- 86.1 × 85.9 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 47
- Nets
- 86
- Pads
- 190
- Tracks, vias
- 584, 54
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 4
- Created
- 4 Sep 2017
- Updated
- 14 Nov 2017
Overview
Led driver board 1 is an open-source printed circuit board by ntnunk, from the ntnunk/led_cube repository on GitHub. It is a 2-layer board of 86.1 × 85.9 mm with 47 parts on 86 nets, routed with 584 tracks and 54 vias.
It is built around the 74HC595. Its parts include 32 resistors, 4 capacitors, 4 ICs and 3 connectors.
Main components
1README
README.md8x8x8 LED Cube
My 8x8x8 LED Cube project. This repository will eventually contain both code and circuit schematics. Schematics and printed circuit boards designed in Kicad.
Concept
The cube is composed of eight layers of eight LEDs per side, or sixty-four LEDs per layer. The cube relies upon persistance of vision, much like a flourescent light, which means there is never actually more than one LED layer active at a time. Because the controller cycles through the layers so quickly it fools the human eye and appears as though the cube is lit continuously.
The LED cube itself is constructed of layers and columns of LEDs. The anodes every LED in a given column are connected together while the cathodes of every LED in a given layer are connected together. Individual LEDs can be turned on by having power applied to the vertical column the LED is part of and then having the layer it's part of switched to ground.
Functionality
Controller and Decoder
The controller for this project is essentially a simplified Arduino Duemilanove with an ATMEL ATMEGA328P processor. A 74HC238 3-to-8 decoder is used to select one of eight general purpose NPN transistors. The eight transistors have the base connected to an output pin of the decoder, the emitter to ground, and the collector to the cathodes of the LEDs in the transistor's associated layer. Since the cathodes of all LEDs on a given layer are connected together, turning on one of the layer enable transistors connects the cathodes of that layer's LEDs to ground, causing any LEDs in the layer with power applied to their anodes to turn on.
LED Driver
The second major section is the LED driver. Since the controller doesn't have enough GPIO pins to control the number of LEDs required, another 74HC238 3-to-8 decoder is used in conjunction with eight 74HC595N serial-in, parallel-out 8-bit shift registers to control the 64 LEDs on a layer. The shift registers could be connected in serial, removing the need for the extra decoder, but that would require 64 clock cycles per layer change to push all the LED enable bits into the 8 daisy-chained shift registers. Instead, the shift registers are connected in parallel with each shift register IC (integrated circuit) controlling an individual LED on each row of the layer. So, for example, the first 8-bit shift register controls the first LED in all eight of the rows on a layer.
Operation
The processor enables the three input lines on the decoder chip based on which LEDs on the first row are indicated by the control program. The decoder sets the 8 output lines based on the 3 input lines. The 8 output lines are sent to the serial in of each shift register, the processor toggles the serial clock to move the shift registers one position, then the process repeats until all 8 output lines of all 8 shift registers are set as desired for the layer.
The shift register output lines drive the anodes of all the LEDs on the layer. Once the processor switches the cathodes of the layer to ground via the layer enable transistors as described above, the enabled LEDs in the layer will light up and stay lit until the processor sets up and enables the next layer in the sequence.
Parts
47| Qty | Value | Footprint | References |
|---|---|---|---|
| 32 | 390 | Resistors_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R2, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 +16 |
| 4 | 74HC595 | Housings_DIP:DIP-16_W7.62mm_Socket | U1, U2, U3, U4 |
| 3 | 0.1uF | Capacitors_THT:CP_Radial_Tantal_D5.0mm_P2.50mm | C1, C3, C4 |
| 1 | 0.1uf | Capacitors_THT:CP_Radial_Tantal_D5.0mm_P2.50mm | C2 |
| 1 | LED_EN_OUT | Connectors:IDC_Header_Straight_40pins | J3 |
| 1 | PWR_IN | Connectors:PINHEAD1-2 | J1 |
| 1 | SIG_IN | Connectors:IDC_Header_Straight_8pins | J2 |
The 43 most common of 47 parts.
More from ntnunk/led_cube
1- 2 layers104.1 × 76.2 mm

Similar boards
- 2 layers45.7 × 31.8 mm

LEDx16 board
tardate/LittleArduinoProjects
a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!
36 parts803MIT - 2 layers228.6 × 100 mm

Mongus48
ChrisChrisLoLo/beyblock20
The magnetic, modular, 20-key macropad that can join together to form an ortholinear board
124 parts335GPL-3.0 - 2 layers245.1 × 160 mm

8-Bit CPU 32k
slu4coder/Minimal-64x4-Home-Computer
My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.
139 parts326 - 2 layers100 × 95.1 mm

Protoboard-6x4-breakout
electroniceel/protoboard
Advanced protoboard layout with 1.27mm pitch for smd parts
4,745 parts311CC-BY-4.0 - 4 layers140 × 100 mm

Dc usv
TobleMiner/DC-UPS
A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages
351 parts223CERN-OHL-P-2.0 - 2 layers100.5 × 218.3 mm

- 2 layers287.8 × 126.7 mm

- 2 layers100 × 100 mm

Questions
How big is the Led driver board 1 PCB?
It measures 86.1 × 85.9 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Led driver board 1 use?
47 parts, built around the 74HC595. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Led driver board 1 KiCad files?
From the ntnunk/led_cube repository on GitHub, at the commit this page was made from: the board is PCBs/led_driver_1/led_driver_board_1.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Led driver board 1 design in my own project?
Its repository states no licence, so its author keeps all rights: ask ntnunk before reusing the design.