[Approved] - Display driver for vfd Futaba MDM166A in minidisplay plugin | Page 4

Discussion in 'Submit: code patches (MediaPortal/TV-Server/etc.)' started by Datenschredder, February 22, 2012.

  1. Datenschredder

    Datenschredder Portal Member

    Joined:
    December 9, 2011
    Messages:
    29
    Likes Received:
    9
    Ratings:
    +14 / 0
    Home Country:
    Germany Germany
    Sure, I will do so, hopefully this evening when being back at home.

    I encapsuled the classes in one cs file because I feared that you MP developers would not like to have too many files in the minidisplay Project. But of course I will do it. I also believe, that you can base on These mdm166a documents. It is likely that it works the same way.

    You probably should not use is my single line concept, because it is not so clever. I never programmed a display driver before and did not know how to handle a matrix easily and differ between 2 or more lines. So I investigated a little bit and made use of this concept for a single line solution, which also provides a font editor, which I use in the optional settings and which is a very nice thing to have...: http://www.codeproject.com/Articles/29461/Led-Font-Creator-with-Scrolling-Display


     
    Last edited: July 10, 2014
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    More interresting stuff :) I think protocols between Futaba displays are quite different. At least they are between GP1212A01A and GP1212A02A.
     
  4. Datenschredder

    Datenschredder Portal Member

    Joined:
    December 9, 2011
    Messages:
    29
    Likes Received:
    9
    Ratings:
    +14 / 0
    Home Country:
    Germany Germany
    Not sure because I only programmed one :) Maybe I can learn from your code for your futaba model, how to implement 2 rows. As promised, please find attached the description I used to program the futabacom class.
     

    Attached Files:

    • Thank You! Thank You! x 1
  5. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    It's a graphic display so you just send your pixels. It's up to you to compose an image with two lines of characters. My code is published at http://hg.slions.net .
    You want to look at MiniDisplay which build a DLL and SharpMiniDisplay which provides a very basic UI from which you can drive your display.
    Those are very early draft though. For now I only support GP1212A01A.
    The DLL is C++ and does the HID connection and implements the protocol.
    The C# application renders the display in a container and sends it to the device.
    The idea is to implement a client server solution much like SoundGraph did for iMON so that multiple applications can publish informations on your display.
    It's still very early work but you could reuse some of those concept to implement multi-line in you MP driver.
    I'll try support that MDM166A eventually but don't hold your breath.
     
    Last edited: July 11, 2014
  6. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    How did you fit your display in your housing? Did you use some kind of filters? Could you provide pictures?
     
    Last edited: July 11, 2014
  7. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    I asked Futaba for that MDM166A datasheet which they kindly promptly provided. See attached document.
     

    Attached Files:

    • MDM166AA_J.pdf
      File size:
      334.2 KB
      Uploaded:
      July 11, 2014
      Views:
      267
  8. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    That's a funny little device. It does not even have a back buffer so refresh is possibly visible though the whole VRAM is just 192 bytes which is less than a 10th of my GP1212As so I guess you don't get to notice much tearing.
    Interestingly one can control the dimming of the volume indicator individually. I which one could do that per pixels for the GP1212As :)
     
  9. uxDesign

    uxDesign Portal Pro

    Joined:
    December 10, 2011
    Messages:
    83
    Likes Received:
    22
    Occupation:
    Software Developer
    Location:
    near Munich
    Ratings:
    +42 / 1
    Home Country:
    Germany Germany
    Show System Specs
    I'm trying to compile the MinidisplayLibrary but there are some interface changes. I will post the dll when I've fixed the issues.
     
    • Thank You! Thank You! x 1
  10. Stéphane Lenclud
    • Team MediaPortal

    Stéphane Lenclud Development Group

    Joined:
    April 29, 2013
    Messages:
    2,559
    Likes Received:
    652
    Gender:
    Male
    Ratings:
    +1,265 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Indeed, minor ones though.

    I thought @Datenschredder was working on it himself...
     
  11. uxDesign

    uxDesign Portal Pro

    Joined:
    December 10, 2011
    Messages:
    83
    Likes Received:
    22
    Occupation:
    Software Developer
    Location:
    near Munich
    Ratings:
    +42 / 1
    Home Country:
    Germany Germany
    Show System Specs
    The MinidisplayLibrary .dll work fine with 1.8. Dll and sources attached. I'm not familiar with git. Can somebody check in the files?
     

    Attached Files:

    • Thank You! Thank You! x 2
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!