Home›Adafruit Blog›Article

A passive USB 1.1 packet sniffer using the RP2040 PIO coprocessor

Anne Barela · Nov 30, 2026

AI summary AI-generated, may contain mistakes

Ângelo Moisés Alves has released USBSnifferPIO_RP2040, a passive USB 1.1 packet sniffer for the Raspberry Pi Pico that uses the RP2040's PIO coprocessor to read raw USB traffic between a computer and a device without disrupting either end. The tool decodes packets in parallel across both cores and captured every packet during an 8-hour test verified against Wireshark. The library is MIT-licensed, available through the Arduino Library Manager, and also works on the Pico W.

Ângelo Moisés Alves has released USBSnifferPIO_RP2040 on GitHub. It’s a USB packet sniffer which runs on a Raspberry Pi Pico. It reads the traffic between a computer and a USB device. Both ends keep working as normal while it listens.

The RP2040’s own USB hardware can act as a host or a device. The sniffer reads the raw USB lines with the PIO coprocessor instead. Captured data goes into two buffers. Both cores decode at the same time.

An 8-hour test run captured every packet, with the results checked against Wireshark. The library is in the Arduino Library Manager. It works on the Pico W too. The license is MIT.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

More from Adafruit Blog

The Python on Microcontrollers Newsletter: subscribe for free

AI summaryThe Python for Microcontrollers Newsletter is a free, ad-free weekly email covering the latest news about Python on hardware, including microcontrollers and single-board computers like Raspberry Pi. It delivers a weekly roundup of CircuitPython, MicroPython, and Python software, events, projects, and hardware updates, arriving Mondays around 11 am US Eastern time. Readers can subscribe for free, cancel anytime, and are encouraged to share it with friends and colleagues.

Announcing the PSF Security Roadmap for Python and PyPI

AI summarySeth Michael Larson has published the PSF Security Roadmap for Python and PyPI on the Python Software Foundation blog, outlining the Foundation's security priorities for the coming year. Key initiatives include expanding the PyPI malware reporting API—whose high-confidence reports can automatically quarantine projects, as demonstrated when the Telynx supply-chain attack was shut down in under three hours—plus a new Malware Triager role. Additionally, the Python Security Response Team is now publishing about four times as many vulnerabilities, largely due to LLMs finding bugs in open source code, while Emma Smith, Bénédikt Tran, and Seth Larson are writing a PEP on quantum-safe algorithms.

Building and programming the pocket MINIL computer

AI summaryThe Pocket MINIL Computer, published on Technoblogy, is a handheld machine-code trainer with a hexadecimal keypad that runs a simplified one-byte instruction set called MINIL, displaying the corresponding assembler statements as opcodes are entered. Its built-in development environment offers breakpoints, single-stepping, and a slow mode that pauses to show register contents, and it comes with eight example programs including Fibonacci and long division. The device is built around an AVR64DD14 chip with a 128×64 OLED display, reads keys via a resistor ladder on one analog input, and is powered by two AAA cells whose holder doubles as a stand.

retro-bionic: a circuit board to run retro hardware CPUs

AI summaryTadashi G. Takaoka has released Bionic on GitHub, a circuit board that runs real vintage CPUs such as the Z80, which can be stepped one bus cycle at a time from a terminal. A Teensy 4.1 wired to all processor pins drives the clock, bus cycles, and emulated memory and peripherals, while a single firmware image provides an assembler, disassembler, and debugger for every supported chip. The two-board hardware, with CPU boards mapping signals via small pinout files, is licensed under the Apache License, Version 2.0.

ICYMI: The Python on Microcontrollers Newsletter: CircuitPython 11 Beta, VS Code Decline, 700 CP Boards, Dabao Support and More!

AI summaryThis ICYMI edition of the Python on Microcontrollers Newsletter highlights the release of CircuitPython 11.0.0-beta.0 with a new displayio built on LVGL, the milestone of 700 CircuitPython-compatible boards, and a new CircuitPython port for the Dabao chip. It also covers declining VS Code usage as AI coding tools like Claude Code rise, a browser-based MicroPython editor called Pico Pipette, and the Python Software Foundation reopening its Grants Program with a $125,000 round. The issue rounds out with community projects, updated Adafruit learning guides, and CircuitPython library updates bringing the total to 605 libraries.