TamaFi: open-source Wi-Fi-eating virtual pet for ESP32-S3
TamaFi is an open-source, Tamagotchi-style virtual pet for the ESP32-S3 that feeds on nearby Wi-Fi networks; MIT firmware and PCB files live on GitHub.

Key Facts
- Chip: ESP32-S3
- Display: 240x240 ST7789 TFT
- Mechanic: passive Wi-Fi scan feeds the pet
- Build: custom PCB (V2)
About This Project
TamaFi is an open-source, Wi-Fi-feeding virtual pet for the ESP32-S3 — a Tamagotchi-style desk creature whose hunger, happiness and health respond to the nearby Wi-Fi networks it scans passively. CiferTech's MIT firmware and PCB files live at github.com/cifertech/TamaFi; Hackster.io calls the lineage "building on earlier projects like Simone Margaritelli's Pwnagotchi" — the pets are fed by scanning for nearby wireless networks. The project has since settled into a full V2 rebuild on a compact custom PCB: an autonomous behaviour engine in which the pet hunts, rests and evolves, with its face drawn from code every frame. A fun desk toy, and a gentle intro to Wi-Fi scanning and sprite graphics.
Touch-screen forks: which display to pick
The original TamaFi is a button-first build. The community touch port changes that: dominikwojcicki's TamaFi ESP32 Touch Fork ports the original firmware to two off-the-shelf touch displays and, in its own words, "replaces the button-first workflow with touch input" — boot, hatch, home, menus and settings all become taps. It keeps a compatibility profile for the original custom board and ships a bench-tested porting manual for carrying the firmware to further displays; the repository is linked in the Docs & guides section of this page.
Which board you pick is the real decision. The default build target is the LCDWiki 2.8inch ESP32-S3 Display ES3C28P, which pairs an ILI9341 display with FT6336 touch, a NeoPixel and ES8311 tone audio — the closest match to the original's screen-plus-sound character in a touch form factor. The alternative is the Waveshare ESP32-C6-Touch-LCD-1.47, selected at compile time, with a JD9853/ST7789-compatible display and AXS5106L touch; it keeps the 240x240 logical UI with cover scaling on a 320x172 rotated panel, and currently leaves the board's RGB and audio hardware unused. In short: pick the LCDWiki board for the roomier 2.8-inch touch display and on-board audio, or the Waveshare C6 board for the smallest footprint.
This is also what makes TamaFi a durable build to bet desk space on: the main repository is MIT-licensed and stable, with its last push on 8 November 2026 and the V2 rebuild documented in its README, and the ecosystem stays active enough that community ports keep landing on hardware the original never targeted. Board and repo facts above were checked against both repositories on 30 November 2026; display and touch behaviour is the fork's own documented status, with both boards listed as working in its hardware table.
Source & Attribution

How to Build It
Parts Needed
- ESP32-S3 (or the TamaFi V2 PCB)
- ST7789 240x240 TFT
- Push buttons
- LiPo battery
- 4x WS2812-2020 NeoPixels (on the V2 PCB)
- USB data cable
Steps
- 1
Get the hardware
Order the V2 PCB from the repo's hardware files, or breadboard an ESP32-S3 with an ST7789 display, buttons and NeoPixels, following the pin mapping in the docs.
- 2
Install the Arduino IDE
Add the ESP32 board package and the display and NeoPixel libraries listed in the documentation.
- 3
Open and configure
Open the firmware sketch. Check the pin definitions match your build and select an ESP32-S3 board with USB CDC enabled.
- 4
Upload
Upload over the S3's native USB, or through the optional CP2102 on the V2 board.
- 5
Raise your pet
Hatch the egg, then 'hunt' to feed it on nearby Wi-Fi. Leaving it without networks makes it bored. Its stats and evolution stage are saved in flash between power cycles.
Bill of Materials
Parts list
4 parts · 2 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
3× Buttons
Not included: 3D-printed case, wire, solder, USB cable
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
Related Projects




