edit

Grove - OLED Display 1.12"

Our new 1.12” OLED displays are perfect when you need a small display with 16 grayscale. The visible portion of the OLED measures 1.12” diagonal and contains 96x96(version 1.0) | 128x128(version 2.0) grayscale pixels. Because the display uses OLEDs, there is no backlight, and the contrast is very high.

This OLED uses the SSD1327(V1.0) or SH1107G(V2.1) driver chip, which manages the display. You can talk to the driver chip using 4-wire I2C (clock, data, power, and GND pins).

Specification

  • Communicate Mode: I2C
  • Grayscale Display: 16 Gray shades.
  • Supports both Normal and Inverse Color Display.
  • Supports Continuous Horizontal Scrolling.
  • Grove compatible Interface

Version


Product Version Changes Released Date
Grove - OLED Display 1.12" V1.0 Initial Mar 2012
Grove - OLED Display 1.12" V2.1 Change the driver IC from SSD1327 to SH1107G, upgrade the grayscale pixels from 96X96 to 128X128 Nov 2015

Specifications


Item Value
Operating Voltage 3.⅗ V
Dot Matrix 96x96
Display Color 16 Grayscale
OLED Display LY120-96096
Driver Chip SSD1327Z
Dot Size 0.15(W)mm x 0.15(H)mm
Dot Pitch 0.75(W)mm x 0.175(H)mm
Operating Temperature -40~70 oC

Tip

More details about Grove modules please refer to Grove System

Platforms Supported


Arduino Raspberry Pi BeagleBone Wio LinkIt ONE

Caution

The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Getting Started

Hardware

Here we will show you how this Grove - OLED Display works via a simple demo. First of all, you need to prepare the below stuffs:

Seeeduino V4 Grove - OLED Display 1.12`` Base Shield
enter image description here enter image description here enter image description here
Get ONE Now Get ONE Now Get ONE Now

This is an easy-to-use module, what you need to do is connect the module to I2C port of a Base Shield. There're 4 pins, defined as below.

pin Function Note Cable color
pin1 SCL I2C Clock YELLOW
pin2 SDA I2C Data WHITE
pin3 VCC Power, 5V/3.3V RED
pin4 GND Ground BLACK

Hardware Overview

Software

  • Step 1. Connect Grove - OLED Display 1.12'' to I2C port of Base Shield via Grove cable.

  • Step 2. Open Arduino IDE and the Library Manager (Sketch > Include Library > manage Libraries) to install the library of u8g2.

  • Step 3. Enter "u8g2" into the search field and select latest version and Cclick "Install" button.
  • Step 4. Upload the demo code below in your Arduino IDE.
#include <Arduino.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <Wire.h>

U8G2_SH1107_SEEED_128X128_1_SW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);

void setup(void) {
  u8g2.begin();
}

void loop(void) {
  u8g2.firstPage();
  do {
    u8g2.setFont(u8g2_font_ncenB10_tr);
    u8g2.drawStr(0,24,"Hello World!");
  } while ( u8g2.nextPage() );
}

Success

There will be a "Hello World!" displayed on the screen of Grove - OLED Display 1.12'' if everything goes well.

Note

If there's no Base Shield with you, Seeeduino Vx Series with I2C interface do work as well.

U8g2 Library Introduction

U8g2 is a monochrome graphics library for embedded devices. U8g2 supports monochrome OLEDs and LCDs, which include our chip SSD1327/SH1107G.

The Arduino library U8g2 can be installed from the library manager of the Arduino IDE. U8g2 also includes U8x8 library:

U8g2

  • Includes all graphics procedures (line/box/circle draw).
  • Supports many fonts. (Almost) no restriction on the font height.
  • Requires some memory in the microcontroller to render the display.

U8x8

  • Text output only (character) device.
  • Only fonts allowed with fit into a 8x8 pixel grid.
  • Writes directly to the display. No buffer in the microcontroller required.

Here provides the U8g2 Library wiki as well as the U8g2 API Reference page.

Schematic Online Viewer

Resources


Project

Smart Crops: Implementing IoT in Conventional Agriculture! Our mission with nature is to preserve it, designing and implementing technologies and monitoring methods with the help of IoT via Helium.

Automated Plant Watering System A device that waters plants and monitors temprature using an ESP8266 and Android app.

Flying BeagleBone Green BBBmini is a state of the art Linux autopilot / flightcontroller Cape for the BeagleBone. It can be used for Copter, Planes or Rovers.

Tech Support

Please submit any technical issue into our forum.