Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to interface LCD with 8051?

Status
Not open for further replies.

hameeds01

Advanced Member level 2
Joined
Aug 23, 2005
Messages
599
Helped
75
Reputation
156
Reaction score
41
Trophy points
1,308
Location
Islamabad Pakistan
Activity points
4,540
LCD with 8051

how to interface LCD with 8051? Which LCD is suitable for it ?
I don’t know even the abc of LCD
 

Re: LCD with 8051

Hi,
Interfacing LCDs is in general quite easy. However if you are looking at character LCDs they all use basically the same (or compatable controller) a Hitatchi HD4470 or something like that. Anyway I might have some LCD code for the 8051 that I can dig uo if you need it.

Cheers
Slayer
 

Re: LCD with 8051

Ya I hope to upload the code for the LCD
but..how can i programe the LCD ?
and what about the graphical LCD ? how can i download on it a OS like embedded Linux ? tahnks
 

Re: LCD with 8051

AFAIK the GLCDs go I have not yet experimented with them. Also for programming the LCD you only send it commands, it has an internal MCU which actually writes the data on it. If you want to have menus etc. displayed that will have to be done in the MCU / PC that you attach the screen to.

Same goes for the embedded linux, it is only running in the MCU and as such the LCD will only act as an output device.

P.S.: I will upload the code as soon as possible.

Cheers
Slayer
 

Re: LCD with 8051

Hi,

Here is a LCD library you can use. It was written for K*il, but I assume it's not much of a deal to adapt it to your needs.
First, you have to configure the resources you use for the LCD. This is done from the #defines in the header file. Than, call LCD_init() and the LCD is ready to go.
It's not recommended that you use Port 0 as the data port for the LCD, even if it works in some of the cases.

Best Regards
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top