soldr.ai

Docs  /  Components

12864 graphic LCD (ST7920): specs and pinout

A 128 x 64 monochrome graphic LCD module that uses the ST7920 controller, which offers 8-bit, 4-bit and serial interfaces and a built-in character ROM.

Every value cites its sourceChip-level pinout

Buy on Compoden

Specs

SpecValueSource
Operating voltage VDD2.7 V to 5.5 Vsource
Main Features (p.1); DC Characteristics (p.38-39)
Host interface8-bit parallel, 4-bit parallel or serial; pin PSB selects (0 = serial, 1 = parallel)source
Main Features (p.1); Pin Description (p.7)
Graphic display RAM64 x 256 bits (GDRAM)source
Main Features (p.1)
Drive capacity32 commons x 64 segments on the chip, extendable with the ST7921 segment driversource
Main Features (p.1); General description
LCD drive voltage V0 to VSS3.0 V to 7 Vsource
DC Characteristics (p.38-39)
Input high level0.7 x VDD min (inputs other than OSC1)source
DC Characteristics (p.38-39)
Absolute maximum VDD-0.3 V to +6.0 Vsource
Absolute Maximum Ratings (p.37)
Operating temperature-30 C to +85 Csource
Absolute Maximum Ratings (p.37); DC Characteristics (p.38)
Built-in character ROM8192 Chinese characters (16x16) and 126 half-width characters (16x8)source
Main Features (p.1)

Power

ValueSource
SupplyController VDD 2.7-5.5 V. Backlight and contrast circuit of the module are not covered.source
DC Characteristics (p.38-39)

Chip pins

These are the pins of the chip on the module, from the chip datasheet. The module's own header may label or expose them differently.

These are ST7920 chip pins. The 12864B module board (header labels, contrast control, backlight pins) is not covered by an official document.

PinFunctionVoltageNotesSource
XRESETSystem reset input, active lowsource
Pin Description (p.7)
PSBInterface selection: 0 = serial mode, 1 = 8/4-bit parallel bus modesource
Pin Description (p.7)
RS(CS*)Parallel mode: register select. Serial mode: chip select (1 = enabled)source
Pin Description (p.7)
RW(SID*)Parallel mode: read/write control (0 write, 1 read). Serial mode: serial data inputsource
Pin Description (p.7)
E(SCLK*)Parallel mode: enable trigger. Serial mode: serial clocksource
Pin Description (p.7)
D0 to D3, D4 to D7Data bus; D4-D7 alone are used in 4-bit modesource
Pin Description (p.7)
VDDPower supply2.7-5.5 Vsource
Pin Description (p.8)
VssGround0 Vsource
Pin Description (p.8)
V0 to V4LCD bias voltageUp to 7 Vsource
Pin Description (p.8)

Build with it

Project ideas for the 12864 graphic LCD (ST7920). Each link opens Soldr with the prompt filled in; Soldr assigns the pins, checks power and shows how to wire every part.

Common mistakes

Not covered by the official source

Sources