NHD-0216MW-AB3 Datasheet by Newhaven Display Intl

View All Related Products | Download PDF Datasheet
.— .u-r~6.vyt*9.ysn RI???“ Newhaven Display Internationall Inc. www.newhavendisglay.com nhtech@newhavendisplayxom nhsales@newhavendisplayxom
NHD-0216MW-AB3
Character OLED Display
NHD- Newhaven Display
0216- 2 Lines x 16 Characters
MW- Character OLED Display
A- Model
B- Blue
3- 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 Date Descriptinn Changed by 0 01/08/16 Initial Release PB 1 02/10/16 Electrical Characteristics Updated PB 2 02/26/16 Electrical Characteristics and Pin Description Updated PB
[2]
Document Revision History
Revision
Date
Description
Changed by
0
01/08/16
Initial Release
PB
1
02/10/16
Electrical Characteristics Updated
PB
2
02/26/16
Electrical Characteristics and Pin Description Updated
PB
Functions and Features
2 lines x 16 characters
Built-in LCD comparable controller
4/8-bit Parallel, SPI, or I²C MPU interface
2.8V or 5.0V operation
RoHS compliant
Slim design
Active Agrea 1.39" 16 x 2 C‘flmracler .ervaaysr, PJ§FEAY
CONFIDENTIAL
1 2 3 4 5 6
A
B
C
D
B
C
D
1 2 3 4 5 6
Mechanical Drawing
A
[3]
The drawing contained herein is the exclusive property of Newhaven Display International, Inc. and shall not be copied, reproduced, and/or disclosed in any format without permission.
NHD-0216MW-AB3
01/08/16
Date
Unit Model:
mm
Gen. Tolerance
±0.3mm
Rev Description Date
Detail "A"
Scale (2:1)
0.34
0.37
0.53
0.56
4.45
4.95
1.82
2.16
0.5
0.34
Segment 49
( Column 51 )
Common 0
( Row 1 )
Common 15
( Row 16 )
Segment 99
( Column 1 )
1.6±0.1
Glue
Remove Tape
t=0.15mm Max
Polarizer
t=0.2mm
Contact Side
Protective Tape
11.8x3.5x0.05mm
(1.84)
(2.15)
(9.28)
"A"
Segment 20
( Column 80 )
Segment 50
( Column 50 )
8
Symbol
2
5
7
6
4
3
1
Pin
10
9
12
15
14
13
11
/CS
BS1
BS2
D0
D1
/RES
D/C
VDD
BS0
VDDIO
E
R/W
REGVDD
VSS
VSL
16 D2
17 D3
18 D4
19 D5
20 D6
21 D7
22 IREF
23 VCOMH
24 VCC
0.3±0.03
4.5±0.5 (Stiffener)
34.22 (A/A)
36.22 (V/A)
40.4±0.5 (Polarizer)
41.4±0.2 (Cap Size)
41.4±0.2 (Panel Size)
(3.59)
(2.59)
0.5±0.5
(31.9)
9.4 (A/A)
11.4 (V/A)
14.9±0.5 (Polarizer)
15.9±0.2 (Cap Size)
19.9±0.2 (Panel Size)
(2.5)
(1.5)
0.5±0.5
Active Area 1.39"
16
x
2 Character
(5)
(10)
(8)
12±0.3
P0.5x(24-1)=11.5±0.05 (W0.35±0.03)
(0.5)
10.4±0.1 (Alignment Mark)
12.5±0.2
11
0.2
(14.45)
3±0.3
2-
φ
1±0.1
1 24
CS#
BS1
BS2
D0
D1
RES#
D/C
VDD
BS0
VDDIO
E
R/W
REGVDD
VLSS+VSS
VSL
D2
D3
D4
D5
D6
D7
IREF
VCOMH
VCC
Newhaven Display
NHD-
0216MW-AB3
Silk Screen
(Top Side)
Notes:
1. Display color: Blue
2. Display size: 2 Lines x 16 Characters
3. Interface: Parallel, Serial, I2C
4. Operating temp: -40C to +85C
5. Storage temp: -40C to +90C
6. Controller: US2066
7. RoHS compliant
p Parallel Interface: Pln Nn. Symbol External Connectlon Functlan Descrlptlon 1 VSL Power Supply Ground 2 VSS Power Supply Ground 3 REGVDD Power Supply lnternal VDD regulator selection pin in SV I/O application mode. HIGH: 5v I/O application, LOW: 2.8V l/O application 4 VDD Power Supply Supply Voltage for Logic Operation. A capacitor should be connected between VDD and V55 under all circumstances. 5 VDDlO Power Supply Supply Voltage for Logic I/O 68 E50 7 E52 MPU MPU interface select signal 9 /C5 MPU Active LOW Cnip 5elect signal 10 /RES MPU Active LOW Reset signal 11 D/C MPU Data/Command select signal. D/C:0: Command, D/ 1: Data R/W MPU asoo: Read/Write selectslgnal, R/W:1: Read, R/W: .erte /WR MPU 8080: Active LOW Write signal E MPU 6800: Operation Enable signal (Falling edge triggered) /RD MPU 8080: Active LOW Read signal 14»21 DEC , DB7 MPU 8-bit bi-dlrectional data bus 22 IREF Power Supply Segment output current reference pin. A resistorsnould be connec lSuA. 23 VCOMH Power Supply COM signal deselected voltage level. A capacitor should be connected between this pin and V55. 24 vcc Power Supply Supply Voltage for OLED panel Serial Interface: Pln Nn. Symbol External Connectlon Functlan Descrlptlon 1 VSL Power Supply Ground 2 VSS Power Supply Ground 3 REGVDD Power Supply lnternal VDD regulator selection pin in SV I/O application mode. HIGH: 5v I/O application, LOW: 2.8V l/O application 4 VDD Power Supply Supply Voltage for Logic Operation. A capacitor should be connected between VDD and V55 under all circumstances. 5 VDDlO Power Supply Supply Voltage for Logic I/O 68 E50 7 E52 MPU MPU interface select signal 9 /C5 MPU Active LOW Cnip Select signal 10 /RES MPU Active LOW Reset signal 1143 NC » No Connect. Tie to Ground 14 SCLK MPU Serial Clock signal 15 SDI MPU Serial Data lnput signal 16 SDO MPU Serial Data Output signal 17»21 NC » No Connect. Tie to Ground 22 IREF Power Supply Segment output current reference pin. A resistor should be connec lSuA. 23 VCOMH Power Supply COM signal deselected voltage level. A capacitor should be connected between this pin and V55. 24 vcc Power Supply Supply voltage for OLED panel
[4]
Pin Description
Parallel Interface:
Pin No.
Symbol
External Connection
Function Description
1
VSL
Power Supply
Ground
2
VSS
Power Supply
Ground
3
REGVDD
Power Supply
Internal VDD regulator selection pin in 5V I/O application mode.
HIGH: 5V I/O application, LOW: 2.8V I/O application
4
VDD
Power Supply
Supply Voltage for Logic Operation. A capacitor should be
connected between VDD and VSS under all circumstances.
5
VDDIO
Power Supply
Supply Voltage for Logic I/O
6-8
BS0 BS2
MPU
MPU interface select signal
9
/CS
MPU
Active LOW Chip Select signal
10
/RES
MPU
Active LOW Reset signal
11
D/C
MPU
Data/Command select signal. D/C=0: Command, D/C=1: Data
12
R/W
MPU
6800: Read/Write select signal, R/W=1: Read, R/W=0: Write
/WR
MPU
8080: Active LOW Write signal
13
E
MPU
6800: Operation Enable signal (Falling edge triggered)
/RD
MPU
8080: Active LOW Read signal
14-21
DB0 DB7
MPU
8-bit bi-directional data bus
22
IREF
Power Supply
Segment output current reference pin. A resistor should be
connected between this pin and VSS to maintain current of around
15uA.
23
VCOMH
Power Supply
COM signal deselected voltage level. A capacitor should be
connected between this pin and VSS.
24
VCC
Power Supply
Supply Voltage for OLED panel
Serial Interface:
Pin No.
Symbol
External Connection
Function Description
1
VSL
Power Supply
Ground
2
VSS
Power Supply
Ground
3
REGVDD
Power Supply
Internal VDD regulator selection pin in 5V I/O application mode.
HIGH: 5V I/O application, LOW: 2.8V I/O application
4
VDD
Power Supply
Supply Voltage for Logic Operation. A capacitor should be
connected between VDD and VSS under all circumstances.
5
VDDIO
Power Supply
Supply Voltage for Logic I/O
6-8
BS0 BS2
MPU
MPU interface select signal
9
/CS
MPU
Active LOW Chip Select signal
10
/RES
MPU
Active LOW Reset signal
11-13
NC
-
No Connect. Tie to Ground
14
SCLK
MPU
Serial Clock signal
15
SDI
MPU
Serial Data Input signal
16
SDO
MPU
Serial Data Output signal
17-21
NC
-
No Connect. Tie to Ground
22
IREF
Power Supply
Segment output current reference pin. A resistor should be
connected between this pin and VSS to maintain current of around
15uA.
23
VCOMH
Power Supply
COM signal deselected voltage level. A capacitor should be
connected between this pin and VSS.
24
VCC
Power Supply
Supply voltage for OLED panel
IIC Interface: Pln Nn. Symbnl External Connectlon Functlan Descrlptlon 1 VSL Power Supply Ground 2 VSS Power Supply Ground 3 REGVDD Power Supply internal VDD regulator selection pin in SV I/O application mode. HIGH: 5v I/O application, Low: 2.8\/ l/o application 4 VDD Power Supply Supply Voltage for Logic Operation. A capacitor should be connected between VDD and V55 under all circumstances. 5 VDDlO Power Supply Supply Voltage for Logic l/o 6-8 E50 * E52 MPU MPU interface select signal 9 NC - No Connect. Tie to Ground 10 /RES MPU Active LOW Reset signal 11 5A0 MPU Slave Address select signal 12-13 NC - No Connect. Tie to Ground 14 SCL MPU Serial Clock signal 15 50A MPU Serial Data input 16 5DA MPU Serial Data Output. Tie togetherwitn 5DA [pin 15) 17-21 NC - No Connect. Tie to Ground 22 IREF Power Supply Segment output current reference pin. A resistor snoulo be connec lSuA. 23 VCOMH Power Supply COM signal deselected voltage level. A capacitor should be connected between this pin and V55. 24 vcc Power Supply Supply voltage ror OLED panel MPU Interface Pin Selections PIn 4—hlt Parallel 4—hlt Parallel a—hlt Parallel a—hlt Parallel Serlal I‘C Name 6800 Interface 8080 Interface 6800 Interface 8080 Interface Interface Interface BSD 1 1 0 0 0 0 351 0 1 0 1 0 1 BSZ 1 1 1 1 0 0 MPU Interface Pin Assignment Summary Bus Data/Command Interface Control Slgnals D7 l DG l as l D4 03 l D2 01 no E R/W A's D/c IRES 4»bit ssoo D[7:4] Tie LOW E R/W /CS D/C /RES 4»bit soso D[7:4] Tie LOW /RD /WR /CS D/C /RES 8»bit ssoo D[7:0] E R/W /CS D/C /RES 8»bit soso D[7:0] /RD /WR /CS D/C /RES SPI Tie LOW SDO SDI SCLK Tie LOW /CS Tie LOW /RES I‘C Tie LOW SDA SDA SCL Tle LOW SAo /RES
[5]
C Interface:
Pin No.
Symbol
External Connection
Function Description
1
VSL
Power Supply
Ground
2
VSS
Power Supply
Ground
3
REGVDD
Power Supply
Internal VDD regulator selection pin in 5V I/O application mode.
HIGH: 5V I/O application, LOW: 2.8V I/O application
4
VDD
Power Supply
Supply Voltage for Logic Operation. A capacitor should be
connected between VDD and VSS under all circumstances.
5
VDDIO
Power Supply
Supply Voltage for Logic I/O
6-8
BS0 BS2
MPU
MPU interface select signal
9
NC
-
No Connect. Tie to Ground
10
/RES
MPU
Active LOW Reset signal
11
SA0
MPU
Slave Address select signal
12-13
NC
-
No Connect. Tie to Ground
14
SCL
MPU
Serial Clock signal
15
SDA
IN
MPU
Serial Data Input
16
SDAOUT
MPU
Serial Data Output. Tie together with SDAIN (pin 15)
17-21
NC
-
No Connect. Tie to Ground
22
IREF
Power Supply
Segment output current reference pin. A resistor should be
connected between this pin and VSS to maintain current of around
15uA.
23
VCOMH
Power Supply
COM signal deselected voltage level. A capacitor should be
connected between this pin and VSS.
24
VCC
Power Supply
Supply voltage for OLED panel
MPU Interface Pin Selections
Pin
Name
4-bit Parallel
6800 interface
4-bit Parallel
8080 interface
8-bit Parallel
6800 interface
8-bit Parallel
8080 interface
Serial
Interface
I²C
Interface
BS0
1
1
0
0
0
0
BS1
0
1
0
1
0
1
BS2
1
1
1
1
0
0
MPU Interface Pin Assignment Summary
Bus
Interface
Data/Command Interface
Control Signals
D7
D6
D5
D4
D3
D2
D1
D0
E
R/W
/CS
D/C
/RES
4-bit 6800
D[7:4]
Tie LOW
E
R/W
/CS
D/C
/RES
4-bit 8080
D[7:4]
Tie LOW
/RD
/WR
/CS
D/C
/RES
8-bit 6800
D[7:0]
E
R/W
/CS
D/C
/RES
8-bit 8080
D[7:0]
/RD
/WR
/CS
D/C
/RES
SPI
Tie LOW
SDO
SDI
SCLK
Tie LOW
/CS
Tie LOW
/RES
I²C
Tie LOW
SDA
OUT
SDA
IN
SCL
Tie LOW
SA0
/RES
Electrical Characteristics Item Symbol Candltlan Min. Typ. Max. Unlt Operating Temperature Top Absolute Max -40 - +85 °c Range Storage Temperature Range Tst Absolute Max -40 - +90 °c Supply Voltage for logic VDD (2,8V l/o Applicationl 2.4 2.8 VDDIO V Supply Voltage for l/o Pins VDDIO 2.4 2.8 3.5 V Supply Voltage for logic VDD 15V l/o Applieationl - - - V Supply Voltage for l/o Pins VDDIO 4.4 5.0 5.5 V Supply Voltage for display Vcc - 3.5 9.0 9.5 V Operating Current for VDD IDD - - 180 300 uA Note 1 - 4.3 5.4 mA Note 2 - 8.2 10.3 mA Sleep Mode Current for VDD IDD, SLEEP - - 1 10 uA Sleep Mode Current for VCC ICC, SLEEP - - 2 10 uA “H“ Level input Vlh - 0.8*VDDIO - VDDIO V “L“ Level input Vil - 0 - 0.2*VDD|O V “H“ Level output Voh - 0.9*VDDIO - VDDIO V “L“ Level output Vol - 0 - 0.1*VDD|O V N N Optical Characteristics Item Symbol Condltlon Min. Typ. Max. Unlt Viewing AngleeTop so - - ° Viewing Angle , Bottom 80 - - ° Viewing Angle , Left 80 - - ° Viewing Angle , Right 80 - - ° Contrast Ratio Cr 10,000:1 - - - Response Time (risel Tr - - 10 - us Response Time (fall) Tf - - 10 - us Brightness 50% checkerboard 60 80 - cd/m Lifetime Ta:25"C, 50% 25,000 - - Hrs checkerboard No av e L t C B P htt : www.newhavendis Ia .com 3 notes U52066. dt DDRAM Address
[6]
Electrical Characteristics
Item
Symbol
Condition
Min.
Typ.
Max.
Unit
Operating Temperature
Range
Top
Absolute Max
-40
-
+85
C
Storage Temperature Range
Tst
Absolute Max
-40
-
+90
C
Supply Voltage for logic
VDD
(2.8V I/O Application)
2.4
2.8
VDDIO
V
Supply Voltage for I/O Pins
VDDIO
2.4
2.8
3.6
V
Supply Voltage for logic
VDD
(5V I/O Application)
-
-
-
V
Supply Voltage for I/O Pins
VDDIO
4.4
5.0
5.5
V
Supply Voltage for display
VCC
-
8.5
9.0
9.5
V
Operating Current for VDD
IDD
-
-
180
300
μA
Operating Current for VCC ICC
Note 1
-
4.3
5.4
mA
Note 2
-
8.2
10.3
mA
Sleep Mode Current for VDD
IDD, SLEEP
-
-
1
10
μA
Sleep Mode Current for VCC
ICC, SLEEP
-
-
2
10
μA
H Level input
Vih
-
0.8*VDDIO
-
VDDIO
V
L Level input
Vil
-
0
-
0.2*VDDIO
V
H” Level output
Voh
-
0.9*VDDIO
-
VDDIO
V
L Level output
Vol
-
0
-
0.1*VDDIO
V
Note 1: VDDIO = 2.8V or 5.0V, VCC = 9.0V, 50% Display Area Turn on.
Note 2: VDDIO = 2.8V or 5.0V, VCC = 9.0V, 100% Display Area Turn on.
Optical Characteristics
Item
Symbol
Condition
Min.
Typ.
Max.
Unit
Viewing Angle Top
Cr ≥ 10,000:1
80
-
-
Viewing Angle Bottom
80
-
-
Viewing Angle Left
80
-
-
Viewing Angle Right
80
-
-
Contrast Ratio
Cr
10,000:1
-
-
-
Response Time (rise)
Tr
-
-
10
-
us
Response Time (fall)
Tf
-
-
10
-
us
Brightness
50% checkerboard
60
80
-
cd/m2
Lifetime
Ta=2C, 50%
checkerboard
25,000
-
-
Hrs
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.
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
llltmctlon Cod- D7 D5 D5 D4 D3 D2 D1 D0 Command R/W‘ (wax) D/Ct Descrlpflon Writ: 'NH“ m DDRAMIMsetDDRAM Clear DENY uddrfl to "DDH’ from AC. Set DDRAM addres in "00H" from AC and ream cursor In Is ongnal position ll 0 a o o o a o o 1 . snimm The cmms M DDRAM are not Return Home changed. Assign Lunar] blink Wilma direction WM DDRAM addrss. ID - "1': cursor] bllnk mus to rig: and DDRAM address is Increased by1(POR) [D . "D': cursor] blink mm: in left and DDRAM andrss isdecreased by l 0 O 0 O 0 0 O l I/D S Aswn dsplay sh"! wlm DDRAM was. 5 - ”1": main display snmof the ambled Ilnas by me D54» D5] D1! III the SM! nabie Instruction. Left] right dlrectlon depends on III: M selection. 5 = "0": display sum disable (FOR) Common bl directlon lumen. DC - "D COM31-> 0W0 DC - "1': COM) -> COM}! 0 O 0 O 0 O 0 1 BBC EDS segment bl-dremon Imam. D5 - SEGSQ -> 5530, 535- "1 .556) -> SEGSS 5e: aspiay/cusar/mm ONIOFF D - "1': dlsplay ON, D . '13-: dlsplay mama), Display ON/ C - ”1":oursorON. OFF comroi ° ° ° ° ° ° 1 D c a c . ’n": cursor OFF (FOR), 3 - ’1": bllnk ON, 5 - ”D": bllnk OF (FOR) Msign (mt wmn, black/white Invertlng of cursor, and 4-llne display moan camel bit. FW - "1": 6-H“ ion! mm, Extended . FunctlonSet '3 0 D D n o 1 FW EIW Nw Pw-i).wmmwim(pon), B/w. 1"black/whitelnvemng01cuw nlbie, B/w - black/while Invemng at cursor
[7]
Table of Commands
Induction Code D7 D5 D5 D4 D3 D2 D1 D0 Comm-Ml n/wa Ducrlpuon W“ (wax) fllsabl: (FOR) w '1": aim: or 4-H»: display mode w 1: 1 HM: or 2-Ilne dsplay mode ser culsar moving and dlsplay 5th control bit, and me dlremnn, without changing DDRAM data, ' displlv shift. SIC Cursor or : cursor shin, Dlsplay Shlk ’1"!!th h) rlgm, : 5th In In UD2~1: “Sign dlflererltdoubt height magma-nu) 33;?” rco'rable 7-2 rorderalls me); a o o o o l um um ' DH’ DIspIay-dlt sum Hi Hi : display shift enable 1 our well enable (FOR) 4:1]-11nh(POR)when DH' I ll) rmlne the line for dspiav shin. 1. "1/0": 1" IlrledBpla/ sum Neldsabl: m = "1/0": 2 ll»: display shlfl: Shlll: Enable 0 o o o o i 054 05: D52 D51 ”Hague - '1/0": 3'1 llne display 5th bleldsable . “1/0": 4" line display slur: Heldslblei HSl4:1]-1ulb (FOR)an w . on Dmrmlm tM llnfi lor horizorml moot" well. H51 - “1/0": 1" line dot scroll tale/usable 0 D 0 0 0 1 H51 H53 H52 H51 52 - ”1/0": 2" HM Gastroll Heldslble 53 = “1/0": 3'6 line dl! scroll bla/dsabie 54 = “1/0": 4" ling d“ uroll Die/asabie. Scroll Enmle umbersoldsplaly line, N wharl N u "1" 2-llne (NW b)/ 4-IIne(Nw-lb), when N - '0 : l-llne le=oc)/ 3-llne(NW=lb) n: DH - . 1/0": Douala Might rent control for “”3“" 5* ° ° ° ° ‘ ' N D" (a) '5 2-llne mode enable] alsable (FOR-0) Bitmslon refiner, RE (’0") Blamlon refiner, LS
[8]
Inauuctlon Code D7 06 05 Dd DJ DZ Di D0 Cumin-M n/wu Dacrlpuan n/cu (was) CGRAM bllrk emb‘e E - 1b: OGRAM Nlnk enabie E - OB: CGRAM bunk dliibh (FOR) Barman reglster, RE (“1") (1’ Reva-so u: REV . "1': reverse display, REV . '0': normal dlsp‘ay (non) Set CGRAM names In addrus owner. s: CGRAM (pen-00 0000) address 0 0 D l AC5 AC4 AC3 AC2 AC1 A00 Set DDRAM addrfl In addrss counter. 53 DDRAM (FOR-000 0000) Mdrus 0 0 l AGGACSAC4AC3 AC2 ACIAOD Set the quantity of horlzonhl dot scroll. 58 Sim” (POR=DO W00) 0 0 1 i so: 504 so: 502 SQ] sqo alld up to SQ[5:01= noooon QUINN can be known maher during internal operation or not by readlng BF. The cements Madmen counter ortne part In can also be read. When It IS read HIE M3 Read Busy time, the addm counter can be read. Flag and O 1 F “is “is A? “I": “I: “I“ A?” when It Is read the semnd time, the part “”5" me ID! 104 103 ID: ID: 100 D m be '9“ PI“! 1D F = "I”: busy state F - "0': ready state Write data Into Internal RAM wm am 1 0 07 as D5 D4 D3 02 01 DD (”WM ’ cakm)‘ Read data from Intern: RAM Read dlh (DDRAM ICGRAM).
[9]
2. [minded Command SR Command slructlo C Dscrlptlon DIC¢¢ R/wx (wax) 0 l. chtbn Selection A D A[7:0] = och, Dlsdile lntemale regulator 3 5V 1/0 anpllratlon mode A[7:0] = 501, Enable Internal ch: regulator 3 5V 1/0 anpllcatlon mode POR) chtbn Selection B DPR[1:O]: Select the character no. of shame generator ”g" canon CGRAM 00b 140 Mb 248 10h 250 11!: 256 ammo: ROM“. :0]: Select characte’ ROM RO[1:D] ROM Och A 01b 5 10a C 11!: lrlvald OLED Chamrlzallan Exterslon ueglster, sn SD = on: OLED commandset ls dlsabled (FOR) SD = 1b: QED command set E mahled Detalb refe' to Table 6-3,
[10]
Description D7 D6 SQ Cnmrast Camel 81 “710] AV Ag Doubb bytecommand In sdect ion! of 256 contrast sleps‘ Contrast Increass as the Valle Imeass. Forum) D5 «7:01 mm]: Define me dee ratio (D) of me display docis (DCLK): dlvlde mtb = A[3:0] + 1 (pon=oooon) A024]: Set the Oscllator Frequency, Fosc. Osclllamr Frequeno/ Increases wlm the value of “7:41 and Vlce velsa. (POR=0111D) Rangezofloflwlllih Frecpency Increases as setthg value Increassi D9 | “720} e.) > mm]: Phase 1 perlod of upta 32 DCLK; clock 0 Is m valld entry WM! 2 DCLK (POR=1000b) A1724]: Phase 2 perhd of uptn 15 DCLK; clock 0 Is lnvalld emry (POR=0111h) SQ SEG le Hardware Corflgintlon DA |A[5:4] ea c»- A[4]=Oh, Sequential sec pin conflgrabn A[4]=1b (POR), Altemilve (odd/em) SEG ph configuration A[5]=Db (FOR), Dlsable SEG Lefl/nglt remap A[S]=lh, Enable SEG Lefl/ngit ranap Refer to Table 6-4 hr delalb 59‘ me Deselect Level DB | “6:41 ._. ._. oo ._. A[6:4] Ha: medsdectlevel mm: 00h ~ 0.65 XV:: mu: 10h ~ 0.71XV:: 010D 20h ~ (177 x V'» (FOR) 01.11) 30h ~ 083 x V:: 100!) 40h 1X V:
[11]
Instruction Code Descripuon Hex D7 D6 05 D4 D3 D2 D1 DO DC 1 1 1 1 DSetVSLBGiIO A[7:D] A7 a o | o o p. 0 0 ,.> o memal VSL (FOR) Enable external VSL Set GPIO: A[1:0]= 0CD reprsens GPIO ph HIZ, Input dbahled (always read as low) A[1:0]= 01b represents GPIO ph HIZ, Input enabled A[1:0]= 1m rqarsenls GPlO ph omput Low (RESET) A[1:0]= 11b represents GPIO ph output ngh FUHCIIOI'I Selection C 23 A[5:O] «a 0 1 0 D D 1 1A[5:4]-Du3Dlsa>leFadeQJt/ " As Al A3 A; A; A: Bll'lldng ModeIRESEI'] A[5:4] - 16b Endhle Fade Out mode Once Fade Mode Is enabled, COMES! decluse gradually to all pixels OFF. Outpll blbws RAM cement when Fme mode 5 willed, A[5:4] - 11b Enable Blnldng mode. Once Blhldng Mode Is enabled, conlrast decrease graiually to all pixels OFF aid than contnst mouse gmdually to normal dbplay, Th5 process loop contlnuously until the Blinking mode Is dlsabled. Set Fade om and Blhkhg A[3:0] : Set tlrne Interval for each fade step “3:01 Tine hterval for each fade step 0000b 8 Prams Bomb 16 Pm ms 00 10D 24 Fri mes inch i2!) Frames 1111!) 128 Prams
[12]
6 Symbol Parameter Min 1yp Max Unit tad. Clod( Cycle Time (write cycle) 400 . . ,5 tie; Adckss Seliup Time 13 - - ns t». Addess Hob Time 17 - - ns tG Chip Select Time 0 , , us to. Chip Select Hold Time 0 - » ns rm Wlite Data Setup Time 35 - - ns (WV Write Data Hold Time 18 - - ns hm Read Dala Hold Time 13 - - ns to” Output Disable Tine 10 - 90 ns tux Access Time (RAM) _ _ 125 “5 Accss Time (command) ns PWGL Chip Select Low Puke Width (read RAM) 250 - » n5 Chip Select Low Pulse Widlh (read Command) 250 - - ns Chip Select Low Pulse Width (write) 50 - - ns ch5“ Chip Select High Pulse \Mdth (read) 155 - - ns Chip Select High Wise \Mdth (write) 55 ~ - ns ta Rise Tine - - 15 ns t; Fall Tme - - 15 ns C plea ' t” 1L» R/W# t5 tcll CS# \ L ‘ twee E tkj 1‘; Fwisrl 3. CF PWLSL tosw tollw D[7:0] (Write) >< valid="" data="" '="">< tacc="" tdhll="" d[7:o]="" (read)="" —‘—3="" valid="" data="" 7="" tnu="">
[13]
Timing Characteristics
6800-Series Parallel Interface:
Condition 1: /CS low pulse width > E high pulse width
D/C# t“ t»! R/W# t5 tCH CS# PWcsn /E PWLSL ‘ tmic j E tn—N —>\ [:t; ; tusw tmw D[7:0] (Write) Valid Data tmiu tacc D[7:0] (Read) ——‘—3 Valid Data tori
[14]
Condition 2: /CS low pulse width < E high pulse width
Symbol Parameter Min Typ Max Unit tml= CIod< cycle="" time="" (write="" cycle)="" 400="" -="" 7="" ns="" t“="" addrss="" setup="" time="" 13="" -="" -="" ns="" tm="" addrss="" hold="" time="" 17="" -="" -="" ns="" tcs="" chip="" select="" time="" 0="" -="" 7="" ns="" t5"="" chip="" select="" hold="" time="" to="" read="" signal="" 0="" -="" 7="" ns="" t3;="" chip="" select="" hold="" time="" 0="" -="" -="" n5="" tusw="" write="" data="" setup="" time="" 35="" 7="" 7="" ns="" tunw="" write="" data="" hold="" time="" 18="" 7="" 7="" ns="" tank="" read="" data="" hold="" time="" 13="" -="" 7="" ns="" to”="" output="" disable="" time="" 10="" -="" 70="" n5="" tmc="" antes="" time="" (ram)="" 7="" 7="" 125="" ns="" access="" time="" (command)="" ns="" pwlsl="" chip="" seleii="" low="" pulse="" width="" (read="" ram)="" ,="" thlr="" 250="" 7="" 7="" ns="" chip="" select="" low="" pulse="" width="" (read="" command)="" .="" tpwm="" 250="" -="" -="" n5="" chip="" select="" low="" pulse="" width="" (write)="" -="" tpwm="" 50="" -="" 7="" ns="" pwm="" chip="" select="" high="" pulse="" width="" (read)="" -="" twk="" 155="" -="" -="" ns="" chip="" select="" high="" pulse="" width="" (write)="" -="" tpwfiw="" 55="" -="" 7="" ns="" tr="" rise="" time="" -="" -="" 15="" ns="" t;="" fall="" time="" -="" -="" 15="" ns="" write="" cycle="" (‘srfi="" dc:="" \vr="D[7:0]" read="" cycle="" c="" s:="" d[7="" o]="" [15]="">
[15]
8080-Series Parallel Interface:
Symbol Paramgtel Min Typ Max Unit tc Serial Clock cycle time 1 7 20 us b t; Serial (2ka r'Be/fall time 7 7 15 ns t.» Serial clock width (high, low) 400 7 7 ns ism Chip select setup time 60 - - ns tm Chip select hold time 20 - - ns tau; Serial input data setup time 200 - - ns ["1 Serial input data hold time TBD - - ns to Serial output data delay time - 7 TBD ns to“ Serial output data hold time 10 7 - ns (Sit SCLK SID SOD
[16]
Serial Interface:
Symbol ‘ Parameter ‘ Min ‘ Yyp ‘ Max ‘ Unit tqde Clock Cycle Time 25 - - us tnsun Start oondition Hold Time 06 A - us tHD Data Hold Time (for “SDAou-r” pin) 5 - - ns Data Hold Time (for “SDAW” pin) 300 - - ns tsp Data Setup Tlme 100 , , ns t5mm Start condition Setup Time (Only relevant for a repeated Start condition) 06 - - us tssmp Stop condition Setup Time 06 - - us In Rise Time for data and clock pin — - 300 ns tF Fall Time for data and Clock pin — - 300 ns (mg Idle Time before a new transmission can start 13 , , us SDA _ X r tlDLE .— mp SCL
[17]
I²C Interface:
w \\ w w ~ \ ‘ mlEIEflHEEHEEE DEE ‘IEHEEEEEHEEE EEE ‘IEHEEEEEEEEHIEEE 'IfififliflififiEEEfifififi “IEEEEHEEHEEEEIEE “IEEEEEEEEHEEEEEE NIHEEHEHEHIEEEMEE “IEIHEEEEEEHEEEEE ‘IEEEIEEEHEEEEMEE ”IEEEHEEEHiEEEEEE ~IEEHMEEE£EH§EIIE 'IEEEEEEEEEEEEEEI “IEEEEEHEE 'EElflEEH “IIEEEEEEEEiEEHEE “IHEEiEEEEEEEifiEH “I EEEEEEEEEEEEEE
[18]
Built-in Font Tables
ROM B( ROM[1:0] = [0:1] ) MMWW_W_M_WW__W Ifilfifiilfiifi¥E¥EEE ;IHHHIEEEEEEEEIEE ”IEHEEEEEEHEEEEEE ;I%¥E!EEEIEEE¥EEE “IEEHEHEENHEHEEEE ‘IEEEEEEEEESE¥EEE ;IHEEIAEEH!EEHEEE ‘IEIHEEEEEEEIHEEE ;I§fl§ifiifii£EE§EEE *IfiEHHHHEEHHEEIE! “IEfiEHEEEflfifififlifii ;IIEEEEEHBIHIEEEE ‘Ilflflliflfliiilfllfl! ;II=EiHEEiEIIflfiflE Mlllflliifllflfllflfiflfl 'IIEHI!EH£§EIEEHE
[19]
fiEIfiEiIEBiIEEEEI JHHHIEEEEEEEEEEI EEHEEEEEEEHHEEEH ;5HEE!EEEE§!EEEEI vfllfiflfifliflfifilflflfifil wfiEflfliiEEEEHEEEEE ;HEEHI&EEEEEEE§EE ~Eflifififififlfiflfififiiflfi ;EEfl§ii£EEHEEfiHEE *lMEHHfiflEBEBEHEflE mEEfiEEEEEEEEE£52E ;!flflflflflflflflfiflfliififi ~EEHHIEHHEEEEEEEE ;Iflifiifliflfl§!Ei!Efi ~EElEiiEfiE§flEEHEH “EEEHI!EEE!EEEHEI
[20]
[21]
Example Program Code
void command(char i)
{
C_S = 0; //chip select LOW active
P1 = i; //data on port
D_C = 0; //data/command select LOW command
R_W = 0; //read/write select LOW write
E = 1; //enable HIGH
delayms(1); //delay
E = 0; //enable LOW data latched
}
void data(char i)
{
C_S = 0; //chip select LOW active
P1 = i; //data on port
D_C = 1; //data/command select HIGH data
R_W = 0; //read/write select LOW write
E = 1; //enable HIGH
delayms(1); //delay
E = 0; //enable LOW data latched
}
void output()
{
int i;
command(0x01); //clear display
command(0x02); //return home
for(i=0;i<16;i++)
{
data(0x1F); //write solid blocks
}
command(0xC0); //line 2
for(i=0;i<16;i++)
{
data(0x1F); //write solid blocks
}
}
void init()
{
RES = 1; //reset HIGH inactive
delayms(1); //delay
command(0x2A); //function set (extended command set)
command(0x71); //function selection A
data(0x00); // disable internal VDD regulator (2.8V I/O). data(0x5C) = enable regulator (5V I/O)
command(0x28); //function set (fundamental command set)
command(0x08); //display off, cursor off, blink off
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
P for using OLEDs/LCDs/LCMs S www.newhavendisglayLostEecs[grecautions.gdf Warranty Information and Terms & Conditio htlp: www.newhavendisp\av.c0m index.php?main page2terms
[22]
command(0xD5); //set display clock divide ratio/oscillator frequency
command(0x70); //set display clock divide ratio/oscillator frequency
command(0x78); //OLED command set disabled
command(0x08); //extended function set (2-lines)
command(0x06); //COM SEG direction
command(0x72); //function selection B
data(0x00); //ROM CGRAM selection
command(0x2A); //function set (extended command set)
command(0x79); //OLED command set enabled
command(0xDA); //set SEG pins hardware configuration
command(0x00); //set SEG pins hardware configuration
command(0xDC); //function selection C
command(0x00); //function selection C
command(0x81); //set contrast control
command(0x7F); //set contrast control
command(0xD9); //set phase length
command(0xF1); //set phase length
command(0xDB); //set VCOMH deselect level
command(0x40); //set VCOMH deselect level
command(0x78); //OLED command set disabled
command(0x28); //function set (fundamental command set)
command(0x01); //clear display
command(0x80); //set DDRAM address to 0x00
command(0x0C); //display ON
delayms(100); //delay
}
void main(void)
{
init();
while(1)
{
output();
delayms(2000);
}
}
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

Products related to this Datasheet

LCD MODULE 32 DIG 16 X 2 PASSIVE
Available Quantity: 10
Unit Price: 38.11