EmbeddedRelated.com
Forums

Problem with displaying of data on LCD

Started by david_wenkang March 2, 2007
Hi all,
I am using C18 complier to program PIC18F452 microcontroller to
display data on a LCD display module (Hyundai Korea - HB16202-A).

The microcontroller is connected with an external oscillator
SG531P, and giving it a frequency of 40MHz.
The problem that i encounter is that, i am not able to display any
information or character. I wonder whether is it the oscillator thats
causing this problem.

I have look through the data-sheet of the hitachi lcd display and has
written a C program according to the initialization instructions on
the data-sheet. I even search for initialization instructions online
and have modify the program accordingly. Yet there isn't any display
on the module itself.

So i am asking whether anyone has encountered this problem before or
anyone has solution to this kind of problem?

Hope you all can answer my question. Thank you.
Without knowing the spec of the LCD, i would check the min signal times for it, as 40Mhz is very quick, 100ns per intruction, if they work the same as the 16 series PIC.
I can run my LCD, Powertip, at 200ns (20MHz) I just looked on the net for a datasheet, but can't find one. I would check the signal times are long enough. I had trouble getting my first LCD working, took a while, but without this group would of taken longer!

Paul

----- Original Message -----
From: david_wenkang
To: p...
Sent: Friday, February 23, 2007 7:38 AM
Subject: [piclist] Problem with displaying of data on LCD
Hi all,
I am using C18 complier to program PIC18F452 microcontroller to
display data on a LCD display module (Hyundai Korea - HB16202-A).

The microcontroller is connected with an external oscillator
SG531P, and giving it a frequency of 40MHz.
The problem that i encounter is that, i am not able to display any
information or character. I wonder whether is it the oscillator thats
causing this problem.

I have look through the data-sheet of the hitachi lcd display and has
written a C program according to the initialization instructions on
the data-sheet. I even search for initialization instructions online
and have modify the program accordingly. Yet there isn't any display
on the module itself.

So i am asking whether anyone has encountered this problem before or
anyone has solution to this kind of problem?

Hope you all can answer my question. Thank you.