

Puzzle cube
Mechanical, Optical, & Electronic Puzzle Cube
- Size
- 293.8 × 454.8 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 126
- Nets
- 60
- Pads
- 436
- Tracks, vias
- 248, 0
- Pours
- 6
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 20 Sep 2024
- Updated
- 20 Sep 2024
Overview
Puzzle cube is an open-source printed circuit board by audreycui, from the audreycui/pcb-puzzle-cube repository on GitHub. It is a 2-layer board of 293.8 × 454.8 mm with 126 parts on 60 nets, routed with 248 tracks and 0 vias.
It is built around the WS2812B. Its parts include 36 connectors, 30 resistors, 7 diodes, 5 capacitors and 2 ICs.
Main components
1README
README.mdpcb-puzzle-cube
Mechanical, Optical, & Electronic Puzzle Cube
I made a puzzle cube for my wonderful electronics lab instructor who is also a professional trumpet player! A lot of the fun in making this was designing my circuits and mechanical components around 5 milled PCBs soldered together into a cube. Puzzles involve "playing" a sequence of notes on a flex PCB capacitive trumpet and using a butterfly flexure to align a laser path through a beamsplitter.
Milled PCBs
From left to right, the sides of the cube include:
- WS2812b LEDs
- resistor combinations with pads for probing
- laser diode regulated by a LM317 circuit and switched on/off electronically with a 2N7002 MOSFET
- QTPy ESP32 microcontroller
Sides 1 & 4 also include a photoresistor to detect laser beam alignment.
And the bottom:
- 5V power jack, switches for the board power and laser power, mount for butterfly flexure
Trumpet Capacitive Touch FlexPCB
I really wanted an excuse to fab a flexPCB, so I did so here. FlexPCB files are located in the trumpet subfolder.
The connector end of the trumpet was designed to fit in a 6pin/1mm FPC connector. I ended up just soldering it directly to the board though, since I ended up finding an end mill small enough to carve out the 1mm pitch pads. It also helped me avoid buying an extra component.
Video Demo
Watch a video demo of the cube being solved here :D
Parts
126| Qty | Value | Footprint | References |
|---|---|---|---|
| 25 | , , , , , , , , , , , , , , , +9 | ||
| 14 | TestPoint | TestPoint:TestPoint_Pad_D3.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14 |
| 8 | Conn_01x08_Pin | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J2, J2, J3, J3, J3, J3, J4, J4 |
| 4 | 10 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6, R10, R15, R18 |
| 4 | 430 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5, R7, R12, R17 |
| 4 | 68 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R8, R9, R13, R14 |
| 3 | 100uF | Capacitor_SMD:C_1206_3216Metric | C2, C3, C4 |
| 3 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1, D2, D3 |
| 2 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R24, R25 |
| 2 | 120 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2, R3 |
| 2 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D8, D9 |
| 2 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R26, R27 |
| 2 | 20 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R11, R16 |
| 2 | 680 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R19, R20 |
| 2 | LED | LED_SMD:LED_0805_2012Metric | D6, D7 |
| 2 | R_Photo | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal | R29, R30 |
| 2 | beamsplitter2resistors | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J17, J17 |
| 1 | 1 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R22 |
| 1 | 200 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1 |
| 1 | 330 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R23 |
| 1 | 51 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R21 |
| 1 | 62 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | ADAFRUIT_QT_PY | ADAFRUIT_QT_PY (1):MODULE_ADAFRUIT_QT_PY | U1 |
| 1 | Barrel_Jack_MountingPin | Connector_BarrelJack:BarrelJack_Kycon_KLDX-0202-xC_Horizontal | J15 |
| 1 | C | Capacitor_SMD:C_1206_3216Metric | C1 |
| 1 | C | Capacitor_THT:CP_Radial_D5.0mm_P2.50mm | C5 |
| 1 | LM317L_TO92 | Package_TO_SOT_THT:TO-220-3_Vertical | U2 |
| 1 | NPN | Package_TO_SOT_THT:TO-92L_Inline_Wide | Q1 |
| 1 | R_Potentiometer_Trim_US | Potentiometer_THT:Potentiometer_Piher_PT-10-V10_Vertical | RV1 |
| 1 | R_US | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R28 |
| 1 | beamsplitter2laser | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J20 |
| 1 | beamsplitter2leds | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J19 |
| 1 | beamsplitter2qtpy | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J18 |
| 1 | capacitive2laser | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J26 |
| 1 | capacitive2led | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J27 |
| 1 | capacitive2qtpy | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J14 |
| 1 | capacitive2resistor | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J28 |
| 1 | laser | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | SW2 |
| 1 | laser connector | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal | J25 |
| 1 | laser2beamsplitter | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J24 |
| 1 | laser2capacitve | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J21 |
| 1 | laser2qtpy | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J23 |
| 1 | laser2resistors | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J22 |
| 1 | leds2beamsplitter | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J5 |
| 1 | leds2capacitive | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J7 |
| 1 | leds2qtpy | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J6 |
| 1 | leds2resistors | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J8 |
| 1 | power | Connector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_Vertical | SW1 |
| 1 | qtpy2beamsplitter | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J3 |
| 1 | qtpy2capacitive | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J1 |
| 1 | qtpy2laser | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J2 |
| 1 | qtpy2leds | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J4 |
| 1 | resistors2beamsplitter | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J12 |
| 1 | resistors2capacitive | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J9 |
| 1 | resistors2laser | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J11 |
| 1 | resistors2leds | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Horizontal | J10 |
| 1 | trumpet_flexcable | 6pin_usbc:6pin_1.00pitch_FPC | J13 |
The 123 most common of 126 parts.
More from audreycui/pcb-puzzle-cube
1- 2 layers104.6 × 17 mm

Similar boards
- 4 layers99 × 53.3 mm

PSLab
fossasia/pslab-hardware
PSLab Hardware Design and Schematics https://pslab.io
199 parts1.7kApache-2.0 - 2 layers26 × 30 mm

Microcontroller
FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop
34 parts1.1kCC-BY-4.0 - 4 layers82.6 × 82.5 mm

- 2 layers95.3 × 161.9 mm

- 2 layers42.8 × 28.8 mm

MM Skirt
PrintersForAnts/Micron
If you want to purchase full kits there are 3 available (Kits are slowly updating to R1 hardware just make sure to double check the included hardware in your kit and if you have any questions reach out in the discord)
11 parts741GPL-3.0 - 2 layers149.6 × 127.1 mm

- 2 layers285.5 × 95 mm

- 2 layers177.7 × 144.5 mm

Questions
How big is the Puzzle cube PCB?
It measures 293.8 × 454.8 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Puzzle cube use?
126 parts, built around the WS2812B. 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 Puzzle cube KiCad files?
From the audreycui/pcb-puzzle-cube repository on GitHub, at the commit this page was made from: the board is puzzle_cube.kicad_pcb and its schematic beamsplitter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Puzzle cube design in my own project?
Its repository states no licence, so its author keeps all rights: ask audreycui before reusing the design.