12864 is graphic dot-matrix LCD display. It consists of row driver, column driver and 128*64 dot LCD display. It can display 8*4 (16*16 dots) Chinese character.
Main Parameters
Power: VDD, +5V. Self-contained -10V for LCD driver.
Display: 128 column * 64 row
Whole screen dot matrix
7 type instructions
CPU interface: 8-bit parallel data bus, 8 controlling line.
Duty: 1/64
Operating Temp.: -20°C to 60°C
Storage Temp.: -30°C to 70°C
Dimension and Pin Assignment

| Pin No. | Symbol | Level | Description |
| 1 | CS1 | H | Chip select signal for KS0108B(1) |
| 2 | CS2 | H | Chip select signal for KS0108B(2) |
| 3 | VSS | 0V | Ground |
| 4 | VDD | 5.0V | Supply voltage for logic |
| 5 | VO | — | Input voltage for LCD |
| 6 | RS | H/L | H: Data signal, L: Instruction signal |
| 7 | R/W | H/L | H: Read mode, L: Write mode |
| 8 | E | H, H → L | Chip enable signal |
| 9 | DB0 | H/L | Data bit 0 |
| 10 | DB1 | H/L | Data bit 1 |
| 11 | DB2 | H/L | Data bit 2 |
| 12 | DB3 | H/L | Data bit 3 |
| 13 | DB4 | H/L | Data bit 4 |
| 14 | DB5 | H/L | Data bit 5 |
| 15 | DB6 | H/L | Data bit 6 |
| 16 | DB7 | H/L | Data bit 7 |
| 17 | SLA | 4.2V | Side light anode |
| 18 | SLK | 0V | Side light cathode |
Software and Hardware Design with 12864 LCD
This experiment controls the 12864 LCD to display below content.

Switch to LCD display mode before this experiment.


Schematic Diagram

Program Flow Chart
