Skip to the content
PCBKitNew board
2 layers120 × 80 mmRetro Stylophone, the printed circuit board in 3D

a Retro Stylophone

Size
120 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
40
Pads
63
Tracks, vias
153, 20
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
25 Oct 2026
Updated
26 Oct 2026

Overview

Retro Stylophone is an open-source printed circuit board by rorotaggf-ctrl, from the rorotaggf-ctrl/Retro_Stylophone repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 120 × 80 mm with 18 parts on 40 nets, routed with 153 tracks and 20 vias.

Its parts include 2 connectors and 1 switch. It belongs with the retro computing and games boards of this library.

README

README.md

Retro Stylophone

A retro-style pocket synthesizer built with an ESP32 for Hack Club Half-Life (Week 3: Design Your Instrument).

The instrument utilizes the ESP32's built-in capacitive touch peripheral to create a 13-pad chromatic keyboard directly out of exposed PCB copper pads, completely eliminating mechanical button wear and complex key soldering.


Features

  • Microcontroller: ESP32 NodeMCU (USB-C, dual-core 240 MHz, 320 KB SRAM)
  • Keyboard: 13 capacitive touch PCB pads (Full chromatic octave: C4 to C5 including sharps/flats)
  • Sound Generation: 5V Passive Piezo Buzzer driven via hardware PWM / DAC output
  • Modulation & Pitch-Bend: 10K linear potentiometer for dynamic pitch modulation and glide effects
  • Octave / Mode Select: SPDT mini slide switch for octave shifting and sound mode toggling
  • Form Factor: Compact 2-layer PCB designed in KiCad with integrated GND planes

Pinout Configuration

Everything is mounted using through-hole female pin headers so the ESP32 can be swapped or serviced at any time.

ComponentPin FunctionESP32 Pin HeaderPin / GPIONotes
Touch KeyboardC4 (Root)J2 Pin 13GPIO 4Capacitive Touch 0
C#4J2 Pin 14GPIO 0Capacitive Touch 1
D4J2 Pin 16GPIO 15Capacitive Touch 3
D#4J2 Pin 15GPIO 2Capacitive Touch 2
E4J1 Pin 15GPIO 13Capacitive Touch 4
F4J1 Pin 13GPIO 12Capacitive Touch 5
F#4J1 Pin 3GPIO 36High-impedance ADC antenna pad
G4J1 Pin 12GPIO 14Capacitive Touch 6
G#4J1 Pin 4GPIO 39High-impedance ADC antenna pad
A4J1 Pin 11GPIO 27Capacitive Touch 7
A#4J1 Pin 6GPIO 35High-impedance ADC antenna pad
B4 (H4)J1 Pin 8GPIO 33Capacitive Touch 8
C5 (High C)J1 Pin 7GPIO 32Capacitive Touch 9
Audio OutputBuzzer (+)J1 Pin 9GPIO 25Hardware PWM Audio Output
Buzzer (-)J1 Pin 14GNDCommon Ground
Pitch ControlPoti WiperJ1 Pin 5GPIO 34ADC1 Analog Input (0 - 3.3V)
Poti Pin 1 / 3J1 Pin 1 / 143V3 / GNDPotentiometer Reference Rails
Octave SwitchSW1 CenterJ2 Pin 8GPIO 19Active LOW (Internal Pull-Up)
SW1 Pin 3J1 Pin 14GNDGround Reference Rail

Bill of Materials (BoM)

Grant Funded Components (Tier 1 Limit: $30.00)

[!NOTE] This parts list covers multipack items funded via Hack Club Half-Life. For the raw CSV file, see BOM.csv.

PartWhat it's forQtyPrice (USD)Price (EUR)VendorPurchase Link
ESP32 NodeMCU USB-C (2-Pack)Synthesizer sound engine & touch controller1$15.6613,98 €AmazonAmazon Link
10K Linear Potentiometer WH148 (10-Pack)Pitch-bend and waveform modulation1$7.046,29 €AmazonAmazon Link
SPDT Mini Slide Switch (40-Pack)Power and octave mode switch1$5.594,99 €AmazonAmazon Link
Total$28.2925,26 €

Remaining Tier 1 Budget: $1.71

Additional Self-Funded Components

[!IMPORTANT] The following components are funded personally or sourced from existing workshop inventory to complete the build without exceeding the grant limit.

