Searching \ for 'LCD to PIC 16C84' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/io/lcd/pic.htm?key=lcd
Search entire site for: 'LCD to PIC 16C84'.

Truncated match.
PICList Thread
'LCD to PIC 16C84'
1998\09\10@085241 by Jakob Krebs Christensen

flavicon
face
part 0 1758 bytes content-type:text/plain; (decoded quoted-printable)

------ 1998\09\10@140931 by Peter L. Peres
picon face
He should configure his mailer to use plain attachments, not M$
proprietary weirdnesses. The list server has chopped the attachement off.
There should be a configuration switch in the browser options.

Peter

1998\09\11@035915 by Jakob Krebs Christensen

flavicon
face
Hi,

I have just recently started playing with PIC4s, and would like to attach a
LCD to my 16C84.

Can anyone help me in choosing a good LCD display, that's easy to work with,
and
use only a few pins on the PIC (serial).

Maybe some code to ?

Best Regards.


Jakob Krebs Christensen
Field Service Engineer
----------------------------------------------------------------------------
----------------------
Lyngsx Industri A/S
Lyngsx Alli 3
DK 9600 Aars, Denmark
Phone:  +45 96 980 980      Fax:      +45 9862 2394
Direct:  +45 96 980 953      Mobile:   +45 4019 8729
E-mail: spam_OUTJKCTakeThisOuTspamLyngso-industri.dk <.....jkcKILLspamspam@spam@lyngso-industri.dk>
Homepage: http://www.Lyngso-industri.dk/ <http://www.lyngso-industri.dk/>
----------------------------------------------------------------------------
----------------------

1998\09\11@050527 by org Hager

flavicon
face
On Fri, 11 Sep 1998, Jakob Krebs Christensen wrote:

> I have just recently started playing with PIC4s, and would like to attach a
> LCD to my 16C84.
>
> Can anyone help me in choosing a good LCD display, that's easy to work with,
> and
> use only a few pins on the PIC (serial).

Try

http://www.iaehv.nl/users/pouweha/lcd_examp.htm

