MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Input / Output interfaces » External Display » Improvement Suggestions


Improvement Suggestions Improvement Suggestions for the external displays feature

Closed Thread
 
Thread Tools Display Modes
Old 2007-04-20, 07:16   #1 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 131
Thanks: 1
Thanked 4 Times in 4 Posts

Country:

My System

Improvement Suggestion - Done Support for Futaba display of FIC Spectra HTPC

Started on: 2007-04-20
last update: 2007-09-07

Summary:
I'm asking for Futaba USB 7x1 blue display mounted on FIC Spectra

Description:
the display is a blue VFD with seven 14 segments characters and many icons such as TV, MUSIC, REC, volume bar...it works fine with provided driver under MCE but no way to make it work under MP

http://www.pcauthority.com.au/review.aspx?CIaRID=2724

I have identified the PID and VID of my USB display: PID(0x7000) and VID(0x0547)
__________________
Andrea Tincani
AndreaVB Programming

Il Portale per Lui e Lei

Last edited by andreavb; 2007-09-07 at 13:51.
andreavb is offline  
Old 2007-04-20, 11:43   #2 (permalink)
Retired Team Member
 
JoeDalton's Avatar
 
Join Date: Sep 2004
Location: Belgium
Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts

My System

Send a message via MSN to JoeDalton
Default

Until now I haven't found a way to communicate with an USB display (that does not map to a virtual serial port) from C#.

Perhaps someone could post some example code?

I also started to work on an MCE compatible display plugin. Perhaps this will work for you...

I never completed it because I had to spend too much time resolving the incompatibilities between MCE and MP. Still working on the MP internals to solve these kinds of problems though... I see you are a .NET programmer yourself, maybe you have the time to finnish it?

Joe
JoeDalton is offline  
Old 2007-05-28, 09:04   #3 (permalink)
Portal User
 
Join Date: May 2007
Age: 37
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Can I second this request.

I love using Media Portal, but have an Elonex Artisan home build, which uses the same VFD. It would be great to see it working!

Cheers, Lee
LSCOLMAN is offline  
Old 2007-09-04, 23:25   #4 (permalink)
Retired Team Member
 
JoeDalton's Avatar
 
Join Date: Sep 2004
Location: Belgium
Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts

My System

Send a message via MSN to JoeDalton
Default

Take a look at the ScaleoEV driver in SVN and replace the vendor and product ids with yours. Maybe that works too. That was the trick to get the MSI Media Live display to work too...

Joe
JoeDalton is offline  
Old 2007-09-05, 10:55   #5 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 131
Thanks: 1
Thanked 4 Times in 4 Posts

Country:

My System

Default

Hi Joe, happy to see you again going on in developing new drivers for displays!!...I'll install a sniffer USB software to see the messages sent to my FIC Spectra Futaba Display (1 line with 7 characters and some icons), then I'll try to write a simple VB6 code to send text to the display using WriteFile api command...would it be of help to create a MP driver for this display?? I also have HID and PID and once I'll have the USB command structure would it be possible for you or someone who knows MP source code to implement this VFD??

thanks for your great support
__________________
Andrea Tincani
AndreaVB Programming

Il Portale per Lui e Lei
andreavb is offline  
Old 2007-09-05, 12:22   #6 (permalink)
Retired Team Member
 
JoeDalton's Avatar
 
Join Date: Sep 2004
Location: Belgium
Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts

My System

Send a message via MSN to JoeDalton
Default

That would certainly help

I hope you understand I don't have the time to look whether I can find any example code or documentation for every requested display type. I am depending on you to provide that...

Joe
JoeDalton is offline  
Old 2007-09-07, 13:21   #7 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 131
Thanks: 1
Thanked 4 Times in 4 Posts

Country:

My System

Default

Hi Joe!!

I got it!!!

I've made a little VB6 program able to write characters to FIC Spectra Futaba display!!
I've retrieved the handle of the file corresponding with this HID device PID(0x7000) and VID(0x0547), it is a composite USB device so it has three instances, I've selected the one with 65 output buffer lenght (that is the first one returned by a FindTheHid function) and then once opened with API CreateFile I've send a buffer with WriteFile

the buffer is composed by 0x00 0x8B 0x04 0x01 0x07 xx xx xx xx xx xx xx 0x00 0x00 0x00... (filled with 00s the 65 byte buffer) where xx are the ascii codes of the characters to display...the display only supports uppercase and numbers

attached is the VB6 code...is just a first try to get it to work but enought to display characters...I'll try also to lit the different icons of the display but I don't know if this will be possible to implement with the MP internal structure

