LCD plugin supporting more than 70 display types (now with full graphics support!!!) (2 Viewers)

Status
Not open for further replies.

BoomAlien

Portal Member
August 19, 2005
27
0
Germany
JoeDalton

oh, what a pleasure. I possess still three GU140x32F-7000. So I'll solder a serial cable this weekend and try the display with Mediaportal.
Thanks for this wonderful plugin.
 

JoeDalton

Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    Crystalfontz 634 owners, I am working to get your display supported. I have a test program ready for you to try. You can download it here

    Instructions:
    • * Start the program
      * Choose the right port. Should be a COM port, even for USB displays. The CrystalFontz driver should create a fake COM port for your USB display.
      * Press the "Init" button.
      * Press the "Text" button. The display should show the text.
      * Press the "Clear" button. The display should be empty again.
    Also check whether you are able to get some text on the other lines.
    Please post any remarks (good or bad) here, or contact me on MSN...

    Joe
     

    kippie

    Portal Member
    December 8, 2005
    7
    0
    The Netherlands
    It's working

    It's working. Plain and simple.

    But, backlight control is not working as with the advanced button. Think this isn't supposed to work.

    After klicking clear I get errors when klicking
    Button Init:
    Crystalfontz634.Initialize: Access to the port 'COM3' is denied.
    Button Text:
    Crystalfontz634.SetLine: The port is closed.
    Button Clear:

    Exeption:
    ************** Exception Text **************
    System.InvalidOperationException: The port is closed.
    at System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count)
    at ProcessPlugins.ExternalDisplay.CrystalFontz634.Clear()
    at LCDTest.Form1.button3_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    LCDTest
    Assembly Version: 1.0.2213.42738
    Win32 Version: 1.0.2213.42738
    CodeBase: file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/Rar$EX39.640/LCDTest.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------

    Sometimes I can click continue and write to the lcd before a 'big' crash.
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    The advanced button is not supposed to do anything, no.
    The backlight control is not implemented yet. I'll have to check in the docs how to do that.

    As for the clear problem. If I understand you correctly, everything works fine, until you press Clear? After that you get exceptions on all buttons?

    Make sure you don't click Init twice, because that could cause these problems... Try this sequence:
    1) Init
    2) Text
    3) Clear
    4) Text

    Joe
     

    tkortell

    Portal Pro
    April 13, 2005
    320
    0
    44
    Vaasa / Sulva
    Home Country
    Finland Finland
    I'm not sure if I'm posting this in the right plase but here goes.

    I borrowed a HD44780 display (2x40) from a friend and might buy it if I get it to work with MP.

    The problem is that I don't know how to connect it to the computer, on the display there are a 16 pin connection. Should it be connected to a serial port or the parallel port? I'm guessing the parallel port.

    Does anyone have a good wiring scheme? PM me please ;)

    Regards // Tomas
     

    kippie

    Portal Member
    December 8, 2005
    7
    0
    The Netherlands
    JoeDalton said:
    Make sure you don't click Init twice, because that could cause these problems... Try this sequence:
    1) Init
    2) Text
    3) Clear
    4) Text

    Joe
    If I do it like you say, I don't get any errors and I can play with the lcd.
    Need something else tested?
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    kippie said:
    If I do it like you say, I don't get any errors and I can play with the lcd.
    Need something else tested?
    Nope, that's it! Everything works ok, so the next step is adding the driver to MediaPortal.
    I must say I expected a lot more problems but hey, I'm not complaining :wink:

    If I find the time I'll add the driver tonight.

    Joe
     

    kippie

    Portal Member
    December 8, 2005
    7
    0
    The Netherlands
    JoeDalton said:
    Nope, that's it! Everything works ok, so the next step is adding the driver to MediaPortal.
    I must say I expected a lot more problems but hey, I'm not complaining :wink:

    If I find the time I'll add the driver tonight.

    Joe
    I'll try the cvs tomorrow. :eek: I'm feeling good lalala
     

    hanfmaster

    Portal Pro
    January 25, 2006
    170
    0
    Usa
    Home Country
    Sami Sami
    first of all hi ;)

    so i lookt a little round, because i have a problem!
    my latters dance *g* and not al letters are shown
    i'v got a 4x16 HD44780 kompatible clcd.

    i have no problm with lcdhype!
    and no i don't have lcdhype an media portal running at the same time ;)
    i'v got the same setup as with LCDhype!

    were is my problem?
     

    JoeDalton

    Retired Team Member
  • Premium Supporter
  • September 27, 2004
    425
    18
    56
    Belgium
    Home Country
    Belgium Belgium
    My first guess is that your display is a bit slow. MP is sending the data to it too fast. Try increasing the Comm. Delay value for TextMode. Also be sure that the (advanced) settings are exactly the same than in LCDHype. Their names can be a bit different, but you'll be able to figure out which is which.

    If it works in LCDHype it should also work in MediaPortal, as my plugin uses the LCDHype driver...

    Joe
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom