

Hat modder
Pinball retro afterglow
- Size
- 64.4 × 81 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 35
- Nets
- 64
- Pads
- 286
- Tracks, vias
- 229, 16
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 27 Dec 2017
- Updated
- 9 Aug 2026
Overview
Hat modder is an open-source printed circuit board by bitfieldlabs, from the bitfieldlabs/afterglow repository on GitHub. It is a 2-layer board of 64.4 × 81 mm with 35 parts on 64 nets, routed with 229 tracks and 16 vias.
It is built around the 74HC244D and 74HC595. Its parts include 9 resistors, 8 connectors, 6 ICs and 4 diodes.
Main components
274HC244D
SO-20-300mil-40℃~+125℃ 160uA 2 2V~6V 4 6mA 6mA 74HC 9ns@5V,15pF Tri-State Unidirectional SOIC-20-300mil Buffers, Drivers, Receivers, Transceivers ROHSNexperiaBuffers, Drivers, Receivers, Transceivers74HC595
SOP-16-40℃~+85℃ 1 100ns@5V,50pF 10MHz 2V~6V 74HC 8 Serial-to-Serial or Parallel Tri-State SOP-16 Shift Registers ROHSGRShift Registers
README
README.mdAFTERGLOW is a pinball machine extension board that aims at softening the hard lamp on/off transitions which are the consequence of replacing the original incandescent bulbs with LEDs. Reproducing the original light effects is a big part of preserving a pinball game's nostalgia.
It currently works with Williams WPC, Williams System 11, Data East and probably also with Sega games. The basic principle involves resampling of the original lamp matrix signals at a higher frequency. This allows for PWM LED dimming with additional brightness steps.
The resampled signal is output via MOSFETs, allowing for direct connection of your pinball machine's lamp matrix.
Make sure to check the for detailed information and instructions.

While the effect is hard to catch on camera, this video gives an idea:
https://github.com/bitfieldlabs/afterglow/assets/999857/57093b11-0a40-46fb-a978-5d42df743db6
Licensing
Firmware and configuration software: Apache License 2.0
Hardware designs: CERN Open Hardware License - Permissive 2.0
See LICENSES/ for details
Licensing change
As of August 2026:
- Firmware and configuration software are licensed under Apache-2.0.
- Hardware designs are licensed under CERN-OHL-P-2.0.
All contributors with copyrightable contributions have consented to the relicensing, or their contributions have been replaced.
Quick guide to the board revisions
All in one
- PCB v3.0
This is the newest board built around the RP2040. Supports WPC, Data East, Sys11, Whitestar, S.A.M.
Supports hats, allowing for different ouput connectors, modding ports, displays etc.
Input protection using optocouplers.
Check the folder's readme for more details.
WPC, WPC-95, System 11, Data East, Sega
- PCB v1.3
This is the preferred board revision for these games.
Dedicated power input (+18V, Ground) must be connected separately to power driver board - PCB v1.4
Except for power input exactly the same as revision 1.3
+18V taken from column input.
⚠ Ground must still be connected to the PDB! Failure to do so will damage the board! - PCB v1.5
Same as v1.4, but using a one-sided PCB. This should be easier/cheaper for automated production than v1.4.
Stern Whitestar (and possibly S.A.M.)
- PCB v2.1 Dedicated board which will only work with Stern Whitestar and possibly S.A.M. games
Parts
35| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | 1k | Resistor_SMD:R_0805_2012Metric | R1, R6, R7, R8, R9 |
| 4 | 220 | Resistor_SMD:R_0805_2012Metric | R2, R3, R4, R5 |
| 4 | Conn_01x02_Socket | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_Horizontal | J5, J6, J7, J8 |
| 4 | LED | LED_SMD:LED_0805_2012Metric | D1, D2, D3, D4 |
| 4 | PC817 | Package_DIP:SMDIP-4_W9.53mm | U3, U4, U5, U6 |
| 2 | Conn_01x10_Pin | Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_Vertical | J1, J4 |
| 2 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J2, J3 |
| 1 | afterglow:afterglow | afterglow | |
| 1 | 74HC244 | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | 74HC595 | Package_SO:SO-16_3.9x9.9mm_P1.27mm | U2 |
| 1 | Jumper_2_Open | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | JP1 |
| 1 | LOGO | hat_modder:background | G*** |
| 1 | LOGO | hat_modder:background2 | G*** |
| 1 | LOGO | hat_modder:modders_hat | G*** |
| 1 | LOGO | hat_template:hat | G*** |
| 1 | protopad | afterglow:protopad | DIYPAD** |
The 34 most common of 35 parts.
More from bitfieldlabs/afterglow
8- 2 layers128.6 × 81 mm

- 2 layers128.7 × 81 mm

- 2 layers81 × 181.5 mm

- 2 layers116.5 × 81 mm

- 2 layers64.4 × 81 mm

- 2 layers193.5 × 80 mm

- 2 layers64.4 × 81 mm

- 2 layers64.4 × 81 mm

Similar boards
- 2 layers170.2 × 78.7 mm

ROsiM
hkzlab/ROsiM
ROsiM is a ROM simulator/emulator, supporting up to 512k/16bit ROMs
93 parts11GPL-3.0 - 4 layers137 × 86 mm

- 4 layers184.2 × 169.5 mm

- 4 layers101 × 47 mm

- 2 layers120 × 66 mm

Io daughterboard
kbob/MinimumViableSynth
A virtual analog synthesizer with lots of knobs and buttons.
136 parts28GPL-3.0 - 2 layers99.1 × 99.1 mm

6809v2
jbevren/6809v2
Code and design repository for the 6809v2 SBC: To be released at VCFMW 13
60 parts22 - 4 layers100 × 100 mm

- 2 layers100 × 100 mm

Questions
How big is the Hat modder PCB?
It measures 64.4 × 81 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Hat modder use?
35 parts, built around the 74HC244D and 74HC595. 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 Hat modder KiCad files?
From the bitfieldlabs/afterglow repository on GitHub, at the commit this page was made from: the board is afterglow_pcb_v30/hat_modder/hat_modder.kicad_pcb and its schematic afterglow_pcb_v15/afterglow_nano_smd.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Hat modder design in my own project?
Its repository states no licence, so its author keeps all rights: ask bitfieldlabs before reusing the design.