ESP32 Bus Pirate open-source firmware works on off-the-shelf hardware

ESP32 Bus Pirate is an open-source firmware inspired by the original Bus Pirate from Dangerous Prototypes, which turns off-the-shelf (ESP32-S3) hardware into a multi-protocol hacker’s tool.

It supports sniffing, sending, scripting, and interacting with various digital protocols (I2C, UART, 1-Wire, SPI, etc.) via a serial terminal or web-based CLI. It’s been tested on Espressif ESP32-S3-DevKitC-1 development board, M5Stack Cardputer, M5StickC Plus2, Atom S3 Lite, M5Stamp S3, and LILYGO T-Embed (CC1101) boards.

ESP32 Bus Pirate

ESP32 Bus Pirate firmware highlights:

ESP32 Bus Pirate Mobile
The web interface also works fine on mobile
  • Interactive CLI via
    • USB serial – For faster performance and high responsiveness
    • Web interface (over WiFi) – No cable needed to the host, works from any web browser
  • Supported Modes
    • HiZ (default) – High-Z is a safe mode where all outputs are disabled and all power supplies are turned off
    • I2C (scan, glitch, slave mode, dump)
    • SPI (flash, SD card, slave mode)
    • UART / Half-Duplex UART (bridge, read, write)
    • 1-WIRE (ibutton, temp sensor)
    • 2-WIRE (smartcard) / 3-WIRE (eeprom)
    • DIO (Digital I/O, read, pullup, set)
    • Infrared (Device-B-Gone, send and receive)
    • USB (HID, mouse, keyboard, gamepad, storage)
    • Bluetooth (BLE HID, scan, spoofing, sniffing)
    • Wi-Fi (scan, AP, connect, sniff, deauth)
    • JTAG (scan pinout, SWD)
    • LED control (animations, set LEDs)
    • I2S audio
    • CAN Bus
  • Protocol sniffers for I2C, Wi-Fi, Bluetooth, 1Wire, CAN.
  • Scripting using Bus Pirate-style bytecode instructions.
LILYGO T-Embed ESP32 Bus Pirate
ESP32 Bus Pirate on LILYGO T-Embed

You’ll find the C++ source code, firmware files for the supported targets, and documentation for each mode on GitHub under a permissive MIT License. The developer (Geo) warns that devices should only operate at 3.3V or 5V, and connecting peripherals using other voltage levels may damage your ESP32. If you need more flexibility for the voltage levels, you may have to get a Bus Pirate hardware tool, like the latest Bus Pirate 5XL and 6 based on Raspberry Pi RP2350A/RP2350B, especially now that the RP2350 A4 stepping with E9 GPIO Erratum fix is out.

Via Hackster.io

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 Comments
oldest
newest
Boardcon MINI1126B-P AI vision system-on-module wit Rockchip RV1126B-P SoC