piclist 1998\11\07\142758a >
Thread: PIC16C65A and LCD problem!!
www.piclist.com/techref/io/lcd/pic.htm?key=lcd
picon face BY : Peter L. Peres email (remove spam text)



On Fri, 6 Nov 1998, Steven Kosmerchock wrote:

> Friends, I am using an LCD (2X20) to display some results of a test
> performed by a PIC16C65A. The PIC performs all of it's tests and
> display's the appropriate data for the appropriate tests. Unfortunately,
> the first two spaces on the top line seems to have an incorrect
> character (It's supposed to be blank). The funny thing is that when I
> unplug the LCD from it's socket (leave the PIC circuit powered up) and
> then plug it right back in, the "trash" characters aren't there anymore.

The LCD needs to be initialized according to the data sheet sequence, or
reset by a fast power on flank. When you remove it from the socket and put
it back you do just that. The power on flank for the whole circuit is much
slower.

If you don't want to use the whole funky initialization sequence, use a
transistor switch to turn on the LCD power abruptly from a PIC pin or
from the reset chip that drives the PIC (if any).

> But if I turn off the whole circuit and then restart it, the "trash"
> characters are still there. It's a mystery to me!? I would appreciate
> any/all help I can get!! Thank you all!

The HD47xxx chips are genuine CMOS parts and as such they will keep the
bit patterns for several seconds or minutes without power applied (using
the very low voltage remaining in the decoupling caps). It is known that
some CMOS timekeeping chips need to be shorted without power applied for
up to 5 minutes to convince them to forget some of what they contain.

If you use the initialization sequence with the LCD it will be erased
properly by the time it lights up.

imho the missong reset pin from the industry standard LCDs is a pain in
the rear.

Peter

<Pine.LNX.3.95.981107134015.327E-100000@plp4.plp.home.org>

In reply to: <"ISOPRO-1.61 .063::DH-NO::44A1::3643635D*/G=Steve/S=Kosmerchock/OU=Phoenix/O=Celwave/PRMD=A CAB/ADMD=Telemail/C=US/"@MHS>
See also: www.piclist.com/techref/io/lcd/pic.htm?key=lcd
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PIC16C65A and LCD problem!!

month overview.

new search...