This uses only 3 lines to interface to a standard HD44780-driven module
(they're the ones to go for). The application is for a 16C54, but it
should be adaptable to an 84 in a pinch.

There's also an example in Myke Predko's PIC book.

Georg.

1998\09\11@101044 by myke predko

flavicon
face
Hi Steve and Jakob and Goerg,

>On Fri, 11 Sep 1998, Jakob Krebs Christensen wrote:
>
>> I have just recently started playing with PIC4s, and would like to attach a
>> LCD to my 16C84.
>>
>> Can anyone help me in choosing a good LCD display, that's easy to work with,
>> and
>> use only a few pins on the PIC (serial).
>
>Try
>
>http://www.iaehv.nl/users/pouweha/lcd_examp.htm
>
>This uses only 3 lines to interface to a standard HD44780-driven module
>(they're the ones to go for). The application is for a 16C54, but it
>should be adaptable to an 84 in a pinch.
>
>There's also an example in Myke Predko's PIC book.

Beware of LCD datasheets, almost unbelievably, I haven't found one that is
100% accurate and I have similar concerns about web pages; I haven't found
one that has completely accurate information.

I want to add a page on my web site that does have accurate programming
information on Hitatch 44780 based LCDs - It's slowly creeping to the top of
my "todo" list.

myke

If you spend five or ten minutes a day being totally unproductive, why don't
you take a look at "Uncle John's Giant 10th Anniversary Bathroom Reader"?

http://www.myke.com/Book_Room/book1a.htm

1998\09\11@110033 by org Hager

flavicon
face
On Fri, 11 Sep 1998, myke predko wrote:

> Beware of LCD datasheets, almost unbelievably, I haven't found one that is
> 100% accurate and I have similar concerns about web pages; I haven't found
> one that has completely accurate information.

Is that also true for the original Hitachi data sheet at

http://www.halsp.hitachi.com/search/tree/    ?

I've taken it as a guide in my serial LCD project and it seemed to be ok.

Georg.

1998\09\11@112518 by Stuart Allen

flavicon
face
> > Beware of LCD datasheets, almost unbelievably, I haven't found one that
is
> > 100% accurate and I have similar concerns about web pages; I haven't
found
> > one that has completely accurate information.
>
> Is that also true for the original Hitachi data sheet at
>
> http://www.halsp.hitachi.com/search/tree/    ?
>
> I've taken it as a guide in my serial LCD project and it seemed to be ok.
>
> Georg.

I had most success with this datasheet. It really is quite comprehensive,
though there is no code. Its all very straight forward though, so its not
such a problem.

However I still had/have problems on power up. It doesn't alway initialise
properly. This is in 4bit mode, and the above hasn't helped.

Stuart.

1998\09\11@114210 by myke predko

flavicon
face
Georg asked:
>> Beware of LCD datasheets, almost unbelievably, I haven't found one that is
>> 100% accurate and I have similar concerns about web pages; I haven't found
>> one that has completely accurate information.
>
>Is that also true for the original Hitachi data sheet at
>
>http://www.halsp.hitachi.com/search/tree/    ?

Where is the 44780 data sheet?  I just spent ten minutes trying to find it
on the web page?  There are a number of LCD controllers, but none of them
are accurate.

>I've taken it as a guide in my serial LCD project and it seemed to be ok.

I looked at a number of data sheets two years ago, trying to find one that
was completely correct.  The "original" Hitachi sheet that I saw was written
in very poorly translated english (the version I have was from a Hitachi
opto-electronics databook) and had very significant errors and I couldn't
get an LCD to work at all from it.

The Hitatchi site looks great, I just wish I could find the 44780 Information.

myke

If you spend five or ten minutes a day being totally unproductive, why don't
you take a look at "Uncle John's Giant 10th Anniversary Bathroom Reader"?

http://www.myke.com/Book_Room/book1a.htm

1998\09\11@114638 by org Hager

flavicon
face
On Fri, 11 Sep 1998, Stuart Allen wrote:

>
> However I still had/have problems on power up. It doesn't alway initialise
> properly. This is in 4bit mode, and the above hasn't helped.

I had the same problem and got it fixed by waiting a _very_ long time
after power up so that the display could get its ass up. Maybe 100ms or
so. And then it still had the problem that the first character position
was shifted to the right by one. A clear/home command fixed that as well.
BTW, that was in 4-bit mode, too.

Another guess: according to the Hitachi data sheet a 10MHz PIC is too fast
if you pulse the E signal by something like

bsf  portX,Y
bcf  portX,Y

because that would mean a 400ns pulse, but the controller needs at least
450. Could that be your problem?

Georg.

1998\09\11@114839 by Quentin

flavicon
face
Stuart Allen wrote:

>
> I had most success with this datasheet. It really is quite comprehensive,
> though there is no code. Its all very straight forward though, so its not
> such a problem.
>
> However I still had/have problems on power up. It doesn't alway initialise
> properly. This is in 4bit mode, and the above hasn't helped.
>
> Stuart.
The Artical at:
http://www.iaehv.nl/users/pouweha/lcd.htm
has helped me a lot (Is that person on the list? Well thanks anyway).

Power up specs for my Optrex says to wait 15ms after VSS rise to 4.5 V.
Following that rule helped my powerup problem. It does not hurt to wait
that long as it is my first (and only) instruction after init of the PIC.

Another rule I follow is to allow 405S (micro) for each instruction write
to LCD. I don't bother with reading the LCD's busy flag then.

Hope this helps
Quentin

1998\09\11@115050 by org Hager

flavicon
face
On Fri, 11 Sep 1998, myke predko wrote:

>
> The Hitatchi site looks great, I just wish I could find the 44780 Information.

Just type `HD44780U' into the search field. The first of the two hits is
the one to go. The `U' part is a compatible substitute for the older `S'
part, as far as I have understood it.

Georg.

1998\09\11@121742 by myke predko

flavicon
face
Wow, that's infinitly better than anything I've seen before.

Usually, datasheets (including the OPTREX) is a reprint of the original 5
pages of the Data sheet, with the errors included.

Thanx for letting me know about the page,

myke

>On Fri, 11 Sep 1998, myke predko wrote:
>
>>
>> The Hitatchi site looks great, I just wish I could find the 44780
Information.
>
>Just type `HD44780U' into the search field. The first of the two hits is
>the one to go. The `U' part is a compatible substitute for the older `S'
>part, as far as I have understood it.
>
>Georg.
>
>

If you spend five or ten minutes a day being totally unproductive, why don't
you take a look at "Uncle John's Giant 10th Anniversary Bathroom Reader"?

http://www.myke.com/Book_Room/book1a.htm

1998\09\11@130747 by Ajmal Shami

picon face
Hi,
Can someone please provide part#s of LCD mods using this 44780
controller, 8 wire, 4 wire mode will be OK.
I have been working with 7segs till now but with all these mails and
web-links I thinking of trying LCD.

Regards
Ajmal

---Georg Hager <ghagerspamKILLspamTHEORIE3.PHYSIK.UNI-ERLANGEN.DE> wrote:
>
> On Fri, 11 Sep 1998, myke predko wrote:
>
> >
> > The Hitatchi site looks great, I just wish I could find the 44780
Information.
>
> Just type `HD44780U' into the search field. The first of the two
hits is
> the one to go. The `U' part is a compatible substitute for the older
`S'
> part, as far as I have understood it.
>
> Georg.
>

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

1998\09\11@204627 by Ken Johnson

flavicon
face
[snip]
> > I've taken it as a guide in my serial LCD project and it seemed to be
ok.
> >
> > Georg.
>
> I had most success with this datasheet. It really is quite comprehensive,
> though there is no code. Its all very straight forward though, so its not
> such a problem.
>
> However I still had/have problems on power up. It doesn't alway
initialise
> properly. This is in 4bit mode, and the above hasn't helped.
>
> Stuart.

I also had problems with the 4 bit mode, here is my initialisation code
(for 16c84), it works every time for me.

Cheers, Ken
.....vk7krjKILLspamspam.....southcom.com.au

;***************************************************************************
***

lcd_init
       BcF     lcd_control, LCD_E      ; LCD E-line low
       movlw   0xff                    ;delay
       call    short_delay             ;wait for lcd
       movlw   0x01                    ;reset display
       movwf   lcd_data
       bsf     lcd_control, lcd_e      ;toggle enable line
       bcf     lcd_control, lcd_e
       movlw   0xff                    ;wait 10ms
       call    short_delay             ;wait for lcd
       movlw   0x28                    ;4-bit, 2 line, 5x8 matrix
       movwf   lcd_data
       bsf     lcd_control, lcd_e      ;toggle enable line
       bcf     lcd_control, lcd_e
;       movlw   0x0a                    ;wait 400us
;       call    short_delay             ;wait for lcd
       movlw   0x0c                    ;display on, cursor off
       call    put_cmd                 ;do it
;       movlw   0x0a                    ;wait 400us
;       call    short_delay             ;wait for lcd

;***************************************************************************
***
;end of lcd initialisation

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...