Skip to the content
2 layers32 × 24 mmChirpkey-8, the printed circuit board in 3D

ChirpKey-8: ATtiny412-SSNR 8-pin acoustic FSK & capacitive touch 2-layer KiCad 8 hardware token

Size
32 × 24 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
12
Pads
28
Tracks, vias
338, 10
Routed
Yes
KiCad
KiCad 1.0 (file 20240108)
Created
5 Nov 2026
Updated
5 Nov 2026

Overview

Chirpkey-8 is an open-source printed circuit board by draarivpatel-ui, from the draarivpatel-ui/chirpkey-8 repository on GitHub. It is a 2-layer board of 32 × 24 mm with 11 parts on 12 nets, routed with 338 tracks and 10 vias.

Its parts include 4 resistors, 1 capacitor, 1 IC, 1 diode and 1 connector. It belongs with the AVR (ATmega, ATtiny) boards of this library.

README

README.md

ChirpKey-8: 8-Pin ATtiny412 Acoustic FSK & Capacitive Touch Hardware Token

ChirpKey-8 is a compact 32 × 24 mm two-layer custom PCB and 36 × 28 × 7.6 mm snap-fit pocket enclosure built around the 8-pin Microchip ATtiny412-SSNR (SOIC-8). It combines a PCB-etched capacitive touch pad (PA6), a tactile mode switch (PA3), differential push-pull piezo acoustic chirp drive (PA1 / PA2), status LED feedback (PA7), and single-wire UPDI programming (PA0) on a single 3.3V coin-cell or header-powered board.


Why I Designed ChirpKey-8

Most microcontroller boards lean on high-pin-count USB MCUs even when the task only needs a compact physical trigger and a short, audible/ultrasonic data frame that any laptop or phone microphone can decode without drivers or Bluetooth pairing. By constraining the entire design to the 8-pin ATtiny412-SSNR (SOIC-8), every single pin has a dedicated hardware role (VDD, GND, PA0/UPDI, PA1/PIEZO_P, PA2/PIEZO_N, PA3/MODE_BTN, PA6/TOUCH, and PA7/LED), driving the 12 mm external passive piezo transducer differentially at 6.6 Vpp from a 3.3 V rail while keeping the total parts + 3-board OSH Park PCB cost under $18.


Project Screenshots & Visual Overview

1. Two-Layer Routed PCB (32 × 24 mm, F.Cu + B.Cu)

ChirpKey-8 Two-Layer Routed PCB Layout

2. KiCad 8 Schematic (chirpkey8.kicad_sch)

ChirpKey-8 KiCad 8 Schematic

3. Independent KiCanvas Render of Repo Sources

ChirpKey-8 KiCanvas Verification

4. Interactive Pin Budget & Net Inspector

ChirpKey-8 Pin Budget and Component Inspector

5. Bill of Materials & Budget Breakdown

ChirpKey-8 Bill of Materials and Cost Breakdown


How to Assemble & Flash

Step-by-Step Assembly Guide

  1. Inspect bare PCBs: Check the 32 × 24 mm 2-layer board (chirpkey8.kicad_pcb) for clean SOIC-8 pads (U1) and the exposed copper touch electrode (TP1).
  2. Solder SMD passives & MCU (F.Cu): Reflow or hand-solder U1 (ATtiny412-SSNR, aligning Pin 1 dot to the top-left silkscreen marker), decoupling capacitor C1 (100 nF 0603), series resistors R1 (330 Ω), R2 (1 MΩ touch bleed), R3 (10 kΩ pull-up), R4 (220 Ω piezo current limiter), and status LED D1 (0603).
  3. Solder through-hole / tactile parts: Solder tactile pushbutton SW1 (PTS645SM43SMTR92LFS), external passive piezo transducer BZ1 (PKM13EPYH4000-A0), and the 3-pin 2.54 mm UPDI + 3V3 + GND header J1.
  4. Mount in 3D-printed enclosure: Snap the populated 32 × 24 mm PCB onto the four corner standoffs inside cad/chirpkey8_enclosure.stl (36 × 28 × 7.6 mm shell with UPDI header access window).

