Difference between revisions of "Graphic LCD 128x64 STN LED"

From Geeetech Wiki
Jump to: navigation, search
Line 16: Line 16:
 
[http://www.geeetech.com/Documents/12864%20libray.zip 12864 LCD library]
 
[http://www.geeetech.com/Documents/12864%20libray.zip 12864 LCD library]
  
[http://www.geeetech.com/Documents/JHD12864E%20Documents[1].pdf ]
+
[12864 datasheet http://www.geeetech.com/Documents/JHD12864E%20Documents[1].pdf ]
  
 
==pin definition==
 
==pin definition==

Revision as of 09:29, 21 May 2012

Introduction

JHD12864E is a 128X64 graphical LCD with backlight. This unit is a very clear STN type LCD with a simple command interface. Utilizes the extremely common KS0108B parallel interface chipset. Interface code is freely available.


Description

  • Display construction:128*64 DOTS
  • Controller: KS0108
  • Number of data line:8-bit parallel
  • Display mode:STN / Yellow Green
  • Display type:Positive Tranflective
  • Backlight:LED(Y/G)/5.0V
  • Driving method:1/64 duty, 1/9 bias
  • Type:COB (Chip On Board)

Document

12864 LCD library

[12864 datasheet http://www.geeetech.com/Documents/JHD12864E%20Documents[1].pdf ]

pin definition

12864 pin.jpg

usage

12864 2.jpg 12864 usage.jpg

Example code

#include "U8glib.h"
U8GLIB_KS0108_128 u8g(8, 9, 10, 11, 4, 5, 6, 7, 18, 14, 15, 17, 16); //8Bit Com: D0..D7: 8,9,10,11,4,5,6,7 en=18, cs1=14, cs2=15,di=17,rw=16
void draw(void) {
u8g.setFont(u8g_font_unifont);
 u8g.setPrintPos(0, 20); 
 u8g.print("Hello World!");
}
void setup(void) {}
void loop(void) {
 u8g.firstPage();  
 do {
   draw();
 } while( u8g.nextPage() );
 delay(500);
}

How to buy

Click here to buy Graphic LCD 128x64 STN LED