Skip to main content
The Quantum Dispatch
Back to Home
Cover illustration for ANAVI I2C TPM 2.0: A $20 Security Chip for Any Raspberry Pi

ANAVI I2C TPM 2.0: A $20 Security Chip for Any Raspberry Pi

The ANAVI I2C TPM 2.0 adds hardware key storage and disk encryption to any Raspberry Pi for $20, with a driver already in Raspberry Pi OS. How it works.

Alex Circuit
Alex Circuit★Nov 20, 2026★4 min read

Most Raspberry Pi projects keep their secrets the same way: in files on a microSD card that anyone holding the card can read. The ANAVI I2C TPM 2.0 is a tiny open-source hardware add-on that changes that. It gives any Raspberry Pi single board computer a real Trusted Platform Module, the same kind of security chip that protects keys in modern laptops, for about the price of a takeaway lunch. Developer Leon Anavi is now taking orders on Crowd Supply, and CNX Software covered it on November 19.

  • Chip: Infineon Optiga SLB 9673 TPM 2.0 on an I2C interface, with a NIST-compliant hardware random number generator.
  • Size and fit: 16.5 x 12.8 mm board on a 5-pin header, in horizontal or vertical versions, compatible with all Raspberry Pi models.
  • Price: $20 horizontal or $21 vertical, plus $8 US shipping or $18 elsewhere; deliveries scheduled to begin by March 18, 2027.
  • Openness: KiCad design files on GitHub under CC BY-SA 4.0, with OSHWA certification BG000154.

What Does a TPM Add to a Raspberry Pi?

A Trusted Platform Module is a small, tamper-resistant chip that generates and stores cryptographic keys without exposing them to the main processor. On a Raspberry Pi, that unlocks three practical upgrades. You can encrypt a data partition and have it unlock automatically only on that specific board, so a stolen SD card is useless on its own. You can keep SSH, VPN or device-identity keys off the filesystem. And you get a hardware random number generator for anything that needs good entropy.

The ANAVI module targets developers, hobbyists and professionals building Pi-based gateways, kiosks and home servers, exactly the kinds of always-on devices that sit in places other people can reach. If you want a broader security board with tamper detection, our look at the Zymkey 5 Raspberry Pi security module covers a more feature-rich option.

How Do You Set Up the ANAVI I2C TPM 2.0?

The best news for makers is that no custom driver is needed. The Raspberry Pi Linux kernel already ships a device tree overlay for the SLB 9673, so the board works with Raspberry Pi OS and compatible distributions out of the box. According to Anavi's published guide, setup comes down to enabling I2C, adding the tpm-slb9673 overlay to the boot configuration and rebooting, after which the TPM appears as a standard Linux device.

From there the guide walks through a complete encrypted-storage recipe: format a partition with LUKS2 using cryptsetup, enroll the TPM with systemd-cryptenroll, and add matching crypttab and fstab entries so the volume unlocks and mounts at boot without a typed password. The tpm2-tools package is handy for a quick sanity check, such as asking the chip for a few random bytes.

I2C vs SPI: Why a Second ANAVI TPM Board?

This is Anavi's second TPM add-on. The earlier model used an SPI version of the Optiga chip. Moving to I2C means the board needs only five pins, including power, ground and reset, which leaves the SPI bus free for displays, sensors and other HATs. It also explains the very small footprint and the choice of horizontal or right-angle headers to suit different cases.

Who Should Back This Raspberry Pi Security Add-On?

At $20, this is one of the cheapest ways to bring hardware-backed security to an ARM single board computer, and the open KiCad files mean you can adapt the design or build your own. Anyone running a Pi as a home server, network appliance or remote sensor should find it worthwhile, especially in shared or public spaces. CNX notes the design could likely be adapted to other boards with a compatible 40-pin header. For more maker hardware, browse our mini computer coverage.

Sources: CNX Software — November 19, 2026; ANAVI Technology on GitHub — November 2026; OSHWA certification — November 2026.

More Mini Computers Stories