Skip to the content
2 layers50 × 50.5 mmPCB Design, the printed circuit board in 3D

A five-key electronic piano designed in KiCad for Rice University's ELEC 240. An LMC555 runs in astable mode, and each key selects a different timing resistance, setting the frequency of the square wave that drives a…

Size
50 × 50.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
14
Pads
60
Tracks, vias
101, 0
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
26 Oct 2026
Updated
29 Oct 2026

Overview

PCB Design is an open-source printed circuit board by ia31, from the ia31/mini-piano-pcb repository on GitHub. It is a 2-layer board of 50 × 50.5 mm with 22 parts on 14 nets, routed with 101 tracks and 0 vias.

Its parts include 8 resistors, 5 switches, 4 capacitors, 2 diodes and 1 IC.

README

README.md

Mini Piano: 555 Timer PCB

A five-key electronic piano designed in KiCad for Rice University's ELEC 240. An LMC555 runs in astable mode, and each key selects a different timing resistance, setting the frequency of the square wave that drives a piezo buzzer.

3D render

View the schematic (PDF)

Front copper (PDF) · Back copper (PDF) · Board outline (PDF)

Instead of giving each key its own resistor, R2 through R6 form a single series ladder, and each key taps a different point on it. Each note's R_B is the running sum of the resistors above its tap:

NoteKeyR_BTheoretical fTarget
A5SW15.6k907 Hz880 Hz
G5SW26.6k806 Hz784 Hz
E5SW38.4k671 Hz659 Hz
D5SW49.6k604 Hz587 Hz
C5SW511.1k536 Hz523 Hz

With f = 1 / (ln2 * (R_A + 2R_B) * C), R_A = 4.7k, and C = 100 nF.

What this buys:

  • Five standard resistor values make five notes. No odd values or trimmers.
  • High-note priority for free. If two keys are pressed, the tap closest to the 555 shorts out the ladder below it, so the higher note wins, like a monophonic synth.
  • A pentatonic scale. C, D, E, G, A is the C major pentatonic, so there is no wrong note.

Other details

  • 1N5817 Schottky diode for reverse-polarity protection, with lower drop than a standard silicon diode
  • 10 uF bulk and 100 nF decoupling capacitors, plus 10 nF on the 555 control pin
  • Power LED, screw terminal input, and a 1k series resistor on the buzzer
  • Two-layer board with ground pours on both layers and zero vias. Through-hole pads handle every layer change.
  • Keys and ladder resistors are laid out in pitch order, like a keyboard.

Tuning notes and next revision

Every note comes out 30 to 53 cents sharp in theory. Because the error is roughly uniform, the whole scale can be pulled down together with one part change: adding about 2.2 nF in parallel with C1 lowers every note by roughly the same amount.

Status

The design is complete. I'm soldering and testing the board this semester, and I'll add photos and measured frequencies once it's built.

Parts

22
QtyValueFootprintReferences
31kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3, R7, R8
11.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5
11.5kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR6
11.8kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4
110 nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC3
1100 nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC1
1100nFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P2.50mmC2
110uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC4
11N5817Diode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD3
14.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
15.6kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2
1A5Button_Switch_THT:SW_PUSH_6mmSW1
1C5Button_Switch_THT:SW_PUSH_6mmSW5
1D5Button_Switch_THT:SW_PUSH_6mmSW4
1E5Button_Switch_THT:SW_PUSH_6mmSW3
1G5Button_Switch_THT:SW_PUSH_6mmSW2
1LEDLED_THT:LED_D5.0mmD2
1LMC555xNPackage_DIP:DIP-8_W7.62mmU1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1
1piezoBuzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mmBZ1

Similar boards

  • 2 layers158 × 11 mmDaylight Matchstick, the printed circuit board in 3D

    Daylight Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    22 parts1.1kGPL-3.0
  • 2 layers57 × 65 mmRgb to hdmi, the printed circuit board in 3D

    Rgb to hdmi

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    22 parts1kGPL-3.0
  • 2 layers81 × 57.2 mmRP2040-Macropad, the printed circuit board in 3D

    RP2040-Macropad

    hackclub/OnBoard

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

    22 parts915
  • 2 layers54.6 × 70.9 mmBeagleLogic Cape, the printed circuit board in 3D

    BeagleLogic Cape

    abhishek-kakkar/BeagleLogic

    A Software Suite that implements a logic analyzer with the PRU on the BeagleBone / BeagleBone Black.

    22 parts479GPL-3.0
  • 2 layers66.4 × 24.5 mmConnecting piece, the printed circuit board in 3D

    Connecting piece

    Chrismettal/flipper-zero-backpacks

    Backpack-style addon boards for the Flipper Zero!

    22 parts456
  • 2 layers51 × 70 mmDMG A04-01, the printed circuit board in 3D

    DMG A04-01

    HDR/NintendoPCBs

    Replacement pcb's for Nintendo games.

    22 parts321
  • 2 layers27.8 × 16 mmSpi 1v8 level shifter, the printed circuit board in 3D

    Spi 1v8 level shifter

    CRImier/MyKiCad

    My KiCad boards. Can't be bothered uploading individually anymore, so here you go.

    22 parts253GPL-3.0

Questions

How big is the PCB Design PCB?

It measures 50 × 50.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the PCB Design use?

22 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 PCB Design KiCad files?

From the ia31/mini-piano-pcb repository on GitHub, at the commit this page was made from: the board is PCB Design.kicad_pcb and its schematic PCB Design.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB Design design in my own project?

Its repository states no licence, so its author keeps all rights: ask ia31 before reusing the design.