

Magic cube
View it interactive in your web browser:
- Size
- 89 × 91.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 28
- Nets
- 66
- Pads
- 144
- Tracks, vias
- 237, 0
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 7 Jul 2026
- Updated
- 11 Aug 2026
Overview
Magic cube is an open-source printed circuit board by Nils1024, from the Nils1024/magic-cube repository on GitHub. It is a 2-layer board of 89 × 91.8 mm with 28 parts on 66 nets, routed with 237 tracks and 0 vias.
It is built around the 74AHCT125D, LM2596S-5.0 and MPU-6050, with the ICS-43434 among its other parts. Its parts include 6 resistors, 5 capacitors, 5 connectors, 4 ICs and 1 transistor. It belongs with the ESP32 and AVR (ATmega, ATtiny) boards of this library.
Main components
474AHCT125D
SOP-14-40℃~+125℃ 1 4 4.3ns@5V,50pF 4.5V~5.5V 40uA 74AHCT 8mA 8mA Schmitt trigger Tri-State Unidirectional SOP-14 Buffers, Drivers, Receivers, Transceivers ROHSNexperiaBuffer/Driver/TransceiverLM2596S-5.0
TO-263-5-40℃~+125℃@(TJ) 1 150kHz 3A 4.5V~40V 5V 5mA Buck Buck Built-in Fixed No TO-263-5 DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersMPU-6050
QFN-24-EP(4x4)-40℃~+85℃ 16bit 1KB 2.375V~3.46V 5uA Accelerometer Gyroscope I2C X,Y,Z X,Y,Z ±16g ±2000dps QFN-24-EP(4x4) Accelerometers ROHSTDK InvenSenseAccelerometersICS-43434
LGA-6(3.5x2.7)-26dB -40℃~+85℃ 0.98mm 1.65V~3.63V 2.65mm 3.5mm 550uA 64dB I2S Omnidirectional Omnidirectional pickup LGA-6(3.5x2.7) MEMS Microphones ROHSTDK InvenSenseMEMS Microphones
README
README.mdmagic-cube
The magic cube has 4 LED Panels and they interact dynamically with the onboard sensors that are on the PCB. This includes an IMU, Temperature sensor and a microphone. Everything is also very accessible and you can always get to the power supply so you can turn it off.
Schema

PCB
Dimensions: 89mm x 91.75mm Dimensions with terminals: 95.5mm x 98mm
Top:

Bottom:

2D:

View it interactive in your web browser:
Case
You should glue the lower part of the case with the walls together. For the cap just put it on top to maintain an easy access to all components.
Top:

Bottom:

Wiring
From the Power Supply one power lane to the PCB and all others to the LED Panels. All components including the PCB and LED Panels need to have the same GND. Put the cables from the PSU to the PCB through the holes at the bottom.

Parts
28| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 100n | Capacitor_SMD:C_0805_2012Metric | C1, C2, C3, C5 |
| 4 | 330 | Resistor_SMD:R_0805_2012Metric | R3, R4, R5, R6 |
| 4 | MountingHole | MountingHole:MountingHole_3mm | H1, H2, H3, H4 |
| 4 | Screw_Terminal_01x03 | TerminalBlock_WAGO:TerminalBlock_WAGO_236-103_1x03_P5.00mm_45Degree | J2, J3, J4, J5 |
| 2 | 4.7k | Resistor_SMD:R_0805_2012Metric | R1, R2 |
| 1 | 1.5A | Fuse:Fuse_2920_7451Metric | F1 |
| 1 | 10uF | Capacitor_SMD:C_0805_2012Metric | C4 |
| 1 | 74AHCT125 | Package_DIP:DIP-14_W7.62mm | U4 |
| 1 | Arduino_Nano_ESP32 | Module:Arduino_Nano | A1 |
| 1 | ICS-43434 | Sensor_Audio:InvenSense_ICS-43434-6_3.5x2.65mm | MK1 |
| 1 | LM2596S-5 | Package_TO_SOT_SMD:TO-263-5_TabPin3 | U3 |
| 1 | MPU-6050 | Sensor_Motion:InvenSense_QFN-24_4x4mm_P0.5mm | U1 |
| 1 | Q_PMOS_GSD | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | Q1 |
| 1 | Screw_Terminal_01x02 | TerminalBlock_WAGO:TerminalBlock_WAGO_236-102_1x02_P5.00mm_45Degree | J1 |
| 1 | TMP117xxDRV | Package_SON:WSON-6-1EP_2x2mm_P0.65mm_EP1x1.6mm | U2 |
Questions
How big is the Magic cube PCB?
It measures 89 × 91.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Magic cube use?
28 parts, built around the 74AHCT125D, LM2596S-5.0, MPU-6050 and ICS-43434. 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 Magic cube KiCad files?
From the Nils1024/magic-cube repository on GitHub, at the commit this page was made from: the board is pcb/magic-cube.kicad_pcb and its schematic pcb/magic-cube.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Magic cube design in my own project?
Its repository states no licence, so its author keeps all rights: ask Nils1024 before reusing the design.
Similar boards
- 2 layers82.5 × 178.8 mm

- 2 layers7.5 × 2 mm

Lightwand
themagicfrog/lightwandprogress
a pcb with neopixel lights attached and a gyroscope! for arcade and the Trail
80 parts - 2 layers70 × 70 mm

Stm32
AtharvaGupta018/my-drone-pcb-
I have recently created a drone quadcopter pcb, with no ERC and DRC errors .
65 parts - 4 layers101.2 × 47.9 mm

Dashcam
Stevemwa/FMS_ESP32
This is a fleet management system that sends vehicle location data over to Firebase Cloud
129 parts - 2 layers196 × 104 mm

- 2 layers

AI voice assistant
DhamuVkl/ESP32S3-AI-Voice-Assistant
This project is a complete DIY AI voice assistant built around the ESP32-S3 microcontroller. It combines custom PCB design, advanced audio processing, and cloud-based AI to create a device that rivals commercial smart…
78 parts26MIT - 4 layers52.5 × 59.7 mm

ESPHome Indoor Multi Sensor
mikelawrence/esphome-indoor-multi-sensor-hardware
ESPHome Indoor Multi-Sensor hardware. This design supports Radar/PIR Presence, Temperature, Humidity, Pressure, Light, CO2, CO, VOC, NOX and PM sensors.
113 parts14CERN-OHL-P-2.0 - 4 layers108.6 × 87.7 mm

Blinky badge light
rowr111/blinky-badge-light
lighting badge with unique patterns and sound reactivity
123 parts9MIT