Using an SPI screen and embedded_graphics from Linux on a Raspberry PI 5

⚓ Rust    📅 2025-08-31    👤 surdeus    👁️ 2      

surdeus

Hi, I plan to use a small 1.5 inch RGB OLED screen connected to an Raspberry PI 5 for implementing a simple text-based user interface. Displaying graphics or a full-blown GUI is for later, at this stage it can be considered nice-to-have.

The RPI is running Bookworm and the display is a Waveshare 1.5inch RGB OLED module that uses a SH1107 driver and a four-wire SPI interface.

Currently I see the following options for writing to the screen from Rust:

  1. Using the embedded_graphics with the oled_async library.
  2. Custom code based on rppal with the Waveshare example code in C as a guide.

How feasible is the first option given that I would be using it from Linux on a RPI 5 and not a microcontroller like Arduino or the RP Pico?

Which approach would you recommend? Are there any better options I am missing?

1 post - 1 participant

Read full topic

🏷️ Rust_feed