This is the 1.3 inch OLED Display driven by SH1106 from Waveshare, 128×64 resolution, it has integrated 3 interface the 3 wire SPI, 4 wire SPI, and i2C for ease integration in your microcontroller. This OLED is mainly runs by SH1106 a single chip CMOS OLED/PLED for organic polymer light emitting diode dot-matrix graphic display system.

SH1106 it has 132 segments, 64 commons that can support a maximum display resolution of 132 X 64 and designated for common cathode type OLED panel. SH1106 has integrated contract control, display RAM oscillator and efficient DC to DC converter, which reduce the number of external components and power consumption.

SH1106 is suitable for wide range compact portable applications such as sud-display for mobile devices, mp3 players, calculators, home appliances, automotive, industrial machineries.  The diagram below shows two options to wire the OLED display see the diagram for SPI and i2C note: this modules are soldered as 4 SPI interface for i2c see the datasheet or diagram for soldering the required connection to enable the interface.

Wiring the 128x64 1.3 inch OLED Display on 4 Wire, 3 Wire, i2C Interface

Required Components

  • Arduino Microcontroller, NodeMCU, Teensy Board, TeensyDuino, ESP8266 12, 12E, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY85 16/8 MHz (Note: The Diagram below is using NANO. (please refer to the respective pin-outs)
  • 1.3″ OLED Display Monochrome Module from Waveshare
  • Jumper Wires / DuPont Wires
  • Solder Less Bread Board

Wiring Guide for SPI

Wiring the 128x64 1.3 inch OLED Display on 4 Wire, 3 Wire, i2C

Wiring Guide for i2C

Wiring 128x64 1.3 inch OLED Display on 4Wire, 3Wire, i2C

Source Code 3 Wire – 4 Wire SPI

Source Code i2C (Two Wire Interface)


Download Waveshare 1.3″ OLED Display Configuration Guide | PDF
Download Waveshare 1.3″ OLED Display Schematics | PDF
Download SPI, i2C u8glib Code Lbrary for Arduino | Version 1.14 | Version 1.17 |
Download SH1106 132 X 34 Matrix OLED/PLED Segment/Common Driver Datasheet | PDF

Wiring the 128×64 1.3 inch OLED Display on 4 Wire, 3 Wire, i2C Interface
Tagged on:                     

Leave a Reply

Your email address will not be published. Required fields are marked *