i.e. will it be possible to lit the REC icon when a recording is in place? or TV GUIDE icon or VOLUME bar according to MP master volume control?
Attached Files
File Type: zip fic_spectra.zip (10.5 KB, 63 views)
__________________
Andrea Tincani
AndreaVB Programming

Il Portale per Lui e Lei

Last edited by andreavb; 2007-09-09 at 17:06.
andreavb is offline  
Old 2007-09-08, 07:13   #8 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 131
Thanks: 1
Thanked 4 Times in 4 Posts

Country:

My System

Default

OK, I've got the codes for all the icons too:

so this is a little command list to control the display
00 8B 04 01 07 xx xx xx xx xx xx xx -> where xx are the ASCII codes of the seven characters to display

00 85 02 01 aa ss -> where aa is the code of the icon and ss is the state (00=off, 01=on)

00 85 02 02 a1 s1 a2 s2 -> a1 s1 = code and state of the first icon, a2 s2 = code and state of the second icon

00 85 02 nn a1 s1 a2 s2 .... an sn -> where nn is the number of icon values present in the buffer and then a couple of bytes for every icon to set with icon number in the first byte and state in the second one

so here's the icon numbers list:
01 = VOLUME icon
02 to 0C = volume bars
0E = SHUFFLE icon
0F = MUTE
10 = PHONE
11 = REC
12 = RADIO
13 = DVD
14 = VCD
15 = CD
16 = MUSIC
17 = PHOTO
18 = TV
19 = cd/dvd disk icon
1A = 5.1 icon
1B = 7.1 icon
1E = REPEAT icon
1F = ALL icon
20 = REW
21 = PAUSE
22 = PLAY
23 = TIMER
24 and 25 = GUIDE (double led)
26 = HOME
28 = eject icon
29 = FWD
2A = KHz
2B = MHz

so this will be the buffer to lit the REC icon
00 85 02 01 11 01
and this to turn off rec icon
00 85 02 01 11 00

every sent buffer has to be filled with 00 after the command to reach 65 bytes.
P.S...all the numbers are in HEX notation
Attached Thumbnails
support-futaba-display-fic-spectra-htpc-100_0769.jpg  support-futaba-display-fic-spectra-htpc-100_0770.jpg  
__________________
Andrea Tincani
AndreaVB Programming

Il Portale per Lui e Lei

Last edited by andreavb; 2007-09-09 at 17:07.
andreavb is offline  
Old 2007-09-14, 17:47   #9 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 34
Posts: 131
Thanks: 1
Thanked 4 Times in 4 Posts

Country:

My System

Default

OK, I've added the driver to the current Media Portal SVN...

here is my new ProcessPlugins.dll and the code I've changed, hope someone will add it to the new SVN and to the new distribution of MP...I have to do a little modification to the code to adjust the volume bar according to master MP volume (I have to divide it by 4 before lighting up the display bars)...I'll do it in the next days, I don't know how to publish my code so please help me...hope Joe will add it (and check it) to MP SVN

in code.zip you have the new settings.cs into the ExternalDisplay folder, VFD_Control.cs into VFD_Control folder and FicSpectra.cs to add into the Drivers folders

code moved to post #11
__________________
Andrea Tincani
AndreaVB Programming

Il Portale per Lui e Lei

Last edited by andreavb; 2007-09-15 at 13:05. Reason: see post #11 for latest source code
andreavb is offline  
Old 2007-09-14, 21:54   #10 (permalink)
Retired Team Member
 
JoeDalton's Avatar
 
Join Date: Sep 2004
Location: Belgium
Age: 40
Posts: 425
Thanks: 1
Thanked 17 Times in 5 Posts

My System

Send a message via MSN to JoeDalton
Thumbs up

I've been real busy the last couple of days... Great to see that you were able to write a driver yourself
People often forget that MP is open source and they can improve it themselves

I'll check your modifications and add them to the SVN one of the next days. The weekend is already planned full, but the next week has a few holes left...

Joe
JoeDalton is offline  
Closed Thread

Bookmarks

Tags
display, fic, futaba, htpc, spectra, support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which LCD/VFD Display do you have in your HTPC Case ralphy General 4 2008-09-12 13:28
Display für HTPC Frank21777 Hardware 0 2007-08-21 15:42
Chosing a display for HTPC AllenConquest Hardware Selection Help 17 2006-03-20 23:57
Issues getting my HTPC to display on my TV properly... nettech_gt General Support 5 2006-03-19 03:24
multi display support? idznak Media Portal - Support 1 2005-05-10 09:32


All times are GMT +1. The time now is 06:56.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress