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.
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 Guide for i2C
Source Code 3 Wire – 4 Wire SPI
[crayon-6767aa5a7f0de705467341/]
Source Code i2C (Two Wire Interface)
[crayon-6767aa5a7f0e7774305857/]
Downloads
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