Skip to the content
2 layers92 × 118 mmFullScope, the printed circuit board in 3D

Digital storage oscilloscope on STM32F407 with analog frontend, hardware-timed ADC+DMA, custom UI, and custom PCB shield.

Size
92 × 118 mm
Copper layers
2
Thickness
1.6 mm
Parts
22
Nets
69
Pads
135
Tracks, vias
185, 0
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
17 Jun 2026
Updated
9 Sep 2026

Overview

FullScope is an open-source printed circuit board by st4rk-7, from the st4rk-7/oscilite repository on GitHub. It is a 2-layer board of 92 × 118 mm with 22 parts on 69 nets, routed with 185 tracks and 0 vias.

It is built around the BAT54S. Its parts include 5 resistors, 5 connectors, 4 capacitors, 4 switches and 2 ICs. It belongs with the sensors and measurement boards and the STM32 boards of this library.

Main components

1

README

README.md

Oscilite

A digital storage oscilloscope built from scratch on an STM32F407. This project covers the full stack of building a real instrument: analog signal conditioning → ADC sampling → DMA → triggering → rendering → custom PCB hardware design.

Currently running as a breadboard prototype with the V2 custom PCB shield designed and ready for fabrication.

Oscilite boot splash

The boot splash rendered on the 160×128 ST7735 TFT at power-on.

Oscilite Breadboard Prototype The breadboard prototype running live firmware, capturing and displaying a waveform.

Features

  • Live waveform display on an ILI9341 TFT with an 8×6 division graticule.
  • Hardware‑timed sampling — a timer (TIM3) drives the ADC so every sample lands at a precise interval (timebase).
  • DMA capture — the ADC streams samples into memory via DMA with zero CPU involvement (circular buffer on DMA2 Stream0).
  • Software triggering — rising/falling slope with an adjustable trigger level, so the waveform locks in place instead of jittering.
  • Analog frontend — attenuates and biases the input to safely measure bipolar signals (centered at ~1.65 V) into the MCU's 0–3.3 V ADC.
  • Automatic measurements — min / max voltage, peak‑to‑peak, and signal frequency, shown on screen.
  • Boot splash screen generated from an image via a custom Python pipeline.

The Breadboard Prototype (V1)

The current working prototype proves out the entire software stack and analog theory.

Full System Setup Full system context showing the STM32F407 Discovery board, the analog frontend, and the display.

How It Works:

text
 Input ─▶ Analog Frontend ─▶ ADC (12‑bit) ─▶ DMA ─▶ Sample Buffer ─▶ Trigger ─▶ Display
        (attenuate + bias)   (TIM3‑timed)   (circular)              (align)    (ILI9341)

The input signal is attenuated and centered at ~1.65 V using an MCP6002 op-amp buffer circuit so it fits the ADC's 0–3.3 V window. A timer fires the ADC at a fixed rate to set the timebase; the DMA engine moves each sample into a circular buffer without the CPU. The firmware then finds the trigger point (rising or falling through the trigger level) and draws the aligned waveform, computing min/max/Vpp and frequency along the way.

(A deeper write‑up of the theory is in docs/HowItWorks.md)

Hardware Design (V2 PCB)

To move past the breadboard stage, a custom 2-layer PCB shield was designed in KiCad 10. The shield mounts directly onto the STM32F407 dev board headers, carrying the analog frontend, BNC connector, user buttons, and a header for the TFT display.

Oscilite Circuit Schematic

The analog frontend, power distribution, and UI circuitry.

PCB Layout and Renders

The board is fully routed, DRC-clean, and the Gerbers are ready for manufacturing.

Top Copper & Silkscreen3D Render (Top)
Bottom Copper3D Render (Bottom)

Note: The board relies on a dual-header layout designed specifically for the Diymore STM32F407VGT6 development board.

Project Structure

text
Core/Src/        Firmware: scope.c, ui.c, wave.c, adc.c, dma.c, tim.c, sandbox.c, main.c
Core/Inc/        Headers (scope.h defines grid, buffer length, trigger constants)
Drivers/         STM32 HAL + CMSIS + Display driver
pcb/fullScope/   KiCad project, layout, DRC reports, Gerbers
docs/            HowItWorks.md, PCB walkthrough
scripts/         Helper scripts (splash image conversion, UI patching)
Scopef407.ioc    STM32CubeMX configuration

Building & Flashing

Prerequisites:

  • STM32CubeMX (config is in Scopef407.ioc)
  • ARM GNU toolchain (arm-none-eabi-gcc)
  • CMake ≥ 3.22 and Ninja
  • A flashing tool: STM32CubeProgrammer, OpenOCD, or st-link

Build:

bash
# Configure (uses the provided CMake presets)
cmake --preset Debug

