Skip to the content
PCBKitNew board
2 layers17.5 × 50 mmLED trinket, the printed circuit board in 3D

Trinket for soldering workshop

Size
17.5 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
34
Nets
36
Pads
97
Tracks, vias
184, 31
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
17 Jul 2025
Updated
17 Jul 2025

Overview

LED trinket is an open-source printed circuit board by hackwinkel, from the hackwinkel/LED_trinket repository on GitHub, published under the BSD-3-Clause licence. It is a 2-layer board of 17.5 × 50 mm with 34 parts on 36 nets, routed with 184 tracks and 31 vias.

Its parts include 14 resistors, 9 diodes, 4 ICs, 2 capacitors and 2 transistors.

README

README.md

trinket

The "trinket" is an electronic gimmick that reacts to the presence of other "trinket"s in the area, and contains a small flashlight.

It was conceived as a demonstration project and target for workshops.

Folders

  • 3D - contains 3D design files (SCAD) for the housing + a soldering aid

  • Hardware - contains the schematic and PCB design files

  • Workshop - Assembly instructions to go with the trinket soldering workshop

  • Software - Firmware for the trinket

Mixed soldering techniques workshop

The workshop around this badge teaches mixed Surface Mounted Device (SMD) soldering techniques. One side of the Printed circuit board is assembled using a stencil. solder paste and a hotplate for reflowing, the other side is manually populated. In addition there are a few Through-Hole components

Low voltage or "flat battery" power supply

This trinket contains a boost converter to boost the (nominally 1.5V alkaline battery supply to 5V. This boost converter will start working at battery voltages above ~ 0.9V, but will also keep working until the battery voltage drops below ~ 0.7 V. This is well below the voltages at which alkaline batteries are normally considered empty.

WARNING: empty batteries can leak. Remove empty batteries. This is especially important for this circuit as it was designed to drain batteries as far as it can.

Infrared communication

This trinket uses IR transmitters and receivers for inter-trinket communications. It uses the well known KISS protocol and should be compatible with other devices using this protocol.

Flashlight mode

after a button press, 4 white leds light up.

Blinking lights

When the trinket does not detect a fellow trinket in the neighborhood, it will slowly flash a white light. When another trinket is detected, it displays a pattern of colours.

ultra low cost microcontrollers

The trinket contains a PADAUK PFS154-S16 microcontroller. The software/hardware may also work with a PMS150C-S16 and pin compatible controllers from other manufacturers (e.g. Nyquest tech), but this is untested.

Programming prerequisites & instructions

You will need a PADAUK programmer to program the device. PADAUK microcontrollers use a proprietary programming algorithm.

Hardware and software for an open source programmer can be found here: https://github.com/free-pdk/easy-pdk-programmer-hardware and https://github.com/free-pdk/easy-pdk-programmer-software.

Follow the instructions provided on these pages.

To compile the software for the label you need:

  1. Small Device C Compiler (SDCC) (https://sdcc.sourceforge.net/) version >=4

  2. pdk-includes (https://github.com/free-pdk/pdk-includes)

  3. easy-pdk-includes (https://github.com/free-pdk/pdk-includes)

  4. This repository

Install SDCC as per instructions for your system

Make a containing directory to hold both this repository and the free-pdk pdk-includes and easy-pdk-includes repositories and:

cd <your_dir>

git clone https://github.com/free-pdk/pdk-includes

git clone https://github.com/free-pdk/easy-pdk-includes

git clone https://github.com/hackwinkel/tag-software

cd tag-software

cd standard

make

make burn

This last command requires easypdkprog to be found in your $PATH. You can also run this command manually

Other make targets are: sizes (displays the sizes of various memory segments in the binary), clean and all (the default).

alternative firmware

If you want to do something special with your trinket, please do so in an intelligent way, in an IR transmitting envelope that will NOT annoyingly interfere with other badges in your neighborhood:

  1. Transmit IR codes once per minute at most

  2. Transmit IR codes for one second at most

  3. While not transmitting, listen for incoming IR signals, and act accordingly

Note: The PCB design does NOT support in-circuit reprogramming.

Parts

34
QtyValueFootprintReferences
6180ledtrinket:R_0805R8, R9, R10, R11, R12, R13
4100ledtrinket:R_0805R1, R2, R3, R4
4LEDledtrinket:led_lamp_thD4, D5, D6, D7
210Rledtrinket:R_1206R5, R14
23k3ledtrinket:R_0805R6, R7
2LEDledtrinket:D_2835D2, D3
2LED_RGBledtrinket:LED_RGBD8, D9
2Q_NMOS_GSDledtrinket:SOT-23Q1, Q2
2irrecledtrinket:irrecU3, U4
110uFledtrinket:C_0805C1
147uFledtrinket:C_1206C2
147uHledtrinket:LL1
1Conn_01x02_Pinledtrinket:powpinsJ2
1D_Schottkyledtrinket:D_SOD-123D1
1SW_Push_Dualledtrinket:buttonSW1
1~ledtrinket:SOP-16U2
1~ledtrinket:SOT-23U1

Questions

How big is the LED trinket PCB?

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

What parts does the LED trinket use?

34 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 LED trinket KiCad files?

From the hackwinkel/LED_trinket repository on GitHub, at the commit this page was made from: the board is Hardware/KiCAD_PCB/ledtrinket.kicad_pcb and its schematic Hardware/KiCAD_PCB/ledtrinket.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the LED trinket design in my own project?

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

Similar boards

  • 2 layers26 × 30 mmMicrocontroller, the printed circuit board in 3D

    Microcontroller

    FrameworkComputer/ExpansionCards

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

    34 parts1.1kCC-BY-4.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard old, the printed circuit board in 3D

    Amiga gfxcard old

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    34 parts1k
  • 2 layers53.5 × 62.5 mmLed matrix, the printed circuit board in 3D

    Led matrix

    hackclub/OnBoard

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

    34 parts915
  • 2 layers45 × 26 mmESP32-HELP Button, the printed circuit board in 3D

    ESP32-HELP Button

    pcbreflux/espressif

    all espressif stuff will committed here

    34 parts608GPL-3.0
  • 2 layers41.7 × 25.7 mmHeadphones flex pcb rigid, the printed circuit board in 3D

    Headphones flex pcb rigid

    strangeparts/niubi-headphones

    Flexible circuit board design for adding a headphone jack to an iPhone 7

    34 parts493MIT
  • 2 layers18.8 × 16.3 mmAmoeba, the printed circuit board in 3D

    Amoeba

    mtl/keyboard-pcbs

    Keyboard PCBs

    34 parts485
  • 2 layers127 × 69.9 mmEzcgi, the printed circuit board in 3D

    Ezcgi

    baldengineer/bit-preserve

    Project for capturing vintage, classic, aka old computer schematics in KiCad.

    34 parts446