Rev B in manufacturing

Linux Business Card

A credit-card-sized computer that boots Linux: a Rockchip RV1103, 117 RGB LEDs, capacitive touch, NFC and a speaker on a 0.8 mm, 4-layer card. Plug it into a laptop and you get a shell; tap it with a phone and it opens my LinkedIn page.

SoC
Rockchip RV1103, Cortex-A7
Board
85.6 × 54 × 0.8 mm, 4 layers
Parts
230, double-sided
Software
Buildroot, C
3D render of the Linux business card: a black credit-card-sized PCB with a 13 by 9 RGB LED matrix, touch pads, an NFC coil and a QR code
Rev B with NFC, a speaker and an ambient light sensor, in ID-1 card format.

Why I built it

A business card is the one board that everyone I meet will actually hold, so I designed mine to be worth plugging in. It also turned out to be a good excuse to work at the small end of the scale: a 0.35 mm-pitch SoC on a 0.8 mm board, a hand-routed LED matrix, an NFC antenna designed from first principles, and a Linux build to go with it.

What it does

Plug it into a laptop and it enumerates as a USB serial port plus a small read-only drive with a README. Open the serial port and you're at a Linux shell, where a program I wrote, cardctl, runs Snake, a sideways Tetris, Game of Life, scrolling text and LED effects, played with the touch D-pad and A/B pads. The LEDs can follow the room's light level, and tapping the card with a phone opens my LinkedIn page through the NFC tag.

The hardware

  • QFN-88 at 0.35 mm pitch on a 0.8 mm, 4-layer card. The Rockchip RV1103 fan-out uses 0.09–0.10 mm tracks and staggered escape vias, with a 100 nF 0201 capacitor on every supply pin.
  • A hand-routed LED matrix. 117 RGB LEDs on a 3.4 mm grid, each rotated so a column line runs through its pad gap. The driver sits underneath, rotated so all 39 column lines and 9 row spines reach it with no crossings. No autorouter in the LED system.
  • LED current limited in hardware. The IS31FL3741A's RISET is chosen so full white draws about 0.24 A, which fits the USB 2.0 budget by design; no firmware bug can exceed it.
  • Impedance-controlled USB 2.0. A 90 Ω pair specified against JLC's 0.8 mm JLC04081H-3313 stack-up (the common 7628 stack would give about 116 Ω).
  • Three sequenced bucks. One TLV62569 part for 0.9 V core, 1.8 V DDR/analog and 3.3 V IO, brought up in order with RC-staggered enables.

The NFC antenna

The coil is a two-layer, 2 × 6-turn spiral, 13.0 × 24.2 mm, with the back turns offset half a pitch to cut self-capacitance. A partial-inductance model of the exact geometry gives L = 2.44 µH, so with the NT3H2111's input capacitance the untrimmed resonance lands at about 13.9–14.1 MHz. That's deliberately just above 13.56 MHz, because the unpopulated trim capacitor can only pull it down.

The software

  • cardctl, in C, drives the LED driver and touch controller through Linux i2c-dev, and adds sound, auto-brightness and an NFC URL writer. A host build draws the matrix in a terminal for development.
  • A Buildroot external tree with the board's device tree, a configfs USB gadget (serial console plus mass storage) and first-boot scripts.

Review before ordering

Before ordering rev B, I ran three separate reviews (electrical, assembly and layout) and applied the fix list in one pass: 27 vias moved out of pads, paste windows between thermal vias, JLC silkscreen minimums everywhere, stitching on ground islands, and a per-part orientation checklist for JLC's placement preview.

By the numbers

  • 0.35 mmSoC pin pitch on a 0.8 mm board
  • 117RGB LEDs, fanned in with zero crossings
  • 90 ΩUSB 2.0 differential pair
  • 2.44 µHcalculated NFC coil inductance
  • 0.24 Afull-white LED current, capped in hardware
  • 230placed parts, double-sided

Status

Rev B is designed, reviewed and ordered, and is being manufactured. It hasn't been powered yet, so every electrical number on this page is calculated, not measured. The Linux build recipe is prepared but not yet run, and a bring-up procedure is written and waiting for the boards.