GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - deanelectronics/labla-pi5-logic-analyzer: Raspberry Pi 5 logic analyser, protocol analyser and PIO signal generator (up to 200 MS/s), plus an open-hardware 1.65-5.5 V level-shifting front end

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
hardware
hardware
 
 
software
software
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

labla – a Raspberry Pi 5 logic analyser, protocol analyser and signal generator

labla turns a Raspberry Pi 5 / 500 into a networked lab instrument for digital signals, built from parts that cost very little:

  • Logic analyser: up to 28 channels, up to 200 MS/s (on 1–2 channels) and 15 MS/s with all 28 GPIOs. Sampling is hardware-timed by the RP1 chip's PIO block and streamed to RAM by DMA, so captures can be gigabytes long with a timebase within a few ppm.
  • Protocol analyser: 100+ sigrok protocol decoders (UART, I2C, SPI, CAN, 1-Wire, WS281x, I2S, JTAG, SWD …). Captures export as .sr and open directly in PulseView.
  • Signal generator: square wave / PWM on any GPIO from the PIO block, with exact frequency and duty cycle.
  • Digital I/O: read and drive every GPIO from the browser, the CLI or the REST API.
  • labla-front (optional, open hardware): a 60 × 105 mm board that protects the Pi and translates every channel to 1.65–5.5 V with per-channel direction, automatic Vio from the target, ESD and over-current protection, plus a 3D-printable enclosure.
  • labla-panel (optional, open hardware): a 305 × 74 mm front panel with 40 colour-coded 4 mm terminals in the Pi header order, connected to labla-front by a ribbon cable.

Everything runs on the Pi: a small C engine, a Python service with only standard-library dependencies, and a single-file web UI. Control it from a browser, the labla command-line tool or your own scripts.

labla-front

Project status

  • Software: working and measured on a Raspberry Pi 500 (see software/README.md).
  • labla-front rev 0.2: design complete and DRC-clean, not yet manufactured or tested. Software support for its direction control and Vio selection is on the roadmap. Until then, use the analyser on 3.3 V signals only, preferably with series resistors.

Why the Pi 5?

The Raspberry Pi 5 family has the RP1 I/O controller with a programmable I/O (PIO) block, the same idea as on the RP2040. A PIO state machine samples all GPIOs at an exact rate from its own clock, independent of Linux scheduling, and DMA moves the data to RAM. That makes gap-free, high-rate captures possible without extra hardware, and the same block generates output signals with the same precision.

Hardware labla software labla-front board
Raspberry Pi 5, Pi 500, Pi 500+, CM5 (with a 40-pin carrier) ✅ ✅
Pi 4, Pi 400, Pi 3, Zero 2 W and other 40-pin Pis ❌ (no RP1/PIO) ✅ as a protected level translator for ordinary GPIO use

Planned: retro computer diagnostics

CPU socket adapters (6502/6510, Z80, 8080/8085, 8088/8086, 6809, 68000 …) that let labla capture every bus cycle of a vintage computer and diagnose it automatically: ROM and RAM checks down to the faulty chip, disassembled traces, and a comparison with shared reference recordings of working machines. See docs/retro-diagnostics.md.

Repository layout

Path
software/ Capture engine (C), service and web UI (Python), CLI client, deploy script – MIT
hardware/labla-front/ KiCad 10 project, JLCPCB production files, renders, OpenSCAD enclosure, generator scripts – CERN-OHL-P-2.0
hardware/labla-panel/ Front panel: 40 × 4 mm terminals (Cliff CL1500) in Pi header order, colour-coded, IDC header on the back – CERN-OHL-P-2.0

Quick start

git clone https://github.com/deanelectronics/labla-pi5-logic-analyzer.git
cd labla-pi5-logic-analyzer/software
./deploy.sh [email protected]        # copies, builds and starts the service on the Pi
# then browse to http://raspberrypi.local:8080/ or use the CLI:
LABLA_URL=http://raspberrypi.local:8080 ./client/labla capture -c 17,22 -r 10M -t 20ms --trig 22:r

See software/README.md for requirements, configuration, the REST API and measured performance.

What does it cost?

  • A Raspberry Pi 5 (any RAM size; more RAM allows longer captures).
  • Optionally a labla-front board. The parts cost about USD 5 per board at JLCPCB prices (November 2026). Small assembled batches cost more per board, because JLC charges a setup fee and about USD 3 per unique "extended" part (10 on this board).
  • Two 40-way IDC ribbon cables, four M2.5 screws and a 3D-printed enclosure.

Safety

Without labla-front the GPIOs take 3.3 V maximum and are not 5 V tolerant. On a Pi 500 the RP1 chip cannot be replaced, so a mistake there is expensive. The service has no authentication and can drive pins, so only run it on a trusted network.

License

  • Software (software/ and the scripts in hardware/*/tools/): MIT
  • Hardware design (hardware/): CERN-OHL-P-2.0

Contributions and test reports are welcome, especially from anyone who builds a labla-front board.

About

Raspberry Pi 5 logic analyser, protocol analyser and PIO signal generator (up to 200 MS/s), plus an open-hardware 1.65-5.5 V level-shifting front end

Topics

kicadlogic-analyzeropen-hardwarepioraspberry-pi-5rp1signal-generatorsigrok

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.