

LED trinket
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.mdtrinket
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:
-
Small Device C Compiler (SDCC) (https://sdcc.sourceforge.net/) version >=4
-
pdk-includes (https://github.com/free-pdk/pdk-includes)
-
easy-pdk-includes (https://github.com/free-pdk/pdk-includes)
-
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:
-
Transmit IR codes once per minute at most
-
Transmit IR codes for one second at most
-
While not transmitting, listen for incoming IR signals, and act accordingly
Note: The PCB design does NOT support in-circuit reprogramming.
Parts
34| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 180 | ledtrinket:R_0805 | R8, R9, R10, R11, R12, R13 |
| 4 | 100 | ledtrinket:R_0805 | R1, R2, R3, R4 |
| 4 | LED | ledtrinket:led_lamp_th | D4, D5, D6, D7 |
| 2 | 10R | ledtrinket:R_1206 | R5, R14 |
| 2 | 3k3 | ledtrinket:R_0805 | R6, R7 |
| 2 | LED | ledtrinket:D_2835 | D2, D3 |
| 2 | LED_RGB | ledtrinket:LED_RGB | D8, D9 |
| 2 | Q_NMOS_GSD | ledtrinket:SOT-23 | Q1, Q2 |
| 2 | irrec | ledtrinket:irrec | U3, U4 |
| 1 | 10uF | ledtrinket:C_0805 | C1 |
| 1 | 47uF | ledtrinket:C_1206 | C2 |
| 1 | 47uH | ledtrinket:L | L1 |
| 1 | Conn_01x02_Pin | ledtrinket:powpins | J2 |
| 1 | D_Schottky | ledtrinket:D_SOD-123 | D1 |
| 1 | SW_Push_Dual | ledtrinket:button | SW1 |
| 1 | ~ | ledtrinket:SOP-16 | U2 |
| 1 | ~ | ledtrinket:SOT-23 | U1 |
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 layers142.5 × 106.4 mm

- 2 layers26 × 30 mm

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 mm

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 mm

Led matrix
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
34 parts915 - 2 layers45 × 26 mm

- 2 layers41.7 × 25.7 mm

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 mm

- 2 layers127 × 69.9 mm

Ezcgi
baldengineer/bit-preserve
Project for capturing vintage, classic, aka old computer schematics in KiCad.
34 parts446