Skip to the content
2 layers293.8 × 454.8 mmPuzzle cube, the printed circuit board in 3D

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

1

README

README.md

pcb-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:

  1. WS2812b LEDs
  2. resistor combinations with pads for probing
  3. laser diode regulated by a LM317 circuit and switched on/off electronically with a 2N7002 MOSFET
  4. QTPy ESP32 microcontroller

Sides 1 & 4 also include a photoresistor to detect laser beam alignment.

And the bottom:

  1. 5V power jack, switches for the board power and laser power, mount for butterfly flexure

image

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.

image

Video Demo

Watch a video demo of the cube being solved here :D

Parts

126
QtyValueFootprintReferences
25, , , , , , , , , , , , , , , +9
14TestPointTestPoint:TestPoint_Pad_D3.0mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14
8Conn_01x08_PinConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ2, J2, J3, J3, J3, J3, J4, J4
410Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6, R10, R15, R18
4430Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R7, R12, R17
468Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8, R9, R13, R14
3100uFCapacitor_SMD:C_1206_3216MetricC2, C3, C4
3WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3
210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR24, R25
2120Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3
21N4007Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD8, D9
21kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR26, R27
220Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11, R16
2680Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR19, R20
2LEDLED_SMD:LED_0805_2012MetricD6, D7
2R_PhotoResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalR29, R30
2beamsplitter2resistorsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ17, J17
11Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR22
1200Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
1330Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR23
151Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR21
162Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4
1ADAFRUIT_QT_PYADAFRUIT_QT_PY (1):MODULE_ADAFRUIT_QT_PYU1
1Barrel_Jack_MountingPinConnector_BarrelJack:BarrelJack_Kycon_KLDX-0202-xC_HorizontalJ15
1CCapacitor_SMD:C_1206_3216MetricC1
1CCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC5
1LM317L_TO92Package_TO_SOT_THT:TO-220-3_VerticalU2
1NPNPackage_TO_SOT_THT:TO-92L_Inline_WideQ1
1R_Potentiometer_Trim_USPotentiometer_THT:Potentiometer_Piher_PT-10-V10_VerticalRV1
1R_USResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR28
1beamsplitter2laserConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ20
1beamsplitter2ledsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ19
1beamsplitter2qtpyConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ18
1capacitive2laserConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ26
1capacitive2ledConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ27
1capacitive2qtpyConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ14
1capacitive2resistorConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ28
1laserConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW2
1laser connectorConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_HorizontalJ25
1laser2beamsplitterConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ24
1laser2capacitveConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ21
1laser2qtpyConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ23
1laser2resistorsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ22
1leds2beamsplitterConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ5
1leds2capacitiveConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ7
1leds2qtpyConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ6
1leds2resistorsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ8
1powerConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW1
1qtpy2beamsplitterConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ3
1qtpy2capacitiveConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ1
1qtpy2laserConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ2
1qtpy2ledsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ4
1resistors2beamsplitterConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ12
1resistors2capacitiveConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ9
1resistors2laserConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ11
1resistors2ledsConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_HorizontalJ10
1trumpet_flexcable6pin_usbc:6pin_1.00pitch_FPCJ13

The 123 most common of 126 parts.

More from audreycui/pcb-puzzle-cube

1
  • 2 layers104.6 × 17 mmTrumpet, the printed circuit board in 3D

    Trumpet

    audreycui/pcb-puzzle-cube

    Mechanical, Optical, & Electronic Puzzle Cube

    2 parts

Similar boards

  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    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 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 2 layers95.3 × 161.9 mmDfh badge, the printed circuit board in 3D

    Dfh badge

    tanaes/whopping_Voron_mods

    135 parts787GPL-3.0
  • 2 layers42.8 × 28.8 mmMM Skirt, the printed circuit board in 3D

    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 mmErgodash, the printed circuit board in 3D

    Ergodash

    omkbd/ErgoDash

    keyboard

    187 parts732MIT
  • 2 layers285.5 × 95 mmReviung46 ver1 1, the printed circuit board in 3D

    Reviung46 ver1 1

    gtips/reviung

    The REVIUNG41 is 41-key column staggered keyboard.

    119 parts517MIT
  • 2 layers177.7 × 144.5 mmCOMM PANEL, the printed circuit board in 3D

    COMM PANEL

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    275 parts431

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.