NHD-C160100CZ-RN-FBW Newhaven Display, NHD-C160100CZ-RN-FBW Datasheet - Page 8
![LCD COG GRAPH 160X100 NO REFL](/photos/7/92/79230/nhd-c160100cz-rn-fbw_sml.jpg)
NHD-C160100CZ-RN-FBW
Manufacturer Part Number
NHD-C160100CZ-RN-FBW
Description
LCD COG GRAPH 160X100 NO REFL
Manufacturer
Newhaven Display
Series
NHD-C160100CZ-Rr
Datasheet
1.NHD-C160100CZ-RN-FBW.pdf
(12 pages)
Specifications of NHD-C160100CZ-RN-FBW
Display Type
FSTN - Film Super-Twisted Nematic
Display Mode
Reflective
Viewing Area
43.60mm L x 27.25mm W
Dot Size
0.23mm W x 0.23mm H
Dot Pitch
0.25mm x 0.25mm
Dot Pixels
160 x 100
Pixel Density
160 x 100
Fluid Type
FSTN Positive
Module Size (w X H X T)
51.5 mm x 39.7 mm x 2.1 mm
Backlighting
None
Operating Temperature Range
- 20 C to + 70 C
Product
Graphic LCD Module
Style
Chip-on-Glass (COG)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Interface
-
Backlight
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
NHD-C160100CZ-RN-FBW
Manufacturer:
Newhaven Display
Quantity:
135
Example Initialization Program
void write_command(unsigned char datum)
{
A0=0;
E=1;
P1 = datum;
CS1=0;
RW=0;
RW=1;
CS1=1;
}
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
void write_data(unsigned char datum)
{
A0=1;
E=1;
P1=datum;
CS1=0;
RW=0;
RW=1;
CS1=1;
}
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
void lcd_init(void){
write_command(0xA2); //ICON OFF;
write_command(0xAE); //Display OFF
write_command(0x48); //Set Duty ratio
write_command(0x80); //No operation
write_command(0xa1); //Set scan direction //changed from 0 to 1
write_command(0xc8); //SHL select
write_command(0x40); //Set START LINE
write_command(0x00);
write_command(0xab); //OSC on
write_command(0x64); //3x
delay(2000);
write_command(0x65); //4x
delay(2000);
write_command(0x66); //5x
delay(2000);
write_command(0x67); //6x
delay(2000);
write_command(Ra_Rb); //RESISTER SET
write_command(0x81); //Set electronic volume register
write_command(vopcode); //n=0~3f
write_command(0x57); //1/12bias
write_command(0x92); //FRC and pwm
write_command(0x2C);
delay(20000);//200ms
//‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐
[8]
/*Instruction register*/
/*Read inactive*/
/*put data on port 1*/
/*Chip select active*/
/*Write active*/
/*Write inactive; latch in data*/
/*Chip select inactive*/
/*DDRAM data register*/