Log in

View Full Version : Opencockpits USB LCD Issue



markusr
02-04-2010, 04:31 PM
Hi guys,

i have received today my USB LCD Card from openeockpits.
I have wired up a 20x4 LCD Display, when i plug the card via USB in the display will show up and shows me on each 4 lines and 20 blocks, black blocks.
So the display is fine.
I configured it via IOClcd_config.exe and saved my file. The display was configured in the first step with static text.
Than started IOClcd.exe and the display is still showing black blocks. also when i run sioc, the same, black blocks.
I tried it with the settings from Niko http://www.lekseecon.nl/iocards.html#USBLCD --> same thing, black blocks.

I dont have any idea anymore....

Please help to get this display running.
Thanks a lot.
Markus

SIOC Code:

Var 5000 value 0
Var 5001 value 0

lcd ini file:

[ fichero de configuracion para IOClcd ]
[ Configuration file for IOClcd ]

[ Arranque minimizado en la barra ]
[ Start minimized in tray ]
Minimized=No

[ Múltiples USBs ]
[ Non unique USB ]
MUSB=NO

[ Número de periférico para el USB ]
[ USB Device number ]
deviceUSB=34

[ IP del HOST del servidor ]
[ IOCP server host name ]
IOCP_host=localhost

[ Puerto de envio del protocolo IOCP ]
[ IOCP port ]
IOCP_port=8092

[ Tiempo de respuesta máximo de los paquetes IOCP ]
[ IOCP Timeout ]
IOCP_timeout=4000

[ Tiempo en refresco de las pantallas LCD (ms)]
[ Time refresh for LCD (ms) ]
refresh=80

[ Fichero de configuracion ]
[ Configuration File ]
CONFIG_FILE=.\_IOClcd.lcd


[ End of File ]

iwik
02-05-2010, 02:55 AM
Hi Markus,
Try adjusting your contrast control.Your ini file looks ok.You dont need to run SIOC to test that the LCD module will display your characters.As soon as you run IOLCD.exe your display sould show what you have written.Try also display numbers 0 thru 3.You may be writting to a display you havnt got connected.Let us know how you go.We will get you up and running.Good Luck
Les

markusr
02-05-2010, 10:06 AM
I think the display is defect. I have tried it now with FSLCD, but it was either not working.
I have already 2 displays via FSLCD up and running and they work.
I will try another display and keep you updated.

iwik
02-05-2010, 02:22 PM
Good to hear you are making progress.
Les

markusr
02-06-2010, 07:32 AM
I have just noticed that the LCD has a KS0066 controller, not the HD47780.
I have searched, but they should be the same controller type.
This is the datasheet:
http://www2.produktinfo.conrad.com/datenblaetter/175000-199999/187275-da-01-en-LCD_Modul_20x4_Zeichen_LED.pdf

I have uploaded a picture in the attachment.
So it looks like after rewiring and connected to the usb card. all lines black.
Is it really dead? Can somebody confirm this, than i will buy a new one next week.

thanks,
Markus

iwik
02-06-2010, 02:14 PM
Hi Marcus,
Ive looked on O/C site and someone has used Conrad 181657 20x4 ANG which uses a KS0066 so it should be ok.Just make sure you have only wired ONE of pins 27,28,29,30 to PIN 6 of your LCD module.Ive had someone connect all 4 pins(27,28,29,30) to pin 6.Hope this helps.
Les

markusr
02-06-2010, 02:18 PM
Hi Les,

i have only connected 1 Pin (Pin 29 from the 40 pin cable) to Pin 6 from my display.
I found on ebay a new lcd module (http://cgi.ebay.de/LCD-Display-HD44780-4x20-chr-20x4-Black-NEG-Backlight_W0QQitemZ170440872374QQcmdZViewItemQQptZBauteile?hash=item27af1151b6)
I think I will buy it, its not so expensive.

Can you please try the following: plug your USB LCD Card to the pc and look how many lines get black. I would guess 2 of them, the first and the third, or?

regards,
Markus

iwik
02-06-2010, 02:34 PM
Hi Marcus,
i have some spare ones similar to what you are after DE-LM005(Google for Data),not needed anymore.I can send to you if you want,NO CHARGE,just like to help out a fellow builder.
Just let us know if i can help.I also have some 40x2 that work well.
Rgds
Les