Use a Raspberry Pi PICO (RP2040) as a logic analyzer and oscilloscope with sigrok.
======= Please start with the Getting Started page : https://github.com/pico-coder/sigrok-pico/blob/main/GettingStarted.md
Merged to mainline sigrok (September 2023)
Install from sigrok.org/downloads. PulseView 0.4.2 and sigrok-cli 0.7.2 do not support sigrok-pico.
| Document | Description |
|---|---|
| USER_GUIDE.md | Getting started and analyzer operations |
| TECHNICAL.md | Serial protocol and build instructions |
| pulseview/Readme.md | Windows installer |
sigrok-pico/
├── pico_pgen/ # Digital function generator for testing
├── pico_sdk_sigrok/ # RP2040 firmware (see release/ for UF2 files)
└── pulseview/ # Windows installer (unofficial)
This project implements a sigrok driver for the Raspberry Pi PICO RP2040 using the PICO SDK CDC serial library. It works with both PulseView (GUI) and sigrok-cli (command-line):
- 21 digital channels (D2-D22)
- 3 analog channels (A0-A2)
- Mixed-mode capture (combined digital + analog)
PulseView is the recommended graphical interface for sigrok-pico:
- Install PulseView from sigrok.org/downloads
- Flash the PICO with the appropriate UF2 firmware
- In PulseView, select "raspberrypi_pico" driver and configure the serial port
Note: PulseView 0.4.2 does not support sigrok-pico. Use a newer version or the unofficial Windows installer.
Pre-compiled UF2 files are available in pico_sdk_sigrok/release/:
| File | Description |
|---|---|
| pico_baseline.uf2 | Standard firmware |
| pico_dig26.uf2 | 26-channel digital |
| pico_dig32.uf2 | 32-channel digital |
| pico2_*.uf2 | PICO 2 variants |
Building is straightforward using the VSCode extension:
- Install the "Raspberry Pi Pico Project" extension in VSCode
- Import the project using the extension
- Select the latest SDK version when prompted
- Select the board type (e.g.,
picoorpico2) - Click "Run Project (USB)" to build and flash
For command-line builds and more details, see TECHNICAL.md.
See LICENSE for details.