PartWhat it's forQtyPrice (USD)Price (EUR)VendorPurchase Link
Custom 2-Layer PCB (5 copies)Main stylophone PCB with capacitive touch pads1$8.107,23 €JLCPCBJLCPCB Quote
PCB Shipping (Standard Line)Tracked delivery to Germany1$9.558,53 €JLCPCBJLCPCB Quote
Passive Piezo Buzzer 5V (20-Pack)Acoustic square-wave chiptune audio output1$8.837,88 €AmazonAmazon Link
100nF Ceramic CapacitorsDecoupling & noise filtering2$0.000,00 €InventoryExisting parts
Female Pin Headers 2.54mmRemovable socket for ESP322$0.000,00 €InventoryExisting parts
Total Self-Funded$26.4823,64 €

Software & Firmware

Developed in VS Code with PlatformIO and the Arduino framework.

  • Hardware bench test (validating touch threshold tolerances, pot readings, and buzzer PWM)
  • Capacitive Touch Core: Zero-bounce touch scanning for native touch pins (T0-T9) with adaptive baseline calibration
  • ADC Touch Matrix: High-impedance antenna detection for remaining accidentals
  • Pitch-Bend & Glide: Continuous frequency bend calculation via 10K potentiometer ADC readings
  • Octave Engine: Real-time transposition (+12 semitones) via hardware slide switch
  • Chiptune Audio Driver: Square-wave audio generation with low latency and distinct synth tone modes

Hardware Previews & Design

Initial Concept Sketch

Original top-down sketch outlining component placement, the 13-pad keyboard layout, potentiometer modulation, and buzzer position.

Concept Sketch

KiCad Schematic

Full schematic featuring the 38-pin ESP32 socket headers, passive piezo buzzer, modulation potentiometer, slide switch, and 13 touch pad nets.

KiCad Schematic

PCB Layout

Completed 2-layer routing in KiCad with top and bottom ground copper pours and 0 DRC errors.

PCB Layout

3D Render

Interactive 3D model view from KiCad showing the through-hole component headers, control pot, and exposed keyboard pads.

PCB 3D View

Other

platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_16_53 platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_17_29 platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_17_25 platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_17_15 platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_17_11 platformio ini - Retro_Stylophone - Visual Studio Code  Administrator  26 10 2026 00_17_07

Parts

18
QtyValueFootprintReferences
13TestPointTestPoint:TestPoint_Pad_D4.0mmA#4, A4, C#4, C4, C5, D#4, D4, E4, F#4, F4, G#4, G4, H4
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1J_ESP_LINKSConnector_PinSocket_2.54mm:PinSocket_1x19_P2.54mm_VerticalJ1
1J_ESP_RECHTSConnector_PinSocket_2.54mm:PinSocket_1x19_P2.54mm_VerticalJ2
1R_PotentiometerPotentiometer_THT:Potentiometer_Alps_RK09L_Single_VerticalRV1
1SW_SPDTButton_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1QSW1

Questions

How big is the Retro Stylophone PCB?

It measures 120 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Retro Stylophone use?

18 parts. 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 Retro Stylophone KiCad files?

From the rorotaggf-ctrl/Retro_Stylophone repository on GitHub, at the commit this page was made from: the board is Retro_Stylophone_KiCAD/Retro_Stylophone.kicad_pcb and its schematic Retro_Stylophone_KiCAD/Retro_Stylophone.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Retro Stylophone 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).

Similar boards

  • 2 layers27.9 × 16.5 mmPowerSSO-24 breakout, the printed circuit board in 3D

    PowerSSO-24 breakout

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    18 parts1.2k
  • 2 layers42.7 × 13.7 mmStm32-mini12864, the printed circuit board in 3D

    Stm32-mini12864

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    18 parts1.1kGPL-3.0
  • 2 layers41.2 × 46.6 mmThumb cluster left, the printed circuit board in 3D

    Thumb cluster left

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    18 parts993
  • 2 layers44 × 51.3 mm4272MAVcoder R4, the printed circuit board in 3D

    4272MAVcoder R4

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    18 parts915
  • 2 layers28.3 × 14.3 mmTap Photosensor PCB, the printed circuit board in 3D

    Tap Photosensor PCB

    VoronDesign/Voron-Tap

    Tap is a nozzle-based z-probe for the V2 and Trident printer designs. The entire toolhead moves to trigger an optical switch. Tap offers many advantages:

    18 parts716GPL-3.0
  • 2 layers20.3 × 15.2 mmL0 stepper driver, the printed circuit board in 3D

    L0 stepper driver

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    18 parts546MIT
  • 2 layersMooltipass, the printed circuit board in 3D

    Mooltipass

    limpkin/mooltipass

    Github repository dedicated to the mooltipass project

    18 parts531
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY V2, the printed circuit board in 3D

    C5VRX JACK DIY V2

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    18 parts515GPL-3.0