How to Flash Firmware (firmware/chirpkey8.ino)

  1. Install megaTinyCore in Arduino IDE (https://github.com/SpenceKonde/megaTinyCore) and select ATtiny412 / 402 at 20 MHz internal oscillator.
  2. Connect a 3.3V SerialUPDI programmer (CH340 / FT232R + 4.7 kΩ resistor between TX and RX) to header J1 (Pin 1 = UPDI / PA0, Pin 2 = 3V3, Pin 3 = GND).
  3. Flash firmware/chirpkey8.ino. Pressing SW1 or touching TP1 emits an 8-symbol MFSK acoustic chirp frame with CRC-4 checksum across PA1/PA2.

Bill of Materials (bom.csv)

RefPart / ValuePackageQtyMPNSupplierUnit (USD)Ext (USD)
U1ATtiny412-SSNR 8-pin AVR MCUSOIC-81ATTINY412-SSNRDigiKey / Microchip$0.68$0.68
BZ1External Passive Piezo Transducer 4 kHz12mm THT1PKM13EPYH4000-A0DigiKey / Murata$1.12$1.12
SW1Tactile Switch 6x6mmSMD 4-Pad1PTS645SM43SMTR92LFSDigiKey / C&K$0.28$0.28
D1Green Status LED 060306031LTST-C190KGKTDigiKey / Lite-On$0.18$0.18
C1100nF X7R Decoupling Capacitor06031CL10B104KB8NNNCDigiKey / Samsung$0.10$0.10
R1330 Ohm 1% LED Resistor06031RC0603FR-07330RLDigiKey / YAGEO$0.10$0.10
R21 MOhm 1% Touch Discharge Resistor06031RC0603FR-071MLDigiKey / YAGEO$0.10$0.10
R310 kOhm 1% Button Pull-Up Resistor06031RC0603FR-0710KLDigiKey / YAGEO$0.10$0.10
R4220 Ohm 1% Piezo Current Limiter06031RC0603FR-07220RLDigiKey / YAGEO$0.10$0.10
J11x03 2.54mm UPDI + Power HeaderTHT 1x031PREC003SAAN-RCDigiKey / Sullins$0.28$0.28
BT1CR2032 Coin Cell HolderSMD/THT1BH-800DigiKey / MPD$0.95$0.95
B1CR2032 3V Lithium Coin Cell20mm1CR2032DigiKey / Panasonic$1.50$1.50
PCB132x24mm 2-Layer Purple PCB (3-pack)32x24mm1OSHPARK-2L-1.19SQINOSH Park$5.95$5.95
  • Parts + 3-Board PCB Subtotal: $11.44
  • Estimated Shipping + Tax Allowance: $5.96 ($17.40 estimated grand total)

Pre-Fabrication Verification Gate

  • Before ordering boards, run KiCad 8 native ERC/DRC on chirpkey8.kicad_pro, confirm ATtiny412-SSNR (SOIC-8) and PKM13EPYH4000-A0 footprints against current datasheets, and test firmware on a current-limited 3.3V bench supply.

Parts

11
QtyValueFootprintReferences
110 kOhm / LEDChirpKey8:R_0805R1
110 kOhm / touchChirpKey8:R_0805R2
1100 nF / 50 VChirpKey8:C_0805C1
1220 Ohm / piezo AChirpKey8:R_0805R3
1220 Ohm / piezo BChirpKey8:R_0805R4
13V3 / GND / UPDIChirpKey8:PinHeader_1x03_P2.54mmJ1
1ATtiny412-SSNRChirpKey8:SOIC-8_3.9x4.9mm_P1.27mmU1
1CMT-1203-SMT-TR (piezo)ChirpKey8:CMT-1203-SMT-TRBZ1
1Covered copper touch electrodeChirpKey8:Touch_D8.4mmTP1
1Red LEDChirpKey8:LED_0805D1
1Transmit buttonChirpKey8:SW_SPST_B3U-1000PSW1

Similar boards

  • 2 layers60 × 30 mmController, the printed circuit board in 3D

    Controller

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    11 parts3kApache-2.0
  • 2 layers103 × 30.5 mmTS Front Endcap, the printed circuit board in 3D

    TS Front Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    11 parts1.3kMIT
  • 2 layers26 × 30 mmExpansion Card, the printed circuit board in 3D

    Expansion Card

    FrameworkComputer/ExpansionCards

    Reference designs and documentation to create Expansion Cards for the Framework Laptop

    11 parts1.1kCC-BY-4.0
  • 2 layers53.9 × 23.2 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

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

    11 parts1kGPL-3.0
  • 2 layers10 × 20 mm2 connector Sensor Board, the printed circuit board in 3D

    2 connector Sensor Board

    hackclub/OnBoard

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

    11 parts915
  • 2 layersFet module, the printed circuit board in 3D

    Fet module

    ByteWelder/Decktility

    A handheld PC

    11 parts855CC-BY-SA-4.0
  • 2 layers47 × 33 mmSevensegment led display module, the printed circuit board in 3D

    Sevensegment led display module

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    11 parts803MIT
  • 2 layers42.5 × 36.8 mmDevboard, the printed circuit board in 3D

    Devboard

    basilfx/TRADFRI-Hacking

    Hacking IKEA TRÅDFRI products, such as light bulbs, window blinds and other accessories.

    11 parts743CC-BY-4.0

Questions

How big is the Chirpkey-8 PCB?

It measures 32 × 24 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Chirpkey-8 use?

11 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 Chirpkey-8 KiCad files?

From the draarivpatel-ui/chirpkey-8 repository on GitHub, at the commit this page was made from: the board is chirpkey8.kicad_pcb and its schematic chirpkey8.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Chirpkey-8 design in my own project?

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