Skip to the content
2 layers63 × 88 mmTcg counter, the printed circuit board in 3D

Schematics and PCB layout for TCG Counter

Size
63 × 88 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
44
Pads
122
Tracks, vias
214, 44
Pours
6
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
11 Jun 2024
Updated
13 Jun 2025

Overview

Tcg counter is an open-source printed circuit board by groundst8, from the groundst8/tcg-counter-hardware repository on GitHub, published under the GPL-2.0 licence. It is a 2-layer board of 63 × 88 mm with 21 parts on 44 nets, routed with 214 tracks and 44 vias.

It is built around the TCAL9539RTW. Its parts include 12 capacitors, 3 resistors, 2 ICs, 1 connector and 1 inductor.

Main components

1

README

README.md

TCG Counter Hardware

Components

TI RF430FRL152H

  • ISO 15693
  • NfcV
  • 1.5V passivey powered
  • 8 bit GPIO
  • I2c
  • +/- 400 uA GPIO current, 500 uA max all I/O 0.15V voltage drop

Ynvisible D0432G02V01

  • 7 Segment E-Paper Display
  • +/- 1.5V operating voltage
  • 0.81 uA steady state current, all segments on
  • ~3.25 mA (datasheet says 2.92 mA) peak current all segments; ~1.25 mA peak / segment

TI TCAL9539

  • Low-Voltage 16-Bit I2c Expander
  • I/Os backpowered protected

Constraints

Harvested Power

Table 4 from Frequently asked questions for RF430FRL15xH devices shows the maximum harvested power available when using the using the TRF7970AEVM with a 5-V power supply as the tag reader. It is also mentioned that the current that can be supplied depends on the reader distance to the tag.

Screenshot 2024-10-27 at 3 35 25 PM

Ynvisible Display Testing

Twenty minute timelapse test to evaluation if the Ynvisible 7 segment display keeps readable contrast over a 20 minute period without power. Twenty minutes was chosen as the upper end of how long a counter would go without being updated. Twenty minutes is the length of the average Magic The Gathering standard format game. Commander games go longer but generally counters are updated over the course of the game which would provide the refresh without requiring additional effort.

YouTube

Development Board Prototyping

Iteration 1

dev_board

  • GoodTag11
    • Open source hardware design
    • PCB & SMT assembly by JLCPCB
    • Through hole headers hand soldered by yours truly
  • Ynvisible E-Paper Display Kit Adapter
Issues
  • E-paper display backpowering RF430FRL152H via GPIO ESD diodes in no power state
    • GPIOs do not remain high-Z and display loses contrast
  • TimerA0 low power delays not working in ROM patch operating mode
    • Temporarily doing delays on smartphone side

Iteration 2

PXL_20241019_153513104

  • Put two 4 channel TMUX1511 analog switches between GPIOs and display
    • Enabled when have power and disabled when no power is applied
    • Fixes display contrast loss issue from Iteration 1
Issues
  • GPIO Port1.7 is used by ROM code to indicate operating mode and doesn't seem available for display use in ROM patch mode
  • Ultimately would be more useful with two 7 segment digits, could potentially use single chip TCAL9539 GPIO expanded that should also remain high-Z with no power
    • Would be fewer parts than the TMUX1511 solution and give greater capability
  • Peak current consumption of display was more than anticiapted per segment
    • Look into handling larger peak current with appropriately sized capacitor

Ynvisible provided segment switching current decay curves which are shown below modeled with exponential decay functions. The raw data is available in 1vs7segs.xlsx. I was anticipating the single segment switching current to be lower so will need to do some additional testing and measurement to determine if enough energy will be harvested to do the switching.

ynvisible

Iteration 3

PXL_20241124_011913071

  • Switched to RF430FRL152HEVM dev board
    • Can program with MSP-FET programmer via JTAG
    • Work around issue programming GoodTag11 with GoodV over the air not working with NFC only ROM firmware
  • Switched from TMUX1511s to TCAL9539 for GPIO expansion and backpower protection
  • Switched to Ynvisible 2 digit 7 segment display
Issues
  • Currently powered from MSP-FET source
    • Need to do testing and see if can find solution to passively power from RF field in a way that is economically viable
  • Need to get JTAG level transalation working so can switch back to GoodTag11 and custom PCB instead of dev board and use MSP-FET programmer

Iteration 4

PXL_20250226_012708564

  • Switched back to GoodTag11 from RF430FRL152HEVM dev board
  • JTAG Level Translation & JTAG debugging working
    • Using SN74AXC4T774 Evaluation Module with TCK, TDI, TMS, TDO, and RST signals 3.3v <-> 1.5v
    • Replaced some 10pF capacitors that should have been 10nF and were preventing JTAG debugging from working
  • EnergyTrace working

energy_trace_plot

Issues
  • Evaluate passive power ability to drive display
  • Complete PCB layouts for mainboard and JTAG translation board

Iteration 5 - v1.0.0

JLCPCB PCB with rails/fiducials for assembly

Board with display attached and functioning

Issues
  • Forgot pull-up resistors for RESET and INT pins on TCAL
  • Firmware updating all segments in parallel is causing brownouts, look into sequential segment updating

Electrical Engineering

Jupyter Notebook

Parts

21
QtyValueFootprintReferences
4100nFCapacitor_SMD:C_0402_1005MetricC1, C3, C4, C5
210kResistor_SMD:R_0402_1005MetricR2, R3
210nFCapacitor_SMD:C_0402_1005MetricC6, C7
10Resistor_SMD:R_0402_1005MetricR1
10.1uFCapacitor_SMD:C_0402_1005MetricC12
11uFCapacitor_SMD:C_0402_1005MetricC11
11µFCapacitor_SMD:C_0402_1005MetricC9
12.2µFCapacitor_SMD:C_0402_1005MetricC2
191pFCapacitor_SMD:C_0402_1005MetricC8
1Antennafootprints:GW10ANTL1
1DNPCapacitor_SMD:C_0402_1005MetricC10
1LOGOLOGOG***
1RF430FRL152footprints:RF430FRL152HU2
1TC2050-IDC-430Connector:Tag-Connect_TC2050-IDC-NL_2x05_P1.27mm_Vertical_with_bottom_clipP1
1TCAL9539RTWTIFootprints:TI_RTW24_4x4mm_EP2.2mmU1
1~Library:D0430G02V01DS1

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

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

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

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

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463

Questions

How big is the Tcg counter PCB?

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

What parts does the Tcg counter use?

21 parts, built around the TCAL9539RTW. 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 Tcg counter KiCad files?

From the groundst8/tcg-counter-hardware repository on GitHub, at the commit this page was made from: the board is tcg_counter/tcg_counter.kicad_pcb and its schematic tcg_counter/tcg_counter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tcg counter design in my own project?

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