![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
[1] ? ? ? ? ? nhd \ 0420z\ rn \ gbw? character ? liquid ? crystal? display ? module ? ? nhd \? ? newhaven ? display ? 0420 \? ? 4 ? lines ? x ? 20? characters ? z \? ? model ? r \? ? reflective ?? n \? ? no ? backlight ? g \? ? stn\? gray ? b \? ? 6:00 ? view ? w \? ? wide? temperature ? ( \20c ? ~ ? +70c)? ??rohs ? compliant ? ? ? ? ? ? ? ? ? ?????? newhaven ? display ? international, ? inc. ? ??????2511? technology ? drive, ? suite ? 101 ? ??????elgin ? il, ? 60124 ? ?????? ph: ? 847\844\ 8795 ? fax: ? 847\844\ 8796 ? ? www.newhavendisplay.com ? nhtech@newhavendisplay.com ?? nhsales@newhavendisplay.com ? ? ? ? ? ? ? ? ? ?
[2] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4 lines x 20 characters ? built r in controllers (rw1067) ? +5.0v power supply ? 1/32 duty, 1/6 bias ? rohs compliant ? ? ? ? vss vdd v0 rs r/w e db4 db5 db6 db7 1 2 3 4 5 6 7 8 9 10 pin connections symbol pin no NHD-0420Z-RN-GBW aylpsid nevahwen mechanical drawing [4] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?\ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ ? \ ? ? ? ? ? \ ? \ ? ? ? ? ? ? ? ? ? ? ? ? ??\\\?????????? ? ?? ?\\\ ? ? ? ? ? ? ? ? ? ? ? ? ? ? [5] ? ? ? ??? ? ? ? ? ? ? ? ? \ \ ?? ? ? ? ? ? \ \ ?? ? ? ? ? ? ? ? ? \ ? ? ? ? ? \ ? ?\ \? ? ? ? ? \ ? ? ? ? ? \ ? ? ? ? ? \\? ? ? ? ?\\ ? ?? ? ? ? ? ?\ \\\? ? ? ?? ?\ \\\? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ \? ?? ? ? ? ? ? ? ? \ \? ?? ? ? ? ? ? ? ? \ \? ?? ? ? ? ? ? ? ? \ \? ?? ? ? ?\ \? \? ? ? ? ?\ \ ? ? ? ? ?\ \ ? ? ? ? ? ? ? ? \ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [6] ? ? ? ? ? ? [7] ? ? ? [8] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [9] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [10] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? [11] ? ? ? \ ? ? ? ? ? ? ? ? ? [12] ? ? ? ? ? ? 4-bit initialization: /**********************************************************/ void command(char i) { p1 = i; //put data on output port d_i =0; //d/i=low : send instruction r_w =0; //r/w=low : write nybble(); //send lower 4 bits i = i<<4; //shift over by 4 bits p1 = i; //put data on output port nybble(); //send upper 4 bits } /**********************************************************/ void write(char i) { p1 = i; //put data on output port d_i =1; //d/i=high : send data r_w =0; //r/w=low : write nybble(); //clock lower 4 bits i = i<<4; //shift over by 4 bits p1 = i; //put data on output port nybble(); //clock upper 4 bits } /**********************************************************/ void nybble() { e = 1; delay(1); //enable pulse width >= 300ns e = 0; //clock enable: falling edge } /**********************************************************/ void init() { p1 = 0; p3 = 0; delay(100); //wait >15 msec after power is applied p1 = 0x30; //put 0x30 on the output port delay(30); //must wait 5ms, busy flag not available nybble(); //command 0x30 = wake up delay(10); //must wait 160us, busy flag not available nybble(); //command 0x30 = wake up #2 delay(10); //must wait 160us, busy flag not available nybble(); //command 0x30 = wake up #3 delay(10); //can check busy flag now instead of delay p1= 0x20; //put 0x20 on the output port nybble(); //function set: 4-bit interface command(0x28); //function set: 4-bit/2-line command(0x10); //set cursor command(0x0f); //display on; blinking cursor command(0x06); //entry mode set } /**********************************************************/ [13] ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ? ?\ ? ? ?\ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? \ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |
Price & Availability of NHD-0420Z-RN-GBW
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |