Skip to the content
2 layers50 × 45 mmTaikoDrum, the printed circuit board in 3D

Osu compatible taiko drum powered with STM32 microcontroller.

Size
50 × 45 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
46
Pads
135
Tracks, vias
154, 2
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Apr 2025
Updated
7 Oct 2025

Overview

TaikoDrum is an open-source printed circuit board by not-forest, from the not-forest/osu-taiko-drum repository on GitHub. It is a 2-layer board of 50 × 45 mm with 34 parts on 46 nets, routed with 154 tracks and 2 vias.

It is built around the LM358. Its parts include 12 resistors, 9 capacitors, 3 ICs, 2 connectors and 1 diode. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

🥁 Osu! Taiko Drum Controller

A cross-platform, DIY Taiko drum controller designed for playing osu!taiko on PC. This controller functions as a fully configurable keypad that detects vibration-based hits and maps them to keypress events, serving as a general-purpose input device.

The project includes:

  • Hardware schematics and PCB layout
  • Firmware written in Rust using RTIC framework
  • GUI interface for configuring the drum from the host side (TODO!)
  • Jupyter notebook for simulating piezoelectric sensor signals and modeling post-processing, which is then rewritten within the firmware in no_std environment
  • A command-line utility for configuring the drum from the host side.
  • 3D-printable components for building the physical enclosure

Taiko Drum Controller Icon

Visual Overview

  • Assembled Physical Drum Controller
    Assembled Physical Representation

  • Electronic Schematic
    Schematic

  • PCB Layout
    PCB Layout


Project Overview


Firmware

The firmware is written in Rust using the RTIC framework, simulating a general-purpose HID device to ensure compatibility across all major operating systems. It simultaneously exposes a serial interface for configuration and control via utility software.

Each of the four piezoelectric sensors is sampled independently using dedicated ADC channels. The firmware captures both "Don" and "Kat" hits in pairs with minimal latency. Captured samples are fed into a queue and processed by a parser task that performs post-processing to detect real and spurious hits. Inner constants like sensitivity and sharpness are configurable from the utility software. Valid hits are mapped into keypresses and transmitted as USB HID reports.

All configuration data is stored in the last page of the flash memory and can be updated at runtime using the configuration utility.


Hardware

The custom PCB is designed in KiCad and features core components typically found on “Blue Pill” development boards, including SWD debug headers and an onboard reset button. The controller is powered directly via USB, which also serves as the communication link for HID reports to the host system.


Configuration Utility (TODO! swap to GUI utility)

A lightweight command-line utility written in Tcl is provided for runtime configuration. It allows to:

  • Remap keypresses for each sensor. Can be changed to any proper keyboard key.
  • Adjust hit detection sensitivity and sharpness to fine tune inner hit detection algorithm
  • Send control commands, such as firmware reboot.
  • Firmware update support (TODO!)

3D Printed Parts

All necessary 3D-printable components are located in the 3d/ directory. This includes:

  • Raw Blender model files
  • Cura-ready imported .3mf files

Parts

34
QtyValueFootprintReferences
51MResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR5, R6, R7, R8, R9
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
3100nfCapacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mmC3, C4, C5
2100KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR10, R11
210µfCapacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mmC6, C9
220pfCapacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mmC7, C8
220ΩResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR1, R2
10,47µfCapacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mmC1
110KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR4
11KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR12
133µfCapacitor_THT:C_Radial_D5.0mm_H5.0mm_P2.00mmC2
14,7KResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P2.54mm_VerticalR3
18MhzCrystal:Crystal_HC52-U_VerticalY1
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalSWD1
1Conn_02x04_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ2
1LM358Package_DIP:DIP-8_W7.62mmU3
1LM3940IMPX-3.3_NOPBLM3940IMPX-3.3_NOPB:SOT230P700X180-4NU4
1PWRLED_THT:LED_D3.0mmD1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SW_SPSTFSM8JH:SW_FSM8JHRESET1
1USB_B_MicroLibrary:MICRO-USB-SMD_5P-P0.65-H-F_C10418J1

Similar boards

  • 2 layers132.1 × 45.7 mmIPoS, the printed circuit board in 3D

    IPoS

    peterheinrich/InternetOverSpaghetti

    Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

    42 parts342
  • 2 layers68.8 × 53.6 mmZArduino, the printed circuit board in 3D

    ZArduino

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    46 parts269
  • 2 layers152 × 88 mmRFBitBangSMT, the printed circuit board in 3D

    RFBitBangSMT

    profdc9/RFBitBanger

    A QRP digital transceiver created from readily available parts for off-the-grid maintenance

    271 parts222
  • 2 layers118 × 103.5 mmEV Charger2, the printed circuit board in 3D

    EV Charger2

    fotherja/EV_Charger

    Arduino Uno Code for EV Charger

    62 parts167MIT
  • 2 layers113 × 62.2 mmFullScope, the printed circuit board in 3D

    FullScope

    tvlad1234/pillScopePlus

    Oscilloscope based around the STM32F401 Black Pill and a color LCD screen

    15 parts165Apache-2.0
  • 2 layers75.2 × 61.1 mmHelios, the printed circuit board in 3D

    Helios

    Grix/helios_dac

    Helios Laser DAC

    102 parts132
  • 2 layers144.1 × 182.2 mmSHVC CPU-01, the printed circuit board in 3D

    SHVC CPU-01

    starlightk7/OpenSFC

    OSHW Reproduction Parts related to the Super Famicom / Super Nintendo game console

    498 parts114CERN-OHL-S-2.0
  • 2 layers100 × 85 mmVNA, the printed circuit board in 3D

    VNA

    profdc9/VNA

    Vector Network Analyzer based on the STM32F103C8T6 bluepill

    178 parts93

Questions

How big is the TaikoDrum PCB?

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

What parts does the TaikoDrum use?

34 parts, built around the LM358. 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 TaikoDrum KiCad files?

From the not-forest/osu-taiko-drum repository on GitHub, at the commit this page was made from: the board is pcb/TaikoDrum.kicad_pcb and its schematic pcb/TaikoDrum.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the TaikoDrum design in my own project?

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