Skip to the content
PCBKitNew board
2 layers117 × 94.6 mm5x5x5 Led Cube, the printed circuit board in 3D

5x5x5 Led Cube

qb-creates/LedCube

5x5x5 LED Cube using an ATmega32

Size
117 × 94.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
53
Nets
58
Pads
203
Tracks, vias
508, 0
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
23 Feb 2021
Updated
1 Mar 2025

Overview

5x5x5 Led Cube is an open-source printed circuit board by qb-creates, from the qb-creates/LedCube repository on GitHub. It is a 2-layer board of 117 × 94.6 mm with 53 parts on 58 nets, routed with 508 tracks and 0 vias.

It is built around the CAT4016Y-T2. Its parts include 8 resistors, 5 capacitors and 1 diode. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

LED-Cube

LED Cube Display that projects custom animations using a 5x5x5 matrix of LEDs. The display utilizes an ATmega32 microcontroller utilizes two 16-channel LED drivers.

Table of Contents

  1. Software Used
  2. Cube Circuit
  3. Power Consumption
  4. Schematics

1. Software Used [blocked]

2. Display Circuit [blocked]

This circuit projects custom animations by utilizing multiplexing and bit-angle modulation for LED dimming. Each layer of the cube consists of 25 LEDs, with their anodes soldered together and their cathodes connected to the CAT4016 constant current sink outputs. The LEDs are arranged into 25 vertical columns, each containing five LEDs stacked across the layers. The cathodes of LEDs within each column are connected together, allowing control of entire columns simultaneously. Five transistors act as switches to control each layer, allowing 5V to be applied to the corresponding anode mesh when the associated transistor is activated. Through multiplexing, all five layers can appear illuminated simultaneously. Communication with the LED drivers is achieved via the SPI protocol.

LED Drivers [blocked]

The LED Drivers are chained together. Each driver must receive two bytes of data to control their 16 output channels. Four bytes of data must be sent to the first driver in order to control all 32 output channels. The LEDs are mounted in order (starting from the top left corner of the 32 pin header connector) from 1 to 25. The table below shows which output channel each LED is connected to.

Cat4016 1 OutputsLED Number--Cat4016 2 OutputsLED Number
Byte0--Byte2
Out0LED1--Out0LED17
Out1LED2--Out1LED18
Out2LED3--Out2LED19
Out3LED4--Out3LED20
Out4LED5--Out4LED21
Out5LED6--Out5LED22
Out6LED7--Out6LED23
Out7LED8--Out7LED24
--
Byte1--Byte3
Out8LED9--Out8LED25
Out9LED10--Out9N/A
Out10LED11--Out10N/A
Out11LED12--Out11N/A
Out12LED13--Out12N/A
Out13LED14--Out13N/A
Out14LED15--Out14N/A
Out15LED16--Out15N/A

Because the LED Drivers are daisy chained together, the data must be transmitted in the following order.

  • Byte3 (MSB transmitted first)
  • Byte2 (LSB transmitted first)
  • Byte1 (MSB transmitted first)
  • Byte0 (LSB transmitted first)

Parts List [blocked]

Part NumberQuantity
ATmega32-16PUx1
10 pin Header connectorx1
32 pin header connectorx1
Header Pinsx5
(Cat4016 discontinued) STP16CPC05MTR LED Driverx2
10mm Blue Ledx125
16Mhz Crystalx1
22pF Capacitor 0603 (1608 Metric)x2
100pF Capacitor 0603 (1608 Metric)x3
10K Resistor 0603 (1608 Metric)x1
2.2K Resistor 0603 (1608 Metric)x2
1K Resistor 0603 (1608 Metric)x5
1n4148 Diodex1
BC635 Transistorx5

3. Power Consumption [blocked]

Test ConditionPower Consumption
Cube circuit with all LEDs powered on. LEDs are supplied with 27mA each.700mA

