RepositoryCINIndia
abhra0897

abhra0897/stm32_tiny_monitor

A tiny external monitor for PC using STM32 and ST7789. Connects to PC over USB and displays the captured screen on ST7789 (240x240) display.

122stars
20forks
3issues
2views

STM32 Tiny Monitor

A super tiny monitor for your PC, suitable for your pet ant.

A python script sends the captured screen over USB to the STM32 microcontroller, then that data is displayed on ST7789 display. FPS is not that high, but I made it good enough after several optimizations.

TinyMonitor demo

I made this project because I'm learning USB now and this is a fun project to practice USB stuffs. I still know almost nothing about USB. To get started, follow this tutorial: https://medium.com/@manuel.bl/usb-for-microcontrollers-part-1-basic-usb-concepts-519a33372cc9

Parts:

  • STM32F103 MCU (Bluepill)
  • ST7789 SPI Display (240x240 resolution)

Pin mapping:

ST7789STM32
SDAPA7
SCLPA5
RESETnPA4
D/CnPA2
BLKPA3 (unused)

How to use:

  1. Compile the firmware and flash the microcontroller
  2. Follow the instruction in host_python_scripts folder to run the host software.
  3. Connect microcontroller to PC using USB cable. Host software will start the stream.
  4. Enjoy your tiny monitor :)

Demo:

  1. https://youtu.be/5AGjsRObFtk
  2. https://youtu.be/oFxuoMdBxJk

TODO:

  • Optimize the device (mcu) firmware. Buffer the incoming packets befoe sending to SPI bus.
  • Write host software in C/C++ to get higher performance

Feel free to modify the code and do whatever you want with this useless project.

Similar Projects

Discover other similar projects and AI models.

RepositoryC
alejoseb/Modbus-STM32-HAL-FreeRTOS

Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS

856
Aug 26, 2026
RepositoryC
libopencm3/libopencm3

Open source ARM Cortex-M microcontroller library

3.7k
Nov 6, 2026
RepositoryC
MaJerle/stm32-usart-uart-dma-rx-tx

STM32 examples for USART using DMA for efficient RX and TX transmission

1.8k
Sep 12, 2026
RepositoryC
TheKikGen/USBMidiKliK4x4

UMK4x4 - 4-16 in/out and 3-15 IN/3OUT USB MIDI interface for STM32F103 series board

163
Mar 28, 2026
RepositoryC
miniwinwm/BluePillDemo

A collection of small example projects tailored for the Blue Pill board created in STM32CubeIDE. No further updates.

156
May 14, 2023
RepositoryC
grblHAL/STM32F1xx

grblHAL driver for ST STM32F1xx (Redpill, Bluepill)

72
Nov 17, 2026
RepositoryRust
rmk-rs/rmk

A modern, easy-to-use, and feature-rich keyboard firmware written in Rust.

1.8k
Nov 27, 2026
RepositoryC++
RoCorbera/BlueVGA

VGA library for STM32F103C (BluePill) that can manipulate a screen with 28x30 tiles with 8x8 pixels each, in a total resolution of 224x240 pixels with 8 colors using a very low footprint

75
Mar 12, 2026
RepositoryC
ventoy/Ventoy

A new bootable USB solution.

81.3k
Nov 24, 2026