LCDInfo.com
http://forum.lcdinfo.com/

HD44780 driver
http://forum.lcdinfo.com/viewtopic.php?f=14&t=382
Page 1 of 2

Author:  Henri [ Sat Oct 25, 2003 14:00 ]
Post subject:  HD44780 driver

STATUS:
Anyone want to try making this ? Or is there even any interest in this one ?

Author:  rudi Grobler [ Wed Jan 07, 2004 11:35 ]
Post subject: 

I have just send a copy of this driver to henri. Please if anybody has these lcds, test the code :!: I have a few small changes still planned. For now, the lcd runs in 4 bit mode. I am in the process of making it selectable between 4 and 8 bit. I am also updating the configuration window to make it selectable wiring. For now the wiring is as follows:

pin 1 - gnd
pin 2 - vcc
pin 3 - gnd (contrast)
pin 4 - rs (pin 16 - init)
pin 5 - gnd (always writing, never reading)
pin 6 - e (pin 1 - strobe)
pin 7,8,9 & 10 - not connected (4 bit mode)
pin 11,12,13 & 14 - d0-d3 on lpt port
pin 15 & 16 - backlight

Author:  Henri [ Wed Jan 07, 2004 22:31 ]
Post subject: 

Great :)

I hope to test the driver soon myself. All brave souls who would like to help in testing can download a driver compiled for build 15 here: link removed as the driver is now part of LCDInfo

And as Rudi wrote all things that are selectable in the config dialog are not yet implemented in the driver itself.

Author:  mojiro [ Mon Apr 19, 2004 11:48 ]
Post subject: 

why you need this dll ?

dont you have source code for using this lcd chip ?
if you need code samples, i have lots in cpp and vb6.
also i prepare my program for this controller.

Author:  Henri [ Mon Apr 19, 2004 12:50 ]
Post subject: 

The DLL there was the driver that LCDInfo uses to communicate with the display. But it's now included in the LCDInfo package and I removed the link so that it doesn't cause confusion.

Thanks for the offer of code but I think most of it that is needed is already included in the driver. It would just need some more work to add support for 8-bit mode and user defined wiring settings. Not that difficult, but the difficult part is to get started on the work ;)

Author:  mojiro [ Mon Apr 19, 2004 17:45 ]
Post subject: 

my program uses only 8 bit communication : )
also i prepare nice algorithms for text animation

Author:  myBOB [ Tue Apr 27, 2004 22:39 ]
Post subject:  new about hd44780

hi henri and all !

What about a working driver for hd44780 in 8bit mode ?

i'm using a 16x2 LCD with this wiring http://www.jalcds.de/images/4x20wobacklight.gif
(work with other lcd prog like smartie, jalcds, crystalfontz.....) and want to try it with LCDinfo !

please !!!!!!!!

myBOB (FR)

Author:  mojiro [ Wed Apr 28, 2004 8:20 ]
Post subject: 

i use a much more simple scheme like this --->

http://www.electronics-lab.com/projects ... ndex2.html

Author:  Henri [ Thu Apr 29, 2004 15:36 ]
Post subject: 

It should work with 8-bit wirings too even if it only uses the 4-bit mode. The difference I noticed in the wirings is that the RW pin is expected to be always grounded in Rudi's driver but in the schematic you showed it's connected to pin 14 of LPT.

It should work without software changes if you connect the RW pin in your display to GND. After this change it should still work with other software too as I'm not aware of them trying to read from the display.
I know that Rudi is planning to update this driver soon to have 8-bit mode and working custom wiring settings.

Author:  rudi Grobler [ Mon May 03, 2004 10:53 ]
Post subject: 

Hi,

I have updated the driver to support 8 bit mode... I have just wired my lcd and found some problems in the driver that I send to henri. I am bussy fixing it and will send a updated driver soon. I use a DMC40457, which is a 4x40 lcd. I have some problems implementing the 4 lines. Busy fixing it!

This lcd has a different layout than most I have seen... here is its pinouts:

1 D7
2 D6
3 D5
4 D4
5 D3
6 D2
7 D1
8 D0
9 E1
10 R/w
11 RS
12 Vee
13 Vss
14 Vcc
15 E2
16 NC

Will post a image with my wiring soon

Author:  rudi Grobler [ Tue May 04, 2004 9:58 ]
Post subject: 

Hi,

I finaly updated the driver to support 8 bit mode! I also added support for 4 bit data mode and standard 4 bit mode.

Here is the link: http://www16.brinkster.com/rudigrobler/hd44780_driver.zip

3 wiring schemes are supported:

1) Standard 8 Bit

LCD LPT
D0-D7 2-9
RS 16 (Init)
RW 18-25 (Gnd)
E1 1 (Strobe)
E2 14 (Line)

E2 is only available in 4 line lcd's

Vcc 5V
Vss 18-25 (Gnd)
Vee 18-25 (Gnd)

2) Standard 4 Bit

LCD LPT
D4-D7 2-5
RS 16 (Init)
RW 18-25 (Gnd)
E1 1 (Strobe)
E2 14 (Line)

E2 is only available in 4 line lcd's

Vcc 5V
Vss 18-25 (Gnd)
Vee 18-25 (Gnd)

3) 4 Bit Data

LCD LPT
D4-D7 6-9
RS 2
RW 3
E1 4
E2 5

E2 is only available in 4 line lcd's

Vcc 5V
Vss 18-25 (Gnd)
Vee 18-25 (Gnd)

I also added chech for screen size, ie. if set to 20x2 it will not write on line 3 and 4 even if there are lines!!!

Please help test this driver and report any bugs found!!![/url]

Author:  Henri [ Tue May 04, 2004 12:28 ]
Post subject: 

And to make it easier to test here is the binary of Rudi's driver: http://www.skippari.net/lcd/alpha/hd447 ... er_dll.zip

Author:  rudi Grobler [ Tue May 04, 2004 15:38 ]
Post subject: 

Hi,

I made one more update to the driver. I fixed the last 4 bt stuff that did not work!! I tested it both in 8bit mode and 4 bit data mode on my DMC40457 (HD44780) lcd and it works nicly. The bug that I found was in my initialize code. I did not send the correct command at the start. It should work now!

Henri, if you dont mind, please update the new binaries!!!

PS. The source is available at the old place:

Quote:

Author:  Henri [ Wed May 05, 2004 17:06 ]
Post subject: 

Updated the binary file. If anyone tests this driver please post here if it works or not.

Author:  YK24 [ Mon Jul 12, 2004 17:14 ]
Post subject:  what should i do to install hd44780 driver ??

10x

Page 1 of 2 All times are UTC + 2 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/