Mtg life counter
mprosk·mtg_life_counter·pcb/mtg_life_counter.kicad_pcb
About the Mtg life counter PCB
Mtg life counter is an open source AVR/Arduino PCB design by mprosk, published on GitHub under the CERN-OHL-S-2.0 license. It is a 2-layer board measuring 167.6 × 101.6 mm, with 85 components from 26 distinct parts.
Its main chip is the ATmega328P-AU, from the AVR/Arduino family. Other key parts include the 74HC595, TPIC6B595 and 74HC165. By type, the board carries 48 resistors, 12 capacitors, 8 ICs, 5 diodes, 2 connectors and 2 switches.
It belongs with the displays & leds designs in this gallery.
From the project
Four player life counter for Magic: The Gathering
Four player life counter for Magic: The Gathering
Version 2 software is still WIP, hardware is stable
Check out the Version 1 branch (pictured below)
- Improve denounce of encoders - Change modes by clicking encoder button once - Clicking the button after changing a non-self value returns directly to self view
- Do not show deltas on non-self values - Allow Roll result be cleared by any input - Possibly use micros() for RNG

Main components on the Mtg life counter
Mtg life counter bill of materials (BOM)
85 components, 26 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATmega328P-AU | TQFP-32_7x7mm_P0.8mm | U1 |
| 4 | 74HC595 | SOIC-16_3.9x9.9mm_P1.27mm | U2, U3, U4, U5 |
| 2 | TPIC6B595 | SOIC-20W_7.5x12.8mm_P1.27mm | U6, U7 |
| 1 | 74HC165 | SOIC-16_3.9x9.9mm_P1.27mm | U8 |
| 1 | 16MHz | Resonator_muRata_CSTLSxxxX-3Pin_W5.5mm_H3.0mm | Y1 |
| 1 | USB C 4907 | 4907_USB_C_PowerOnly | J1 |
| 1 | TP_UART | TP_Edge_3 | J3 |
| 2 | SW_Push | B3F_12mm | B1, B2 |
| 4 | Rotary_Encoder_Switch | TT_EN11-HSB | E1, E2, E3, E4 |
| 1 | JP_SR | TP_Edge_2 | JP2 |
| 2 | SW_SPST | SW_Slide_1P2T_CK_OS102011MS2Q | SW1, SW2 |
| 1 | KW4-S561CxB RED SMD | KW4-S561xxB_SMD | D1 |
| 1 | KW4-S561CxB GREEN SMD | KW4-S561xxB_SMD | D2 |
| 1 | KW4-S561CxB YELLOW SMD | KW4-S561xxB_SMD | D3 |
| 1 | KW4-S561CxB BLUE SMD | KW4-S561xxB_SMD | D4 |
| 1 | PJSD05W_R1_00001 | D_SOD-323_HandSoldering | D5 |
| 8 | 0.1uF | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C4, C5, C6, C7, C8, C9, C10 |
| 1 | 4.7uF | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C2 |
| 2 | 1uF | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C3, C11 |
| 1 | 10uF | C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C12 |
Show 6 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 14 | 10k | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R1, R2, R3, R4, R5, R6, R50, R51 +6 |
| 8 | 330 | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R10, R11, R12, R13, R14, R15, R16, R17 |
| 8 | 10 | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R20, R21, R22, R23, R24, R25, R26, R27 |
| 8 | 100 | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R30, R31, R32, R33, R34, R35, R36, R37 |
| 8 | 390 | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R40, R41, R42, R43, R44, R45, R46, R47 |
| 2 | 5.1k | R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R60, R61 |
Mtg life counter design files
The KiCad project lives in the mprosk/mtg_life_counter repository on GitHub; these links point at the commit this page was built from.
- Layoutpcb/mtg_life_counter.kicad_pcb
- Schematicpcb/mtg_life_counter.kicad_sch
Mtg life counter: common questions
What microcontroller does the Mtg life counter use?
The Mtg life counter is built around the ATmega328P-AU, from the AVR/Arduino family.
How big is the Mtg life counter PCB?
The Mtg life counter measures 167.6 × 101.6 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Mtg life counter?
85 components, from 26 distinct parts. The full bill of materials is listed on this page.
Where can I download the Mtg life counter design files?
From the mprosk/mtg_life_counter repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Mtg life counter design in my own project?
Yes, under the terms of its CERN-OHL-S-2.0 license, which mprosk chose for the repository.
Can I test firmware for the Mtg life counter without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0kAVR/Arduino
Megadesk
gcormier
41.7 × 32.2 mm23 parts2LGPL-3.0818AVR/Arduino
Easyduino Atmega Nano
Hanqaqa
43.4 × 18 mm30 parts4LCERN-OHL-P-2.0746