07 September 2006

LCD interfacing

This is an example how to interface to the standard Hitachi-44780 LCD using an 8051 microcontroller and SDCC as C Compiler. I use a standard 16-character by 2-line LCD module, see schematic below. Here, I use 4-bit interfacing.

Schematic: 4-bit interfacing 16x2 LCD

Source Code (For SDCC)
- lcd.h
- test_lcd.c

Related Links
- How to control a HD44780-based Character-LCD: The Industry Standard Character LCD
- Yet Another 8051-to-LCD Interface
- Interfacing: Converting 8-bit LCD communication to 4-bit


Nimish H Dave said...

LCD Interfacing tutorials
You can find lcd interfacing tutorial using Proview32 on this website www.lcdinterfacing.infohttp://www.lcdinterfacing.info.

Interface LCD to 8051
Interface Nokia 6610 LCD
Nokia 3310 LCD Interface

In this tutorial we will interface Nokia 3310 LCD with AT89C51.The Nokia 3310 LCD is based on a PCD8544 48x84 pixels matrix LCD controller.more...

Dot Matrix Display
What makes the text scrolpng on the sipcon chips? The heart of scrolpng display is dot matrix led display unit.more...

Seven Segment Display
The seven segment display is one of the commonly used display devices in the world of electronics.more...

abhishek said...

Can anybody suggest me interfacing Renesas micro wuth colored LCD having samsung driver s6b3301

Surendra said...

can u tell me the how to interface 128X64 LCD display with micro controller P89v51rd2

cs said...

#define LCD_en P2_4
#define LCD_rs P2_5

this 2 part gt error?should be
#define LCD_en P2^4
#define LCD_rs P2^5

2011disaster said...

Thanks for LCD.h code, you make my work simple. found similar things