

Glockwork orange
Glockwork Orange is a fully self-playing chromatic Glockenspiel that relies on solenoids to play ANY midi file payload by adjusting the instrumentation to fit into two voices! :3
- Size
- 66 × 90 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 66
- Nets
- 29
- Pads
- 140
- Tracks, vias
- 398, 32
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 13 Jun 2026
- Updated
- 28 Jun 2026
Overview
Glockwork orange is an open-source printed circuit board by newtontriumphant, from the newtontriumphant/glockwork-orange repository on GitHub. It is a 2-layer board of 66 × 90 mm with 66 parts on 29 nets, routed with 398 tracks and 32 vias.
It is built around the IRLZ44N. Its parts include 21 resistors, 12 capacitors, 12 transistors, 9 diodes and 8 connectors.
Main components
1README
README.mdGlockwork Orange, by zsharpminor
A "Clockwork Orange" is defined as a human being who has had their free will and moral agency mechanically stripped away, turning them into a predictable, unthinking mechanism controlled by outside forces like the state. The human's natural "juicy" state is manifest in the orange, whereas the clockwork represents the unnaturality and cold predictability of the system.
Anyways, enough 1984; hiya! I'm Udo, better known as @zsharpminor or gh/newtontriumphant, and I have a thing for self-playing instruments. In late 2025, I won Honorable Mention at Hack Club x AMD's Prototype flagship hackathon with FiddleStein, a fully self-playing violin that utilized a SO-101 robot arm and a 10k-step neural network to imitate a real human arm playing violin. FiddleStein was a great concept, but it sounded mildly bad, to be polite. Ever since early 2026, I wanted to create another self-playing instrument that would fit in well with FiddleStein, and Glockwork Orange was the logical next step.
About Glockwork Orange
Glockwork Orange is a fully self-playing chromatic Glockenspiel that relies on solenoids to play ANY midi file payload by adjusting the instrumentation to fit into two voices!
Sidenote: in the musical percussion and orchestra community, "glock" is used to abbreviate "glockenspiel" and is in no way related to the firearm brand created by Gaston Glock.
Glockwork Orange was designed for Hack Club Outpost as an X-Tier project, and is on the list of X-Tier approved projects sent out by @CAN.
Anyways, enough yapping. A picture plays more than a thousand notes, or however the saying goes. Feast your eyes on the final assembled mockup of Glockwork Orange below.

