Skip to the content
2 layers52 × 70 mmTaptempo smd, the printed circuit board in 3D

Tap-tempo box: MIDI clock + switched tempo outputs, ATmega328P, perfboard and JLCPCB SMD versions, 3D-printed enclosure

Size
52 × 70 mm
Copper layers
2
Thickness
1.6 mm
Parts
45
Nets
57
Pads
175
Tracks, vias
399, 153
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
27 Oct 2026
Updated
27 Oct 2026

Overview

Taptempo smd is an open-source printed circuit board by Valleeh, from the Valleeh/taptempo-box repository on GitHub, published under the MIT licence. It is a 2-layer board of 52 × 70 mm with 45 parts on 57 nets, routed with 399 tracks and 153 vias.

It is built around the ATMEGA328P-AU, CH340C and PC817C, with the AMS1117-5.0 and SS14 among its other parts. Its parts include 14 capacitors, 9 resistors, 8 connectors, 5 ICs and 4 diodes. It belongs with the lEDs and displays and audio and music boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

5

README

README.md

Tap-Tempo Box

A small foot/desk box that turns a tapped tempo into MIDI clock and two switched tempo outputs (3.5 mm TRS, opto-isolated), with an OLED display and a rotary encoder for fine adjustment. Built around an ATmega328P (Arduino Nano pinout).

Enclosure, open

Two hardware versions

FolderWhat it isStatus
nano-perfboard/Arduino Nano + optocouplers on a 5 × 7 cm perfboard, hand-soldered. Beginner-friendly build guide.Designed, layout checked
smd-pcb/Custom 2-layer PCB (52 × 70 mm) assembled by JLCPCB: ATmega328P-AU, CH340C, USB-C, regulator on board. Same pin mapping, so the same firmware runs.Designed, ERC/DRC clean, not built yet

Both share the same 3D-printed enclosure (60 × 110 × 36 mm, CadQuery), adapted per version.

Pin mapping (both versions)

FunctionArduino pin
TAP button (to GND, internal pull-up)D5
Start/Stop (encoder push button)D4
Encoder A / BD3 / D2
Switched output 1 → TRS tip (PC817, 220 Ω)D10
Switched output 2 → TRS ring (PC817, 220 Ω)D9
MIDI OUT (DIN pin 5 via 220 Ω)D1 / TX
OLED SDA / SCL (SSD1306, I²C)A4 / A5
Power9 V barrel (center negative) → Schottky → VIN

Repository layout

text
firmware/          Arduino sketches (currently a hardware test sketch, needs U8g2)
nano-perfboard/
  kicad/           KiCad 10 schematic + PDF
  perfboard/       perfboard layout as code (perfboard.py), drawings, build guide generator
  mech/            CadQuery enclosure, renders, collision check, STL/STEP output, 3D viewer
  share/           standalone offline HTML: build guide and 3D viewer
smd-pcb/
  kicad/           generated KiCad project (schematic, routed PCB, ERC/DRC reports)
  fab/             JLCPCB files: Gerber zip, BOM, CPL
  mech/            enclosure adapted to the SMD board
  tools/           scripts that generate the whole KiCad project and fab files

Quick links

  • 3D printing: nano-perfboard/mech/out/{tray,lid}.stl or smd-pcb/mech/out/{tray,lid}.stl (print the lid top side down)
  • Build guide (perfboard, German): open nano-perfboard/share/taptempo-bauanleitung.html in a browser
  • 3D viewer (offline): nano-perfboard/share/taptempo-3d.html
  • Ordering the SMD board: upload the three files in smd-pcb/fab/ to JLCPCB, details in smd-pcb/README.md

Rebuilding

Enclosure (needs CadQuery):

sh
cd nano-perfboard/mech
python -m venv .venv && .venv/bin/pip install cadquery matplotlib
.venv/bin/python enclosure.py      # -> out/*.stl, *.step, *.glb
.venv/bin/python render.py         # -> out/view_*.png

Perfboard drawings and guide (plain Python 3):

sh
cd nano-perfboard/perfboard
python3 drawings.py && python3 build_guide.py
cd ../share && python3 build_standalone.py

SMD board (needs KiCad 10 with its pcbnew Python module and kicad-cli):

sh
smd-pcb/tools/build.sh

Language

The detailed build documentation is in German.

License

MIT, see LICENSE.

Parts

