Skip to the content
2 layers25.4 × 25.4 mmZeroStack MiniBadge, the printed circuit board in 3D

Custom SAINTCON-compatible MiniBadge featuring an ATtiny402, dual breathing LEDs, a two-color 3D-printed topper, and a custom UPDI programming jig.

Size
25.4 × 25.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
24
Pads
38
Tracks, vias
35, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
29 Sep 2026
Updated
19 Oct 2026

Overview

ZeroStack MiniBadge is an open-source printed circuit board by ZeroStack-Labs, from the ZeroStack-Labs/saintcon-2026-minibadge repository on GitHub, published under the MIT licence. It is a 2-layer board of 25.4 × 25.4 mm with 11 parts on 24 nets, routed with 35 tracks and 0 vias.

It is built around the ATTINY402-SSN. Its parts include 2 resistors, 2 diodes, 1 capacitor and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

ZeroStack Labs SAINTCON 2026 MiniBadge

A custom SAINTCON-compatible MiniBadge designed as a ZeroStack Labs hardware/firmware learning project.

This project combines PCB design, embedded firmware, 3D printing, mechanical design, and custom fabrication into a small badge intended for use with the SAINTCON MiniBadge ecosystem.

The finished design features an ATtiny402 microcontroller, two green LEDs, a custom two-color 3D-printed topper, and a dedicated UPDI programming/test jig.

Project status: Prototype / active development
The PCB has been ordered and the 3D-printed topper design has reached a successful production prototype.


Features

  • SAINTCON MiniBadge-compatible footprint and pinout
  • Custom 25.4 mm × 25.4 mm PCB
  • ATtiny402 microcontroller
  • Two individually controlled green LEDs
  • UPDI programming test point
  • Custom ZeroStack Labs silkscreen artwork
  • Two-color 3D-printed topper
  • Acid-green translucent logo/inlay
  • Black structural backing layer
  • M2 self-tapping mounting screws
  • Custom 3D-printed programming jig
  • Planned LED breathing / animation firmware

Project Goals

This project started as a way to learn more about:

  • KiCad PCB design
  • Embedded microcontrollers
  • UPDI programming
  • Surface-mount soldering
  • PCB fabrication
  • Multi-color 3D printing
  • Mechanical integration between a PCB and printed topper
  • Firmware development for small embedded devices

The design files are being published so others can study the project, modify it, and create their own MiniBadge variations.


Hardware

Microcontroller

The badge uses a Microchip ATtiny402-SSN in an SOIC-8 package.

ATtiny402 PinFunction
VCC+3.3 V
GNDGround
PA1LED 1
PA2LED 2
PA0 / UPDIProgramming test point

Unused pins are intentionally left unconnected.

LEDs

Two green 1206 LEDs are driven through 220 ohm current-limiting resistors.

Approximate LED current:

text
(3.3 V - 2.1 V) / 220 ohm ≈ 5.5 mA

Decoupling

A 0.1 uF ceramic capacitor is placed close to the ATtiny402 VCC and GND pins.


MiniBadge Interface

The PCB follows the open MiniBadge pinout and interface convention.

Relevant pins used by this design include:

PinFunction
1VBATT
2GND
7+3V3
8GND
9CLK
10NC
15+3V3
16GND

Only the required header positions are intended to be populated, while the PCB retains the complete 16-hole MiniBadge footprint.

Important: VBATT and +3V3 are not connected together.


PCB

The PCB was designed in KiCad 10.

Board dimensions

  • 25.4 mm × 25.4 mm
  • Rounded square outline
  • 2 mm corner radius
  • Three 2.2 mm mounting holes

Fabrication

The first production run was ordered through OSH Park using the After Dark process.

Fabrication outputs include:

  • Front copper
  • Back copper
  • Front solder mask
  • Back solder mask
  • Front silkscreen
  • Back silkscreen
  • Edge cuts
  • Plated through-hole drill file
  • Non-plated through-hole drill file