At this point, you're probably asking: how does this lie-detector-looking-thing work?!&
Well, it's quite simple.
- The Arduino sends a logic signal to the PCB being striked.
- The power supply pushes out 15V and routes it into the PCB chain.
- The respective PCB converts that signal to the current and voltage required to operate the solenoids.
- The MOSFET briefly powers the solenoid and, by extension, the LED.
- The solenoid strikes the key and immediately retracts.
- Repeat (but don't rinse. handwashing is very bad when it comes to PCBs)!
The PCB

Glockwork Orange's PCB uses a clever arrangement of transistors, resistors, capacitors, and a MOSFET to power the white JST connectors and their respective fading red LEDs each time the individual MOSFET is triggered.
Oh? What do I hear? You're wondering how this monstrosity was wired? If you have any experience doing ground planes on PCBs, I'd recommend you avert your eyes.

I've also included an image of the PCB's schematic:

The way this schematic works is by dividing the three inputs from the Arduino into segments, which each result in one JST connector and LED being powered at one time.
The CAD
The way this project works is that it relies on the individual components being screwed down into a plywood project panel with M2 screws. That's why there's M2 screws on EVERY SINGLE COMPONENT in my CAD folder.
For more information, including images and in-progress screenshots of every single CAD part, refer to JOURNAL.md. I won't entirely leave you hanging, though. Here's a side-view:

The blue parts are the solenoid holders I designed, and they slot onto the red holder bar that I also designed. The grey parts inside the blue holders refer to the actual solenoids.
Wiring Diagram
Please excuse my dear aunt sally the sloppy wiring, this is only supposed to be representative of the final wiring!

+15V --> Red
Shared GND --> Black
Solenoid +/- --> Green
Arduino Signal --> BlueFirmware
The Glockwork Orange firmware consists of two files: glockwork_orange.ino, which runs on the Arduino Mega 2560 and maps all 25 chromatic keys (G2–A4, MIDI 43–69) to digital pins 22–46 driving the IRLZ44N MOSFET gate lines, and glockwork_host.py, a Python/Tkinter desktop GUI that parses any MIDI file, re-voices it into two chromatic voices within the glockenspiel's range via octave-shifting, and streams precisely-timed strike commands over USB serial at 115200 baud. The Arduino firmware uses a non-blocking 32-slot ring buffer to schedule and execute 35ms solenoid pulses without any delay() calls, which means the timing is, dare I say so myself, quite accurate across simultaneous voices. The host communicates via a simple ASCII protocol (S to start, N{ms},{note} to schedule a strike, X to stop), making it straightforward to extend or replace the Python frontend with any serial-capable environment.
The Why And The How
Why did I make Glockwork Orange? Well, this one's pretty simple. I always wanted to make a successor to FiddleStein, one that could permanently work and be mounted in place with actual PCBs rather than precarious wiring and hot glue. (Also, using it to get into Outpost was a pretty fun motivation!)
How did I make Glockwork Orange? The entire process is in JOURNAL.md. Go read it. No, seriously. A lot of research went into this project, and it's a culmination of thoughts and solenoids. TL;DR, the answer is Patience (and a lack thereof).
Directory
.
├── Assets/ <-- Some of the most important images found in this README
├── CAD/ <-- All CAD source files, as well as a .f3z Archive
├── Firmware/ <-- Simple firmware for the Arduino
├── PCB/ <-- KiCad source files of the PCB, .STEP export of PCB
├── Production/ <-- Gerber files and zipped Gerber files
├── BOM.csv <-- All components required to build this monstrosity
├── JOURNAL.md <-- Detailed explanation and tracking of hours
└── README.md <-- This file!Mini BOM
NOTE: The full BOM is located at BOM.csv. PLEASE READ IT. THIS IS ONLY A BREAKDOWN.
CART SCREENSHOTS can be found in the Assets/Cart-Screenshots folder. PII has been redacted. If the originals are required, DM @zsharpminor on the Hack Club Slack.
| Item | Total | Link |
|---|---|---|
| DigiKey Components | $480.00 | ↗ |
| Amazon Components | $122.00 | ↗ |
| Plywood from THD | $15.00 | ↗ |
| JLCPCB PCB x 10 | $15.00 | ↗ |
| Arduino and PSU | OWNED | - |
| $632.00 |
Disclosure of AI Usage
No Artificial Intelligence was used in creating the PCB, Schematic, any of the CAD, or README / JOURNAL.
AI was solely used to automate placing links into the BOM (~10% of BOM tracked hours), and for minor assistance with the code (see bottom of JOURNAL.md for additional information), and for creating a custom footprint for an obsolete capacitor.
License
GNU General Public License (GPL)
Thanks for reading down all this way! If you have any questions, please reach out to me via the Hack Club Slack @zsharpminor
Made with ♡ by zsharpminor
Parts
66| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 2.2k | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P12.70mm_Horizontal | R2, R5, R6, R9, R12, R13, R16, R19, R20 |
| 9 | 22k | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1, R3, R4, R8, R10, R11, R15, R17, R18 |
| 9 | 2N3904 | Package_TO_SOT_THT:TO-92_Inline | Q1, Q2, Q3, Q5, Q6, Q7, Q9, Q10, Q11 |
| 6 | 1000uF | Capacitor_THT:CP_Radial_D12.5mm_P5.00mm | C2, C3, C6, C7, C10, C11 |
| 6 | 1N4007 | Diode_THT:D_DO-41_SOD81_P10.16mm_Horizontal | D1, D2, D4, D5, D7, D8 |
| 4 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2, H3, H4 |
| 3 | 0.47uF | ec:CAPRR750W80L1750T580H1400 | C1, C5, C9 |
| 3 | 330 | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R7, R14, R21 |
| 3 | 470uF | Capacitor_THT:CP_Radial_D8.0mm_P3.50mm | C4, C8, C12 |
| 3 | Conn_01x02_Pin | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J2, J6, J8 |
| 3 | Conn_01x02_Socket | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J1, J5, J7 |
| 3 | IRLZ44N | Package_TO_SOT_THT:TO-220-3_Vertical | Q4, Q8, Q12 |
| 2 | LD271 | LED_THT:LED_D5.0mm_IRGrey | D6, D9 |
| 2 | Screw_Terminal_01x02 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J3, J4 |
| 1 | LD271 | LED_THT:LED_D5.0mm | D3 |
Similar boards
- 2 layers304.8 × 170.8 mm

- 2 layers94 × 79 mm

- 2 layers

Morpheus kicad
pscrespo/Morpheus-STM32
A small 3D printer controller board for use with a "blue pill" STM32F1 generic board. Inspired on http://reprap.org/wiki/SinapTec
66 parts80GPL-3.0 - 2 layers100 × 100 mm

- 2 layers157.5 × 97.8 mm

Esp32PrinterController
MitchBradley/Esp32PrinterController
PCB design for 3D printer controller using ESP32 processor
101 parts16MIT - 2 layers99.1 × 99.1 mm

- 2 layers64.8 × 109.2 mm

Dmx ledstrip dimmer-32ch
robinolejnik/dmx-ledstrip-dimmer-32ch
Arduino Mini and TLC5940 based 32 channel 12V PWM dimmer with DMX512 and RDM support.
105 parts14MIT - 2 layers101.6 × 53.3 mm

BatteryAnalyzer MkII
Moragor/BatteryAnalyzer_MkII
Updated Version of the battery analyzer, now with constant current
25 parts12MIT
Questions
How big is the Glockwork orange PCB?
It measures 66 × 90 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Glockwork orange use?
66 parts, built around the IRLZ44N. 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 Glockwork orange KiCad files?
From the newtontriumphant/glockwork-orange repository on GitHub, at the commit this page was made from: the board is PCB/glockwork-orange.kicad_pcb and its schematic PCB/glockwork-orange.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Glockwork orange design in my own project?
Its repository states no licence, so its author keeps all rights: ask newtontriumphant before reusing the design.