LCDInfo.com

http://www.lcdinfo.com
It is currently Fri Nov 22, 2024 10:36

All times are UTC + 2 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: HD44780 driver
PostPosted: Sat Oct 25, 2003 14:00 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
STATUS:
Anyone want to try making this ? Or is there even any interest in this one ?


Last edited by Henri on Wed Sep 22, 2004 11:34, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 07, 2004 11:35 
Offline

Joined: Tue Dec 02, 2003 12:03
Posts: 107
Location: South Africa
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

_________________
Rudi Grobler


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 07, 2004 22:31 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
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.


Last edited by Henri on Mon Apr 19, 2004 12:43, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 11:48 
Offline

Joined: Mon Apr 19, 2004 11:42
Posts: 8
Location: Greece/Korydallos
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.

_________________
YOU DONT NEED EYES TO SEE
YOU NEED VISION (OR A NICE LCD:)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 12:50 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
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 ;)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 19, 2004 17:45 
Offline

Joined: Mon Apr 19, 2004 11:42
Posts: 8
Location: Greece/Korydallos
my program uses only 8 bit communication : )
also i prepare nice algorithms for text animation

_________________
YOU DONT NEED EYES TO SEE
YOU NEED VISION (OR A NICE LCD:)


Top
 Profile  
 
 Post subject: new about hd44780
PostPosted: Tue Apr 27, 2004 22:39 
Offline

Joined: Tue Apr 27, 2004 22:27
Posts: 3
Location: France
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)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 28, 2004 8:20 
Offline

Joined: Mon Apr 19, 2004 11:42
Posts: 8
Location: Greece/Korydallos
i use a much more simple scheme like this --->

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

_________________
YOU DONT NEED EYES TO SEE
YOU NEED VISION (OR A NICE LCD:)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 15:36 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 03, 2004 10:53 
Offline

Joined: Tue Dec 02, 2003 12:03
Posts: 107
Location: South Africa
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

_________________
Rudi Grobler


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 04, 2004 9:58 
Offline

Joined: Tue Dec 02, 2003 12:03
Posts: 107
Location: South Africa
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]

_________________
Rudi Grobler


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 04, 2004 12:28 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 04, 2004 15:38 
Offline

Joined: Tue Dec 02, 2003 12:03
Posts: 107
Location: South Africa
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:

_________________
Rudi Grobler


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 17:06 
Offline

Joined: Sun May 05, 2002 22:05
Posts: 2063
Location: Lappeenranta, Finland
Updated the binary file. If anyone tests this driver please post here if it works or not.


Top
 Profile  
 
PostPosted: Mon Jul 12, 2004 17:14 
Offline

Joined: Mon Jul 12, 2004 17:06
Posts: 1
10x


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group