Pin No. | Pin Name | Function |
1、2、24、31、34、36 | NC | 空脚 |
3 | /CS1 | Chip selection input 片选 |
4 | /RES | Rester 复位 |
5 | A0 | Data/Command control 选择指令或数据 |
6 | /WR | Write (/WR ) control signal input. 写 |
7 | /RD | Read (/RD ) control signal input. 读 |
8~15 | DB0-DB7 | 8bit Date bus 数据 |
16 | VDD | Power supply voltage (Positive) 电源3~3.3V |
17 | VSS | Negative power supply,0V 地 |
18 | VOUT | positive voltage supply pin of the chip. 升压输出,对地接电容 |
19~23 | C3+,C1-,C1+,C2+,C2- | When internal DC-DC voltage converter is used, external capacitor is connected between these pins. 升压电路接电容 |
25~29 | V1,V2,V3,V4,V0 | LCD driving voltages. 分压电路 |
30 | VR | Output voltage regulator terminal. 外部调对比度接电阻位 |
32 | C86 | MPU interface selection pin 选择8080或6800时序 |
33 | P/S | Parallel data input/serial data input switch terminal 选择并口或串口 |
35 | IRS | This terminal selects the resistors for the V0 voltage level adjustment. 选择内部调对比度或外部调比比度 |
No. | Instrctions | Code | Function | ||||||||||
A0 | /RD | /WR | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 | |||
1 | Display ON/OFF | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | DON | DON=0,display off DON=1,display on |
2 | Display start line set | 0 | 1 | 0 | 0 | 1 | Display start address | Set the display RAM display start line address | |||||
3 | Set Page Address | 0 | 1 | 0 | 1 | 0 | 1 | 1 | Page address | Set the display RAM Page address | |||
4 | Ser Column Address (Upper-4 bits) | 0 | 1 | 0 | 0 | 0 | 0 | 1 | Col. Add | Set the upper-4-bit of column address counter | |||
Ser Column Address (Lower-4 bits) | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Col. Add | Set the low-4-bit of column address counter | ||||
5 | Read Staus | 0 | 0 | 1 | Status | 0 | 0 | 0 | 0 | Read the status data | |||
6 | Write Display Data | 1 | 1 | 0 | Write Data | Write data into the display RAM | |||||||
7 | Read Display Data | 1 | 0 | 1 | Read Data | Read data from the display RAM | |||||||
8 | ADC Select | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | ADC | Set the display RAM address SEG output Correspondence ADC = 0,Normal. ADC = 1,Reverse |
9 | Normal/Reverse Display | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | REV | REV = 0, Normal REV = 1, Reverse |
10 | Entire Display ON/OFF | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | EON | EON = 0, Normal EON = 1, Entire display ON |
11 | Set LCD Bias | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | BIAS | Bias = 0, 1/9 Bias Bias = 1, 1/7 Bias |
12 | Set Read-Modify-Write | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | Enter the “Read-Modify-Write” mode |
13 | Reset Read-Modify-Write | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | Clear the “Read-Modify-Write” mode |
14 | Reset | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | Resets the LCD module |
15 | SHL S elect | 0 | 1 | 0 | 1 | 1 | 0 | 0 | SHL | * | * | * | Set the COM scanning direction SHL = 0, Normal SHL = 1, Flipped in y-direction * = don’t care terms |
16 | Power Control Set | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | VC | VR | VF | Set the power circuit operation mode VF : LCD Supply Voltage Follower VR : LCD Supply Voltage Regulator VF : LCD Supply Voltage Converter (1 = ON, 0 = OFF) |
17 | Regulator Resistor Select | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | Ratio | Set the built-in resistor ratio (Rb/Ra) | ||
18 | Electronic volume mode set | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Set reference voltage mode |
Electronic volume register set | 0 | 1 | 0 | * | * | Electronic Control value | Set reference voltage register | ||||||
19 | Power Save | - | - | - | - | - | - | - | - | - | - | Compound instruction Display OFF + Entire Display ON | |
20 | NOP | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | Non-operation command |
欢迎光临 (http://www.51hei.com/bbs/) | Powered by Discuz! X3.1 |