3D-Printed Topper

The topper is designed as a two-color print consisting of:

  1. A black structural body
  2. A translucent green ZeroStack Labs artwork/inlay

The successful production prototype is:

V10.1

Production files

text
ZeroStack_Topper_FINAL_v10_1_BLACK_BODY.stl
ZeroStack_Topper_FINAL_v10_1_GREEN_INLAY.stl

Printing workflow

The two STL files are imported into Flash Studio, assembled as separate objects, and assigned different filaments.

Recommended orientation:

  • Face down
  • Mounting posts up

Printing face-down allows the visible surface to inherit the PEI build plate texture while keeping layer lines on the hidden rear surface.

Topper construction

  • Total top plate thickness: 2.0 mm
  • Solid black backing: 0.5 mm
  • Green inlay depth: 1.5 mm
  • Mounting post diameter: approximately 4.5 mm
  • M2 self-tapping pilot hole: approximately 1.7 mm

The mounting posts use a reinforced/tapered base to improve print reliability.


Programming Jig

A custom 3D-printed jig was created to simplify programming and testing.

The jig uses the MiniBadge header locations to position the PCB and provides access to the ATtiny402 UPDI test point.

The intended programming setup uses:

  • MiniBadge +3V3
  • MiniBadge GND
  • One pogo pin contacting the UPDI test pad

An Arduino Uno R3 may be used as a UPDI programmer with suitable firmware/software.

Programming documentation will be added as the firmware workflow is finalized.


Firmware

Firmware is planned for the ATtiny402 to control both LEDs.

Initial goals include:

  • Smooth breathing animation
  • Adjustable brightness
  • Adjustable breathing speed
  • Optional alternating LED phase
  • Simple constants for easy customization

Repository Structure

text
saintcon-2026-minibadge/
├── README.md
├── LICENSE
├── hardware/
│   ├── pcb/
│   ├── gerbers/
│   └── bom/
├── mechanical/
│   ├── topper/
│   └── programming-jig/
├── firmware/
├── docs/
└── assets/

Bill of Materials

Qty / BadgeComponentPart
1MicrocontrollerMicrochip ATtiny402-SSN
10.1 uF capacitorKEMET C0805C104K8RACTU
2220 ohm resistorYageo RC1206FR-07220RL
2Green LEDKingbright APTL3216CGCK
4 × 2-pin sections2.54 mm male headerSullins PREC040SAAN-RC

Additional parts include mounting screws and the printed topper.


Assembly Notes

Recommended assembly order:

  1. Inspect the bare PCB.
  2. Solder the ATtiny402.
  3. Solder the 0.1 uF decoupling capacitor.
  4. Solder the two 220 ohm resistors.
  5. Solder the two LEDs.
  6. Check for shorts between +3V3 and GND.
  7. Program and test the ATtiny402.
  8. Install the MiniBadge headers.
  9. Attach the printed topper.
  10. Perform final functional testing.

For a batch build, fully assemble and test one badge first before assembling the remainder.


Credits

This project would not exist without the work of Luke Jenkins and the contributors to the MiniBadge standard.

The PCB interface and footprint used in this project are based on the open MiniBadge project:

https://github.com/lukejenkins/minibadge

The MiniBadge project provided the pinout, footprint convention, and reference material used as the foundation for this SAINTCON-compatible design.

Huge thanks to the original authors and contributors for making the standard and design resources publicly available.


Disclaimer

This project was created as a learning project by a beginner in PCB and embedded hardware design.

While the design has been reviewed and tested to the best of my ability, it may contain mistakes, design limitations, or implementation issues.

Use these files at your own risk.

Before manufacturing, assembling, modifying, or powering the design, independently verify:

  • Schematic connections
  • PCB layout
  • Component orientation
  • Component ratings
  • Power requirements
  • Firmware behavior
  • Mechanical clearances

