Quantcast
Viewing all articles
Browse latest Browse all 5391

Beginners • SH1106 128x64 OLED Display on I2C in Raspberry Pi OS Bookworm

Hi peeps,

I'm completely new to using these displays and have spent two days going around in circles getting basically nowhere. All I'm trying to do is initialise the display to run correctly so I can run pre-written Python scripts on it, and all I get is a few lines of what appears to be correctly addressed pixels followed by the rest of the screen full of garbage.

Here's the display in question... https://www.amazon.co.uk/dp/B078J78R45

The supplier says that they'll provide a setup guide on purchase, but they don't, not for the software side of things anyway unless I can read German.

It seems that all of the guides I've followed are treating it as though it's based around an SSD1306 controller chip even if they say they aren't, but I have no idea how to tell anything that its an SH1106 and make them believe me. Most of the guides refuse to install various parts as they're pre-Bookworm, so that's also adding to my confusion.

Amongst others, I've tried the following guides and drawn a blank...

https://www.youtube.com/watch?v=LdOKXUDw2NY
https://ssd1306.readthedocs.io/en/lates ... usage.html (changing the device to sh1106)
https://haddley.github.io/SH1106.html

I also don't want to use a virtual environment if I can help it. I just want a normal directory full of normal files that will reliably be there so I can run them on boot-up if I get that far.

All of this is making zero sense to me so far. Could someone please talk me through this step-by-step like I'm a 5 year old before I throw this display in the bin?

Statistics: Posted by GTR2Fan — Tue Mar 19, 2024 2:50 am



Viewing all articles
Browse latest Browse all 5391

Trending Articles