NHD-0216MW-AB3 Character OLED Display NHD0216MWAB3- Newhaven Display 2 Lines x 16 Characters Character OLED Display 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 [email protected] [email protected] Document Revision History Revision 0 1 2 Date 01/08/16 02/10/16 02/26/16 Description Initial Release Electrical Characteristics Updated Electrical Characteristics and Pin Description Updated 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 [2] Changed by PB PB PB Mechanical Drawing 2 4 Remove Tape t=0.15mm Max 41.4±0.2 (Panel Size) 41.4±0.2 (Cap Size) 40.4±0.5 (Polarizer) 36.22 (V/A) 34.22 (A/A) (2.5) (1.5) 0.5±0.5 (10) (8) Protective Tape 11.8x3.5x0.05mm Contact Side VCC VCOMH IREF D7 D6 D5 D4 D3 D2 R/W D1 E O C 0.3±0.03 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 1 2 (2.15) ( Column 80 ) A Segment 49 ( Column 51 ) Common 15 ( Row 16 ) Common 0 ( Row 1 ) Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2.16 1.82 0.37 0.34 0.5 D (0.5) 12.5±0.2 10.4±0.1 (Alignment Mark) P0.5x(24-1)=11.5±0.05 (W0.35±0.03) ( Column 1 ) ( Column 50 ) 0.34 0.53 0.56 4.45 4.95 F N 3±0.3 C D0 D/C RES# VDDIO CS# VLSS+VSS REGVDD BS2 BS1 VSL BS0 VDD 24 (9.28) 6±0.2 (14.45) Silk Screen (Top Side) (1.84) 11 12±0.3 1 2-φ1±0.1 4.5±0.5 (Stiffener) 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) (31.9) Newhaven Display NHD0216MW-AB3 Segment 99 Date Segment 20 Segment 50 T N E D I B 6 Description "A" (5) Active Area 1.39" 16 x 2 Character L A I 5 Rev 1.6±0.1 Glue 0.5±0.5 (2.59) (3.59) A 3 Polarizer t=0.2mm 1 Detail "A" Scale (2:1) Symbol VSL VSS REGVDD VDD VDDIO BS0 BS1 BS2 /CS /RES D/C R/W E D0 D1 D2 D3 D4 D5 D6 D7 IREF VCOMH VCC B C D Date 01/08/16 Unit Gen. Tolerance ±0.3mm 3 4 mm 5 Model: NHD-0216MW-AB3 6 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. [3] Pin Description Parallel Interface: Pin No. 1 2 3 Symbol VSL VSS REGVDD External Connection Power Supply Power Supply Power Supply 4 VDD Power Supply 5 6-8 9 10 11 14-21 22 VDDIO BS0 – BS2 /CS /RES D/C R/W /WR E /RD DB0 – DB7 IREF Power Supply MPU MPU MPU MPU MPU MPU MPU MPU MPU Power Supply 23 VCOMH Power Supply 24 VCC Power Supply 12 13 Function Description Ground Ground Internal VDD regulator selection pin in 5V I/O application mode. HIGH: 5V I/O application, LOW: 2.8V I/O application Supply Voltage for Logic Operation. A capacitor should be connected between VDD and VSS under all circumstances. Supply Voltage for Logic I/O MPU interface select signal Active LOW Chip Select signal Active LOW Reset signal Data/Command select signal. D/C=0: Command, D/C=1: Data 6800: Read/Write select signal, R/W=1: Read, R/W=0: Write 8080: Active LOW Write signal 6800: Operation Enable signal (Falling edge triggered) 8080: Active LOW Read signal 8-bit bi-directional data bus Segment output current reference pin. A resistor should be connected between this pin and VSS to maintain current of around 15uA. COM signal deselected voltage level. A capacitor should be connected between this pin and VSS. Supply Voltage for OLED panel Serial Interface: Pin No. 1 2 3 Symbol VSL VSS REGVDD External Connection Power Supply Power Supply Power Supply 4 VDD Power Supply 5 6-8 9 10 11-13 14 15 16 17-21 22 VDDIO BS0 – BS2 /CS /RES NC SCLK SDI SDO NC IREF Power Supply MPU MPU MPU MPU MPU MPU Power Supply 23 VCOMH Power Supply 24 VCC Power Supply Function Description Ground Ground Internal VDD regulator selection pin in 5V I/O application mode. HIGH: 5V I/O application, LOW: 2.8V I/O application Supply Voltage for Logic Operation. A capacitor should be connected between VDD and VSS under all circumstances. Supply Voltage for Logic I/O MPU interface select signal Active LOW Chip Select signal Active LOW Reset signal No Connect. Tie to Ground Serial Clock signal Serial Data Input signal Serial Data Output signal No Connect. Tie to Ground Segment output current reference pin. A resistor should be connected between this pin and VSS to maintain current of around 15uA. COM signal deselected voltage level. A capacitor should be connected between this pin and VSS. Supply voltage for OLED panel [4] I²C Interface: Pin No. 1 2 3 Symbol VSL VSS REGVDD External Connection Power Supply Power Supply Power Supply 4 VDD Power Supply 5 6-8 9 10 11 12-13 14 15 16 17-21 22 VDDIO BS0 – BS2 NC /RES SA0 NC SCL SDAIN SDAOUT NC IREF Power Supply MPU MPU MPU MPU MPU MPU Power Supply 23 VCOMH Power Supply 24 VCC Power Supply Function Description Ground Ground Internal VDD regulator selection pin in 5V I/O application mode. HIGH: 5V I/O application, LOW: 2.8V I/O application Supply Voltage for Logic Operation. A capacitor should be connected between VDD and VSS under all circumstances. Supply Voltage for Logic I/O MPU interface select signal No Connect. Tie to Ground Active LOW Reset signal Slave Address select signal No Connect. Tie to Ground Serial Clock signal Serial Data Input Serial Data Output. Tie together with SDAIN (pin 15) No Connect. Tie to Ground Segment output current reference pin. A resistor should be connected between this pin and VSS to maintain current of around 15uA. COM signal deselected voltage level. A capacitor should be connected between this pin and VSS. Supply voltage for OLED panel MPU Interface Pin Selections Pin Name BS0 BS1 BS2 4-bit Parallel 6800 interface 1 0 1 4-bit Parallel 8080 interface 1 1 1 8-bit Parallel 6800 interface 0 0 1 8-bit Parallel 8080 interface 0 1 1 Serial Interface 0 0 0 I²C Interface 0 1 0 MPU Interface Pin Assignment Summary Bus Interface 4-bit 6800 4-bit 8080 8-bit 6800 8-bit 8080 SPI I²C D7 D6 Data/Command Interface D5 D4 D3 D2 D1 D[7:4] Tie LOW D[7:4] Tie LOW D[7:0] D[7:0] Tie LOW SDO SDI Tie LOW SDAOUT SDAIN [5] D0 SCLK SCL Control Signals E R/W /CS D/C E R/W /CS D/C /RD /WR /CS D/C E R/W /CS D/C /RD /WR /CS D/C Tie LOW /CS Tie LOW Tie LOW SA0 /RES /RES /RES /RES /RES /RES /RES Electrical Characteristics Item Operating Temperature Range Storage Temperature Range Symbol Top Condition Absolute Max Min. -40 Typ. - Max. +85 Unit ⁰C Tst Absolute Max -40 - +90 ⁰C Supply Voltage for logic Supply Voltage for I/O Pins Supply Voltage for logic Supply Voltage for I/O Pins Supply Voltage for display VDD VDDIO VDD VDDIO VCC (2.8V I/O Application) - 2.4 2.4 4.4 8.5 2.8 2.8 5.0 9.0 VDDIO 3.6 5.5 9.5 V V V V V Operating Current for VDD IDD Operating Current for VCC ICC Note 1 Note 2 - - 180 4.3 8.2 1 2 300 5.4 10.3 10 10 μA mA mA μA μA - VDDIO 0.2*VDDIO VDDIO 0.1*VDDIO V V V V Sleep Mode Current for VDD Sleep Mode Current for VCC (5V I/O Application) IDD, SLEEP ICC, SLEEP “H” Level input Vih 0.8*VDDIO “L” Level input Vil 0 “H” Level output Voh 0.9*VDDIO “L” Level output Vol 0 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 Viewing Angle – Top Viewing Angle – Bottom Viewing Angle – Left Viewing Angle – Right Contrast Ratio Response Time (rise) Response Time (fall) Brightness Lifetime Symbol Condition Cr ≥ 10,000:1 Cr Tr Tf Min. 80 80 80 80 10,000:1 60 25,000 Typ. 10 10 80 - Max. - Unit ⁰ ⁰ ⁰ ⁰ us us 2 cd/m Hrs 50% checkerboard Ta=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. 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 [7] [8] [9] [10] [11] [12] Timing Characteristics 6800-Series Parallel Interface: Condition 1: /CS low pulse width > E high pulse width [13] Condition 2: /CS low pulse width < E high pulse width [14] 8080-Series Parallel Interface: [15] Serial Interface: [16] I²C Interface: [17] Built-in Font Tables [18] [19] [20] Example Program Code void command(char i) { C_S = 0; P1 = i; D_C = 0; R_W = 0; E = 1; delayms(1); E = 0; } void data(char i) { C_S = 0; P1 = i; D_C = 1; R_W = 0; E = 1; delayms(1); E = 0; } //chip select LOW – active //data on port //data/command select LOW – command //read/write select LOW – write //enable HIGH //delay //enable LOW – data latched //chip select LOW – active //data on port //data/command select HIGH – data //read/write select LOW – write //enable HIGH //delay //enable LOW – data latched void output() { int i; command(0x01); command(0x02); for(i=0;i<16;i++) { data(0x1F); } command(0xC0); for(i=0;i<16;i++) { data(0x1F); } } void init() { RES = 1; delayms(1); command(0x2A); command(0x71); data(0x00); command(0x28); command(0x08); command(0x2A); command(0x79); //clear display //return home //write solid blocks //line 2 //write solid blocks //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 [21] command(0xD5); command(0x70); command(0x78); command(0x08); command(0x06); command(0x72); data(0x00); command(0x2A); command(0x79); command(0xDA); command(0x10); 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); //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 } 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 [22]