0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
NHD-0220BZ-FL-YBW

NHD-0220BZ-FL-YBW

  • 厂商:

    NEWHAVEN

  • 封装:

    -

  • 描述:

    LCD MOD CHAR 2X20 Y/G TRANSFL

  • 数据手册
  • 价格&库存
NHD-0220BZ-FL-YBW 数据手册
User’s Guide NHD-0220BZ-FL-YBW LCM (Liquid Crystal Display Module) RoHS Compliant NHD0220BZFLYBW- Newhaven Display 2 Lines x 20 Characters Version Line Transflective Yellow/Green LED B/L STN-Yellow/Green 6:00 View Wide Temperature (-20 ~ +70c) For product support, contact Newhaven Display International 2511 Technology Drive, #101 Elgin, IL 60124 Tel: (847) 844-8795 Fax: (847) 844-8796 October 11, 2007 NHD-0220BZ-FL-YBW SPECIFICATION OF LCD MODULE Features 1. 2. 3. 4. 5. 6. 5x8 dots with cursor Built-in controller (KS0066U or equivalent) +5V power supply (also available for =3.0V) 1/16 duty cycle BKL to be driven by pin1, pin2, or pin15, pin16 or A, K N.V. optional Outline dimension Absolute maximum ratings Item Power voltage Input voltage Operating temperature range Storage temperature range *Wide temperature range is available Symbol VDD -VSS VIN VOP VST 0 VSS -20 -30 (operating/storage temperature as –20~+70/-30~+80 ) Newhaven Display International, LLC 1/9 Standard - Unit 7.0 VDD +70 +80 V NHD-0220BZ Interface pin description External connection Pin no. Symbol 1 2 3 4 5 6 VSS VDD V0 Power supply RS R/W E MPU MPU MPU 7~10 DB0~DB3 MPU 11~14 DB4~DB7 MPU 15 16 LED+ LED- LED BKL power supply Function Signal ground for LCM (GND) Power supply for logic (+5V) for LCM Contrast adjust Register select signal Read/write select signal Operation (data read/write) enable signal Four low order bi-directional three-state data bus lines. Used for data transfer between the MPU and the LCM. These four are not used during 4-bit operation. Four high order bi-directional three-state data bus lines. Used for data transfer between the MPU Power supply for BKL (+4.2V) Power supply for BKL (GND) Contrast adjust VDD~V0 : LCD Driving voltage VR: 10k~20k Optical characteristics TN type display module (Ta=25 , VDD=5.0V) Item Viewing angle Contrast ratio Response time (rise) Response time (fall) Symbol Condition Cr Cr Tr Tr 4 - Min. -25 -30 - Typ. 2 120 120 Max. 30 150 150 Unit Min. -60 Typ. 6 150 150 Max. 35 40 250 250 Unit deg ms STN type display module (Ta=25 , VDD=5.0V) Item Viewing angle Contrast ratio Response time (rise) Response time (fall) Newhaven Display International, LLC Symbol Condition Cr Cr Tr Tr 2 -40 - - 2/9 deg ms NHD-0220BZ Electrical characteristics DC characteristics Parameter Supply voltage for LCD Input voltage Supply current Input leakage current “H” level input voltage “L” level input voltage “H” level output voltage “L” level output voltage Backlight supply voltage Symbol VDD -V0 VDD IDD ILKG VIH VIL VOH VOL VF Read cycle (Ta=25 , VDD=5.0V) Parameter Enable cycle time Enable pulse width Enable rise/fall time RS; R/W setup time RS; R/W address hold time Data output delay time Data hold time Symbol tc tw tr, tf tsu th td tdh Conditions Ta =25 Ta=25 , VDD =5.0V Twice initial value or less LOH=-0.25mA LOH=1.6mA Test pin E RS; R/W RS; R/W DB0~DB7 Min. Typ. Max. Unit 4.7 2.2 0 2.4 - 4.6 1.5 4.2 5.5 2.5 1.0 VDD 0.6 0.4 4.6 V mA uA V Min. Typ. Max. Unit 500 300 100 10 60 20 - 25 90 - ns Min. Typ. Max. Unit 500 300 100 10 60 10 - 25 - ns - Write cycle Parameter Enable cycle time Enable pulse width Enable rise/fall time RS; R/W setup time RS; R/W address hold time Data output delay time Data hold time Symbol tc tw tr, tf tsu1 th1 tsu2 th2 Test pin E RS; R/W RS; R/W DB0~DB7 Write mode timing diagram Newhaven Display International, LLC 3/9 - NHD-0220BZ Read mode timing diagram Block diagram Instruction description Outline To overcome the speed difference between the internal clock of KS0066U and the MPU clock, KS0066U performs internal operations by storing control in formations to IR or DR. The internal operation is determined according to the signal from MPU, composed of read/write and data bus (Refer to Table7). Instructions can be divided largely into four groups: 1) KS0066U function set instructions (set display methods, set data length, etc.) 2) Address set instructions to internal RAM 3) Data transfer instructions with internal RAM 4) Others The address of the internal RAM is automatically increased or decreased by 1. Note: during internal operation, busy flag (DB7) is read “High”. Busy flag check must be preceded by the next instruction. When an MPU program with checking the busy flag (DB7) is made, it must be necessary 1/2 fuss for executing the next instruction by the falling edge of the “E” signal after the busy flag (DB7) goes to “LOW”. Newhaven Display International, LLC 4/9 NHD-0220BZ Contents 1) Clear display RS 0 R/W 0 DB7 0 DB6 0 DB5 0 DB4 0 DB3 0 DB2 0 DB1 0 DB0 1 Clear all the display data by writing “20H” (space code) to all DDRAM address, and set DDRAM address to “00H” into AC (address counter). Return cursor to the original status, namely, brings the cursor to the left edge on the fist line of the display. Make the entry mode increment (I/D=“High”). 2) Return home RS 0 R/W 0 DB7 0 DB6 0 DB5 0 DB4 0 DB3 0 DB2 0 DB1 1 DB0 - DB2 1 DB1 I/D DB0 SH Return home is cursor return home instruction. Set DDRAM address to “00H” into the address counter. Return cursor to its original site and return display to its original status, if shifted. Contents of DDRAM does not change. 3) Entry mode set RS 0 R/W 0 DB7 0 DB6 0 DB5 0 DB4 0 DB3 0 Set the moving direction of cursor and display. I/D: increment / decrement of DDRAM address (cursor or blink) When I/D=“high”, cursor/blink moves to right and DDRAM address is increased by 1. When I/D=“Low”, cursor/blink moves to left and DDRAM address is increased by 1. *CGRAM operates the same way as DDRAM, when reading from or writing to CGRAM. (I/D=“high”. shift left, I/D=“Low”. Shift right). SH: Shift of entire display When DDRAM read (CGRAM read/write) operation or SH=“Low”, shifting of entire display is not performed.. If SH=“High” and DDRAM write operation, shift of entire display is performed according to I/D value. (I/D=“High”. Shift left, I/D=“Low”. Shift right). 4) Display ON/OFF control RS 0 R/W 0 DB7 0 DB6 0 DB5 0 DB4 0 DB3 1 DB2 D Control display/cursor/blink ON/OFF 1 bit register. D: Display ON/OFF control bit When D=“High”, entire display is turned on. When D=“Low”, display is turned off, but display data remains in DDRAM. C: cursor ON/OFF control bit When D=“High”, cursor is turned on. When D=“Lo w”, cursor is disappeared in current display, but I/D register preserves its data. Newhaven Display International, LLC 5/9 DB1 C DB0 B NHD-0220BZ B: Cursor blink ON/OFF control bit When B=“High”, cursor blink is on, which performs alternately between all the “High” data and display characters at the cursor position. When B=“Low”, blink is off. 5) Cursor or display shift RS 0 R/W 0 DB7 0 DB6 0 DB5 0 DB4 1 DB3 S/C DB2 R/L DB1 - DB0 - DB1 - DB0 - Shifting of right/left cursor position or display without writing or reading of display data. This instruction is used to correct or search display data. (Refer to Table 6) During 2-line mode display, cursor moves to the 2nd line after the 40th digit of the 1st line. When display data is shifted repeatedly, each line is shifted individually. When display shift is performed, the contents of the address counter are not changed. Shift patterns according to S/C and R/L bits S/C 0 0 1 1 R/L 0 1 0 1 6) Function set RS 0 Operation Shift cursor to the left, AC is decreased by 1 Shift cursor to the right, AC is increased by 1 Shift all the display to the left, cursor moves according to the display Shift all the display to the right, cursor moves according to the display R/W 0 DB7 0 DB6 0 DB5 1 DB4 DL DB3 N DB2 F DL: Interface data length control bit When DL=“Hig h”, it mans 8-bit bus mode with MPU. When DL=“Low”, it mans 4-bit bus mode with MPU. Hence, DL is a signal to select 8-bit or 4-bit bus mode. When 4-but bus mode, it needs to transfer 4-bit data twice. N: Display line number control bit When N=“Low”, 1-line display mode is set. When N=“High”, 2-line display mode is set. F: Display line number control bit When F=“Low”, 5x8 dots format display mode is set. When F=“High”, 5x11 dots format display mode. 7) Set CGRAM address RS 0 R/W 0 DB7 0 DB6 1 DB5 AC5 DB4 AC4 DB3 AC3 DB2 AC2 DB1 AC1 DB0 AC0 DB4 AC4 DB3 AC3 DB2 AC2 DB1 AC1 DB0 AC0 Set CGRAM address to AC. The instruction makes CGRAM data available from MPU. 8) Set DDRAM address RS 0 R/W 0 DB7 1 Newhaven Display International, LLC DB6 AC6 DB5 AC5 6/9 NHD-0220BZ Set DDRAM address to AC. This instruction makes DDRAM data available form MPU. When 1-line display mode (N=LOW), DDRAM address is form “00H” to “4FH”. In 2-line display mode (N=High), DDRAM address in the 1st line form “00H” to “27H”, and DDRAM address In the 2nd line is from “40H” to “67H”. 9) Read busy flag & address RS 0 R/W 1 DB7 BF DB6 AC6 DB5 AC5 DB4 AC4 DB3 AC3 DB2 AC2 DB1 AC1 DB0 AC0 This instruction shows whether KS0066U is in internal operation or not. If the resultant BF is “High”, internal operation is in progress and should wait BF is to be LOW, which by then if the nest instruction can be performed. In this instruction you can also read the value of the address counter. 10) Write data to RAM RS 1 R/W 0 DB7 D7 DB6 D6 DB5 D5 DB4 D4 DB3 D3 DB2 D2 DB1 D1 DB0 D0 Write binary 8-bit data to DDRAM/CGRAM. The selection of RAM from DDRAM, and CGRAM, is set by the previous address set instruction (DDRAM address set, CGRAM address set). RAM set instruction can also determine the AC direction to RAM. After write operation. The address is automatically increased/decreased by 1, according to the entry mode. 11) Read data from RAM RS 1 R/W 1 DB7 D7 DB6 D6 DB5 D5 DB4 D4 DB3 D3 DB2 D2 DB1 D1 DB0 D0 Read binary 8-bit data from DDRAM/CGRAM. The selection of RAM is set by the previous address set instruction. If the address set instruction of RAM is not performed before this instruction, the data that has been read first is invalid, as the direction of AC is not yet determined. If RAM data is read several times without RAM address instructions set before, read operation, the correct RAM data can be obtained from the second. But the first data would be incorrect, as there is no time margin to transfer RAM data. In case of DDRAM read operation, cursor shift instruction plays the same role as DDRAM address set instruction, It also transfers RAM data to output data register. After read operation, address counter is automatically increased/decreased by 1 according to the entry mode. After CGRAM read operation, display shift may not be executed correctly. NOTE: In case of RAM write operation, AC is increased/decreased by 1 as in read operation. At this time, AC indicates next address position, but only the previous data can be read by the read instruction. Newhaven Display International, LLC 7/9 NHD-0220BZ Instruction table Instruction code Instruction Clear Display RS R/ W 0 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 - 0 0 0 0 0 0 0 1 I/D SH 0 0 0 0 0 0 1 D C B 0 0 0 0 0 1 S/C R/L - - 0 0 0 0 1 DL N F - - 0 0 0 1 AC5 AC4 AC3 AC2 AC1 AC0 0 0 1 AC6 AC5 AC4 AC3 AC2 AC1 AC0 0 1 BF AC6 AC5 AC4 AC3 AC2 AC1 AC0 1 0 D7 D6 D5 D4 D3 D2 D1 D0 1 1 D7 D6 D5 D4 D3 D2 D1 D0 Return Home Entry mode Set Display ON/ OFF control Cursor or Display shift Function set Set CGRAM Address Set DDRAM Address Read busy Flag and Address Write data to Address Read data From RAM Execution Time (fosc= 270 KHZ Description Write “20H” to DDRA and set DDRAM address to “00H” from AC Set DDRAM address to “00H” From AC and return cursor to Its original position if shifted. The contents of DDRAM are not changed. Assign cursor moving direction And blinking of entire display Set display (D), cursor (C), and Blinking of cursor (B) on/off Control bit. Set cursor moving and display Shift control bit, and the Direction, without changing of DDRAM data. Set interface data length (DL: 8Bit/4-bit), numbers of display Line (N: =2-line/1-line) and, Display font type (F: 5x11/5x8) Set CGRAM address in address Counter. Set DDRAM address in address Counter. Whether during internal Operation or not can be known By reading BF. The contents of Address counter can also be read. Write data into internal RAM (DDRAM/CGRAM). Read data from internal RAM (DDRAM/CGRAM). 1.53ms 1.53ms 39us 39us 39us 39us 39us 0us 43us 43us NOTE: When an MPU program with checking the busy flag (DB7) is made, it must be necessary 1/2fosc is necessary for executing the next instruction by the falling edge of the “E” signal after the busy flag (DB7) goes to “Low”. DDRAM address: Display position 1 00 40 2 01 41 3 02 42 4 03 43 5 04 44 6 05 45 7 06 46 8 07 47 9 08 48 10 09 49 11 0A 4A 12 0B 4B 13 0C 4C 14 0D 4D 15 0E 4E 16 0F 4F 17 10 50 18 11 51 19 12 52 20 13 53 DDRAM address Newhaven Display International, LLC 8/9 NHD-0220BZ Standard character pattern Newhaven Display International, LLC 9/9
NHD-0220BZ-FL-YBW 价格&库存

很抱歉,暂时无法提供与“NHD-0220BZ-FL-YBW”相匹配的价格&库存,您可以联系我们找货

免费人工找货