1.5" & 2.1" Monochrome 128x64 OLED Display Module
Created by lady ada
Last updated on 2018-08-22 03:50:42 PM UTC
Guide Contents
Guide Contents
Overview
Pinouts
Power Pins
Signal Pins
Remaining Pins
Assembly
Changing "modes"
SPI Mode
I2C mode
8-Bit "6800" mode
Wiring & Test
SPI Wiring
Level Shifter Wiring
3.3V Capacitor
2
3
6
6
6
6
8
8
8
8
9
10
10
11
11
Download Adafruit_SSD1305 library
Installing Adafruit_GFX
Adjust display size
Running the Demo
Changing Pins
Using Hardware SPI
I2C Wiring
3.3V Capacitor
11
11
12
12
12
13
13
15
I2C code changes
Using Adafruit GFX
F.A.Q.
How come sometimes I see banding or dim areas on the OLED?
The display works, because I can see the splash screen, but when I draw to the display nothing appears!
How do I get rid of the splash screen?
15
16
17
17
17
17
Downloads
Datasheets
18
18
© Adafruit Industries
https://learn.adafruit.com/1-5-and-2-1-monochrome-128x64-oled-display-module
Page 2 of 18
Overview
If you've been diggin' our
monochome OLEDs
(https://adafru.it/eau)
but need something bigger, this display will delight
you! These displays are 1.5" and 2.4" diagonal, and very readable due to the high contrast of an OLED display. This
display is made of 128x64 individual white OLED pixels, each one turned on or off by the controller chip. Because the
display makes its own light, no backlight is required. This reduces the power required to run the OLED and is why the
display has such high contrast; we really like this graphic display for its crispness!
© Adafruit Industries
https://learn.adafruit.com/1-5-and-2-1-monochrome-128x64-oled-display-module
Page 3 of 18
The driver chip, SSD1305 can communicate in three ways: 8-bit, I2C or SPI. Personally we think SPI is the way to go,
only 4 or 5 wires are required and its very fast. The OLED itself requires a 3.3V power supply and 3.3V logic levels for
communication. We include a breadboard-friendly level shifter that can convert 3V or 5V down to 3V, so it can be used
with 5V-logic devices like Arduino.
© Adafruit Industries
https://learn.adafruit.com/1-5-and-2-1-monochrome-128x64-oled-display-module
Page 4 of 18
The power requirements depend a little on how much of the display is lit but on average the display uses about 50mA
from the 3.3V supply. Built into the OLED driver is a simple switch-cap charge pump that turns 3.3V into a high voltage
drive for the OLEDs.
Each order comes with one assembled OLED module with a nice bezel and 4 mounting holes. The display is 3V logic
& power so we include a HC4050 level shifter. We also toss in a 220uF capacitor, as we noticed an Arduino may need
a little more capacitance on the 3.3V power supply for this big display! This display does not come with header
attached but we do toss in a stick of header you can solder on. Also, the display may come in 8-bit mode. You can
change modes from 8-bit to SPI or I2C with a little soldering, check out the Assembly page for how to do so.
Getting started is easy! We have a detailed tutorial and example code in the form of an Arduino library for text and
graphics. You'll need a microcontroller with more than 512 bytes of RAM since the display must be buffered. The library
can print text, bitmaps, pixels, rectangles, circles and lines. It uses 512 bytes of RAM since it needs to buffer the entire
display but its very fast! The code is simple to adapt to any other microcontroller.
© Adafruit Industries
https://learn.adafruit.com/1-5-and-2-1-monochrome-128x64-oled-display-module
Page 5 of 18