Build it step by step
0 of 7 doneFlash the firmware
Copy the .uf2 file with BOOTSEL held.
Install PulseView
Check it sees the Pico.
Join the grounds
Pico GND to the circuit's ground.
Capture a UART
Probe a Nano's TX pin.
Decode it
Add the UART decoder at 9600 baud.
Capture an I2C bus
Probe SDA and SCL of an OLED.
Add the level shifter
Use it for 5 V circuits.
How do you build a logic analyser from a Pico?
A Pico runs logic analyser firmware and captures 8 or more channels for viewing in PulseView. You need Raspberry Pi Pico H, USB A to micro-USB cable (data), Jumper wires female to female (40 pcs) and TXS0108E 8-channel level shifter. It takes 7 steps and about 60 minutes.
- Level
- Intermediate
- Time
- About 60 min
- Parts
- 4
Parts list
Tick what you already own. It saves to My Garage, so “Build with what I have” knows.
Wiring
| From | To | Why |
|---|---|---|
| Pico GP0 to GP7 | Probes on the signals to capture (channels 0 to 7) | Eight logic inputs |
| Pico GND | Signal ground of the circuit under test | Common ground (always join the grounds) |
| TXS0108E VCCA | Pico 3V3 | Low-side supply |
| TXS0108E VCCB | 5 V from the circuit under test | High-side supply, only if it is a 5 V circuit |
| TXS0108E A1 to A8 | Pico GP0 to GP7 | Level-shifted inputs |
| TXS0108E B1 to B8 | The 5 V signals | Probes |
| USB | Pico to the computer | Power and data |
Code
A Pico can sample its inputs very fast and send them to a computer, so with the right firmware it becomes an inexpensive logic analyser: it records when signals go high and low, and PulseView draws the waveforms and decodes buses such as UART, I2C and SPI. Follow the firmware project's own instructions for its driver and settings, since these change with versions. The Pico's inputs accept 3.3 V only; probing a 5 V Arduino directly can damage it, so use the level-shifter board for 5 V signals. Always join the grounds first. This is a learning tool; it samples at a few MHz at best and has no input protection of its own, so never probe mains, motor supplies or anything above 3.3 V, and do not use it on automotive or industrial circuits. Practise on a Nano printing text, then on an OLED's I2C lines.
# Logic analyser from a Pico. Steps on a computer. Not an Arduino sketch.
# 1. Download the sigrok-pico firmware (the .uf2 file) from the project's releases page.
# 2. Hold the BOOTSEL button on the Pico while plugging it in, then copy the .uf2 file to the RPI-RP2 drive that appears.
# The Pico restarts as a logic analyser.
# 3. Install PulseView from your package manager, or from the sigrok project's download page.
# Follow the sigrok-pico README for the driver name and the settings to choose (device list, sample rate, channels).
# 4. Connect the Pico probes. Always join the Pico GND to the ground of the circuit being tested.
# Never connect more than 3.3 V to a Pico pin. Use the level shifter for 5 V signals.
# 5. A practice signal: let an Arduino Nano send text on its TX pin and probe it.
# void setup() { Serial.begin(9600); }
# void loop() { Serial.println("Hello"); delay(500); }
# Probe Nano TX (D1) to Pico GP0, Nano GND to Pico GND.
# 6. In PulseView choose the Pico, sample 1 MHz, 8 channels, capture, then add the UART decoder (baud 9600) on channel 0
# and read "Hello" in the decoded row.
# 7. Next, probe I2C: SDA on GP0 and SCL on GP1 of an OLED, add the I2C decoder, and read the address 0x3C bytes.Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Nano sending Hello | Decoder shows the text |
| I2C on an OLED | Shows the address and data |
| 5 V circuit with the shifter | Clean waveforms, no damage |
| Without common ground | Garbage, so always join the grounds |
If it does not work
PulseView does not see the Pico
Check the firmware version and the driver name from the README.
Decoded data is garbage
Check the baud rate and the sample rate.
Nothing captured
Check the trigger settings and the ground wire.
Pico gets hot
Disconnect, a probe is on too high a voltage.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the logic analyser from a Pico?
Raspberry Pi Pico H, USB A to micro-USB cable (data), Jumper wires female to female (40 pcs) and TXS0108E 8-channel level shifter. TXS0108E 8-channel level shifter: For 5 V signals.
How long does the logic analyser from a Pico take to build?
About 60 minutes for a intermediate maker, in 7 steps.
How do I know the logic analyser from a Pico works?
Nano sending Hello: Decoder shows the text. I2C on an OLED: Shows the address and data. 5 V circuit with the shifter: Clean waveforms, no damage.
PulseView does not see the Pico: what should I check?
Check the firmware version and the driver name from the README.
Decoded data is garbage: what should I check?
Check the baud rate and the sample rate.
Nothing captured: what should I check?
Check the trigger settings and the ground wire.
Pico gets hot: what should I check?
Disconnect, a probe is on too high a voltage.
