Header banner
Revain logoHome Page
David Dortch photo
1 Level
1248 Review
29 Karma

Review on Waveshare 1.5inch RGB OLED Display Module - 128x128 Pixels, 65K Colors - Compatible with Raspberry Pi, Arduino, and STM32 - SPI Interface by David Dortch

Revainrating 5 out of 5

Works its always a plus

Got what was advertised. The only thing that confuses me is the thickness of the CPB. It's pretty easy to get started with my project. I used a Raspberry Pi Zero W and the standard fbtft_device module built into Raspian (Jesse) to copy the framebuffer to the OLED. You need fbcp. Notes: This was for Retropie 4.3 rpi1_zero, I tried using the latest build (Buster at the time) but it seemed to run slower than Jesse. This screen will not display anything until the driver starts. So don't be nervous if you don't see it turn on after you plug it in. Also, it takes some time to show up when loading. My use case: // Enable SPI (interfaces), disable overlay (optional): sudo raspi-config // Set up WiFi or use a LAN cable // Make sure your version of Raspian has git // Get fbcp, compile , copy to bin:sudo git clone https://github.com/tasanakorn/rpi-fbcpsudo cd rpi-fbcpsudo mkdir buildsudo cd buildsudo cmake .sudo makesudo cp fbcp /usr/binsudo chmod + x /usr/bin/fbcp// Enter the text in /etc/rc.local (before the line: exit 0): /usr/bin/fbcp &// Create a file with the text /etc/modules-load.d/fbtft .conf:spi -bcm2835fbtft_device// Create a file with the text /etc/modprobe.d/fbtft.conf file:options fbtft_device custom name=fb_ssd1351 width=128 height=128 buswidth=8 gpios=reset:24,dc:25 speed=32000000 bgr=1 rotation= 180Your reset pin and can be different from GPIO 24 and 25, change accordingly.// (Optional) Modify /boot/config.txthdmi_force_hotplug=1hdmi_group=2hdmi_mode=87hdmi_cvt=128 1 28 60Thus will force the HDMI buffer to match the resolution of the OLED screen. Attention, this also affects the HDMI output. As a result, most displays do not support 128x128 resolution for the HDMI port. You can try setting hdmi_cvt to a more acceptable medium resolution like 320240 or 640480 if needed. // My pin setup: VCC (Power +): Any 3.3 VGND (Power -): Any GNDDIN: GPIO 10 MOSICLK: GPIO 11 CLKCS: GPIO 8 CE0DC: GPIO 24RST: GPIO 25

Pros
  • Supports 4 wire SPI OR 3 wire SPI configurable via built in resistor
Cons
  • ---