Question Will the Pi 4 support work with a 7-pin Inland 128x64 OLED Display ?

Dec 8, 2024
5
0
10
Hello. I am new to this site. I have a Pi 4 and a 128x64 fractal matrix display from MicroCenter that I was told should work with this last week when I bought it. On the packaging, it does not mention that it should work with the Pi or any other board. It is way different from any other small OLED display like this as the pins are labeled (in order from left to right) as GND VCC CLK MOSI RES DC CS. I have 40 female wires that should connect the pins on this display to the GPIO pins on my Pi, but is it compatible? If so, which pins do I connect to what on my Pi? I know it is compatible with the Pi Zero at least as there is a review on their website that claims it.

Here it is:
https://www.microcenter.com/product...v20-graphic-display-module-for-arduino-uno-r3

Thank you.
 
My experience with devices like this is that if you are "told" that it "should" work, but there is nothing in the literature, it will be very difficult to get working.

Specific for the RPi, you'll have to investigate the U8g2lib. This library seems to be for the Arduino. Will it work on the RPi? (different CPU and architecture) . There may be someone here that can help, but she's probably very busy with her own projects.

If you do manage to get it working, publish your results so that the next person who wants to do what you're doing has an easier time.

-OSD
 
  • Like
Reactions: 9900k
My experience with devices like this is that if you are "told" that it "should" work, but there is nothing in the literature, it will be very difficult to get working.

Specific for the RPi, you'll have to investigate the U8g2lib. This library seems to be for the Arduino. Will it work on the RPi? (different CPU and architecture) . There may be someone here that can help, but she's probably very busy with her own projects.

If you do manage to get it working, publish your results so that the next person who wants to do what you're doing has an easier time.

-OSD
Right. This board only works with the Arduino boards despite not mentioning it on the "literature" at all and U8g2 does not work with any Pi at all but it mentions U8g2lib on the product page on MicroCenter's site where it shows the U82g code.

The people at Micro know nothing about these as they have already told me to buy another Arduino display as well as an incompatible speaker.

Additionally, this display also has no product number anywhere. There was however a review(respect to the user who wrote it) who claimed that it is or is most similair to the SH1106(with 7 pins) and I found this GitHub page that's talking about setting it up with the Pi Pico. https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SH1106/issues/3
The pins on this board seem roughly the same as mine except where it says"CLK" on mine it says "SCK" on theirs and "MOSI" on mine, on theirs it says "SDA" on theirs so the 3rd and 4th pins are a little different but I think they're interchangeable. The page seems like it may be too advanced as they seem to be talking about modifying frequencies.

It sounds like it should be possible if the people on here and the MicroCenter page are using Pi Zeros and Picos with it.

UPDATE: I found the product number on the top of the page and it is listed as
InlandSKU: 345785Mfr Part#: KS0056

It looks like this is indeed an SH1106 as stated in two MicroCenter reviews and various pages I found while Googling it.

I also found this where the code is https://community.microcenter.com/kb/articles/795-inland-1-3-128x64-oled-graphic-display.

The guy who got it to work with the Pi Zero also wrote all the details about what pins he plugged it into and everything and confirmed that it is indeed a SH1106.
 
I was just exploring this very question this weekend and got it working. The trick is this github site : https://github.com/8TN/Raspberry-Pi-SH1106-oled-display. It contains one short python script and some jpg files. The code includes comments with the correct GPIO connections. It uses the standard SPI library -- nothing special needed for the SH1106. I cloned the github contents to the Pi zero, connected the GPIO pins, and ran the python script and it worked! I copied a tiny jpg from my own files and was able to display a monochrome version of the photo. With ChatGPT help, I figured out how to display user-entered text rather than a jpg.