Skip to content
MCU Atlas
STM32STM32F4

pillScope Plus: STM32F401 Black Pill educational oscilloscope

pillScope Plus is a self-contained educational oscilloscope on an STM32F401 Black Pill: colour TFT, on-screen measurements and UART export, built for learning.

Difficulty:IntermediateSource available

Photos

pillScope Plus: STM32F401 Black Pill educational oscilloscope photo 1

Photos: tvlad1234/pillScopePlus

Key Facts

  • Chip: STM32F401CC Black Pill
  • Display: 128x160 ST7735 TFT
  • Sample rate: 1.6 MSa/s
  • Input: +/-3.3 V, 1 MOhm

About This Project

pillScope Plus is an educational digital storage oscilloscope built around the STM32F401 Black Pill and a 128x160 ST7735 colour TFT. It samples at up to 1.6 MSa/s, shows min/max/peak-to-peak and frequency on screen, and can send captures to a PC for viewing in TekScope. The front end uses an LM358 (rail-to-rail recommended) and three buttons. Designed to teach how scopes work while remaining usable in a lab.

Source & Attribution

Source: GitHub
License: Apache-2.0
Last verified: 10/15/2026
pillScope Plus: STM32F401 Black Pill educational oscilloscope

How to Build It

pillScope Plus is a simple, easy-to-build digital storage oscilloscope for learning, made from an STM32F401 Black Pill, a 1.8in ST7735 colour TFT and an op-amp front end. It samples at 1.6 MSa/s over a ±3.3V range, shows on-screen measurements, and can send captures over UART to Tektronix's TekScope app.

Parts Needed

  • STM32F401CC Black Pill
  • 128x160 ST7735 TFT display
  • 3 pushbuttons
  • LM358 dual op-amp (a rail-to-rail part is better)
  • 2x 68kΩ and 2x 500kΩ resistors (offset and attenuator)
  • 5V power supply
  • Optional: opto-isolated USB-UART adapter, BNC connector
  • ST-Link or USB DFU for flashing

Steps

  1. 1

    Build the front end

    Following the schematic, wire the op-amp input stage. The 68k resistors set a 1.65V virtual ground and the 500k resistors attenuate the input. The output goes to PA0 (ADC1_IN0).

  2. 2

    Connect the display and buttons

    Connect the ST7735 to SPI1: SCK on PB3, MOSI on PB5, CS on PB12, RST on PB13 and DC on PB14. The buttons go on PB9 (Up), PB8 (Select) and PB7 (Down).

  3. 3

    Build and flash

    Compile with make (the source is in Core/Src) and flash the binary with an ST-Link or the Black Pill's USB DFU bootloader.

  4. 4

    Calibrate and measure

    Run the auto-calibration from the UI before use. Because of the virtual ground, the scope and the circuit under test must not share a ground. Use an isolated supply or the opto-isolated UART adapter.

  5. 5

    Save captures

    Send 's' over UART for CSV output (TekScope-compatible), or 'S' for raw data that the companion app streams to TekScope in near real time.

Bill of Materials

Parts list

4 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

No verified link — check the original project
No verified link — check the original project

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

EMBO: multi-instrument scope on an STM32 Blue Pill
Illustration
STM32STM32F1
Turns cheap STM32 boards into an oscilloscope, logic analyzer, voltmeter, PWM and signal generator controlled from a PC app.
Beginner·Code
1 part listed
STM32-O-Scope: minimalist $10 oscilloscope on Blue Pill
Illustration
STM32STM32F1
STM32-O-Scope is a minimalist oscilloscope on an STM32F103 Blue Pill, in the spirit of the budget Arduino O-Scope idea — a cheap first scope for slow signals.
Intermediate·Code
2 parts listed
Pico.Lab: turn a Raspberry Pi Pico into a browser-based scope and logic analyzer
Illustration
RASPBERRY PI PICORP2350
Flash one .uf2 and a Pico 2 becomes a 4-channel scope, 8-channel logic analyzer with UART/I2C/SPI decode and bus tool you open in any browser.
Beginner
3 parts listed