Skip to the content
4 layers55.2 × 24.4 mmLogic analyzer, the printed circuit board in 3D

An open-source, high-speed, multi-channel logic analyzer based on the popular Raspberry Pi RP2040 microcontroller. The board was designed in KiCad with a strong focus on signal integrity and miniaturization.

Size
55.2 × 24.4 mm
Copper layers
4
Thickness
1.6 mm
Parts
54
Nets
76
Pads
232
Tracks, vias
449, 239
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
6 Jul 2026
Updated
3 Aug 2026

Overview

Logic analyzer is an open-source printed circuit board by BlackPancakes, from the BlackPancakes/RP2040-Logic-Analyzer repository on GitHub. It is a 4-layer board of 55.2 × 24.4 mm with 54 parts on 76 nets, routed with 449 tracks and 239 vias.

It is built around the RP2040, SN74LVC245APW and W25Q128JVSIQ, with the AP2112K-3.3, USBLC6-2SC6 and USB4105-GF-A-120 among its other parts. Its parts include 19 capacitors, 18 resistors, 5 ICs, 3 connectors and 2 diodes. It belongs with the sensors and measurement boards and the RP2040 boards of this library.

Main components

6

README

README.md

RP2040 Digital Logic Analyzer

An open-source, high-speed, multi-channel logic analyzer based on the popular Raspberry Pi RP2040 microcontroller.

The board was designed in KiCad with a strong focus on signal integrity, high-speed design principles, and compact PCB layout.


3D Render of the RP2040 Logic Analyzer

Sponsored by PCBWay

PCBWay Logo

This project is proudly supported and manufactured by PCBWay. Their high-quality 4-layer PCB prototyping service ensures excellent signal integrity for the high-speed USB data lines required by this logic analyzer.

Photos of the physically assembled boards manufactured by PCBWay will be added here soon.

Key Hardware Features

  • Microcontroller: Raspberry Pi RP2040 Dual-core ARM Cortex-M0+ running at 133 MHz

  • Memory: 128-Mbit / 16 MB QSPI Flash W25Q128 external flash memory

  • USB Connector: USB-C 2.0 top-mount connector With dedicated ESD protection using USBLC6-2SC6

  • Power Supply: 3.3 V LDO regulator Includes proper CC pull-down resistors for USB-PD charger compatibility

  • PCB: 4-layer PCB stackup Signal / GND / Power / Signal

  • USB Signal Integrity: Controlled differential impedance 90 Ω differential impedance for USB data lines

  • Input Protection: Digital bus transceiver / buffer Protects the RP2040 GPIO pins from external signals


📁 Repository Structure

text
/Hardware   - KiCad 9 project source files
/Gerbers    - Production files: Gerber, Drill, BOM, CPL
/Firmware   - Firmware source code for RP2040 [Coming soon]
/Docs       - Additional documentation and PDF schematics

Manufacturing Instructions

To manufacture this board, use the production files provided in the /Gerbers folder.

Recommended PCB manufacturing settings:

ParameterRecommended Value
Board thickness1.6 mm
Alternative thickness1.2 mm for a lighter build
Outer copper weight1 oz
Inner copper weight1 oz
ViasStandard mechanical vias
Example via size0.3 mm hole / 0.6 mm diameter
Recommended Stackupstandard 4-layer stackup at PCBWAY
Impedance control90 Ω differential impedance

📄 Documentation

Additional files, schematics, and technical documentation can be found in the /Docs folder.


Logic Analyzer Schematic

Firmware

The firmware source code is located in the /Firmware directory.

The initial plans have evolved into a fully functional, asynchronous, and highly optimized system. The main features of the implemented firmware include:

  • C/C++ & Raspberry Pi Pico SDK: Written entirely using official libraries (without Arduino wrappers), ensuring maximum performance and full hardware control.
  • PIO + DMA Acquisition Engine: Utilizes the PIO (Programmable I/O) coprocessor for parallel reading of 8 input channels and a DMA controller for lossless data transfer directly to the RAM buffer. Sampling does not burden the main CPU cores.
  • USB Communication (TinyUSB): A fully non-blocking, asynchronous USB CDC-ACM stack. The device enumerates as a virtual serial port and integrates the unique hardware Board ID as the USB serial number.
  • SUMP / OLS Protocol: A custom state machine implemented from scratch, providing native and seamless integration with PulseView logic analyzer software (configured as an OpenBench Logic Sniffer).
  • Dynamic Sample Rate & Triggers: Support for long SUMP commands allows the PC software to change the sampling frequency on the fly (by recalculating the hardware system clock divider for the PIO) and set masks and values for hardware triggers.
  • Overclocking & Custom PCB Support:
    • The RP2040 microcontroller is overclocked in the software to 200 MHz (with the VREG core voltage raised to 1.20V), allowing for blazing-fast sampling rates.
    • The build system (CMake) has been specifically configured for a 16 MB external Flash memory chip (W25Q128JVS).
    • An asynchronous Heartbeat LED indicates the device's running and USB connection status.

Compilation and Installation

The project uses the standard CMake build system for the Pico SDK environment. A successful build generates a .uf2 executable file.

First Launch (on a blank chip):

  1. Connect the assembled board to the computer using a USB-C cable. Since the hardware Flash memory is completely empty, the RP2040 will automatically boot into the built-in bootloader mode.
  2. A mass storage device named RPI-RP2 will appear on your computer.
  3. Copy (Drag & Drop) the compiled Firmware.uf2 file onto this drive.
  4. The drive will disappear, and the microcontroller will automatically restart and run the firmware (the D2 LED will start pulsing).

