Signal Analyzer
A logic analyzer in the browser for hardware that costs a few euros: a Raspberry Pi Pico or a CH32X033 board, one of the small FX2 logic analyzers, or simply the sound card. Decoders read UART, I²C, SPI, 1-Wire, NeoPixels, IR remote controls and the C64 serial bus.
Decoders
Decoded data
Hardware and tips
Raspberry Pi Pico
Hold BOOTSEL, plug the Pico in and copy the sigrok-pico UF2 file onto it. Inputs are GP2 to GP22 (3.3 V only, use a level shifter for 5 V) and the ADC inputs GP26 to GP28 for analog signals. Without a trigger the Pico samples into its memory at up to 120 MS/s; with a trigger the data is streamed, which works up to a few hundred kS/s.
CH32X033 development board
With the logic analyzer firmware the board is an 8-channel logic analyzer on PA0 to PA7 (for 3.3 V and 5 V logic) that speaks the protocol of sigrok-pico; choose it under “Pico”. Without a trigger up to 16,384 samples go into its memory at up to 4 MS/s; longer captures and captures with a trigger are streamed, which works up to about 1 MS/s with busy signals. PC3 puts out a 1 kHz test signal.
FX2 logic analyzers
The small “24 MHz 8 channel” boxes and the Cypress FX2 mini boards. The app loads the free fx2lafw firmware into them each time they are plugged in. They have no memory of their own, so the computer must take the data as fast as it comes; 8 to 12 MS/s is usually safe. On Windows install the WinUSB driver with Zadig once, as for PulseView; on Linux the user needs access to the USB device (udev rule).
Sound card
A microphone or line input records two analog channels at 44.1 to 192 kHz. The input only passes alternating signals of about ±1 V: use a resistor divider and a capacitor in front of it. Fine for audio, IR receivers and slow serial data. Click a channel name and make a digital channel from it to use the decoders.
Using the view
- Wheel or pinch zooms, dragging moves, the overview bar jumps. Keys: arrows, + and −, F for everything.
- Click places cursor A, Shift+click cursor B; both snap to nearby edges. Hovering a digital channel measures the pulse under the pointer.
- Click a channel name to rename, recolour or hide it. Files: sigrok sessions (.sr) from PulseView and sigrok-cli, VCD and CSV.
- Black or White switches the background of the chart; white is good for printing and for the PNG picture.