45
QtyValueFootprintReferences
9100nFCapacitor_SMD:C_0603_1608MetricC12, C13, C14, C15, C20, C21, C22, C30, C31
4220Resistor_SMD:R_0603_1608MetricR20, R21, R30, R31
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
210uFCapacitor_SMD:C_0805_2012MetricC1, C16
212pFCapacitor_SMD:C_0603_1608MetricC10, C11
21kResistor_SMD:R_0603_1608MetricR3, R11
25.1kResistor_SMD:R_0603_1608MetricR1, R2
2PC817CPackage_DIP:SMDIP-4_W9.53mmU4, U5
2SS14Diode_SMD:D_SMAD1, D2
110kResistor_SMD:R_0603_1608MetricR10
116MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
122uFCapacitor_SMD:C_0805_2012MetricC2
13.5mm TRS (SJ1-3523N)Connector_Audio:Jack_3.5mm_CUI_SJ1-3523N_HorizontalJ3
19V DC (PJ-102AH), Minus innenConnector_BarrelJack:BarrelJack_CUI_PJ-102AH_HorizontalJ2
1AMS1117-5.0Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1ATmega328P-AUPackage_QFP:TQFP-32_7x7mm_P0.8mmU1
1CH340CPackage_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1Drehgeber (A GND B SW GND)Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ5
1ISP (Bootloader)Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ8
1LED_G (PWR)LED_SMD:LED_0805_2012MetricD3
1LED_R (L, D13)LED_SMD:LED_0603_1608MetricD10
1MIDI DIN (4, 2=GND, 5)Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ7
1OLED (5V SDA SCL GND)Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1TAP (TAP GND)Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ6
1USB-C (TYPE-C-31-M-12)Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1

Similar boards

  • 2 layers99 × 90 mmHomeyPCB, the printed circuit board in 3D

    HomeyPCB

    jadam3k/Homey

    Home Asistance/Industrial PLC

    99 parts
  • 2 layers93.4 × 57.9 mmESP32 RST Monitoring, the printed circuit board in 3D

    ESP32 RST Monitoring

    CasuariusSYC/3-Phase-Electricity-Monitoring

    This project is a module to monitor the status of a 3-phase electricity supply and record any power outages. The data can be accessed wirelessly. Currently, the features are limited to detecting the power state only.

    32 parts
  • 2 layers98.4 × 99.5 mmArduino usb c, the printed circuit board in 3D

    Arduino usb c

    wszeto9/2_679_PCB

    PCB Project for 2.679 which is then used in my 2.007 Competition Robot

    161 parts1
  • 4 layers62 × 60.8 mmPcbcax, the printed circuit board in 3D

    Pcbcax

    7bwiiza/Robot-creation

    Uni project of a 3D model of a 5dof robot using Solidedge and motor control using KiCAD and MATLAB

    58 parts
  • 2 layers98.8 × 55.1 mmH bridge controller, the printed circuit board in 3D

    H bridge controller

    jayanta525/dual-h-bridge

    Dual H-Bridge Controller with IRF3205 and IR2104 MOSFET Driver, and with ATMega328P-AU PWM Controller

    104 parts5MIT
  • 4 layers160 × 100 mmSmu main, the printed circuit board in 3D

    Smu main

    PaulBichl/vibepcb-smu

    VibePCB example: 4-quadrant SMU (+-30 V / +-1 A, USB-C PD, Ethernet) designed with an LLM

    244 parts1
  • 2 layers40 × 20 mmB PC817C 2CH BRK R1.0, the printed circuit board in 3D

    B PC817C 2CH BRK R1.0

    Boardoza/Boardoza_PC817C_2CH_Isolated_Level_Shifter_Breakout_Board

    Dual-channel optically isolated level shifter board using Sharp PC817C for safe voltage conversion between 3.3V–12V systems.

    19 partsCC-BY-SA-4.0
  • 2 layers46.3 × 67.5 mmBLERelayShield, the printed circuit board in 3D

    BLERelayShield

    Dinamiet/BLERelayPCB

    Shield between Particle relay board and Particle Xenon

    26 parts

Questions

How big is the Taptempo smd PCB?

It measures 52 × 70 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Taptempo smd use?

45 parts, built around the ATMEGA328P-AU, CH340C, PC817C and AMS1117-5.0. 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 Taptempo smd KiCad files?

From the Valleeh/taptempo-box repository on GitHub, at the commit this page was made from: the board is smd-pcb/kicad/taptempo-smd.kicad_pcb and its schematic nano-perfboard/kicad/taptempo.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Taptempo smd design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).