Firmware Update: To put a running device back into programming mode, hold down the BOOTSEL (SW2) button, then press and release the RESET (SW1) button. The RPI-RP2 drive will reappear in your operating system.

USB VID/PID

This project is intended to use the pid.codes open-source USB VID 0x1209. Do not ship devices with a random VID/PID. For private development builds, you may override USB_VID and USB_PID, but public builds should use the assigned pid.codes PID once allocated.

License

This repository uses separate licenses for hardware and firmware:

  • Hardware design files are licensed under CERN-OHL-P-2.0.
  • Firmware source code is licensed under the MIT License.

See the LICENSE file and the LICENSES/ directory for details.


⚠️ Disclaimer

This project is provided as open-source hardware for educational and development purposes. Use it at your own risk, especially when connecting external digital signals to the analyzer inputs.

Parts

54
QtyValueFootprintReferences
13100nFCapacitor_SMD:C_0402_1005MetricC1, C5, C6, C7, C8, C11, C12, C13, C15, C16, C17, C18, C19
833RResistor_SMD:R_0603_1608MetricR9, R10, R11, R12, R13, R14, R15, R16
4TestPointTestPoint:TestPoint_Pad_D1.0mm1v1, 3v3, 5V, GND
31kResistor_SMD:R_0603_1608MetricR8, R17, R18
215pFCapacitor_SMD:C_0603_1608MetricC9, C10
21uFCapacitor_SMD:C_0402_1005MetricC4, C14
21uFCapacitor_SMD:C_0603_1608MetricC2, C3
227.4RResistor_SMD:R_0402_1005MetricR4, R5
25k1Resistor_SMD:R_0603_1608MetricR2, R3
2LEDLED_SMD:LED_0603_1608MetricD1, D2
2SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2SW1, SW2
110kResistor_SMD:R_0603_1608MetricR7
110kResistor_SMD:R_0402_1005MetricR1
112MHzCrystal:Crystal_SMD_Abracon_ABM8AIG-4Pin_3.2x2.5mmY1
11kResistor_SMD:R_0402_1005MetricR6
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1Conn_02x08_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_VerticalJ3
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1SN74LVC245APWPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU3
1USB4105-GF-A-120USB4105-GF-A-120:GCT_USB4105-GF-A-120J4
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5
1W25Q128JVSPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU2

Similar boards

  • 4 layers152.4 × 76.2 mmMotherboard, the printed circuit board in 3D

    Motherboard

    mikegoelzer/Homebrew-ECP5-SBC

    Kicad files for homebrew hobbyist computer with custom RISC-V CPU

    160 parts
  • 4 layers161.1 × 82.9 mmAll in one smc, the printed circuit board in 3D

    All in one smc

    nojan1/project-wrass

    The purpose of Project Wrass is to develop the Wrass 1.

    150 parts
  • 4 layers43 × 32.5 mmOpen TraceV1, the printed circuit board in 3D

    Open TraceV1

    Shubhayu-Banerjee/Open-Trace

    Cheap open source Mechanical 3D Lidar

    34 parts
  • 2 layers84.2 × 100 mmFabpack out v5 8, the printed circuit board in 3D

    Fabpack out v5 8

    yuz207/agentpad13

    agentpad13 — open-source 13-key macropad for agentic work (RP2040, vial-qmk, planar joystick, Raw HID agent-status protocol)

    126 parts41
  • 2 layers75 × 55 mmWellfed bench, the printed circuit board in 3D

    Wellfed bench

    Isaac-Duarte/wellfed

    Open firmware that runs the PETLIBRO Granary PLAF103 pet feeder on your own Wi-Fi: no cloud, no account. Early and in testing.

    93 parts8MIT
  • 2 layers180.5 × 133.5 mmNrsk right, the printed circuit board in 3D

    Nrsk right

    0x0c/spltnrskb

    KLE レイアウト(kle/left.json、kle/right.json)から生成した、左右分割・有線接続のキーボード基板です。 KiCad 10 のプロジェクト(回路図と配線済み基板)、製造用ガーバー、BOM、QMK ファームウェア設定を含みます。筐体のデータ(アクリルのレーザーカット用 DXF/SVG と 3D プリント用 STL)も入っています。

    135 parts1
  • 4 layers81 × 113.2 mmAuralab Workstation Vishal, the printed circuit board in 3D

    Auralab Workstation Vishal

    Vishalbabu-09/Auralab_Workstation

    Advanced 4-layer PCB design featuring split-plane noise isolation (AGND/DGND) and asynchronous dual-core processing. Implements a handheld multi-tool oscilloscope, current tracker, and symmetrical DC power supply.

    81 parts1
  • 4 layers76 × 50 mmWigglecam, the printed circuit board in 3D

    Wigglecam

    jadenrhee/wigglecam-controller

    RP2040 co-processor board for a 4-lens wigglegram camera: constant-current flash, controls, battery telemetry, Pi 5 I2C interface. 4-layer, DRC-clean, fab-ready.

    105 parts

Questions

How big is the Logic analyzer PCB?

It measures 55.2 × 24.4 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Logic analyzer use?

54 parts, built around the RP2040, SN74LVC245APW, W25Q128JVSIQ and AP2112K-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Logic analyzer KiCad files?

From the BlackPancakes/RP2040-Logic-Analyzer repository on GitHub, at the commit this page was made from: the board is Hardware/logic_analyzer.kicad_pcb and its schematic Hardware/logic_analyzer.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Logic analyzer design in my own project?

Its repository states no licence, so its author keeps all rights: ask BlackPancakes before reusing the design.