From: Richard M. <mue...@go...> - 2010-01-02 22:01:20
|
Hello, I have a 4x16 LCD Display "Displaytech 164A" for the parallel port. I am not sure, whether its controller is compatible with the HW44780. The datasheet shows a KS0070B controller. I tried to use it as HW44780, but with no success. Perhaps it's the wrong controller or perhaps my lcd4linux.conf is faulty... Unfortunately I could not find any information regarding the compatibility of my display. But maybe one of you knows it and can help me farther. (Attaching a config-file (for version 0.10) is not forbidden...) Thanks in advance Richard -- Richard Müller . Am Spring 9 . D-58802 Balve www.oeko-sorpe.de |
From: Thorsten G. <dl...@gm...> - 2010-01-03 10:56:58
|
Hi Richard, > I have a 4x16 LCD Display "Displaytech 164A" for the parallel port. I > am not sure, whether its controller is compatible with the HW44780. I also own a 164A and programmed native routines on a uC for it. It is compatible to the HD44780. > I tried to use it as HW44780, but with no success. Perhaps it's the > wrong controller or perhaps my lcd4linux.conf is faulty... I would bet, the second one ;-) Can you post the lcdlinux.conf (best witout the remarks, only the essentials...)? How did you connect the display. Can you give a connection description? Regards, Thorsten |
From: Thorsten G. <dl...@gm...> - 2010-01-03 17:19:13
|
Hi Richard, > http://www.phytoplankton.info/download/anschluss.gif Sorry, but this link doesn't work for me. Can you write a little table with the connections? E.g.: Parport - LCD D0 (2) - DB0 (7) : > Port '/dev/parports/0' Does this device exist? In my Debian it is named '/dev/parport0' Maybe the problem could be an incomplete 'Display' definition. When you omit to declare a parameter it uses the default value, which may causes a malfunction of the display. Try to use a complete definition (apart from the timing stuff) with the wiring infos. But first of all we need the connection info... Regards, Thorsten |
From: Michael R. <mi...@re...> - 2010-01-03 17:32:17
|
Hey guys, >> Port '/dev/parports/0' > > Does this device exist? In my Debian it is named '/dev/parport0' Good hint. Maybe to cause.... > But first of all we need the connection info... I think first we need the output of "lcd4linux -Fvv". If there's an error in the config, lcd4linux would tell you so -- Michael Reinelt <mi...@re...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Richard M. <mue...@go...> - 2010-01-03 21:40:18
|
I thought all correspondence goes to the list. Sorry for my mistake. So I'll forward it to the list. (Michael asked for the output). Thank you all Richard ---------- Forwarded message ---------- From: Richard Müller <mue...@go...> Date: 2010/1/3 Subject: Re: [lcd4linux] Displaytech 164A Thanks for your answer. I connected the LCD as shown in its datasheet: http://de.rs-online.com/web/5326795.html on page 9, the corresponding connections are shown on this picture: http://www.phytoplankton.info/download/anschluss.gif Calling lcd4linux -Fvv gives: neuer:/home/richard/Documents/Sorpe/share/projekt_PAR/grafikdisplays/testserdisp-1.97.8 # lcd4linux -Fvv LCD4Linux 0.11.0-SVN-1066M starting Dump of /etc/lcd4linux.conf: Display:HD44780-16x4.Driver 'HD44780' Display:HD44780-16x4.Model 'generic' Display:HD44780-16x4.Port '/dev/parports/0' Display:HD44780-16x4.Size '16x4' Display:HD44780-16x4.UseBusy 1 [DBus] Error connecting to the dbus session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was bro missing 'Display' entry in /etc/lcd4linux.conf! I don't understand the "Missing Display" message. The conf reads: Display HD44780-16x4 { Driver 'HD44780' Model 'generic' UseBusy 1 Port '/dev/parports/0' Size '16x4' } Thanks for answering! Richard -- Richard Müller . Am Spring 9 . D-58802 Balve www.oeko-sorpe.de -- Richard Müller . Am Spring 9 . D-58802 Balve www.oeko-sorpe.de |
From: Michael R. <mi...@re...> - 2010-01-04 04:18:54
|
Hi Richard, > I don't understand the "Missing Display" message. > The conf reads: > > Display HD44780-16x4 { > Driver 'HD44780' > Model 'generic' > UseBusy 1 > Port '/dev/parports/0' > Size '16x4' > } > Thanks for answering! > Richard your config lacks at least a line reading Display 'HD44780-16x4' Background: You can define more than one 'Display' Sections, and with a single 'Display' Setting you select one of them But your config seems very incomplete to me: there are no widgets, no layouts, .... bye, Michael -- Michael Reinelt <mi...@re...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Martin H. <ma...@he...> - 2010-01-03 18:00:33
|
Hi Richard, > Attaching a config-file (for version 0.10) is not > forbidden... please don't attach (it may be stripped by the mailing list software). Just paste it inline into your mail instead. Best regards, and happy 2010 for everybody Martin |
From: Thorsten G. <dl...@gm...> - 2010-01-03 19:28:53
|
Hi again, > I've fixed it. Sorry No problem. Ok, so you can try try following conf: Display DT164A { Driver 'HD44780' Model 'generic' Bus 'parport' Port '/dev/parport0' Controllers 1 Bits 8 UseBusy 1 GPOs 0 Backlight 0 Size '16x4' asc255bug 0 Icons 8 Wire { RW 'AUTOFD' RS 'INIT' ENABLE 'STROBE' BACKLIGHT 'GND' GPO 'GND' POWER 'GND' } } Widget Heartbeat { class 'Icon' speed 800 Bitmap { Row1 '.....|.....' Row2 '.*.*.|.*.*.' Row3 '*****|*.*.*' Row4 '*****|*...*' Row5 '.***.|.*.*.' Row6 '.***.|.*.*.' Row7 '..*..|..*..' Row8 '.....|.....' } } Widget Test { class 'Text' expression '1234567890123456789012345678901234567890' width 40 foreground 'ff0000ff' } Layout Default { Row1.Col1 'Test' Row4.Col16 'Heartbeat' } Display 'DT164A' Layout 'Default' If it is running you should have a Marquee-style 1234... in the first line and a pumping heart in the lower right corner of your display. Maybe you can try some things before: Power your LCD with the 5V (no further connections) and tune the contrast pot so that you can see a black bar in the first and third line. So you can be sure to see something if the display is fed with data. The "R/W" isn't really nescessary. To exclude some errors, you can pull pin 5 (R/W) of the LCD to GND and set the wiring definition in the conf to "RW 'GND'" and disable use of the busy flag by setting "UseBusy 0". So the display is "write only" but depends on a good timing (it should!). If the busy flag is enabled, the timing is done a bit more efficient, but that's not really important yet. Another thing: Be aware not to burn your backlight pot! The datasheet says 280mA@4,2V for the gn/ye backlight. So Rv=(5V-4,2V)/280mA=2,9R. That means about 224mW of power dissipation... Good luck! Regards, Thorsten |