RP2040-LCD-0.96 is a professional-grade library framework for the integrated Waveshare 0.96" display board. This repository provides a Modular Driver Architecture, moving away from factory "all-in-one" scripts to establish a scalable environment for real-time robotic telemetry.
- MicroPython Native Implementation: Optimized for the standard Pico ecosystem, facilitating shared codebases across robotics hardware.
- Modular Driver Stack: Display initialization (MADCTL, COLMOD) is isolated from application logic, allowing for clean
importarchitectures. - Hardware SPI Optimization: Leverages the RP2040's native SPI peripherals to maximize bus frequency for 65K color rendering.
- BOOTSEL Recovery Workflow: Specific protocols for wiping factory demo-loops and restoring serial control via Thonny.
- RGB565 Asset Compatibility: Fully compatible with 16-bit color mapping for high-contrast telemetry displays.
- MCU: Raspberry Pi Pico (RP2040 Dual-core Cortex M0+).
- Display: 0.96-inch IPS LCD, 160×80 resolution (ST7735).
- Clock Frequency: Standard 133MHz (Overclockable for high-FPS rendering).
- Validated Firmware:
pico_micropython_20210121.uf2for guaranteed LCD clock stability.
Out-of-the-box, these boards often execute a non-interruptible loop. This repository provides the tools to perform a forced Flash Wipe:
- Enter BOOTSEL mode.
- Flash the custom MicroPython UF2.
- Establish 115200 baud REPL communication.
Instead of baking registers into your main.py, the driver logic is handled by:
- The Core Module: Manages the SPI bus and ST7735 command set.
- The Telemetry Script: Inherits the driver class, focusing purely on data visualization and sensor input.
| Folder / File | Technical Description |
|---|---|
/modules |
Decoupled display drivers (ST7735 logic). |
/examples |
SPI bus verification and geometric rendering sweeps. |
/firmware |
Verified MicroPython UF2 binaries for display stability. |
WS_0-96_160x80_MIN.py |
Lightweight register initialization for rapid prototyping. |
graphicstest.py |
Full RGB565 stress-test for visual debugging. |
- Firmware Deployment: Drop the included
.uf2into the RP2040 mass-storage drive. - Filesystem Setup: Upload the
/modulesfolder to the board's root directory. - Execution: Run
MIN.pyto verify the SPI handshaking and display panel initialization.
© 2026 MatsRobot | Licensed under the MIT License
