Results 1 to 10 of 16
Thread: Big Problems - OC LCD Card
-
09-06-2010, 05:29 PM #1
Big Problems - OC LCD Card
Hi everyone,
I am having trouble getting this card to work correctly. I am using a 20x2 LCD Display, HD44780 Standard (http://www.maplin.co.uk/media/pdfs/N29AZ.pdf).
Basically, when I plug the card into the USB (with LCD attatched), it is recognised by the PC. The Opencockpits USBLCD Check application sucessfully indentifies the LCD Card, so there is no USB problem.
The LCD screen itself lights up its backlighting. Also, the top line of the LCD display is filled with black squares (not random squares, they occupy the correct LCD locations).
I designed a very simple IOCLcd Display:
And this SIOC script:
Code:Var 0004, name LCD Var 0 Value 0 { &LCD = 0 }
Jack
-
09-07-2010, 06:22 AM #2
Re: Big Problems - OC LCD Card
Jack,
I think that you miss a variable for virtual display selection (in your SIOC script). Something like this:
Code:Var 4 Value 0 // virtual display selector Var 5 name LCD Var 6 Value 0 { &LCD = 0 }
Did you define a IOClcd.ini?
regards,
Nico
-
09-07-2010, 08:47 AM #3
Re: Big Problems - OC LCD Card
Hi Nico,
I will post my SIOC.ini later today. Many thanks for your information.
Jack
-
09-07-2010, 12:16 PM #4
Re: Big Problems - OC LCD Card
yes, and your IOCLCD.INI
-
09-07-2010, 12:38 PM #5
Re: Big Problems - OC LCD Card
Hi Nico,
This is my IOCLCD.ini:
Code:[ 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=95 [ 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 ]
Code:[SIOC] IOCP_port=8092 IOCP_timeout=4000 Minimized=Yes toggle_delay=20 CONFIG_FILE=ttt.ssi [IOCARDS MODULE] IOCard_disable=No IOCard_LPT=No [DEVICE INFORMATION] USBSERVOS=0,77 deviceUSB=2132 [USBEXPANSION] USB=Yes [MULTIPLE] MUSB=Yes [USBKEYS] USBKeys=0,67 [MASTERS] MASTER=0,4,1,91 [NUMBER MASTERS] NCards=1 [A/D USED MASTER] USB_AD=4 [FSUIPC MODULE] FSUipcdisable=No FSUipcRefresh=50 [IOCP CLIENTS MODULES] IOCPini_delay=3000 IOCPclient0_disable=Yes IOCPclient0_host=localhost IOCPclient0_port=8090 IOCPclient1_disable=Yes IOCPclient1_host=localhost IOCPclient1_port=8099 [SOUND MODULE] Sound_disable=Yes Volume=100
-
09-07-2010, 02:55 PM #6
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: Big Problems - OC LCD Card
Hi Jack,
Few pointers to follow;
1.Hardware can be checked by setting up text(via IOLCDconfig) and IOlcd.ini is correct. Run iolcd.exe (dont need sioc) and what text you have configured
should appear on your lcd. May have to adjust contrast. If you can't get this then your hardware is not right.
2. IOLCD card has 4 pins to connect to 4 physical LCD modules. If you configured for Display 0 the there is one pin from the IOLCD card that has been
designated for display 0. Make sure you have the correct one and only one. Ive seen people connect all 4 to one module and others have selected another
display other than what they defined in IOLCDconfig program.
Hope this helps.
Les
-
09-07-2010, 03:05 PM #7
Re: Big Problems - OC LCD Card
Hi Les,
This is how my Display is wired:
Nico's file do not work for me either so I think something is wrong. However! Earlier today, I fired up IOLCD and SIOC, and all the black squares cleared... Apart from threee very small dots on the first character. Surely this is soemthing?
-
09-07-2010, 03:16 PM #8
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: Big Problems - OC LCD Card
Jack,
Got to go to work now, its wed morn. Will get back to u later if others havnt helped.
Les
-
09-07-2010, 03:20 PM #9
Re: Big Problems - OC LCD Card
FANTASTIC NEWS!!!!!!
After some fiddling around, doing random stuff with IOLCD.exe, SIOC, etc, randomly, three letters appeared on the LCD Display. L, C and R, just like Nico's script dictated!!! This definitely proves SIOC is communciating with the Display!!!
The only problem is, is that I don't know how I did this! I just changed the USB number in the Config file from 33 to 95 (95 is what it should be), and it worked! But now, I do the exact same thing... And nothing happens? There is communication... But it is very strange!
-
09-08-2010, 05:26 AM #10
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: Big Problems - OC LCD Card
Jack,
You seem to be nearly there. If you have been able to get the letters L C R up then its basically working. Why you cant repeat it is puzzling. Sure you dont have any funny connections, id recheck these. Make sure youre not trying to run too much off your usb power connections. I would leave backlighting
disconnected till you get reliable operation. This maybe dragging down your voltage. As i said in my last post, SIOC does not need to be running to get the
text up on the display.
Les
Your wiring seems to be correct if its wired as per your diagram.
Similar Threads
-
IO Cards Problem setting up Display Card on Master Card
By Barrykensett in forum OpenCockpits General DiscussionReplies: 1Last Post: 05-02-2009, 01:30 PM -
Problems with Install of Second Video Card
By colt45 in forum Computer Hardware SetupReplies: 15Last Post: 03-11-2009, 08:57 AM -
New input card disconnecting the other card
By Michael Carter in forum Computer Hardware SetupReplies: 7Last Post: 01-23-2009, 12:01 PM -
USBkeys card problems
By Georg Schneider in forum OpenCockpits General DiscussionReplies: 1Last Post: 06-28-2008, 01:55 PM -
Potential buyer: VNAV problems, A/P problems?
By 737aqua in forum PM General Q & AReplies: 13Last Post: 04-26-2008, 09:21 PM