NHD-C12832A1Z-NSW-BBW-3V3 Newhaven Display, NHD-C12832A1Z-NSW-BBW-3V3 Datasheet - Page 8
NHD-C12832A1Z-NSW-BBW-3V3
Manufacturer Part Number
NHD-C12832A1Z-NSW-BBW-3V3
Description
LCD COG GRAPHIC 128X32
Manufacturer
Newhaven Display
Datasheet
1.NHD-C12832A1Z-NSW-BBW-3V3.pdf
(9 pages)
Specifications of NHD-C12832A1Z-NSW-BBW-3V3
Display Type
STN - Super-Twisted Nematic
Display Mode
Transmissive
Viewing Area
37.6mm L x 12.8mm W
Backlight
LED - White
Dot Pitch
2.16mm x 4.63mm
Interface
SPI
Pixel Density
128 x 32
Fluid Type
STN Negative
Module Size (w X H X T)
41.4 mm x 24.3 mm x 4 mm
Viewing Area (w X H)
36 mm x 12 mm
Backlighting
LED White
Operating Temperature Range
- 20 C to + 70 C
Attached Touch Screen
No
Style
Chip-on-Glass (COG)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Dot Size
-
Dot Pixels
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Example Initialization Program
void data_out(unsigned char i) //Data Output Serial Interface
{
i <<=1;
}
void comm_out(unsigned char j) //Command Output Serial Interface
{
j <<=1;
}
/****************************************************
* Initialization For controller *
*****************************************************/
void init_LCD()
{
comm_out(0xA0);
comm_out(0xAE);
comm_out(0xC0);
comm_out(0xA2);
comm_out(0x2F);
comm_out(0x26);
comm_out(0x81);
comm_out(0x2F);
}
/*****************************************************/
unsigned int n;
CS = 0;
A0 = 1;
for(n=0; n<8; n++){
SCL = 0;
P1 = i;
delay(2);
SCL = 1;
}
CS = 1;
unsigned int n;
CS = 0;
A0 = 0;
for(n=0; n<8; n++){
SCL = 0;
P1 = j;
delay(2);
SCL = 1;
}
CS = 1;
[8]