PiOLED (0.91 Inch OLED Module) SKU: S-0007

From 52Pi Wiki
Jump to navigation Jump to search

PiOLED (0.91 Inch OLED Module)



This display is made of 128x32 individual OLED pixels.
It communicates with Raspberry pi or Arduino series products via I2C protocol.
Compatible with most of MCU which support I2C protocol support.
There are mounting hole and female pin header on the PCB, so that you can fixed it to Raspberry Pi with screws and nuts.


  • Easy to use
  • Low power consumption
  • Easy to assemble and fixed
  • Less GPIO pin occupation


  • Device Register Address: 0x3c
  • Resolution: 128 x 32
  • Work Voltage: 3.3V
  • Communication Protocol: I2C
  • FP frequency: less than 1 fps
  • Wide range of operating temperature: -40°C to 85°C





Package Includes

  • 2* 0.91 Inch OLED Module
  • 2* 10Pin male to female breadboard wire

How to use

How to wire it up

Connect OLED module to Raspberry Pi's GPIO(3.3v,SDA,SCL,GND)

Pin Definitions


How to program it

First of all, you should turn on I2C function on your Pi by editing /boot/config.txt file.
sudo vim.tiny /boot/config.txt
make sure you can find this parameter:
And don't forget to reboot your Pi.

  • Login your Pi and download driver:

git clone -b ArduiPi_OLED https://github.com/yoyojacky/libssd1306

  • Compile it and run:

cd libssd1306/
sudo make
cd example/
sudo make
sudo ./oled_demo -o 2
if you need help, you can just use this command:
sudo ./oled_demo -h


  • Question: why does it not show anything that I've tried as your instruction?
    • Answer: Please make sure you have already open your i2c function and you can use this command to detect whether it has been turned on already.
    • i2cdetect -y 1

Application Senario

  • There is a maker made a funny thing called "mobile pi" with this 0.91 Inch OLED Module, you can check it by accessing following link:

[Mobile Pi | https://www.instructables.com/id/My-Fantastic-MobilePi/ ]