

Self balancing cube
Self Balancing Cube Project
- Size
- 73.5 × 52.1 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 31
- Nets
- 35
- Pads
- 101
- Tracks, vias
- 229, 3
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 12 Nov 2024
- Updated
- 7 Nov 2026
Overview
Self balancing cube is an open-source printed circuit board by Pedro-51, from the Pedro-51/GyroCube repository on GitHub. It is a 2-layer board of 73.5 × 52.1 mm with 31 parts on 35 nets, routed with 229 tracks and 3 vias.
It is built around the PN2222A. Its parts include 11 connectors, 5 resistors, 3 capacitors, 2 ICs and 1 transistor.
Main components
1README
README.mdGyroCube
Self Balancing Cube Project
Balancing Cube project based on the "remrc" model: https://www.thingiverse.com/thing:6695891
Creation of an Application to facilitate calibration and motor testing,
Merging the main program with the motors test program,
Creation of a printed circuit for those who wish to have a beautiful object,
Addition of a Power button,
Addition of a button to turn on the LEDs and change their colors,
Modified the face files for placing the switches in 12 and 16mm. Thanks to dinomight.Explanatory video: https://youtu.be/zuOgj580Nhk
Led function video: https://youtu.be/vczHyelNjr4
PCB: https://www.pcbway.com/project/shareproject/GyroCube_v1_1_5d583cf0.html
Android app: French,English
#######################################################################################
For the program to work, you need to install esp32 by expressif v2.0.17 board version
#######################################################################################
Parts
31| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | Conn_01x01 | Connector_Wire:SolderWire-2sqmm_1x01_D2mm_OD3.9mm | J1, J2, J3, J4 |
| 3 | Conn_01x08_Pin | Connector_JST:JST_ZH_B8B-ZR_1x08_P1.50mm_Vertical | J6, J7, J8 |
| 2 | , | ||
| 2 | 100nf | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mm | C1, C2 |
| 2 | 10k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R3, R4 |
| 2 | 1k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R1, R5 |
| 2 | Conn_01x03_Pin | Connector_JST:JST_ZH_B3B-ZR_1x03_P1.50mm_Vertical | J13, J14 |
| 2 | MountingHole_3mm_Pad | MountingHole:MountingHole_3mm_Pad | 1, 1 |
| 1 | 33k | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R2 |
| 1 | Buzzer | Buzzer_Beeper:Buzzer_12x9.5RM7.6 | BZ1 |
| 1 | C_Polarized | Capacitor_THT:C_Radial_D6.3mm_H11.0mm_P2.50mm | C3 |
| 1 | Conn_01x01 | Connector_Wire:SolderWire-0.5sqmm_1x01_D0.9mm_OD2.1mm | J5 |
| 1 | Conn_01x04_Pin | Connector_JST:JST_ZH_B4B-ZR_1x04_P1.50mm_Vertical | J12 |
| 1 | LM7805_TO220 | Package_TO_SOT_THT:TO-220-3_Vertical | U1 |
| 1 | PN2222A | Package_TO_SOT_THT:TO-92_Inline | Q1 |
| 1 | SW_Push | Button_Switch_THT:SW_PUSH_6mm | SW2 |
| 1 | ~ | Library:esp module 30pins | U2 |
The 28 most common of 31 parts.
More from Pedro-51/GyroCube
1- 2 layers73.5 × 52.1 mm

Similar boards
- 2 layers152.4 × 101.6 mm

8088-FE2010A SBC
skiselev/micro_8088
Micro 8088 - IBM XT Compatible Processor Board based on Faraday FE2010 chipset
72 parts412GPL-3.0 - 2 layers33.7 × 66 mm

Smartbell
Staacks/there.oughta.be
Projects featured on my blog at https://there.oughta.be
27 parts108GPL-3.0 - 4 layers100 × 100 mm

- 2 layers30.7 × 76.1 mm

Repeater v2
plusvic/simplebus2-intercom
General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.
17 parts95CC0-1.0 - 2 layers28.8 × 43.8 mm

- 2 layers23.2 × 52.1 mm

- 4 layers184.2 × 169.5 mm

- 2 layers49.5 × 30 mm

Questions
How big is the Self balancing cube PCB?
It measures 73.5 × 52.1 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Self balancing cube use?
31 parts, built around the PN2222A. 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 Self balancing cube KiCad files?
From the Pedro-51/GyroCube repository on GitHub, at the commit this page was made from: the board is PCB&Schemas/PCB_Std/Kicad_PCB_Std/Self balancing cube.kicad_pcb and its schematic PCB&Schemas/PCB_Smd/Kidad_PCB_Smd/Self balancing cube.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Self balancing cube design in my own project?
Its repository states no licence, so its author keeps all rights: ask Pedro-51 before reusing the design.