From: Koma <ko...@em...> - 2004-02-24 16:54:20
|
Hi i've tried for 4 days to make a .conf file but the only results i've ha= ve its a strange symbol repetute.. =20 I put here the wire configuration and the modl of dysplay: Display "HD44780" Port "/dev/lp0" Size "16x2 http://www.camscode.org/images/lcd/th_schaltplan.jpg if you can reply to me at kom4[=E6]email.it Pleased Thx :) |
From: Michael R. <re...@eu...> - 2004-02-24 17:13:52
|
Hi Koma, > Hi i've tried for 4 days to make a .conf file but the only results i've have its a strange symbol repetute.. > I put here the wire configuration and the modl of dysplay: > > Display "HD44780" > Port "/dev/lp0" > Size "16x2 > http://www.camscode.org/images/lcd/th_schaltplan.jpg /dev/lp0 is wrong. Either use /dev/parport0 (or dev/parports/0 with devfs) or the hex port adress (e.g. 0x378) If it still doesn't wortk, I need the whole lcd4linux.conf and the output of 'lcd4linux -Fvv' bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Michael R. <re...@eu...> - 2004-02-24 19:25:29
|
Hi Koma, > # lcd4linux -Fvv > Version 0.9.10 starting > lcd4linux.c: initializing driver HD44780 > wiring: [PARPORT:GND]==>[DISPLAY:RW] > wiring: [PARPORT:AUTOFD]==>[DISPLAY:RS] > wiring: [PARPORT:STROBE]==>[DISPLAY:ENABLE] > wiring: [PARPORT:INIT]==>[DISPLAY:GPO] > udelay.c: CPU supports Time Stamp Counter > udelay.c: CPU runs at 1980.714000 MHz > udelay.c: using TSC delay loop, 1981 ticks per microsecond > parport.c: using raw port 0x378 > processor.c: Display: 2 rows, 16 columns, 5x8 pixels, 0 GPOs > processor.c: Row1: *** %o %v *** > processor.c: Row2: %p CPU %r MB RAM > lcd4linux.c: starting main loop > system.c: uname(sysname)=Linux > system.c: uname(release)=2.6.3-rc2-gentoo > system.c: uname(machine)=i686 > system.c: sizeof(/proc/kcore)=268374016 bytes > lcd4linux.c: got signal 2 > lcd4linux.c: leaving main loop > HD44780: shutting down. > parport.c: closing raw port 0x378 look ok to me. > And my conf (is destroyed i know :) but i've done many experiments) > > # cat /etc/lcd4linux.conf > Display "HD44780" > Port "0x378" > Size "16x2" > Bits "4" > Wire.RW "GND" > Wire.RS "AUTOFD" > Wire.ENABLE "STROBE" > Wire.ENABLE2 "SELECT" > Wire.GPO "INIT" > row1:"hello" looks fine, too. Maybe there's a wiring fault, but the picture quality of your schematics is too bad: >>> http://www.camscode.org/images/lcd/th_schaltplan.jpg I can't read the pin names. Have you got a better image? > Now i'm tring LCDd but, your program is more configurable and so COOL > I like lcd4linux :D Thanks! bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Martin H. <ma...@he...> - 2004-02-24 19:49:32
|
Hi everybody, (sorry Michael, I hit "reply" instead of "reply all" by mistake). >> # cat /etc/lcd4linux.conf Display "HD44780" >> Port "0x378" >> Size "16x2" >> Bits "4" >> Wire.RW "GND" >> Wire.RS "AUTOFD" >> Wire.ENABLE "STROBE" >> Wire.ENABLE2 "SELECT" >> Wire.GPO "INIT" >> row1:"hello" > > > looks fine, too. Maybe I'm too old to read the fine-print on the image - but what I _can_ read at http://www.camscode.org/images/lcd/th_schaltplan.jpg doesn't look like 4-Bit mode to me. Does setting it to 'Bits "8"' help? Just a thought Martin |
From: Martin H. <ma...@he...> - 2004-02-25 13:42:45
|
Koma wrote: > On Tue, 24 Feb 2004 20:40:22 +0100 > Martin Hejl <ma...@he...> Ha Scritto: > > [~] Hi everybody, > [~] > [~] (sorry Michael, I hit "reply" instead of "reply all" by mistake). > [~] > [~] >> # cat /etc/lcd4linux.conf Display "HD44780" > [~] >> Port "0x378" > [~] >> Size "16x2" > [~] >> Bits "4" > [~] >> Wire.RW "GND" > [~] >> Wire.RS "AUTOFD" > [~] >> Wire.ENABLE "STROBE" > [~] >> Wire.ENABLE2 "SELECT" > [~] >> Wire.GPO "INIT" > [~] >> row1:"hello" > [~] > > [~] > > [~] > looks fine, too. > [~] Maybe I'm too old to read the fine-print on the image - but what I _can_ > [~] read at http://www.camscode.org/images/lcd/th_schaltplan.jpg doesn't > [~] look like 4-Bit mode to me. > [~] > [~] Does setting it to 'Bits "8"' help? > [~] > [~] Just a thought > [~] > [~] Martin > [~] > [~] > -Snip- > > Hi i know the italian is the most difficult language to understand :) The language actually wasn't the problem - more the fact that the image was so small that it was very hard to read. > I attach to you the images and the pin set. > And the PDF with the data sheet :) > > Connecting LCD pins to Parallel port pins and power. > > > 1 Earth (Black wire on Molex connector) Earth > 2 +5V (Red wire on Molex connector) Power > 3 Earth (Black wire on Molex connector) > 4 Parallel Port pin 16 (Green/white wire) Register Select > 5 Earth (Black wire on Molex connector) > > > In the schemas: > > Italian English > Porta Parallela Parallel Port > Alimentazione +5 (alimentation power) > LCD You know :D > > Html doc to see the pin usage :) (ciao.html) > > Very very very onorated for your help :D Ok, looking at the schematic you sent, your config looks way off. It if you wired it like on the schematics (and if I didn't screw up reading the schematics), it should look like this: Port "0x378" Size "16x2" Bits "8" Wire.RW "AUTOFD" Wire.RS "INIT" Wire.ENABLE "STROBE" Wire.ENABLE2 "GND" Wire.GPO "GND" I hope that helps Martin |