# Build
cmake --build build/Debug

Flash it with your tool of choice, e.g.:

bash
st-flash write build/Debug/Scopef407.bin 0x8000000

Project Status & Phases

  • Phase 1 (Complete): Breadboard prototype, firmware architecture (ADC/DMA/Trigger), and UI rendering.
  • Phase 2 (Current): Custom PCB shield designed, DRC-verified, and Gerbers generated.
  • Phase 3 (Next): PCB fabrication, assembly, and testing of the final standalone hardware unit.

This is intentionally a hands-on learning project to understand the full stack of instrument creation, not a precision lab tool.

Acknowledgments

Built on the STM32 HAL and CMSIS.

Parts

22
QtyValueFootprintReferences
268kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R2
110 uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC1
1100 uFCapacitor_THT:CP_Radial_D5.0mm_P2.00mmC2
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4
11KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR5
11MResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
11nfCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC4
11ufCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC3
1500kPotentiometer_THT:Potentiometer_Bourns_3296W_VerticalRV1
1BAT54SPackage_TO_SOT_SMD:SOT-23D1
1Btn 1Button_Switch_THT:SW_PUSH-12mmSW1
1Btn 2Button_Switch_THT:SW_PUSH-12mmSW2
1Btn 3Button_Switch_THT:SW_PUSH-12mmSW3
1Conn_02x16_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x16_P2.54mm_VerticalJ2
1Conn_02x18_Odd_EvenConnector_PinSocket_2.54mm:PinSocket_2x18_P2.54mm_VerticalJ4
1INConnector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_HorizontalJ1
1LCDConnector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_VerticalJ3
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_Horizontal_TabDownU3
1MCP6002-xPPackage_DIP:DIP-8_W7.62mmU1
1SW_SPDTButton_Switch_THT:SW_Slide_SPDT_Straight_CK_OS102011MS2QSW4
1VinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5

Similar boards

  • 2 layers58.2 × 38.1 mmUsb sniffer, the printed circuit board in 3D

    Usb sniffer

    ataradov/usb-sniffer

    Low-cost LS/FS/HS USB sniffer with Wireshark interface

    87 parts1.3kBSD-3-Clause
  • 4 layers94.4 × 72.8 mmRP2040 base, the printed circuit board in 3D

    RP2040 base

    Twisted-Fields/rp2040-motor-controller

    A dual channel brushless motor controller based on the RP2040 microcontroller, designed in Kicad.

    325 parts419
  • 4 layers72.4 × 95.3 mmDingoPDM, the printed circuit board in 3D

    DingoPDM

    corygrant/dingoPDM

    Hardware - dingoPDM is an open source, affordable automotive PDM (Power Distribution Module). Pre-assembled and tested units are available or the design can be used to build a DIY version.

    156 parts128MIT
  • 2 layers100 × 99.8 mmUnderdog, the printed circuit board in 3D

    Underdog

    turboedge/SpeedyBoards

    EMS boards powered by Speeduino

    396 parts110GPL-2.0
  • 6 layers203 × 151.8 mmPDNode Baseboard, the printed circuit board in 3D

    PDNode Baseboard

    DvidMakesThings/HW_PDNode-600-Pro

    The PDNode-600 is a professional-grade, 600W USB Power Delivery Unit designed specifically for compact 10-inch rack systems, targeting embedded developers, homelab enthusiasts, test benches, and smart infrastructure.

    236 parts86AGPL-3.0
  • 6 layers71.5 × 63.6 mmSensorboard, the printed circuit board in 3D

    Sensorboard

    CameraNexus/sitina1

    Open-source 35mm full-frame (36mm x 24mm) CCD mirror-less interchangable lens camera (MILC). The original goal of this project was to create a digital camera back to convert SLR cameras to DSLR cameras, but has since…

    426 parts82MIT
  • 2 layers248.9 × 120.7 mm16nx, the printed circuit board in 3D

    16nx

    16n-faderbank/16nx

    16nx is a controller for musical instruments. Sixteen faders,MIDI over USB and jack, CV out, and I2C out. Based around RP2040.

    171 parts76
  • 4 layers137 × 79.5 mmTGX4, the printed circuit board in 3D

    TGX4

    hexeguitar/TGX4

    Teensy 4 based guitar amp emulator

    297 parts66

Questions

How big is the FullScope PCB?

It measures 92 × 118 mm and has 2 copper layers, 1.6 mm thick.

What parts does the FullScope use?

22 parts, built around the BAT54S. 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 FullScope KiCad files?

From the st4rk-7/oscilite repository on GitHub, at the commit this page was made from: the board is pcb/fullScope/fullScope.kicad_pcb and its schematic pcb/fullScope/fullScope.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the FullScope design in my own project?

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