Pseudonymous developer “Geo TP” has taken inspiration from Harmful Prototypes’ Bus Pirate household of digital multi-tools, constructing a firmware that replicates as a lot performance as doable onto a variety of Espressif ESP32-based growth boards.
“ESP32 Bus Pirate is an open supply firmware that turns your gadget right into a multi-protocol hacker’s instrument, impressed by the legendary [Dangerous Prototypes] Bus Pirate,” Geo explains. “It helps sniffing, sending, scripting, and interacting with varied digital protocols (I2C, UART, 1-Wire, SPI, and so forth.) by way of a serial terminal or web-based CLI [Command-Line Interface].”
Have an Espressif ESP32 growth board mendacity round? Fancy turning it right into a Bus Pirate-alike? (📷: Geo TP)
Geo wears the challenge’s inspiration proudly, to the purpose of even borrowing its title. The unique Bus Pirate was launched by Harmful Prototypes’ in 2008, and since then Ian Lesnet has developed a variety of firmware enhancements and successive designs culminating within the Bus Pirate 5 that launched final 12 months.
Geo’s tackle the challenge, although, does not require customized {hardware}; as a substitute, it is designed for compatibility with off-the-shelf growth boards constructed round Espressif’s ESP32 microcontroller household. On the time of writing, the challenge supported Espressif’s ESP32-S3-Dev-Package, the M5Stack Cardputer, M5Stick C Pluls 2, Atom S3 Lite, M5Stamp S3, LILYGO T-Embed, and the T-Embed CC1101.
The firmware consists of help for utilizing the Wi-Fi and Bluetooth radios current on the goal ESP32 gadgets. (📹: Geo TP)
Options applied embrace I2C, SPI, UART, 1-Wire, 2-Wire, and 3-Wire, I2S, and CAN bus connectivity, digital enter/output, USB, infrared ship and obtain, Bluetooth, Wi-Fi, and JTAG debugging. There are protocol sniffers for I2C, 1-Wire, and CAN bus, auto-detection for UART baud price, and help for scripting utilizing Bus Pirate-style bytecode directions.
The challenge is documented in full on GitHub, the place the supply code is made accessible below the permissive MIT license; Geo warns, nevertheless, that “gadgets ought to solely function at 3.3V or 5V[DC},” and that connecting peripherals running at other voltage levels “may damage your ESP32.”