NHD-0216MW-IB3
Character OLED Display Module
NHD0216MWIB3-
Newhaven Display
2 Lines x 16 Characters
Character OLED Module
Model
Blue
2.4V~5.5V Supply Voltage
Newhaven Display International, Inc.
2661 Galvin Ct.
Elgin IL, 60124
Ph: 847-844-8795
Fax: 847-844-8796
www.newhavendisplay.com
nhtech@newhavendisplay.com
nhsales@newhavendisplay.com
Document Revision History
Revision
0
1
2
Date
7/05/16
10/14/16
2/26/18
Description
Initial Release
Pin Description Updated
Mechanical Drawing Updated
Functions and Features
•
•
•
•
•
•
•
•
2 lines x 16 characters
Built-in LCD comparable controller
I²C MPU interface
2.8V or 5.0V operation
RoHS compliant
Slim design
Low Power
Ultra-High Contrast
[2]
Changed by
PB
PB
SB
1
2
3
4
5
6
SYMBOL
7
8
REVISION
DATE
A
A
16.05
4 - ⌀1.25(PTH)
19.52
8
2
7
1
B
0.2
3.40
BEZEL 42.40
0.2
Segment 50
( Column 50 )
2.85
OLED 41.40
13.50
1.75
V.A 36.22
3.90
2.35
0.2
6.49
"A"
10.35
A.A 34.22
9.25
v1
7.49
C
10.16
0.2
Newhaven Display
5
0.3
PCB 24.40
0.2
BEZEL 20.90
0.2
OLED 19.90
0.2
A.A 9.40
Active Area 1.39”
16 x 2 Character
V.A 11.40
B
2
0.3
PCB 49.20
P2.54*(4-1) = 7.62
NHD-0216MW-IB3
4.50
0.2
HOLE 18.70
HOLE 49.20
10.50
PCB 1
0.37
0.34
Segment 20
( Column 80 )
Pin Assignment
2.16
1.82
0.34
0.53
0.56
4.45
4.95
D
Segment 49
Segment 99
( Column 51 )
0.5
( Column 1 )
Common 15
Detail "A"
( Row 16 )
C
Common 0
( Row 1 )
NO.
Symbol
1
GND
2
VDD_SEL
3
VDDIO
4
SA0
5
SCL
6
SDA
7
/RES
8
NC
D
E
E
F
Notes:
1. Display Color:
2. Display Format:
3. Supply Voltage:
4. Interface:
5. Controller:
1
2
Blue
2 lines x 16 characters
2.4V~5.5V
I2C
US2066
3
STANDARD TOLERANCES
(UNLESS OTHERWISE SPECIFIED)
LINEAR:
±0.3 mm
XX.
±0.3 mm
XX.X
XX.XX ±0.3 mm
UNLESS OTHERWISE SPECIFIED
- DIMENSIONS ARE IN MILLIMETERS
5
6
1.0
NHD-0216MW-IB3
DRAWN BY:
CHECKED BY:
S. Baxi
DRAWN DATE:
P. Bartek
02/26/18
- THIRD ANGLE PROJECTION
4
REVISION:
DRAWING/PART NUMBER:
CHECKED DATE:
02/26/18
DO NOT SCALE DRAWING
SIZE:
A3
APPROVED BY:
P. Bartek
SCALE:
APPROVED DATE:
02/26/18
NS
SHEET 1 OF 1
THIS DRAWING IS SOLELY THE PROPERTY OF NEWHAVEN DISPLAY INTERNATIONAL, INC.
THE INFORMATION IT CONTAINS IS NOT TO BE DISCLOSED, REPRODUCED OR COPIED IN
WHOLE OR PART WITHOUT WRITTEN APPROVAL FROM NE WHAVEN DISPLAY.
7
8
F
Pin Description
I²C Interface:
Pin No.
1
2
Symbol
GND
VDD_SEL
External Connection
Power Supply
Power Supply
3
VDDIO
Power Supply
4
5
6
7
8
SA0
SCL
SDA
/RES
NC
MPU
MPU
MPU
MPU
-
Function Description
Ground
Supply Voltage for Logic Operation
VDD_SEL must be No Connect for 5V operation, VDD_SEL=2.8V for
low voltage operation.
Supply Voltage for Logic I/O
VDDIO=5V for 5V operation, VDDIO=2.8V for low voltage operation.
Slave Address select signal (LOW = 3C, HIGH = 3D)
Serial Clock signal
Serial Data line
Active LOW Reset signal
No Connect
5V I/O Regulator Jumper Select
Solder Jumper
Name
SJ1
2.8V
Operation
Open (default)
5V
Operation
Short
[4]
Wiring Diagram
[5]
Electrical Characteristics
Item
Operating Temperature Range
Storage Temperature Range
Supply Voltage for Logic
Supply Voltage for Logic
Supply Current
Sleep Mode Current
“H” Level input
“L” Level input
“H” Level output
“L” Level output
Symbol
TOP
TST
Condition
Absolute Max
Absolute Max
Min.
-40
-40
Typ.
-
Max.
+85
+90
Unit
⁰C
⁰C
VDD
VDD
IDD
IDD_SLEEP
(2.8V I/O Application)
(5V I/O Application)
-
2.4
4.4
2
-
2.8
5.0
10
.05
VDDIO
VDDIO
40
1
V
V
mA
mA
VIH
VIL
VOH
VOL
-
0.8 * VDD
0.9 * VDD
-
-
0.2 * VDD
0.1 * VDD
V
V
V
V
Symbol
ϕY+
ϕYθXθX+
CR
TR
TF
LV
-
Condition
Min.
80
80
80
80
2
60
25,000
Typ.
10,000:1
10
10
80
-
Max.
-
Unit
°
°
°
°
µs
µs
cd/m2
Hrs.
Optical Characteristics
Optimal
Viewing
Angles
Item
Top
Bottom
Left
Right
Contrast Ratio
CR ≥ 2
Response Time
Brightness
50% Checkerboard
Lifetime
TOP=25°C
50% Checkerboard
Note: Lifetime at typical temperature is based on accelerated high-temperature operation. Lifetime is tested at
average 50% pixels on and is rated as Hours until Half-Brightness. The Display OFF command can be used to
extend the lifetime of the display.
Luminance of active pixels will degrade faster than inactive pixels. Residual (burn-in) images may occur. To avoid
this, every pixel should be illuminated uniformly.
Rise
Fall
Controller Information
Built-in US2066 controller.
Please download specification at http://www.newhavendisplay.com/app_notes/US2066.pdf
DDRAM Address
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
[6]
Table of Commands
1.
Fundamental Command List
Instruction Code
Command
IS
RE
SD
Clear Display
X
X
0
Return Home
X
0
0
Description
D/C#
R/W#
(WR#)
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
0
0
0
0
0
1
Write "20H" to DDRAM and set DDRAM
address to "00H" from AC.
*
Set DDRAM address to "00H" from AC and
return cursor to its original position if
shifted. The contents of DDRAM are not
changed.
0
0
0
0
0
0
0
0
1
Assign cursor / blink moving direction
with DDRAM address.
I/D = "1": cursor/ blink moves to right and
DDRAM address is increased by 1 (POR)
X
0
0
0
0
0
0
0
0
0
1
I/D
S
I/D = "0": cursor/ blink moves to left and
DDRAM address is decreased by 1
Assign display shift with DDRAM address.
S = "1": make display shift of the enabled
lines by the DS4 to DS1 bits in the shift
enable instruction. Left/ right direction
depends on I/D bit selection.
Entry Mode
Set
S = "0": display shift disable (POR)
X
1
0
0
0
0
0
0
0
0
1
BDC
BDS
Common bi-direction function.
BDC = "0": COM31 -> COM0
BDC = "1": COM0 -> COM31
Segment bi-direction function.
BDS = "0": SEG99 -> SEG0,
BDS = "1": SEG0 -> SEG99
Set display/cursor/blink ON/OFF
Display ON/
OFF Control
D = "1": display ON,
D = "0": display OFF (POR),
X
0
0
0
0
0
0
0
0
1
D
C
B
C = "1": cursor ON,
C = "0": cursor OFF (POR),
B = "1": blink ON,
B = "0": blink OFF (POR).
Assign font width, black/white inverting of
cursor, and 4line display mode control bit.
FW = "1": 6-dot font width,
FW = "0": 5-dot font width (POR),
Extended
Function Set
X
1
0
0
0
0
0
0
0
1
FW
BW
NW
B/W = "1": black/white inverting of cursor
enable,
B/W = "0": black/white inverting of cursor
disable (POR)
NW = "1": 3-line or 4-line display mode
NW = "0": 1-line or 2-line display mode
[7]
1.
Fundamental Command Set
Instruction Code
Command
Cursor or
Display Shift
IS
RE
SD
D/C#
R/W#
(WR#)
D7
D6
D5
D4
D3
D2
D1
D0
Description
Set cursor moving and display shift
control bit, and the direction, without
changing DDRAM data.
0
0
0
0
0
0
0
0
1
S/C
R/L
*
*
S/C = "1": display shift,
S/C = "0": cursor shift,
R/L = "1": shift to right,
R/L = "0": shift to left
Double
Height (4Line)/
Display-dot
Shift
0
1
0
0
0
0
0
0
1
UD2
UD1
*
DH’
UD2~1: Assign different doubt height
format (POR=11b)
Refer to Table 7-2 for details
DH’ = "1": display shift enable
DH’ = "0": dot scroll enable (POR)
DS[4:1]=1111b (POR) when DH’ = 1b
Determine the line for display shift.
Shift Enable
1
1
0
0
0
0
0
0
1
DS4
DS3
DS2
DS1
DS1 = "1/0": 1st line display shift
enable/disable
DS2 = "1/0": 2nd line display shift
enable/disable
DS3 = "1/0": 3rd line display shift
enable/disable
DS4 = "1/0": 4th line display shift
enable/disable.
HS[4:1]=1111b (POR) when DH’ = 0b
Determine the line for horizontal
smooth scroll.
Scroll Enable
1
X
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
*
HS4
N
HS3
DH
HS2
RE
(0)
HS1
IS
HS1 = "1/0": 1st line dot scroll
enable/disable
HS2 = "1/0": 2nd line dot scroll
enable/disable
HS3 = "1/0": 3rd line dot scroll
enable/disable
HS4 = "1/0": 4th line dot scroll
enable/disable.
Numbers of display line, N
when N = "1":
2-line (NW=0b) / 4-line (NW=1b),
when N = "0":
1-line (NW=0b) / 3-line (NW=1b)
DH = “ 1/0”: Double height font control
for 2-line mode enable/ disable (POR=0)
Extension register, RE ("0")
Function Set
Extension register, IS
X
1
0
0
0
0
0
1
*
[8]
N
BE
RE
(1)
CGRAM blink enable
BE = 1b: CGRAM blink enable
BE = 0b: CGRAM blink disable (POR)
REV
Extension register, RE ("1")
Reverse bit
REV = "1": reverse display,
REV = "0": normal display (POR)
1.
Fundamental Command Set
Instruction Code
Command
IS
RE
SD
Set CGRAM
Address
0
0
Set DDRAM
Address
0
Set Scroll
Quantity
X
Read Busy
Flag and
Address/
Part ID
X
Description
D/C#
R/W#
(WR#)
D7
D6
D5
D4
D3
D2
D1
D0
0
0
0
0
1
AC5
AC4
AC3
AC2
AC1
AC0
Set CGRAM address in address counter.
(POR=00 0000)
0
0
0
0
1
AC6
AC5
AC4
AC3
AC2
AC1
AC0
Set DDRAM address in address counter.
(POR=000 0000)
1
0
0
0
1
*
SQ5
SQ4
SQ3
SQ2
SQ1
SQ0
Set the quantity of horizontal dot scroll.
(POR=00 0000)
Valid up to SQ[5:0] = 110000b
X
0
0
1
BF
AC6
/
ID6
AC5
/
ID5
AC4
/
ID4
AC3
/
ID3
AC2
/
ID2
AC1
/
ID1
AC0
/
ID0
Can be known whether during internal
operation or not by reading BF. The
contents of address counter or the part
ID can also be read. When it is read the
first time, the address counter can be
read. When it is read the second time,
the part ID can be read.
BF = "1": busy state
BF = "0": ready state
Write Data
X
X
0
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Write data into internal RAM
(DDRAM / CGRAM).
Read Data
X
X
0
1
1
D7
D6
D5
D4
D3
D2
D1
D0
Read data from internal RAM
(DDRAM / CGRAM).
2.
Extended Command Set
Instruction Code
Command
Function
Selection A
IS
RE
SD
X
X
1
1
0
0
X
X
1
1
0
0
D/C#
0
1
0
1
R/W#
(WR#)
0
0
0
0
Hex
D7
D6
D5
D4
D3
D2
D1
D0
71
A[7:0]
0
A7
1
A6
1
A5
1
A4
0
A3
0
A2
0
A1
1
A0
72
0
*
1
*
1
*
1
*
0
0
1
0
ROM
ROM
OPR
OPR
1
0
1
0
Function
Selection B
Description
A[7:0] = 00h, Disable internal
VDD regulator at 5V I/O
application mode
A[7:0] = 5Ch, Enable internal
VDD regulator at 5V I/O
application mode (POR)
OPR[1:0]: Select the character
no. of character generator
OPR[1:
0]
CGRO
M
CGRA
M
00b
01b
10b
11b
240
248
250
256
8
8
6
0
ROM[1:0]: Select character
ROM
X
1
X
0
0
78/79
0
1
OLED
Characteriza
tion
[9]
1
1
1
0
0
SD
RO[1:0]
ROM
00b
01b
01b
11b
A
B
C
Invalid
Extension Register, SD
SD=0b: OLED Command set is
disabled (POR)
SD=1b: OLED Command set is
enabled.
3.
OLED Command Set
Instruction Code
Command
Set Contrast
Control
IS
RE
SD
X
X
1
1
X
X
Description
R/W#
(WR#)
0
0
Hex
D7
D6
D5
D4
D3
D2
D1
D0
1
1
D/C
#
0
0
81
A[7:0]
1
A7
0
A6
0
A5
0
A4
0
A3
0
A2
0
A1
1
A0
Double byte command to
select 1 out of 256 contrast
steps. Contrast increases as
the value increases.
(POR = 7Fh )
1
1
1
1
0
0
0
0
D5
A[7:0]
1
A7
1
A6
0
A5
1
A4
0
A3
1
A2
0
A1
1
A0
X
X
1
1
1
1
0
0
0
0
D9
A[7:0]
1
A7
1
A6
0
A5
1
A4
1
A3
0
A2
0
A1
1
A0
X
X
1
1
1
1
0
0
0
0
DB
A[6:4]
1
0
1
A6
0
A5
1
A4
1
0
0
0
1
0
1
0
A[3:0]: Define the divide ratio
{D) of the display
clocks (DCLK) divide
ratio = A[3:0] + 1
(POR=0000b)
A[7:4]: Set the Oscillator
Frequency, FOSC.
Oscillator Frequency
increases with the
value of A[7:4] and
vice versa.
(POR=0111b)
Range:0000b~1111b
Frequency increases as setting
value increases.
A[3:0]: Phase 1 period of up
to 32 DCLK; clock 0 is
an valid entry with 2
DCLK (POR=1000b)
A[7:4]: Phase 2 period of up
to 15 DCLK; clock 0 is
invalid entry
(POR=0111b)
A[4] = 0b, Sequential SEG pin
Configuration
A[4] = 1b (POR), Alternative
(Odd/Even) SEG pin
configuration
A[5] = 0b (POR), Disable SEG
Left/Right remap
A[5]=1b, Enable SEG
Left/Right remap
Refer to table 6-4 for details
X
X
1
1
1
1
0
0
0
0
DB
A[6:4]
1
0
1
A6
0
A5
1
A4
1
0
0
0
1
0
1
0
Set Display
Clock Divide
Ratio /
Oscillator
Frequency
Set Phase
Length
Set SEG Pins
Hardware
Configuration
Set VCOMH
Deselect Level
[10]
A[6:4]
Hex
Code
VCOMH
Deselect
level
000b
00h
001b
10h
010B
20h
011
30h
100b
40h
~0.65 x
VCC
~0.71 x
VCC
~0.77 x
VCC
(POR)
~0.83 x
VCC
1 x VCC
1.
OLED Command Set
Instruction Code
Command
IS
RE
SD
X
X
1
1
1
1
D/C
#
0
0
R/W#
(WR#)
0
0
Hex
D7
D6
D5
D4
D3
D2
D1
D0
DC
A[7:0]
1
A7
1
A6
0
A5
1
A4
1
A3
1
A2
0
A1
0
A0
Description
Set VSL & GPIO
Set VSL:
A[7] = 0b: Internal VSL (POR)
A[7] = 1b: Enable external VSL
Set GPIO:
A[1:0]= 00b represents GPIO
pin HiZ, input disabled
(always read as low)
A[1:0]= 01b represents GPIO
pin HiZ, input enabled
A[1:0]= 10b represents GPIO
pin output Low (RESET)
A[1:0]= 11b represents GPIO
pin output High
Function
Selection C
X
X
1
1
1
1
0
0
0
0
23
A[5:0]
0
*
0
*
1
A5
0
A4
0
A3
0
A2
1
A1
1
A0
A[5:4] = 00b Disable Fade Out
/ Blinking Mode[RESET]
A[5:4] = 10b Enable Fade Out
mode. Once Fade Mode is
enabled, contrast decrease
gradually to all pixels OFF.
Output follows RAM content
when Fade mode is disabled.
A[5:4] = 11b Enable Blinking
mode. Once Blinking Mode is
enabled, contrast decrease
gradually to all pixels OFF and
then contrast increases
gradually to normal display.
This process loops
continuously until the Blinking
mode is disabled.
Set Fade Out
and Blinking
A[3:0] : Set time interval for
each fade step
[11]
A[3:0]
Time interval of
for each fade
step
0000b
8 Frames
0001b
16 Frames
0010b
24 Frames
:
:
1110b
120 Frames
1111b
128 Frames
Timing Characteristics
I²C Interface:
Symbol
tcycle
tHSTART
tHD
tSD
tSSTART
tSSTOP
tR
tF
tIDLE
Parameter
Clock Cycle Time
Start Condition Hold Time
Data Hold Time (for “SDAOUT” pin)
Data Hold Time (for “SDAIN” pin)
Data Setup Time
Start condition setup time (Only for a repeated Start Condition)
Stop condition Setup Time
Rise Time for data and clock pin
Fall Time for data and clock pin
Idle Time before a new transmission can start
[12]
Min
2.5
0.6
5
300
100
0.6
0.6
1.3
Typ
-
Max
300
300
-
Unit
µs
µs
ns
ns
ns
µs
µs
ns
ns
µS
Built-in Font Tables
[13]
[14]
[15]
Example Initialization Sequence
void init()
{
RES = 1;
delayms(1);
command(0x2A);
command(0x71);
data(0x00);
command(0x28);
command(0x08);
command(0x2A);
command(0x79);
command(0xD5);
command(0x70);
command(0x78);
command(0x08);
command(0x06);
command(0x72);
data(0x00);
command(0x2A);
command(0x79);
command(0xDA);
command(0x00);
command(0xDC);
command(0x00);
command(0x81);
command(0x7F);
command(0xD9);
command(0xF1);
command(0xDB);
command(0x40);
command(0x78);
command(0x28);
command(0x01);
command(0x80);
command(0x0C);
delayms(100);
}
//reset HIGH – inactive
//delay
//function set (extended command set)
//function selection A
// disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
//function set (fundamental command set)
//display off, cursor off, blink off
//function set (extended command set)
//OLED command set enabled
//set display clock divide ratio/oscillator frequency
//set display clock divide ratio/oscillator frequency
//OLED command set disabled
//extended function set (2-lines)
//COM SEG direction
//function selection B
//ROM CGRAM selection
//function set (extended command set)
//OLED command set enabled
//set SEG pins hardware configuration
//set SEG pins hardware configuration
//function selection C
//function selection C
//set contrast control
//set contrast control
//set phase length
//set phase length
//set VCOMH deselect level
//set VCOMH deselect level
//OLED command set disabled
//function set (fundamental command set)
//clear display
//set DDRAM address to 0x00
//display ON
//delay
Example Arduino Code
Please see: https://github.com/NewhavenDisplay/NHD_US2066
[16]
Quality Information
Test Item
Content of Test
High Temperature storage
Test the endurance of the display at high
storage temperature.
Test the endurance of the display at low
storage temperature.
Test the endurance of the display by
applying electric stress (voltage & current)
at high temperature.
Test the endurance of the display by
applying electric stress (voltage & current)
at low temperature.
Test the endurance of the display by
applying electric stress (voltage & current)
at high temperature with high humidity.
Test the endurance of the display by
applying electric stress (voltage & current)
during a cycle of low and high
temperatures.
Test the endurance of the display by
applying vibration to simulate
transportation and use.
Low Temperature storage
High Temperature
Operation
Low Temperature
Operation
High Temperature /
Humidity Operation
Thermal Shock resistance
Vibration test
Static electricity test
Test Condition
Test the endurance of the display by
applying electric static discharge.
2
-40⁰C , 240hrs
1,2
+85⁰C, 240hrs
2
-40⁰C, 240hrs
1,2
+60⁰C, 90% RH, 240hrs
1,2
-40⁰C, 30min -> 25⁰C, 5min ->
85⁰C, 30min = 1 cycle
100 cycles
10-22Hz, 15mm amplitude.
22-500Hz, 1.5G
30min in each of 3 directions
X,Y,Z
VS=800V, RS=1.5kΩ, CS=100pF
One time
Note 1: No condensation to be observed.
Note 2: Conducted after 2 hours of storage at 25⁰C, 0%RH.
Note 3: Test performed on product itself, not inside a container.
Evaluation Criteria:
1: Display is fully functional during operational tests and after all tests, at room temperature.
2: No observable defects.
3: Luminance >50% of initial value.
4: Current consumption within 50% of initial value
Precautions for using OLEDs/LCDs/LCMs
See Precautions at www.newhavendisplay.com/specs/precautions.pdf
Warranty Information and Terms & Conditions
http://www.newhavendisplay.com/index.php?main_page=terms
[17]
Note
+90⁰C, 240hrs
3