When you’re setting up a research lab at home, one of the things that can add up quickly is the parts list for the tools and equipment that you’re going to need to analyse and build systems and software. What you’ll need will depend on what you’re working on, but spend a few years doing this type of thing and you’ll soon acquire a pretty broad collection of gear.
Some purchases will be unavoidable, but for others, there may be an open-source alternative available that you can build in-house. While it can be a bit more intensive than simply buying a product, taking on these types of projects is a great way to understand what’s happening behind the scenes.
At the end of the project, you’re left with a piece of equipment that you put together, not to mention the fact that rolling your own gear is pretty damn cool as well.
Today, we’ll follow this ethos by using open-source firmware and turning the ultra-cheap Raspberry Pi Pico into a fully fledged logic analyser that we can use as a lab tool.

The Hardware
Hardware for this project is extremely simple. We’ll need:
The Pi Pico,
1 kΩ resistors for series input current limiting
Jumper wires
Header Pins
And if you’re really fancy, a breadboard to throw it all together on.
Sometimes, you just go with the quick and nasty option. Headers, jumpers, resistors and a 3d Printed case to keep everything in order.
We don’t need no stinkin’ breadboards.

The Software
To get everything working correctly, we will need two specific pieces of software configured to give us what we need.
First up, we’ll need the sigrok-pico package that turns the Raspberry Pi Pico into a logic analyser and enables data capture.
Once we’ve configured our Pico to work as a logic analyser, we’ll then use the Pulseview package to communicate with the Pico and initiate the captures.
Ease of installation for this project varies according to the system in use and may cause a few little headaches along the way. In the lab, Ubuntu rules the roost however, while the usual APT package manager does contain PulseView, it isn’t configured to work with the Pico as a capture device.
We can get around this by using an AppImage install, but living life on Team Penguin is never boring.

The Build
The Pico is ridiculously easy to program. First, we’ll need to grab the UF2 file from its source so we can flash it correctly. Once you’ve found it, download it.
To configure the Pi, we’ll plug it into our machine while holding the boot button down to ensure it’s in flash mode. Then, we’ll drop the UF2 file directly on the device.
To check that the flash has worked correctly, check the available USB devices on your machine.
Bus 001 Device 016: ID 2e8a:000a Raspberry Pi Pico
A successful flash should show in your list with the ID listed above.
You can also check to confirm that it’s being seen by your machine as a serial device.
ls /dev/ttyACM*
Next, we’ll need to install the Pulseview software. As we mentioned earlier, the apt variant will not allow you to communicate with the Raspberry Pi device.
So, we’ll go straight to the source to get the AppImagethat works correctly with Ubuntu. You can either use the nightly or the release builds.
Running it is easy. Once the image has downloaded, we’ll need to set it as an executable by running the following command in the terminal.
chmod +x pulseview-NIGHTLY-x86_64-debug.AppImage
Then we can run it with
./pulseview-NIGHTLY-x86_64-debug.AppImage
If everything is working correctly, you should have Pulseview up and running.

To get ready for capture, the final step is to ensure our newly configured Pico works correctly with Pulseview.
First, we’ll bring up the “Connect To Device” tab so we can select the correct drivers for our board. Obviously, we’ll be using the Raspberry Pi Pico.
While the Pi connects via USB, we’ll be using the serial port to connect and communicate with it. If the Pi is set up correctly, you should see the serial number greyed out but visible in your list.
To access it, hit “Scan For Devices”. Once the Pico comes up in the list, simply hit “OK” and you’re almost ready to start capturing.

Before you do, though, it’s worth taking a little bit of time to read the docs.
While the Pico works great as a logic analyser, it does come with some limitations around voltage, capture capacity and channelisation.
Note: The Pico is only capable of 3.3v logic on the header pins.
Be sure to check the voltage before connecting your device.
For basic input current limiting, use a 1 kΩ resistor in series with each
input.
This does not make 5 V signals safe to connect directly.
We'll look at proper voltage-level conversion in a future article.
We’ll look more at correctly configuring the Pico to accept 5V in a future article. For now, ensure you stick with 3.3V logic and double-check before you connect it to anything.
Go Have Some Fun!
Although it starts at 3.3V only, the homebuilt logic analyser is a surprisingly capable tool. Even in its standard form, we can capture:
UART communications, including TX/RX traffic, byte decoding and baud rate/framing investigations.
I2C sensor debugging, start/stop conditions, address and data information.
SPI, including clock, MOSI, MISO and chip-select signals.
It’s worth mentioning that the Pico will come with some limitations with regard to its capabilities in comparison with other sensors. It’s not going to compete with a fully specced oscilloscope, nor will it do sustained capture over high-speed USB.
What it will do is allow you to get hands-on with a surprisingly broad array of hardware, using tools that you made for your own lab.
In the next article, we’ll show you how to analyse UART traffic using your new logic analyser.
Investigator515 explores the RF spectrum, cybersecurity, and the hidden tech behind modern espionage.
Follow for new content weekly
You might also like,
- OSINT Investigators Guide to Self Care & Resilience
- Spies In The Mud: The RF-111 Aardvark
- What The Tech?! Space Shuttles