← How-Tos
raspberry-pi 2 days ago ◑ 9 views ◯ 5 min read

Running a PicoScope USB Oscilloscope Headless on a Raspberry Pi: Driver Setup, Streaming, and Remote Access

raspberry pipicoscopeusb oscilloscopeheadlessremote accesselectronics debugginglinux drivers

A PicoScope is one of the better value entry points into real oscilloscope bandwidth for a maker bench — it's a USB peripheral rather than a standalone instrument, which normally means tethering it to whatever laptop happens to be nearby. Pairing one with a dedicated Raspberry Pi instead turns it into a small, permanently-mounted bench instrument: leave the Pi connected to the PicoScope and powered on at the bench, and pull up a live scope session from any other machine on the network without dragging a laptop over every time something needs probing.

Why a Pi Instead of Just Using a Laptop

Installing PicoSDK and PicoScope Software on Raspberry Pi OS

Pico Technology publishes ARM builds of their Linux SDK and drivers, which install via their official apt repository rather than a generic binary — using the vendor repository matters here because PicoScope hardware support spans several distinct driver packages (ps2000, ps3000a, ps4000, ps5000a, ps6000, etc.) depending on which scope series you own, and the repository handles dependency resolution correctly where a manually downloaded .deb often doesn't.

  1. Add Pico Technology's apt repository and signing key per their current published instructions for Debian/Raspberry Pi OS ARM builds.
  2. Install libusb-1.0-0 and the specific driver package matching your PicoScope model (check the model number on the device — a PicoScope 2206B needs libps2000a, a 4000-series needs libps4000, and so on).
  3. Install the PicoScope application itself if you want the full GUI available locally on the Pi (useful for first setup and verifying the scope enumerates correctly), or skip straight to the API/SDK if you're building a headless, scripted capture workflow instead.
  4. Plug in the PicoScope via USB and verify it enumerates — lsusb should show the Pico Technology device, and the driver package's included test utilities (varies by series) should detect it without errors.

Two Approaches to Headless Access

ApproachHow It WorksBest For Remote desktop to the Pi (VNC/RDP)Run the full PicoScope GUI app on the Pi, view and interact with it remotely exactly as if sitting at the benchInteractive work — adjusting triggers, scrolling through a waveform, anything exploratory Scripted capture via the SDK's C/Python APIWrite a script using Pico's Python wrappers (picosdk package) that configures the scope, captures, and saves or streams data without any GUI running at allAutomated/unattended logging, long-duration captures, integrating scope data into a larger monitoring pipeline

For most bench use, VNC to the Pi running the full PicoScope application is the simpler and more immediately useful setup — it behaves exactly like using the scope locally, just over the network. The scripted API route is worth the extra setup time specifically when the goal is unattended, long-duration capture (watching for an intermittent glitch over hours) where nobody needs to be actively looking at a live trace the whole time.

A Minimal Python Capture Script (Conceptual)

Pico's official picosdk Python wrappers follow a consistent pattern across scope series: open the device, configure each channel (voltage range, coupling), set up the trigger condition, run a block or streaming capture, then retrieve and process the buffer. A streaming capture — continuously pulling smaller chunks of data rather than one large block — is the right mode for long unattended monitoring, since it doesn't require holding an entire multi-hour capture in memory at once; write each chunk to disk or evaluate it against a threshold as it arrives instead.

Network and Remote-Access Considerations

Troubleshooting

SymptomLikely Cause Scope doesn't enumerate at allWrong driver package for the specific model, or a USB power issue — try a powered hub if the Pi's USB ports are already loaded with other peripherals GUI runs locally but crashes/freezes over VNCInsufficient Pi graphics performance for the GUI's rendering over a remote session — try a lower VNC color depth/resolution Streaming capture drops samplesUSB bandwidth or Pi CPU load — reduce sample rate, or move to scripted capture without the full GUI running simultaneously

Safety Notes

A PicoScope, like any oscilloscope, has probe ground references tied together internally on most models — don't probe two points that are at different potentials relative to mains ground with two channels simultaneously unless the specific scope model and probes are rated for that (differential/isolated probes exist for exactly this situation). This matters just as much in a remote/headless setup as it does sitting at the bench; the physical safety considerations of probing a live circuit don't change just because the display is on a different screen.

Once set up, a Pi-hosted PicoScope stops being "the scope I have to go get the laptop for" and becomes a genuine fixture of the bench — always connected, always reachable, and ready for a quick look at a signal without any setup overhead.