Since each layer of the cube is multiplexed, only 25 LEDs will be illuminated at any given time. As a result, the maximum power consumption for the LEDs is calculated as 27mA multiplied by 25, totaling 681mA. Additionally, the microcontroller itself consumes approximately 20mA. Therefore, the power supply must be capable of providing at least 700mA to ensure stable operation of all components. To allow for adequate headroom, a 1000mA (1A) power supply is recommended.

[blocked]

4. Schematics [blocked] [blocked]

Cube Schematic [blocked]

Parts

53
QtyValueFootprintReferences
26, , , , , , , , , , , , , , , +10
7Res1Miscellaneous Devices.IntLib:AXIAL-0.3R1, R2, R3, R4, R5, R6, R8
5BC635Cylinder with Flat Index.PcbLib:BCY-W3NPN1, NPN2, NPN3, NPN4, NPN5
3CapMiscellaneous Devices.IntLib:RAD-0.3C3, C4, C5
2CAT4016CAT4016D_Lib.PcbLib:Cat4016CAT4016 IC1, CAT4016 IC2
2Cap2Miscellaneous Devices.IntLib:CAPR5-4X5C1, C2
12.2KMiscellaneous Devices.IntLib:AXIAL-0.3R9
1Component_1Atmega32_Lib.PcbLib:Atmega32DIPIC
1Component_1Shrouder_Header_13Pin.PcbLib:Shrouder Header 13JTAG
1CrystalCrystal_Osc.PcbLib:CrystalCrystal
1Diode 1N914Miscellaneous Devices.IntLib:DO-35D1
1Header ComponentLayers_Header.PcbLib:Layer_HeadersHeader
1ISPShrouder_Header_10Pin.PcbLib:Shrouder HeaderISP Headers
1Power_componentPower_Jack.PcbLib:Barrel JackPower

Questions

How big is the 5x5x5 Led Cube PCB?

It measures 117 × 94.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 5x5x5 Led Cube use?

53 parts, built around the CAT4016Y-T2. 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 5x5x5 Led Cube KiCad files?

From the qb-creates/LedCube repository on GitHub, at the commit this page was made from: the board is eda/5x5x5_Led_Cube/5x5x5_Led_Cube.kicad_pcb and its schematic eda/5x5x5_Led_Cube/5x5x5_Led_Cube.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 5x5x5 Led Cube design in my own project?

Its repository states no licence, so its author keeps all rights: ask qb-creates before reusing the design.

Similar boards

  • 2 layers217.1 × 393.8 mmSweepv2, the printed circuit board in 3D

    Sweepv2

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    53 parts2.1k
  • 2 layers121.9 × 81.3 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    53 parts1kGPL-3.0
  • 2 layers48 × 48 mmUSB, the printed circuit board in 3D

    USB

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    53 parts915
  • 2 layers103.7 × 74.1 mmPicoGUS, the printed circuit board in 3D

    PicoGUS

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    53 parts805
  • 2 layers60.5 × 76.8 mmHeadphones prototype pcb, the printed circuit board in 3D

    Headphones prototype pcb

    strangeparts/niubi-headphones

    Flexible circuit board design for adding a headphone jack to an iPhone 7

    53 parts493MIT
  • 2 layers59.1 × 26.1 mmPSRAMmod, the printed circuit board in 3D

    PSRAMmod

    Architeuthis-Flux/JumperlessV5

    The next generation jumperless breadboard

    53 parts332
  • 2 layers49 × 49 mmOpen source BMS, the printed circuit board in 3D

    Open source BMS

    Teslafly/Dead-OpenBMS-dead

    A scalable, open source battery management system

    53 parts248
  • 2 layers39 × 40 mmMdb bridge esp32s3, the printed circuit board in 3D

    Mdb bridge esp32s3

    nodestark/mdb-esp32-cashless

    ESP32-based MDB cashless device for vending machines, supporting EVA DTS DEX/DDCMP telemetry and payments over the MDB protocol via Bluetooth and MQTT

    53 parts190MIT