ZeroStack Labs and the project author are not responsible for damage to hardware, components, tools, computers, programmers, host devices, or other equipment resulting from the use or modification of this project.


License

This project is intended to be open source and is released under the MIT License, unless otherwise noted for third-party assets or referenced projects.

You are welcome to:

  • Study the design
  • Modify it
  • Build your own version
  • Create derivative projects
  • Use the files as a learning resource

Please preserve any required third-party attribution where applicable.


About ZeroStack Labs

ZeroStack Labs is a personal technology lab focused on learning, experimentation, cybersecurity, software development, hardware projects, 3D printing, and hands-on technical education.

This MiniBadge is one of the first hardware projects developed under the ZeroStack Labs name.


Future Work

Planned additions include:

  • ATtiny402 breathing LED firmware
  • UPDI programming guide
  • Assembly photos
  • Soldering notes
  • Final PCB photos
  • Completed badge photos
  • Programming jig documentation
  • Alternate topper colors / special editions
  • Video build series for the ZeroStack Labs YouTube channel

Parts

11
QtyValueFootprintReferences
2220RResistor_SMD:R_1206_3216MetricR2, R3
2LEDLED_SMD:LED_1206_3216MetricD2, D3
10.1uFCapacitor_SMD:C_0805_2012MetricC1
1ATtiny402-SSPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU1
1MiniBadge_FullZeroStack_Custom:ZS_MiniBadge_Full_NoEdgesMB1
1UPDITestPoint:TestPoint_Pad_D1.5mmTP1

The 8 most common of 11 parts.

Similar boards

  • 2 layers75.8 × 19.2 mm3S coinCellChargeController, the printed circuit board in 3D

    3S coinCellChargeController

    PocketConcepts/Pocket_PSU

    A variable current & voltage PSU with 3S lipo charging, balancing, and protection circuit using PPS.

    78 parts36
  • 2 layers72 × 47.5 mmPCB avr dx unbricker, the printed circuit board in 3D

    PCB avr dx unbricker

    k-takata/PCB_avr_dx_unbricker

    UPDI High Voltage programmer for AVR Dx/Ex series

    40 parts4
  • 2 layers85 × 53 mmCccamp23 nametag, the printed circuit board in 3D

    Cccamp23 nametag

    HazeCore/Nametag_Hardware

    This is the hardware for out Nametag Badge for Chaos Communication Camp 2023. You can find more information about the Project at https://hazeco.re/cccamp-nametag/.

    34 parts3
  • 2 layers7.4 × 7.3 mmDCC Dekoder Attiny402 1, the printed circuit board in 3D

    DCC Dekoder Attiny402 1

    markusgruen/DccFunctionDecoder

    Open source, Arduino-based DCC function decoder

    17 parts3GPL-3.0
  • 2 layers69.9 × 12.1 mmPeepsy pro, the printed circuit board in 3D

    Peepsy pro

    mirdej/peepsy

    simple continuity tester

    13 parts3GPL-3.0
  • 2 layers100 × 98.6 mmPCB Christmas Tree, the printed circuit board in 3D

    PCB Christmas Tree

    KNEAGHUST/PCB_Christmas_Tree_AGH

    PCB Christmas tree designed for the AGH University of Krakow

    45 parts2MIT
  • 2 layers100 × 90 mmPaneled, the printed circuit board in 3D

    Paneled

    McbeEringi/pcb-stuff

    286 parts2MIT

Questions

How big is the ZeroStack MiniBadge PCB?

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

What parts does the ZeroStack MiniBadge use?

11 parts, built around the ATTINY402-SSN. 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 ZeroStack MiniBadge KiCad files?

From the ZeroStack-Labs/saintcon-2026-minibadge repository on GitHub, at the commit this page was made from: the board is hardware/pcb/kicad/ZeroStack_MiniBadge.kicad_pcb and its schematic hardware/pcb/kicad/ZeroStack_MiniBadge.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ZeroStack MiniBadge 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).