A Bus Pirate as a logic analyzer in 2026, the alternatives, and an Arduino's UART and I2C decoded in PulseView
What a logic analyzer shows that a scope does not, what the Bus Pirate 5 and 6 can capture (8 channels, 62.5 MS/s, 131K samples) and what the old v3 could not, how they compare with a $27 FX2 analyzer, a $4 Raspberry Pi Pico, the DSLogic Plus and the Saleae Logic 8, and a capture you can repeat with an Arduino Uno and PulseView.
Your I2C sensor returns nothing. Is the address wrong, are the pull-ups missing, or does the sketch never reach the Wire call? A logic analyzer answers that in one capture: it records several digital lines at once and decodes them into the bytes, addresses and ACKs that were really on the wire.
This article covers what a Bus Pirate can do as one in 2026, what else to buy, and ends with a capture you can repeat: an Arduino Uno’s serial output and an I2C probe, decoded in PulseView.
Logic analyzer or oscilloscope?
An oscilloscope draws the voltage: how fast an edge rises, whether it rings, whether “high” is really 5 V or a sagging 3.1 V. It usually has two or four channels and a short memory.
A logic analyzer throws the voltage away. Each input is compared with a threshold and stored as a 0 or a 1. That is why it can have 8 or 16 channels, record for seconds, and hand the result to software that turns it into UART bytes or I2C transactions.
Use the analyzer when the question is about data or timing: a wrong address, a missing ACK, a wrong baud rate, a chip select that never goes low. Use the scope when it is about the signal itself: slow edges, ringing, noise. If the decoder shows garbage and the wiring is right, the scope is next.
How fast to sample. PulseView’s manual asks for at least twice the highest frequency in the signal, better three to five times. A 9600-baud bit lasts 104 µs and a 100 kHz I2C bit 10 µs, so 1 to 2 MHz is plenty for both. SPI at 8 MHz is where a 24 MHz analyzer runs out of margin.
The Bus Pirate in 2026
The Bus Pirate is a USB tool that talks to chips for you: you type I2C, SPI or UART commands in a terminal and it sends them on its eight IO pins. Logic capture is a side job. It is open source (the firmware is on GitHub under DangerousPrototypes), and the name is a trademark of Where Labs, LLC, which runs buspirate.com.
The official “Get” page lists two models (27 November 2026):
- Bus Pirate 5 REV10: an RP2040, two ARM cores at 125 MHz. $42.50 with its enclosure at DirtyPCBs. The docs call it the model in volume production and the main platform for new firmware.
- Bus Pirate 6 REV2: an RP2350B, two Cortex-M33 cores at 133 MHz, with more RAM and pins and 12 PIO state machines instead of 8. $82.50 at DirtyPCBs. The docs call it a “luxury” version in limited production, not a replacement for the 5.
The 5XL (RP2350A) was discontinued because of the RP2350’s E9 erratum, and its buyers got a Bus Pirate 6. The firmware already has a “Bus Pirate 7” build target, but nothing by that name is on sale.
What its logic analyzer does
The docs give the same figures for the 5 and the 6: 8 channels (the IO pins), 62.5 MS/s (“or more if overclocked”), 131K samples (the firmware sets aside 131,072 bytes, one per sample) and one trigger: a single pin, high or low.
You can use it from PulseView, which talks to it through the SUMP protocol; in follow-along mode, which captures every time the Bus Pirate itself sends a command; or with the terminal’s logic command, which draws the capture as text.
The limit that matters is memory. 131,072 samples last 2.1 ms at 62.5 MS/s, or 131 ms at 1 MHz, and the Bus Pirate fills its buffer before it sends anything: it does not stream. Good for one burst behind a trigger, no good for “record a minute and find the glitch”.
Three details from the docs:
- Only the 6 reads its pins directly, through a second buffer. On a 5, the capture of a pin the Bus Pirate drives itself may not match the pin. With every pin an input (HiZ mode), it makes no difference.
- Follow-along needs a patched PulseView, prebuilt for Windows only; on Linux it is experimental.
- On Windows, the docs report a USB driver bug in the official PulseView and link to a patched build.
Can it take 5 V signals?
Yes. Each IO pin goes through a 74LVC1T45 buffer whose outside half runs from the VOUT/VREF pin, at 1.2 to 5 V. In SUMP mode, the Bus Pirate switches its supply on at 3.3 V by itself when PulseView opens the port (with the terminal closed, or in HiZ mode). TI’s datasheet allows the buffer’s inputs from 0 to 5.5 V, and with a 3.0 to 3.6 V supply anything above 2 V reads as high. So an Uno’s 5 V is fine. Do not go higher: the docs warn that more than the USB supply (about 5 V) on a pin damages the pin-voltage measurement circuit.
The classic Bus Pirate v3
SparkFun still sells the v3.6a (TOL-12942, $40.77 on 27 November 2026): a PIC24FJ64 with an FT232RL USB-serial chip and 5.5 V tolerant pins. SparkFun calls its analyzer “10 Hz - 1 MHz low-speed”, and the firmware agrees: it reports 5 channels, 4096 samples, 1 MHz. It samples in a polling loop into its terminal buffer, then sends the lot over the serial link.
4096 samples at 1 MHz are 4.1 ms: about four characters of 9600-baud UART, or some 45 bytes of 100 kHz I2C. Enough to see a start condition, not a conversation. A v3 is still a fine chip-talker; do not buy one as an analyzer.
The alternatives
FX2 analyzers: “24 MHz, 8 channels”
These are a Cypress FX2 USB controller and a 24 MHz crystal. PulseView drives them with fx2lafw, sigrok’s open-source firmware.
- No memory: samples stream to the computer, and triggers are done there in software. PulseView’s manual warns that 24 MHz only holds up under perfect conditions, and blames the cheap USB cables they ship with. Try another cable and port first.
- Inputs: SparkFun’s version takes up to 5.25 V, reads above 2.0 V as high and below 0.8 V as low, so 3.3 V and 5 V logic both work. Some boards have an input buffer (sigrok found a 74HC245 in one clone); others wire the inputs straight to the FX2 (sigrok’s AZ-Delivery page), so a wrong wire goes straight into the USB chip.
- Clones often identify as a Saleae Logic, and sigrok’s wiki notes that their sellers bundle Saleae’s software without permission. PulseView with fx2lafw is the open and legal way to use them.
SparkFun’s TOL-18627 costs $26.95 (27 November 2026); SparkFun warns that on some units the GND pin next to input 6 is not a ground. Unbranded boards are cheaper: sigrok’s wiki puts one common model at $5 to $15, a range not checked against a shop for this article.
A Raspberry Pi Pico
A Pico costs from $4 and a Pico 2 from $5 (raspberrypi.com, 27 November 2026). Two projects turn one into an analyzer:
- sigrok-pico, merged into sigrok in September 2023. It is PulseView’s “RaspberryPI PICO” driver, in the nightly builds only (0.4.2 does not have it). 21 digital channels (GPIO 2 to 22) and 3 analog ones. Short captures go into the Pico’s RAM at up to 120 MS/s, for example up to 100K samples with 8 to 14 channels; longer ones stream over USB at a few hundred kS/s with run-length compression. The author advises 60 MS/s at most with 8 or more channels. There is firmware for the Pico and the Pico 2.
- LogicAnalyzer by gusmanb: its own firmware and app, and an optional PCB. 24 channels at 100 MS/s. Release 6.0.0.1 (9 February 2025) has the app for Windows, Linux and macOS; 6.0 added the Pico 2 and sigrok’s protocol decoders. A bare Pico works, with GPIO0 and GPIO1 shorted.
Both are 3.3 V only. The sigrok-pico guide says anything outside 0 to 3.3 V can damage the Pico, and asks for current-limiting resistors on the inputs; LogicAnalyzer has a level-shifter board for 5 V. Between a 5 V Uno and a Pico, put a level shifter.
The branded mid-range
- DSLogic Plus (DreamSourceLab): $149, marked down from $199, on its maker’s shop on 27 November 2026. 16 channels and 256 Mbit of memory: 400 MS/s on 4 channels, 200 on 8, 100 on 16, or 20 MS/s on all 16 when streaming. The threshold is adjustable from 0 to 5 V in 0.1 V steps, and the inputs are rated for −30 to +30 V with its own leads. It comes with DSView, and sigrok supports it too.
- Saleae Logic 8: $499.00, in stock at RobotShop on 27 November 2026 (Saleae’s own page showed no price when checked). 8 channels, digital at 100 MS/s and analog at 10 MS/s, with Saleae’s own software. The threshold is fixed (low below 0.6 V, high above 1.2 V) and the inputs are protected to ±25 V. Saleae notes that slow I2C edges linger between those levels, and suggests its glitch filter.
Side by side
Checked on 27 November 2026. Prices change, so check before you order. These are plain links: the site earns nothing from them.
| Tool | Channels | Fastest | Memory | Inputs | Software | Price |
|---|---|---|---|---|---|---|
| Bus Pirate 5 REV10 | 8 | 62.5 MS/s | 131K samples | 1.2–5 V | PulseView (SUMP), terminal | $42.50 |
| Bus Pirate 6 REV2 | 8 | 62.5 MS/s | 131K samples | 1.2–5 V | as the 5, plus follow-along | $82.50 |
| Bus Pirate v3.6a | 5 | 1 MS/s | 4096 samples | 5.5 V tolerant | SUMP clients | $40.77 |
| FX2 analyzer (SparkFun TOL-18627) | 8 | 24 MS/s | none, streams | up to 5.25 V | PulseView (fx2lafw) | $26.95 |
| Pico + sigrok-pico | 21 + 3 analog | 120 MS/s | Pico’s RAM, or streams | 0–3.3 V only | PulseView nightly | from $4 |
| Pico + LogicAnalyzer | 24 | 100 MS/s | Pico’s RAM | 3.3 V, or its shifter board | its own app | from $4 |
| DSLogic Plus | 16 | 400 MS/s (4 ch) | 256 Mbit, or streams | ±30 V, threshold 0–5 V | DSView, PulseView | $149 |
| Saleae Logic 8 | 8 | 100 MS/s | streams | ±25 V, threshold 1.2 V | Saleae’s app | $499 |
Advice, for an Arduino bench: an FX2 analyzer and PulseView cover almost everything a Uno will throw at you. Buy a Bus Pirate because you want to talk to chips from a terminal, and treat its analyzer as a bonus for short bursts. If you have a Pico and a 3.3 V circuit, it costs nothing to try. The DSLogic Plus buys memory, an adjustable threshold and protected inputs; the Saleae buys polish, at over three times the price.
Worked example: an Uno’s UART and I2C in PulseView
The sketch makes known traffic twice a second. First an I2C probe: the address 0x3C with no data, which is what an I2C scanner sends. Then one line on the serial port at 9600 baud with the result. With nothing at 0x3C, the probe is not acknowledged and the line ends in 2, the Wire library’s code for “no answer to the address”: a common I2C fault, seen from both sides.
logic_demo.ino
// logic_demo.ino: known UART and I2C traffic from an Arduino Uno, to capture and decode with a logic analyzer.
// Twice a second: an I2C probe of address 0x3C (no data) on A4 = SDA and A5 = SCL at 100 kHz, then one line
// with the result on D1 = TX at 9600 baud, 8N1, which the Serial Monitor shows too: "probe 0x3C: 2".
// Results from Wire.endTransmission(): 0 acknowledged, 2 no answer to the address, 4 bus error, 5 timeout.
// geekcowboy.net, 2026. MIT licence.
#include <Wire.h>
const uint8_t PROBE_ADDR = 0x3C; // 7-bit address: set your module's address here to see an ACK instead
const unsigned long PERIOD_MS = 500;
void setup() {
Serial.begin(9600); // slow on purpose: 104 us per bit, about 100 samples per bit at 1 MHz
Wire.begin(); // 100 kHz; also switches on the Uno's weak internal pull-ups
Wire.setWireTimeout(25000, true); // a stuck bus gives result 5 instead of hanging the sketch
}
void loop() {
Wire.beginTransmission(PROBE_ADDR); // start, address, write bit, then stop: no data bytes
uint8_t result = Wire.endTransmission();
Serial.print(F("probe 0x"));
Serial.print(PROBE_ADDR, HEX);
Serial.print(F(": "));
Serial.println(result);
delay(PERIOD_MS);
}
This is for an Uno R3. On an UNO R4, Serial is the USB port and pins 0 and 1 are Serial1: change Serial to Serial1 to see the line on D1.
Wiring
| Uno R3 | FX2 analyzer | Bus Pirate 5/6 | Decoder input |
|---|---|---|---|
| GND | GND | GND | none: connect it first |
| D1 (TX) | first input (D0 in PulseView) | IO0 | UART RX |
| A4 (SDA) | second input (D1) | IO1 | I²C SDA |
| A5 (SCL) | third input (D2) | IO2 | I²C SCL |
SparkFun’s analyzer labels its inputs CH0 to CH7, matching PulseView’s D0 to D7; other boards have their own labels.
- Ground first. Without it the analyzer sees nonsense. An analyzer’s ground is the computer’s ground, and on a mains-earthed PC that is earth: never clip it to a circuit referenced to the mains.
- Pull-ups. Wire switches on the ATmega328P’s internal pull-ups, which are weak. For clean edges, add 4.7 kΩ from A4 to 5V and from A5 to 5V, or plug in any I2C module that has its own.
- D1 is shared with the Uno’s USB serial chip. The analyzer only listens, so it changes nothing.
- Voltage. The FX2 analyzer and the Bus Pirate 5/6 take the Uno’s 5 V directly. A Pico does not.
Which PulseView
PulseView’s last release is 0.4.2, from 31 March 2020. sigrok builds 0.5.0-git every night (the build on sigrok.org on 27 November 2026 was from that morning), and its download page recommends the nightlies. The Pico driver needs one; for an FX2 analyzer a distribution package (sigrok on Debian and Ubuntu) is fine too.
- Linux: the package, or the nightly AppImage plus sigrok’s udev rules (the manual gives the commands); without them PulseView needs root to open the devices.
- Windows: the nightly installer, then Zadig (it comes with it) to give the FX2 analyzer the WinUSB driver. For a Bus Pirate, see its docs’ patched build.
- macOS: the nightly DMG, built for x86 only.
Capture with an FX2 analyzer
- Upload the sketch. The Serial Monitor at 9600 baud should print
probe 0x3C: 2twice a second. - In PulseView, open the device list and choose Connect to Device. Pick the driver fx2lafw (generic driver for FX2 based LAs) and the interface USB, click Scan for devices using driver above, select the 8-channel device it finds and click OK.
- Set 2 MHz and 2 M samples: one second, so at least one burst is in it.
- Click the D1 label and choose the falling edge trigger. SDA idles high; its first fall is the I2C start.
- Click Run, then Zoom to Fit.
Capture with a Bus Pirate 5 or 6
- In the Bus Pirate’s terminal, type
m hiz(every pin an input, pull-ups off), thenbinmodeand choose1(SUMP logic analyzer). Close the terminal or leave it in HiZ. - In PulseView, Connect to Device: driver Openbench Logic Sniffer & SUMP compatibles, interface Serial Port, and the Bus Pirate’s second serial port (not the terminal’s). Scan, then OK.
- Set 1 MHz and the largest sample count offered: 131 ms, enough for the probe and the whole line.
- Click the label of the SDA channel and choose the low trigger; high and low are all the Bus Pirate has.
- Click Run. If a trace stays flat, see which channel moves and rename it.
Decode
- UART: click the “add protocol decoder” button and pick
UART. Click the new decoder’s label and set RX to the D1 channel, Baud rate to9600(the default is 115200) and Data format toascii. - I²C: add it the same way and set SCL and SDA. If you first rename the channels
SCLandSDA(click a label), PulseView assigns them by itself.
Zoom in on the start of a burst and you should see:
- on the I²C row:
Start,Address write: 3C,NACK,Stop. Nothing answered, so the Uno stopped after the address; - on the UART row, right after it and about 15 ms long, one box per character:
p,r,o,b,e, a space,0,x,3,C,:, a space,2, then[0D]and[0A], the carriage return and line feed fromprintln().
Set PROBE_ADDR to the address of a module on the bus, and the NACK becomes an ACK and the line ends in 0.
If it does not look like that:
- Flat lines: no ground wire, or the wrong channel.
- Frame errors or random characters: the baud rate is still 115200, or RX is on the wrong channel.
- Nothing on the I²C row: SCL and SDA swapped, or the capture missed the burst; use the trigger.
- Odd extra edges on I2C: slow edges from the internal pull-ups; add the 4.7 kΩ resistors.
- The FX2 analyzer stops with an error: this example needs no more than 2 MHz. Try another USB cable.
No capture was made on real hardware for this article. If you run it and something does not behave as described, the About page says where to write.
Sources
All read on 27 November 2026.
- Bus Pirate documentation (Where Labs): Available Logic Analyzers, PulseView (Normal), PulseView (Follow Along), Bus Pirate hardware overview, Bus Pirate 6 specs, Hardware Design (6 REV 2), RP2350 Preview & Launch; buspirate.com/get
- DirtyPCBs, Bus Pirate 6 (RP2350B) with enclosure and Bus Pirate 5 REV10 with enclosure
- Bus Pirate 5/6 firmware, src/binmode/sump.c (sample memory, the Bus Pirate 7 target) and the patched PulseView for Windows
- Bus Pirate v3 firmware, Firmware/SUMP.c and busPirateCore.h; SparkFun, Bus Pirate v3.6a, TOL-12942
- Texas Instruments, SN74LVC1T45 datasheet, SCES515N (June 2024): input voltage and thresholds
- sigrok: Downloads, the binary download directory (build dates), the PulseView manual, fx2lafw, AZDelivery Logic Analyzer, MCU123 Saleae Logic clone, DreamSourceLab DSLogic Plus
- sigrok source code: PulseView’s CMakeLists.txt (version 0.5.0); libsigrok’s drivers fx2lafw, openbench-logic-sniffer and raspberrypi-pico; libsigrokdecode’s UART and I²C decoders
- SparkFun, USB Logic Analyzer 24MHz/8-Channel, TOL-18627 and Using the USB Logic Analyzer with sigrok PulseView
- sigrok-pico: README and USER_GUIDE.md (channels, sample rates, input voltage)
- LogicAnalyzer by gusmanb: README and releases
- Raspberry Pi, Raspberry Pi Pico and Raspberry Pi Pico 2
- DreamSourceLab, shop, DSLogic series and the DSLogic Plus datasheet (v1.2)
- Saleae, Logic 8 product page and Supported Voltages; RobotShop, Saleae Logic 8
- Arduino language reference, Wire and Serial (the Uno’s pins); ArduinoCore-avr, twi.c (return codes, the stop after a NACK, the internal pull-ups) and twi.h (100 kHz)