DisplayTech 64128COG LCD interface

Get this page as PDF


TechDesign Electronics


Projects Home

Low cost LCD module interface with optional LED backlight:

Here are the technical specifications:

  • LCD resolution: 128 x 64 pixels
  • LCD manufacturer: DisplayTech.
  • LCD model 1: 64128COG-FA-BC (no backlight)
  • LCD model 2: 64128G-FC-BW-3 (white LED backlight)
  • On-glass lcd controller KS0713, with 30 pins connector.
  • Very low power operation (less than 1mA @3V)
  • Fast serial interface (only 8 wires needed)
  • Molex miniature connector.
  • LCD: dimensions: 56 x 41 mm
  • PCB interface: Dimensions: 44 x 18 mm

These two LCD modules can be bought in our online shop. You'll need the interface described below and a PIC microcontroller to get these LCD modules running.

PIC example Source code (CCS C) , pcb layout and schematics (Eagle) available.  Last update: March 24, 2007.

Interface: Schematic & PCB: (right click & "save as" to get full resolution)


Interface: Main Connections:

LCD module backside with soldered and connected interface.

Header pinouts


MOLEX 53047-0810 header

LCD module,

serial interface


software example

1 +2V4..3V0    
2 CS1B   RD5
3 RST   RD4
4 RS   RD1
5 SCLK   RD3
6 GND    
7 backlight on/off   RD0
8 SID   RD2

PIC software example: routines

ccs routine example explanation
LCD initialization dt_lcd_init(); init parameters needed after power on
Clear screen dt_lcd_clear_screen(); resets all pixels, needed after power on
Cursor position set dt_lcd_gotoxy(0,5); goto cursur location x= 0..127 PIXEL COLUMNS // y= 0..7 CHAR. ROWS
Write text to LCD printf(dt_lcd_printchar," DisplayTech LCD"); show simple unformatted text


Downloads: right-click & save as

  WARNING: may not be duplicated for any commercial use whatsoever without explicit consent from the author (c) Michel Bavin, TechDesign Electronics.


 Interface: Eagle PCB layout: 042 - 004.brd  - March 24, 2007.

 Interface: Eagle Schematics: 042 - 004.sch  - March 24, 2007.


 PIC CCS example: source code: 042_v01.zip for 18f452 @ 20MhZ - March 24, 2007.

 PIC CCS example:Hex file: 042_v01.hex for 18f452 @ 20MhZ - March 24, 2007.


Get this page as PDF



Info & datasheet:

Graphic LCD module type 64128COG-FA-BC (no backlight) 128x64 pixels with integrated controller KS0713.
Graphic LCD module type 64128G-FC-BW-3 (white LED backlight) 128x64 pixels with integrated controller KS0713.



Interface PCB


Check out our development tools page.

The PIC code was made with the PCWH CCS compiler ($425,-); you can install Microchip's MPLAB IDE (click on the link and you can get it for free) with it to get things running smoothly.

Bootloading of the PIC18F452 can be done with the excellent Tiny PIC bootloader, through RS232.

Eagle 4.11e was used for the schematic & PCB layout. 

Projects Home