The Pwnagotchi — a Wi-Fi learning pet that keeps an e-ink face happy by capturing handshake files from networks around it — is normally a Raspberry Pi Zero build. The original firmware is written in Python and Go and needs Linux, so it cannot run on an ESP32. What you can do today is flash one of two community firmwares that recreate the pet on ESP32 hardware:
Minigotchi-ESP32 (by dj1ch, GPL-3.0) — a minimalist port that runs on almost any ESP32 with a supported screen, including the M5StickC Plus 2, the M5Cardputer and the Cheap Yellow Display. You configure it in the Arduino IDE and flash it yourself.
M5Gotchi (by Devsur11, MIT) — a Cardputer-first recreation with a full keyboard UI, automatic handshake capture, Pwnagotchi-style peer detection (pwngrid), GPS wardriving and on-device updates.
If you already own an M5Cardputer, M5Gotchi is the smoother start — it is the maker's main target device and the only one of the two you control entirely from the keyboard. If you own a different ESP32 board, or you want the smallest possible build, Minigotchi is the one that meets you where you are. And if what you actually want is the real Pwnagotchi — the e-ink face, the reinforcement-learning brain, the plugin ecosystem — that still means a Raspberry Pi Zero; we cover that build here.
A note on how this guide was made: we have not flashed either device ourselves. Every claim below comes from the two projects' own READMEs, install guides and release notes, fetched and re-checked on 2026-11-30, plus the original Pwnagotchi documentation. Where something is a maker's claim rather than a behavior we observed, we say so.
What a Pwnagotchi is, and what survives the move to ESP32
On a Raspberry Pi Zero W, Pwnagotchi combines the bettercap network tool with a reinforcement-learning agent: over time it tunes how it hops channels, advertises itself and captures handshakes, and its e-ink face reflects its mood. The Pi does the thinking; the radio does the work.
An ESP32 has no Linux, no Python and no Go, so none of that stack carries over. The Minigotchi-ESP32 README is blunt about it: "The Pwnagotchi is a complex machine written in Python and Go, so code from the Pwnagotchi Project is not compatible with mine. Plugins, handshakes, and additional features cannot be loaded onto the Minigotchi without prior configuration onto the ESP32." What the ESP32 firmwares keep is the pet-shaped behavior: hopping 2.4 GHz channels, sending the same style of advertisement beacons real Pwnagotchis use to greet each other, spotting nearby Pwnagotchis (and, in Minigotchi's case, other Minigotchis and Palnagotchis), and optionally deauthenticating clients to provoke handshakes. M5Gotchi drops the AI too — "It doesn't have AI, but at least its working like it should," as its README puts it.
Minigotchi-ESP32: the minimalist port that runs almost anywhere
Minigotchi started as an even smaller Pwnagotchi for the ESP8266. Its author, dj1ch, has since archived that original repo ("I will no longer continue development due to a lack of maintenance and time") and moved the action to the ESP32 fork, which is the one maintained today: "There are additional ports you may try, however this is the only one currently maintained by me." It is a genuinely long-running hobby project — the README notes the author has worked on it "since the start of high school" — and it is licensed GPL-3.0.
The pitch is breadth. "Most, if not all ESP32s are supported." And the firmware compiles for a long list of screen types: plain SSD1306/SSD1305/SH1106 OLEDs, the Wemos OLED shield, the Cheap Yellow Display, the LilyGO T-Display-S3, the ESP32-C3 0.42″ OLED boards, and several M5Stack devices including the M5StickC Plus, M5StickC Plus 2, M5Cardputer, M5AtomS3 and M5AtomS3R. You can also run it with no screen at all and watch it over serial. Core behaviors, each of which you can turn on or off in the config file:
Channel hopping across the thirteen 2.4 GHz channels.
Deauth frames to disconnect clients from an access point (provoking handshakes).
Advertisement beacons in the Pwngrid style, so Pwnagotchi-style peers can spot each other.
Peer detection of Pwnagotchis, Minigotchis and Palnagotchis nearby.
Parasite mode, an optional serial link to a real Pwnagotchi running the minigotchi plugin, so the big pet can display what the little one is doing.
Configuration happens before you flash: you edit config.cpp (feature toggles, delays, screen type, whitelist of up to ten SSIDs you promise not to touch) and config.h (screen and board flags), then build in the Arduino IDE. After the first flash the firmware starts a one-time web setup on the device — details in the flash walkthrough below. The current release is v3.7.4-beta (published 2026-09-02), which added ESP32-C3 OLED support.
M5Gotchi: the Cardputer pwnagotchi
M5Gotchi takes the opposite bet: instead of supporting every board, it targets M5Stack hardware and leans on the Cardputer's keyboard. In the maker's words, it "brings the Pwnagotchi functions and interface to the M5Stack platform, providing both automatic and manual Wi-Fi control through an integrated keyboard or button interface, so you can finally go touch some grass and hack at the same time."
Feature highlights, all from the README:
Auto Mode — automatic handshake capture, the closest thing to a Pwnagotchi's hands-free operation.
Full manual control from the keyboard — the README calls it "first fully UI-controlled pwnagotchi": ESC opens the menu, arrows navigate, Enter confirms, and a menu-driven settings system replaces config files entirely.
pwngrid connection — see other Pwnagotchis around you.
GPS wardriving with WiGLE upload, plus location info from networks you capture.
A file manager with a built-in editor, and handshake files stored under
/M5Gotchi/handshakeon the SD card, named after the network's SSID and BSSID.Three update paths — straight from GitHub via the device UI, from an SD card, or through a built-in web UI. No re-flash in the Arduino IDE just to stay current.
Supported devices: the M5Cardputer (the main target), the M5StickS3 (works, limited input), and the Cardputer Adv (maker-tested — the README's device table simply says "Tested And Work Fine"). Core2, M5StickC, M5Paper and the LILYGO T-Embed are listed as planned. One hard requirement: "An SD card is required for the firmware to function properly on Cardputer. M5StickS3 will use build-in littleFs memory." The current release is v0.7 (published 2026-05-06), which ships ready-to-flash cardputer.bin and m5stick.bin images.

Minigotchi vs M5Gotchi
| Minigotchi-ESP32 | M5Gotchi | |
|---|---|---|
| Maker | dj1ch | Devsur11 |
| License | GPL-3.0 | MIT |
| Main device | almost any ESP32 + supported screen | M5Cardputer (also M5StickS3, Cardputer Adv) |
| Screen options | 13 types incl. CYD, T-Display-S3, OLEDs, M5 devices | the device's built-in screen |
| Config | edit files, compile in Arduino IDE | on-device settings menus |
| Handshake capture | deauth can provoke handshakes; the firmware itself does not capture or store them | Auto Mode + manual menu |
| Peer detection | Pwnagotchi / Minigotchi / Palnagotchi adverts | pwngrid connection |
| Extras | parasite mode over serial | GPS wardriving, WiGLE upload, file manager, OTA updates |
| Current release | v3.7.4-beta (2026-09-02) | v0.7 (2026-05-06) |
Which should you flash? If you own a Cardputer of any flavor, M5Gotchi is the easy answer: it was built for that keyboard, it updates itself, and you never open an IDE. If you own anything else — a StickC Plus 2, a CYD, a devkit with a small OLED — Minigotchi is your only option of the two, and its config-file approach is a feature if you like knowing exactly what your pet will do before it does it. If you want a general-purpose security toolkit rather than a pet, look at Bruce on the Cardputer Adv or the ESP32 Marauder instead; the pwnagotchi-style pets are deliberately narrow.
Boards to build on
| Board | Firmware | Notes |
|---|---|---|
| M5Stack Cardputer Adv | M5Gotchi, Minigotchi | M5Gotchi's table lists the Adv as supported; Minigotchi has an M5CARDPUTER screen type. The base Cardputer has no dedicated page here yet — see the Cardputer hub. |
| M5StickC Plus 2 | Minigotchi | the M5STICKCP2 screen type; no catalog page on MCU Atlas for this stick yet, so no Buy link here |
| M5StickS3 | M5Gotchi | works with limited input (two buttons); no SD card needed — it uses built-in flash |
| M5AtomS3R | Minigotchi | the M5ATOMSR3 screen type |
| ESP32-2432S028R Cheap Yellow Display | Minigotchi | the CYD screen type; see also which CYD firmware to flash |
| ESP32 DevKitC + SSD1306 OLED | Minigotchi | the cheapest build; Minigotchi also runs screenless over serial |
| microSD card | M5Gotchi | required on Cardputer |
For buying the Cardputer itself, M5Stack's official documentation lives at docs.m5stack.com/en/core/Cardputer.
How to flash Minigotchi-ESP32
This is the Arduino IDE path from the project's own install guide. It is the more hands-on of the two, and the maker does not oversell it: "Getting this project getting set up manually is NOT for the faint of heart, although in the end it gives you a lot of control over your new Minigotchi."
Download the release. Grab the latest zip from the releases page and unzip it.
Configure
config.cpp. Open it in any text editor. The feature toggles look like this:
// define if features will be used
bool Config::deauth = true;
bool Config::advertise = true;
bool Config::scan = true;
Set your screen type (the Config::screen string, e.g. M5STICKCP2 for a StickC Plus 2 or CYD for a Cheap Yellow Display), your channel list, and the whitelist — up to ten SSIDs the pet must leave alone. Note the maker's warning: "you cannot change this after it is flashed onto the board." The whitelist is the one exception — the first-run web setup below can edit it.
Configure
config.h. SetCONFIGUREDto1, setdispto1only if you use a screen, and set exactly one screen define to1:
#define SSD1306 0
#define WEMOS_OLED_SHIELD 0
#define CYD 0
#define T_DISPLAY_S3 0
#define M5STICKCP 0
#define M5STICKCP2 1
#define M5CARDPUTER 0
#define M5ATOMS3 0
#define M5ATOMSR3 0
#define SSD1305 0
#define IDEASPARK_SSD1306 0
#define SH1106 0
#define ESP32_C3_OLED 0
Set up the Arduino IDE. Add the Espressif board-package URLs in Preferences, then install the
esp32board package — the install guide pins version 2.0.10 (newer 3.x cores are listed as work-in-progress and hit a known compile error, the maker's issue #80). Install theArduinoJson,Adafruit GFXandAsyncTCPlibraries, the library matching your screen (for M5 devices:TFT_eSPI, orM5Unifiedfor the Atom boards), and the maker's required fork ofESPAsyncWebServer(download the zip, add it via Sketch → Include Library → Add .ZIP Library, and remove any other ESPAsyncWebServer first).Erase and upload. Plug the board in, pick the board and port, enable Tools → Erase All Flash Before Sketch Upload, and hit upload.
First run. The device starts an access point named minigotchi (sometimes minigotchi 2); the password is dj1ch-minigotchi. Connect, open <http://192.168.4.1>, enter your whitelist as a comma-separated list and submit, then type true in the last box to tell the firmware you are done. From then on you can watch it live over serial at 115200 baud.

How to flash M5Gotchi
M5Gotchi gives you three routes, and two of them never open an IDE:
M5Burner / launcher users: the release notes give on-device update instructions for installs done via M5Burner — Settings → Update → Update from GitHub.
Release .bin: download
cardputer.bin(orm5stick.bin) from the releases page and flash it with your usual ESP32 flashing tool.Build it yourself with PlatformIO:
git clone https://github.com/Devsur11/M5Gotchi/
cd M5Gotchi
pio run
pio run --target upload
First run. Have a microSD card in the Cardputer before you boot. On first boot the firmware creates m5gotchi.conf on the card; after that, all configuration happens in the on-device menus (ESC opens the main menu; the maker's caution is to change values there rather than editing the file). To use the manual functions, Pwnagotchi mode must be set to MANU — the README is emphatic that otherwise "nothing will work." Handshakes land in /M5Gotchi/handshake with the network's SSID and BSSID in the filename.
One upgrade warning from the v0.7 release notes: "After updating, you cant downgrade to prior versions without data loss." The v0.7 update moved M5Gotchi's files into their own folder and encrypts some config values.
Is this legal?
The same rules as every Wi-Fi security tool apply, only more so, because both firmwares can send deauthentication frames. Use them only on networks you own or have explicit permission to test. M5Gotchi's README carries the loudest version of the warning: "THIS FIRMWARE CAN BE USED IN WAYS THAT MAY VIOLATE LOCAL LAWS. YOU ARE RESPONSIBLE FOR YOUR OWN ACTIONS." Deauthing strangers' networks is illegal in many countries — that is not a gray area. If you just want the pet experience without the offensive tooling, run Minigotchi with deauth disabled in the config.
Where to go next
The original: Pwnagotchi on a Pi Zero with an e-ink face — the real reinforcement-learning pet these ports imitate.
Bruce: predatory security firmware on a Cardputer Adv and the ESP32 Marauder toolkit — two security neighbors that share this hardware neighborhood.
Already own a CYD? Our CYD firmware chooser covers what else that board can run.
MCU Atlas is not affiliated with the Pwnagotchi, Minigotchi or M5Gotchi projects or with M5Stack; Pwnagotchi is the original project by evilsocket, and the ESP32 ports covered here are independent community firmware.
