Descript

 N
NHD‐‐0216K3ZZ‐NSS(RG
GB)‐FFBW
W‐V3
Serrial Liqu
uid Crysstal Display Module
NHD‐‐ 0216
6‐ K3Z‐ N‐ S(RGB)‐ F‐ B‐ W‐ V3‐ Newhaven Display 2 Lines x 16 Ch
haracters Model M
Trransmissive Siide LED Backlights (Red‐Grreen‐Blue) FSSTN(‐) 6:00 Optimal V
View Wide Tempera
W
ature Fiirmware Verssion 3.00 RoHS Compliant Newh
haven Disp
play Intern
national, In
nc. 2511 Techno
ology Drive, SSuite 101 Elggin IL, 60124
Ph: 8
847‐844‐8795
5 Fax: 8847‐844‐87966 www.new
whavendisplayy.com nhtech
h@newhaven
ndisplay.com [email protected]
om Document Revision History Revision 0 1 2 Date 5/16/2012 10/1/2012 5/30/2013 Description Initial Release Character address code updated Electrical characteristics updated, RGB backlight note added in command table Functions and Features 






2 lines x 16 characters Red/Green/Blue LED backlights Serial Interface: I2C, SPI or RS‐232(TTL) +5.0V power supply 1/16 duty, 1/5 bias 5x8 pixels with cursor RoHS Compliant [2] Changed by SB AK AK Mechanical Drawing
1
2
3
4
Rev
5
6
Description
Date
PIN ASSIGNMENT
A
J1
J2
J3
B
1
2
3
RX
VSS
VDD
1
2
3
4
5
6
SPISS
SDO
SCK/SCL
SDI/SDA
VSS
VDD
1
2
3
4
K
A-RED
A-GREEN
A-BLUE
C
B
C
1)
2)
3)
4)
D
A
Driving: Duty:1/16, Bias:1/5, VDD:5.0V
Viewing Direction: 6 O'clock
Display mode: FSTN/Negative/Transmissive
Operating temp: -20°C - +70°C
Storage temp: -30°C - +80°C
5) Driver: PIC16F690 MPU RS232/SPI/I2C Interface
6) Backlight: Edge LED - Red/Green/Blue
SCALE:4:1
D
Date
10/01/12
Unit
Gen. Tolerance
±0.3mm
1
2
3
4
[3]
mm
5
Model:
NHD-0216K3Z-NS(RGB)-FBW-V3
6
Pin Descripttion J1: Pin N
No. Symbol 1 2 3 RX VSS VDD External Connection MPU Pow
wer Supply Pow
wer Supply Function Desccription
External Connection MPU NC MPU MPU Pow
wer Supply Pow
wer Supply Function Desccription
External Connection Pow
wer Supply Pow
wer Supply Pow
wer Supply Pow
wer Supply Function Desccription
RS‐232 (TTL) SSerial input porrt
Ground
Power supply for logic (+5.0 V)
J2: Pin N
No. Symbol 1 2 3 4 5 6 SPISSS SDO SCK/SC
CL SDI/SD
DA VSS VDD SPI Slave Selecct (NC in I2C m
mode)
No Connect
Serial Clock
Serial Data In (SPI) / Serial D
Data (I2C)
Ground
Power Supply for logic (+5.00V)
J3: Pin N
No. Symbol 1 2 3 4 K A‐RED
D A‐GREEEN A‐BLU
UE Ground for LED backlights
Power supply for Red LED (22.2V)
Power supply for Green LED
D (3.3V)
Power supply for Blue LED (33.3V)
ommended LC
CD connectorr: 2.54mm pittch pins on P1
1 or P2 Reco
Backklight connecttor: controlled by comman
nd Mates wiith: ‐ Jum
mper Com
mmunicattion Selecction R1 Shorrt Open Shorrt Open R2 Shortt Shortt Open
n Open
n Prrotocol TEST SPI I2C RS‐232 R
Description
Self‐test 100KHz max cclock
100KHz max cclock
5V, TTL signal
[4] Electrical Characteristics Item Operating Temperature Range Storage Temperature Range Supply Voltage Supply Current (LCD) Supply for LCD (contrast) “H” Level input “L” Level input Backlight Supply Current – Red Backlight Supply Voltage – Red Backlight Supply Current – Green Backlight Supply Voltage – Green Backlight Supply Current – Blue Backlight Supply Voltage – Blue Symbol Top Tst VDD IDD VDD‐V0 Vih Vil Iled Vled Iled Vled Iled Vled Condition
Min.
‐20
‐30
4.7
‐
‐
0.8*VDD
VSS
Typ.
‐
‐
5.0
5
‐
‐
‐
Vled=2.2V
Ta=25°C
Vled=3.3V
Ta=25°C
Vled=3.3V
Ta=25°C
‐
‐
‐
‐
‐
‐
20
2.2
20
3.3
20
3.3
Condition
Min.
‐
‐
‐
‐
‐
‐
‐
Ta=25°C VDD=5.0V
Ta=25°C
Max. +70 +80 5.5 ‐ ‐ VDD 0.2*VDD 30 ‐ 30 ‐ 30 ‐ Unit
⁰C
⁰C
V
mA
V
V
V
mA
V
mA
V
mA
V
Optical Characteristics Item Viewing Angle ‐ Top Viewing Angle ‐ Bottom Viewing Angle ‐ Left Viewing Angle ‐ Right Contrast Ratio Response Time (rise) Response Time (fall) Symbol Cr Tr Tf Cr ≥ 3 ‐
‐
Typ.
10
60
45
45
3
100
150
Max. ‐ ‐ ‐ ‐ ‐ 150 200 Controller Information Built‐in PIC16F690 controller. Please download specification at http://www.newhavendisplay.com/app_notes/PIC16F690.pdf [5] Unit
⁰ ⁰ ⁰ ⁰ ‐ ms
ms
Communication Information This display uses a built‐in PIC16F690 for serial communication. 100mS delay is required upon power‐up for the built‐in PIC to initialize the display controller. I2C protocol: To enter the I2C mode, place a jumper on R1. SDA and SDK have pull‐up resistors (10K Ohm) on R7 and R8. The default I2C address is 80 (50 hex). The I2C address can be changed to any 8‐bit value by command function, with the exception that the LSB (least significant bit) must always be ‘0’. Once the I2C address has been changed, it will be saved in the system memory, and it will revert back to the default address if either RS‐
232 or SPI protocol is selected. The I2C interface is capable of receiving data at up to 100KHz clock rate. SPI protocol: To enter the SPI mode, place a jumper on R2. SPI mode has a normally high level idle clock. When Slave Select is LOW, data is sampled on the rising edge of the Clock. The SPI interface is capable of receiving data at up to 100KHz clock rate. RS‐232 (TTL) protocol: To enter the RS‐232 mode, both R1 and R2 should be open. The RS‐232 signal must be 5V TTL compatible. Communication format is 8‐bit data, 1 Stop bit, no parity, no hand‐shaking. Default BAUD rate is 9600, and is changeable with a command function. Once the BAUD rate has been changed, it will be saved in the system memory, and it will revert back to the default address if either I2C or SPI protocol is selected. ASCII Text To display normal text, just enter its ASCII number. A number from 0x00 to 0x07 displays the user defined custom character, 0x20 to 0x7F displays the standard set of characters, 0xA0 to 0xFD display characters and symbols that are factory‐masked on the ST7066U controller. 0xFE is reserved. [6] Table of Commands Prefix ‐ 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE 0xFE Command ‐ 0x41 0x42 0x45 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4E 0x51 0x52 0x53 0x54 0x55 0x56 0x61 0x62 0x70 0x71 0x72 Parameter 1 Byte None None 1 Byte None None None None None None None None None 1 Byte 1 Byte 9 Byte None None 1 Byte 1 Byte None None None Description Display Character Write (0x00 ~ 0xFF) Display on Display off Set cursor Cursor home Underline cursor on Underline cursor off Move cursor left one place Move cursor right one place Blinking cursor on Blinking cursor off Backspace Clear screen Set contrast Set backlight brightness* Load custom character Move display one place to the left Move display one place to the right Change RS‐232 BAUD rate Change I2C address Display firmware version number Display RS‐232 BAUD rate Display I2C address Execution time 100uS 100uS 100uS 100uS 1.5mS 1.5mS 1.5mS 100uS 100uS 100uS 100uS 100uS 1.5mS 500uS 100uS 200uS 100uS 100uS 3mS 3mS 4mS 10mS 4mS * = N/A for RGB models Changing the I2C Slave Address Syntax hexadecimal 0xFE 0x62 [addr] Parameter Parameter Length Description [addr] 1 byte New I2C address, 0x00 – 0xFE The LSB is always ‘0’. Description This command sets the I2C address. The address must be an even number (LSB = 0). The address change requires 20 microseconds to take effect; therefore, the subsequent input must have an appropriate delay. The default I2C address can be restored if SPI or RS‐232 is selected as the communication mode. Default: 0x50 [7] Changing BAUD Rate Syntax hexadecimal 0xFE 0x61 [baud] Parameter Parameter Length Description [BAUD] 1 byte New RS‐232 BAUD Rate, 1 ‐ 8 Description This command sets the RS‐232 BAUD rate. The single byte parameter selects the desired BAUD rate as in the table below. The new BAUD rate requires 20 microseconds to take effect; therefore, the subsequent input must have an appropriate delay. The default BAUD rate can be restored if I2C or SPI is selected as the communication mode. Illegal parameter input will be discarded. Parameter BAUD 1 300 2 1200 3 2400 4 9600 5 14400 6 19.2K 7 57.6K 8 115.2K Default: 9600 BAUD Turn On Display Syntax hexadecimal 0xFE 0x41 Parameter Parameter Length Description None None Turn on LCD screen Description This command turns on the LCD display screen. The display text is not altered. Default: LCD screen is on Turn Off Display Syntax hexadecimal 0xFE 0x42 Parameter Parameter Length Description None None Turn off LCD screen Description This command turns off the LCD display screen. The display text is not altered. Default: LCD screen is on [8] Set Cursor Position Syntax hexadecimal 0xFE 0x45 [pos] Parameter Parameter Length Description [pos] 1 byte Put cursor at location specified by [pos], 0x00 to 0x67 Description This command moves the cursor to a specified location where the next character will be displayed. The typical cursor position for a 2‐line 16‐character display is show below; a cursor position outside these ranges will not be viewable. Column 1 Column 16 Line 1 0x00 0x0F Line 2 0x40 0x4F Default: After a reset, the cursor is on position 0x00 Home Cursor Syntax hexadecimal 0xFE 0x46 Parameter Parameter Length Description None None Position cursor at line 1 column 1 Description This command moves the cursor to line 1, column 1 of the LCD screen. The display text is not altered. Default: None Turn On Underline Cursor Syntax hexadecimal 0xFE 0x47 Parameter Parameter Length Description None None Turn on underline cursor Description This command turns on the underline cursor. Default: Underline cursor is off Turn Off Underline Cursor Syntax hexadecimal 0xFE 0x48 Parameter Parameter Length Description None None Turn off underline cursor Description This command turns off the underline cursor. Default: Underline cursor is off [9] Move Cursor Left One Space Syntax hexadecimal 0xFE 0x49 Parameter Parameter Length Description None None Move cursor left 1 space Description This command moves the cursor position left 1 space whether the cursor is turned on or not. The displayed character is not altered. Default: None Move Cursor Right One Space Syntax hexadecimal 0xFE 0x4A Parameter Parameter Length Description None None Move cursor right 1 space Description This command moves the cursor position left 1 space whether the cursor is turned on or not. The displayed character is not altered. Default: None Turn On Blinking Cursor Syntax hexadecimal 0xFE 0x4B Parameter Parameter Length Description None None Turn on the blinking cursor Description This command turns on the blinking cursor. Default: The blinking cursor is off Turn Off Blinking Cursor Syntax hexadecimal 0xFE 0x4C Parameter Parameter Length Description None None Turn off the blinking cursor Description This command turns off the blinking cursor. Default: The blinking cursor is off [10] Back Space Syntax Parameter Description Clear Screen Syntax Parameter Description hexadecimal 0xFE 0x4E Parameter Length Description None None Move cursor back one space, delete last character. This command is destructive backspace. The cursor is moved back one space and the character on the cursor is deleted. Default: None hexadecimal 0xFE 0x51 Parameter Length Description None None Clear LCD and move cursor to line 1 column 1. This command clears the entire display and place the cursor at line 1 column 1. Default: None Set Display Contrast Syntax hexadecimal 0xFE 0x52 [contrast] Parameter Parameter Length Description [contrast] 1 byte Set the display contrast, value between 1 and 50 Description This command sets the display contrast. The contrast setting can be between 1 and 50, where 50 is the highest contrast. Default: 40 Set Backlight Brightness Syntax hexadecimal 0xFE 0x53 [brightness] Parameter Parameter Length Description [brightness] 1 byte Set the backlight brightness level, value between 1 and 8 Description This command sets the backlight brightness level. The value can be between 1 and 8. Default: 8 [11] Load Custom Characters Syntax hexadecimal 0xFE 0x54 [addr] [d0 …d7] Parameter Parameter Length Description [addr] 1 byte Custom character address, 0 – 7 [D0...D7] 8 bytes Custom character pattern bit map Description There is space for eight user‐defined custom characters. This command loads the custom character into one of the eight locations. The custom character pattern is bit mapped into 8 data bytes. The bit map for Spanish character ‘¿’ is shown in table below. To display the custom character, user has to enter the address of the character (0 to 8). Bit 7 6 5 4 3 2 1 0 Hex Byte 1 0 0 0 0 0 1 0 0 0x04 Byte 2 0 0 0 0 0 0 0 0 0x00 Byte 3 0 0 0 0 0 1 0 0 0x04 Byte 4 0 0 0 0 1 0 0 0 0x08 Byte 5 0 0 0 1 0 0 0 0 0x10 Byte 6 0 0 0 1 0 0 0 1 0x11 Byte 7 0 0 0 0 1 1 1 0 0x0E Byte 8 0 0 0 0 0 0 0 0 0x00 Default: None Shift Display to the Left Syntax hexadecimal 0xFE 0x55 Parameter Parameter Length Description None None Shift the LCD screen to the left 1 space. Description This command shifts the display to the left 1 space. The cursor position also moves with the display, and the display data is not altered. Default: None Shift Display to the Right Syntax hexadecimal 0xFE 0x56 Parameter Parameter Length Description None None Shift the LCD screen to the right 1 space. Description This command shifts the display to the right 1 space. The cursor position also moves with the display, and the display data is not altered. Default: None [12] Display Firmware Version Number Syntax hexadecimal 0xFE 0x70 Parameter Parameter Length Description None None Display the firmware version number. Description This command displays the firmware version. Default: None Display RS‐232 Baud Rate Syntax hexadecimal 0xFE 0x71 Parameter Parameter Length Description None None Display Baud Rate Description This command displays the RS‐232 BAUD rate. Default: None Display I2C Address Syntax hexadecimal 0xFE 0x72 Parameter Parameter Length Description None None Display I2C Address Description This command displays the current I2C slave address. Default: None Example Initialization Program See program code at http://www.newhavendisplay.com/app_notes/Serial_LCD.txt [13] Built‐in Fontt Table [14] Quality Information Test Item Content of Test High Temperature storage Endurance test applying the high storage temperature for a long time. Endurance test applying the low storage temperature for a long time. Endurance test applying the electric stress (voltage & current) and the high thermal stress for a long time. Endurance test applying the electric stress (voltage & current) and the low thermal stress for a long time. Endurance test applying the electric stress (voltage & current) and the high thermal with high humidity stress for a long time. Endurance test applying the electric stress (voltage & current) during a cycle of low and high thermal stress. Endurance test 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 Endurance test applying electric static discharge. 2 ‐30⁰C , 48hrs
1,2
+70⁰C 48hrs
2 ‐20⁰C , 48hrs
1,2
+40⁰C , 90% RH , 48hrs 1,2
0⁰C,30min ‐> +25⁰C,5min ‐> +50⁰C,30min = 1 cycle 10 cycles 10‐55Hz , 15mm amplitude. 60 sec in each of 3 directions X,Y,Z For 15 minutes VS=800V, RS=1.5kΩ, CS=100pF One time Note 1: No condensation to be observed. Note 2: Conducted after 4 hours of storage at 25⁰C, 0%RH. Note 3: Test performed on product itself, not inside a container. Precautions for using 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 [15] Note
+80⁰C , 48hrs
3