Skip to the content
4 layers95 × 95 mmCube motherboard, the printed circuit board in 3D

A cube that balances itself in a corner or edge using reaction wheels

Size
95 × 95 mm
Copper layers
4
Thickness
1.6 mm
Parts
52
Nets
120
Pads
265
Tracks, vias
275, 252
Pours
17
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
10 Feb 2024
Updated
22 Jun 2024

Overview

Cube motherboard is an open-source printed circuit board by willem-pennings, from the willem-pennings/balancing-cube repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 95 × 95 mm with 52 parts on 120 nets, routed with 275 tracks and 252 vias.

It is built around the ESP32-S3-DEVKITC-1-N8, LM2596S-5.0 and ICM-20948, with the SMBJ33A, BSS138 and SS34 among its other parts. Its parts include 13 capacitors, 7 ICs, 7 diodes, 5 connectors and 4 resistors. It belongs with the robots and motor control and computers and single-board computers boards and the ESP32 boards of this library.

Main components

6

README

README.md

Balancing cube

The cube balances on its corner using three integrated reaction wheels

This repository contains all design, documentation, configuration and other files related to the balancing cube that I have designed and built.

  • Mechanical parts are designed in Fusion 360.
  • Circuit boards are designed in KiCad 7.
  • Code has been written using Arduino IDE.
  • Motor drivers are commissioned and tuned using Escon Studio.
  • Motors and motor controllers are available from Maxon.
  • Circuit boards and custom mechanical parts can be ordered from PCBWay, for example.

A YouTube video demonstrating the balancing cube is available here.

Want to build one? Read this!

This repository should contain everything you need to order and/or build parts for this cube. Take into account the following:

  • I replaced four of the eight 16AWG wires in each cable assembly by 22AWG wires since only four wires carry large currents. The others carry +5V and hall sensor signals. This reduces weight and makes the cables easier to handle, as well as reducing strain on the mating connectors. The motor connection is rather fragile and might break if stressed too much.
  • The ESP32 board does not go into flashing mode automatically. I fixed this by adding a 10 uF capacitor between the enable and reset pin, as described here.
  • In my blog post, I describe some errors in the design of the motherboard. These have been resolved in the files that are available in this repository.
  • For your own safety, I highly recommend taking precautions to reduce the risk of trapping fingers between the spinning flywheels. One option is to attach very thin (spring steel) discs to each wheel, which may be (laser)cut from larger sheets that are readily available. I do not have designs available for such safety devices yet.

More information

More information about this project and my other projects is available on my website.

Parts

52
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0603_1608MetricC6, C7, C8, C9, C10
410kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4
4MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4
3C_PolarizedCapacitor_THT:CP_Radial_D12.5mm_P5.00mmC1, C2, C3
3Conn_02x04_Top_BottomConnector_Molex:Molex_Mini-Fit_Jr_5566-08A_2x04_P4.20mm_VerticalJ2, J3, J4
3D_TVSDiode_SMD:D_0402_1005MetricD5, D6, D7
3Escon_24/2cube-motherboard:Escon_24U1, U2, U3
3Fusecube-motherboard:Littelfuse 0157004.DRF1, F2, F3
3G***kibuzzard-65625B53kibuzzard-65625B53, kibuzzard-65625B53, kibuzzard-65625B53
3SMBJ33Acube-motherboard:SMB_L4.4-W3.6-LS5.4-RDD1, D2, D3
210uFCapacitor_SMD:C_0603_1608MetricC12, C13
2BSS138Package_TO_SOT_SMD:SOT-23Q1, Q2
10.1uF 50VCapacitor_SMD:C_0603_1608MetricC11
1470uF 50VCapacitor_THT:CP_Radial_D18.0mm_P7.50mmC4
168 uHcube-motherboard:Bourns SRP1050WA-680ML1
1C_PolarizedCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC5
1Conn_01x02Connector_AMASS:AMASS_XT60-F_1x02_P7.20mm_VerticalJ1
1Conn_01x18cube-motherboard:PinHeader_03x06J5
1ESP32-S3-DevKitCPCM_Espressif:ESP32-S3-DevKitCU4
1G***kibuzzard-65625AD1kibuzzard-65625AD1
1G***kibuzzard-65625B38kibuzzard-65625B38
1G***kibuzzard-656267AEkibuzzard-656267AE
1ICM-20948Sensor_Motion:InvenSense_QFN-24_3x3mm_P0.4mmU7
1LM2596S-5Package_TO_SOT_SMD:TO-263-5_TabPin3U5
1SS34Diode_SMD:D_SOD-123FD4
1~Package_TO_SOT_SMD:SOT-23-5U6

More from willem-pennings/balancing-cube

1
  • 2 layers95 × 95 mmCube batteryboard, the printed circuit board in 3D

    Cube batteryboard

    willem-pennings/balancing-cube

    A cube that balances itself in a corner or edge using reaction wheels

    13 parts1.1kGPL-3.0

Similar boards

  • 2 layers84.5 × 94.5 mmLandyGauge, the printed circuit board in 3D

    LandyGauge

    paulrbarnard/LandyGauge

    Open-source ESP32-S3 vehicle instrument gauge

    129 parts
  • 4 layers145.8 × 130.1 mmRegenerative braking, the printed circuit board in 3D

    Regenerative braking

    venatarch/regenerative_braking

    Recover braking energy from a BLDC motor using bidirectional MOSFET switching.

    217 parts
  • 4 layers123 × 113 mmPantiltslide full pwr, the printed circuit board in 3D

    Pantiltslide full pwr

    AMOVFC/PanTilt

    Three projects live in this folder. They share NewLibrary.kicadsym, TMC2209.pretty and the same philosophy: nothing on the board needs precision placement, every active part is a module in a socket.

    53 parts
  • 2 layers100 × 100 mmCarrier, the printed circuit board in 3D

    Carrier

    moinsen-dev/open-bed-climate

    Open-source, local-first bed climate system: water-cooled/heated mat, standard parts, DIY kits, Home Assistant. Design phase.

    126 partsApache-2.0
  • 4 layers200 × 130 mmHVAC STM32F7 PCB, the printed circuit board in 3D

    HVAC STM32F7 PCB

    Jopolle/INZYNIERKA

    W repozytorium znajdują się wszystkie istotne pliki dotyczące projektu

    110 parts
  • 2 layers75.9 × 42 mmDecoder esp32 rev1, the printed circuit board in 3D

    Decoder esp32 rev1

    jelgerlemmens/ToyTrainESP32

    ESP32-C3 WiFi DCC decoder firmware and KiCad PCB design

    53 parts
  • 4 layers94 × 81.8 mmESP32 IO Controller, the printed circuit board in 3D

    ESP32 IO Controller

    Satya777777/ESP32-Industrial-IO-Controller

    4-layer ESP32-based industrial I/O controller designed in KiCad with 0–10 V, 4–20 mA, RS485, USB-C and relay interfaces.

    58 partsMIT

Questions

How big is the Cube motherboard PCB?

It measures 95 × 95 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Cube motherboard use?

52 parts, built around the ESP32-S3-DEVKITC-1-N8, LM2596S-5.0, ICM-20948 and SMBJ33A. 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 Cube motherboard KiCad files?

From the willem-pennings/balancing-cube repository on GitHub, at the commit this page was made from: the board is electronics/cube-motherboard/cube-motherboard.kicad_pcb and its schematic electronics/cube-batteryboard/cube-batteryboard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cube motherboard design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).