
ESP32-Bit-Pirate
Multi-protocol hardware hacking firmware for ESP32-S3 boards.
Replaces —

Who it's for
The I2C scanner, SPI flash dumper, UART bridge, and JTAG mode cover the most common initial hardware bring-up tasks without writing a custom sketch or installing a full debug toolchain. Python scripting extends those tasks into repeatable test sequences for hardware revisions.
Your hardware bring-up requires JTAG debugging with breakpoint and variable inspection. The firmware's JTAG mode works via OpenOCD for scanning and SWD access, but it is not a replacement for a dedicated debug probe with IDE integration.
Sub-GHz signal capture and replay, RFID reading, Bluetooth scanning, and Wi-Fi sniffing are available through the same firmware. A CC1101-equipped board covers Sub-GHz; the PN532 module adds NFC and RFID. The unified CLI keeps the workflow consistent across protocol types, and Python scripts can automate capture sequences.
Your work requires portable wireless analysis without a laptop or USB connection. The M5 Cardputer's standalone mode covers some fieldwork, but for fully pocket-carried operation a dedicated portable device may be more practical.
The browser-based CLI means students can follow along from any laptop or tablet without installing drivers or a terminal application. The scan command identifies I2C devices on a bus, and the recipe library documents wiring and commands for common exercises. The Web Python Lab adds scripting practice without a local Python setup.
The course requires specific certified lab equipment. Some curricula are built around dedicated hardware with standardized connections; substituting a general-purpose firmware tool may introduce unexpected variables.
The UART auto-detection, I2C register dump, SPI flash read, and CAN bus sniff modes support the initial investigation steps when examining an unfamiliar IoT device. The Web Serial terminal provides a session log in the browser. Python scripts can automate multi-step sequences across multiple device connections.
The audit requires certified tooling for compliance documentation. Research firmware is not a certified audit instrument; formal security assessments typically require traceable, accredited tooling.
The problem
Hardware debugging and protocol analysis require multiple dedicated tools: a logic analyzer for wired buses, a serial adapter for UART, an RFID reader, a Sub-GHz sniffer, and a JTAG programmer. Stocking a bench with capable hardware for every protocol costs hundreds of dollars, and each tool comes with its own drivers and software. Switching between tools during a debugging session adds friction and breaks focus. Commercial multi-tool devices exist but lock the user into a fixed hardware configuration; any feature not on the original spec requires a separate device purchase. For embedded developers iterating quickly on new hardware, students learning multiple protocols in a lab, and security researchers who need wireless and wired coverage in the same session, the lack of a unified, open, and affordable bench tool is a persistent friction point.
How it works
Supports wired buses (I2C, SPI, UART, 1-Wire, 2-Wire, CAN, JTAG, SWD), wireless protocols (Wi-Fi, Bluetooth, Sub-GHz, LoRa, RFID, RF24), and USB adapter modes in a single firmware image. Each protocol has its own CLI mode with commands for scanning, reading, writing, sniffing, and scripting. Switching between protocols requires only a mode command, not a hardware swap.
A browser-hosted Web Serial terminal connects to the device over USB without installing drivers or a terminal application. The same interface works on desktop, tablets, and mobile devices. A Wi-Fi Web CLI provides network-based access to the same CLI from any device on the local network, useful for headless bench setups or remote monitoring.
Python scripts control the firmware over serial for repeatable protocol tests, EEPROM dumps, GPIO automation, and scan reports. The browser-based Python Lab lets you write and run scripts without a local Python install. Useful for regression testing new hardware revisions, batch device provisioning, or automating signal captures across a lab session.
The project ships a browser-based Web Flasher that writes the firmware to a connected board via WebSerial without requiring PlatformIO, esptool, or any local toolchain. Pick a supported board from the list, connect over USB, and flash in one step. The M5Stack M5Burner app also supports flashing for M5Stack boards.
An optional Dock board for the ESP32-S3 DevKit accepts original Bus Pirate adapters and accessories. The Dock adds level logic adaptation from 1.8V to 5V for targets outside the ESP32's native 3.3V range. Teams with existing Bus Pirate adapter collections can reuse them without purchasing new probes.
Using a CC1101 module, the firmware scans active Sub-GHz frequencies, records signals, and replays them. The Cardputer ADV and T-Embed CC1101 boards include CC1101 built-in; other boards attach it via direct wiring. Supported operations include frequency scanning, signal capture, and playback for testing wireless device responses.
Features
- 20+ Protocol Modes in One Firmware
- Browser-Based Web Serial Terminal
- Python Scripting and Lab Automation
- One-Click Web Flasher
- Dock Hardware for Bus Pirate Adapter Compatibility
- Sub-GHz Signal Analysis and Replay
How to install
Flash the firmware to any supported ESP32-S3 board in one click using the Web Flasher, or download a pre-built binary from GitHub Releases: https://github.com/geo-tp/ESP32-Bit-Pirate/releases/latest
Recommended for this setup
Strengths
- MIT License with No Use Restrictions: The firmware is MIT licensed, which means it can be used in commercial products, modified without disclosure requirements, and deployed in any environment without licensing fees. Unlike GPL or AGPL licenses, MIT imposes no share-alike obligation, so hardware makers building products on ESP32-S3 can include the firmware without license compatibility concerns.
- Hardware Cost from €5 to €60: Compatible boards start at around €5 for basic ESP32-S3 DevKit boards and go up to €60 for feature-rich units like the T-Embed CC1101 Plus with built-in Sub-GHz, NFC, LoRa, and IR. The firmware runs on all supported boards with no feature differences between them, so users can start with a minimal board and upgrade hardware without changing their workflow.
- No Desktop Software Required for Most Workflows: The Web Flasher installs the firmware from a browser. The Web Serial terminal provides CLI access from the same browser without additional drivers. The Python Lab runs scripts in the browser without a local Python install. Most common workflows complete entirely in the browser, reducing setup time for students, occasional users, and shared lab environments.
- Active Development with Broad Board Support: The repository reached 6,299 stars and 544 forks since its creation in July 2025, with the last commit in October 2026. The project supports 15+ named boards and extends to any ESP32-S3 with at least 4 MB of flash. Community supporters include M5Stack, Seeed Studio, Heltec Automation, and PCBWay.
Trade-offs
- GPIO Logic Fixed at 3.3V: The ESP32-S3 GPIO pins operate at 3.3V. Connecting targets that use different voltage levels (1.8V or 5V) without level-shifting hardware can damage the ESP32 or the target device. The optional Dock accessory adds level adaptation for 1.8V to 5V targets, but without the Dock, voltage mismatch is a real risk for users debugging mixed-voltage boards.
- Wireless Modes Require External Modules on Basic Boards: Sub-GHz and RFID support require a CC1101 or PN532 module wired to the board's GPIO pins. LoRa requires an SX1262 module. Boards like the T-Embed CC1101 and Cardputer ADV include these modules built-in, but basic DevKit boards need external wiring. The pin mapping varies by board, and incorrect wiring can cause failures that are not always obvious from the error output.
- Pin Mapping Varies Across Boards: The firmware uses default pin mapping for each supported board, but the mapping may not match an unsupported or custom board. Users flashing the firmware on a board not in the official list need to verify the GPIO assignments before wiring targets, and some configurations require modifying the firmware source. The wiki documents the default pin maps for each official board.
- 30 Open Issues as of October 2026: The issue tracker lists 30 open issues. The project is under active development, so some features or board combinations may have unresolved bugs or incomplete documentation. Check the issue tracker before deploying in a production testing environment where stability is critical.
Tech stack
FAQ
The firmware officially supports 15+ named boards including the ESP32-S3 DevKit variants, M5 Cardputer, M5 AtomS3 Lite, M5 StampS3, M5 Stick S3, LILYGO T-Display, T-Embed, T-Embed CC1101, Heltec WiFi LoRa 32 V4, Heltec Vision Master T190, Seeed Studio XIAO S3, Waveshare ESP32-S3-GEEK, and the Unexpected Maker ProS3. Any ESP32-S3 board with at least 4 MB of flash can run the DevKit or SuperMini build, though the default pin mapping may not match your board's layout.
No. The Web Flasher installs the firmware from a browser window using WebSerial, without needing PlatformIO, esptool, or a local toolchain. Once flashed, the firmware is accessible through a browser-based Web Serial terminal, the Wi-Fi Web CLI, or a standard serial terminal app. Most common workflows complete entirely in the browser, though PlatformIO is available for developers who want to build from source or add custom commands.
Yes. The firmware supports Python automation over serial, using Bus Pirate-style bytecode instructions or custom Python scripts. The browser-based Python Lab lets you write and run scripts without a local Python install. Scripts can automate I2C scans, SPI flash dumps, GPIO state reads, LED animations, data logging, and other repeatable tasks. The scripts repository is maintained separately from the main firmware.
The ESP32-S3 GPIO pins operate at 3.3V logic. Connecting targets at other voltage levels directly to the GPIO pins can damage the ESP32 or the target device. The optional Dock accessory adds level adaptation for targets using 1.8V to 5V logic. For boards without the Dock, verify the target voltage before connecting and use external level shifters when needed.
ESP32-Bit-Pirate is explicitly inspired by Bus Pirate and extends its concept with wireless protocols (Sub-GHz, LoRa, BLE, Wi-Fi, RFID) that Bus Pirate hardware does not cover, and with browser-based tooling that requires no desktop application. A Dock accessory makes the firmware compatible with original Bus Pirate adapters, so existing adapter collections can be reused with ESP32-Bit-Pirate.