home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Input / Output interfaces
Mini Display
Zalman HD135 VFD (VlSys Mplay)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Herr R aus B" data-source="post: 219599" data-attributes="member: 62807"><p><strong>Custom chracters</strong></p><p></p><p>Here is what I've found out about the custom characters:</p><p></p><ul> <li data-xf-list-type="ul">the VFD allows for defining eight custom characters</li> <li data-xf-list-type="ul">each character is displayed in a matrix of eight rows and five columns</li> <li data-xf-list-type="ul">to define one row, one byte is used</li> <li data-xf-list-type="ul">within this byte the five lowest bits are used to switch on and off pixels</li> </ul><p>The attached file <strong><em>dolby.txt</em></strong> (plain ascii text) which came with the MHC software contains the definition for the user defined display content as shown in the attached picture. Following the above statements, the given hex code values for the eight characters can be transformed to respective bitmaps:</p><p>[CODE][FONT="Courier New"]</p><p>#1 #2 #3 #4 #5 #6 #7 #8 | #1 #2 #3 #4 #5 #6 #7 #8</p><p>00 1F 1F 07 1F 1F 1F 1F | ····· ●●●●● ●●●●● ··●●● ●●●●● ●●●●● ●●●●● ●●●●●</p><p>00 13 19 04 00 00 00 01 | ····· ●··●● ●●··● ··●·· ····· ····· ····· ····●</p><p>00 11 11 05 13 14 08 15 | ····· ●···● ●···● ··●·● ●··●● ●·●·· ·●··· ●·●·●</p><p>00 11 11 05 0A 14 0E 09 | ····· ●···● ●···● ··●·● ·●·●· ●·●·· ·●●●· ·●··●</p><p>00 11 11 05 0A 14 0A 09 | ····· ●···● ●···● ··●·● ·●·●· ●·●·· ·●·●· ·●··●</p><p>00 11 11 05 13 17 0E 09 | ····· ●···● ●···● ··●·● ●··●● ●·●●● ·●●●· ·●··●</p><p>00 13 19 04 00 00 00 01 | ····· ●··●● ●●··● ··●·● ····· ····· ····· ····●</p><p>00 1F 1F 07 1F 1F 1F 1F | ····· ●●●●● ●●●●● ··●●● ●●●●● ●●●●● ●●●●● ●●●●●</p><p></p><p>character definition character bitmap representation</p><p>[/FONT][/CODE]</p><p></p><p>And this matches exactly the special characters shown in the picture I took of the VFD.</p><p></p><p>According to the COM port log your guess for the command was almost right. But it seems as if it is just <strong><span style="font-family: 'Courier New'">AD {64 bytes character definition}</span></strong>:</p><p></p><p><span style="font-family: 'Courier New'"><strong>000213: 01.01.2008 13:01:20.234 +3.0</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>00 00 00 ...</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p><span style="font-family: 'Courier New'"><strong>000215: 01.01.2008 13:01:20.250 +0.015</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>AD <span style="color: Blue">1F 01 15 09 09 09 01 1F </span>00 00 00 00 00 00 00 *...............</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>00 <span style="color: Blue">1F 13 11 11 11 11 13 1F </span>1F 19 11 11 11 11 19 ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>1F <span style="color: Blue">07 04 05 05 05 05 04 07 </span>1F 00 13 0A 0A 13 00 ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>1F <span style="color: Blue">1F 00 14 14 14 17 00 1F </span>1F 00 08 0E 0A 0E 00 ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>1F .</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p>And once again here are these three 0x00...</p><p></p><p>Analyzing this and comparing it to the definition it seems, as if setting the custom character definitions is done by sending the following sequence:</p><p></p><p><strong><span style="font-family: 'Courier New'">00 00 00 </span></strong></p><p><strong><span style="font-family: 'Courier New'">AD </span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #8}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #1}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #2}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #3}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #4}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #5}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #6}</span></strong></p><p><strong><span style="font-family: 'Courier New'">{8 bytes for character #7}</span></strong></p><p></p><p>I wonder, why character #8 is first - but that is what I am reading from the COM port log... Writing the characters to the display then is easy as well - 0x01 represents character #1, 0x02 is character #2 and finally 0x08 is character #8. This matches the COM port log, when the logo is set:</p><p></p><p><strong><span style="font-family: 'Courier New'">000217: 01.01.2008 13:01:20.281 +0.031</span></strong></p><p><strong><span style="font-family: 'Courier New'"></span></strong></p><p> <strong><span style="font-family: 'Courier New'">A1 00 A7 <span style="color: Blue">02 03 04 05 06 07 08</span> 20 44 69 67 69 74 ¡.§....... Digit</span></strong></p><p> <strong><span style="font-family: 'Courier New'">61 6C 20 20 20 20 20 00 al .</span></strong></p><p><strong><span style="font-family: 'Courier New'"></span></strong></p><p><strong><span style="font-family: 'Courier New'">000219: 01.01.2008 13:01:20.281 +0.0</span></strong></p><p><strong><span style="font-family: 'Courier New'"></span></strong></p><p> <strong><span style="font-family: 'Courier New'">A2 00 A7 35 2E 31 20 53 79 73 74 65 6D 20 20 20 ¢.§5.1 System </span></strong></p><p> <strong><span style="font-family: 'Courier New'">20 20 20 20 20 20 20 00 .</span></strong></p><p><strong><span style="font-family: 'Courier New'"></span></strong></p><p></p><p>What I found was, that MHC transfers the character definition each time before it displays the custom characters. I wonder whether that's a must or not. </p><p></p><p>That's all about these custom characters. Could be used to display the MP logo though <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> maybe like this:</p><p></p><p>[CODE][FONT="Courier New"]</p><p>#1 #2 #3 #4 #5 #6 #7 #8 | #1 #2 #3 #4 #5 #6 #7 #8</p><p>03 18 1F 1F 03 18 0E 0E | ···●● ●●··· ●●●●● ●●●●● ···●● ●●··· ·●●●· ·●●●·</p><p>0F 1E 1F 1F 0F 1E FF 1B | ·●●●● ●●●●· ●●●●● ●●●●● ·●●●● ●●●●· ●●●●● ●●·●● </p><p>1F 1F 1F 1F 1C 07 FF 0E | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ·●●●·</p><p>1F 1F 1F 1F 1C 07 FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ·····</p><p>1F 1F 1F 1F 1C ß7 FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ·····</p><p>1F 1F 1F 1F 0F 1E FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ·●●●● ●●●●· ●●●●● ·····</p><p>1F 1F 0F 1E 03 18 FF 00 | ●●●●● ●●●●● ·●●●● ●●●●· ···●● ●●··· ●●●●● ·····</p><p>1F 1F 03 18 00 00 0E 00 | ●●●●● ●●●●● ···●● ●●··· ····· ····· ·●●●· ·····</p><p></p><p>character definition character bitmap representation</p><p>[/FONT][/CODE]</p><p></p><p>Applying this to the MHC software using <strong><em>mediaportal.txt</em></strong> as definiton file produces the following COM port traffic:</p><p></p><p><span style="font-family: 'Courier New'"><strong>000002: 01.01.2008 18:03:07.984 +1.750</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>00 00 00 ...</strong></span></p><p><span style="font-family: 'Courier New'"><strong>000004: 01.01.2008 18:03:08.0 +0.015</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>AD 0E 1B 0E 00 00 00 00 00 03 0F 1F 1F 1F 1F 1F *...............</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>1F 18 1E 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 0F ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>03 1F 1F 1F 1F 1F 1F 1E 18 03 0F 1C 1C 1C 0F 03 ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>00 18 1E 07 07 07 1E 18 00 0E 1F 1F 1F 1F 1F 1F ................</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>0E .</strong></span></p><p><span style="font-family: 'Courier New'"><strong>000006: 01.01.2008 18:03:08.031 +0.031</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>A1 00 A7 <span style="color: Blue">01 02 01 02 05 06 </span>20 20 20 20 20 20 20 ¡.§...... </strong></span></p><p> <span style="font-family: 'Courier New'"><strong><span style="color: Blue">07 07 08</span> 20 20 20 20 00 ... .</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p><span style="font-family: 'Courier New'"><strong>000008: 01.01.2008 18:03:08.031 +0.0</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p> <span style="font-family: 'Courier New'"><strong>A2 00 A7 <span style="color: Blue">03 04 03 04</span> 20 20 20 20 20 4D 65 64 69 ¢.§.... Medi</strong></span></p><p> <span style="font-family: 'Courier New'"><strong>61 50 6F 72 74 61 6C 00 aPortal.</strong></span></p><p><span style="font-family: 'Courier New'"><strong></strong></span></p><p>The result can be watched in the attached picture of the VFD.</p><p></p><p>(the attached files <strong><em>dolby.txt </em></strong>and <strong><em>mediaportal.txt </em></strong>must be renamed to <strong><em>dolby.cg </em></strong> and <strong><em>mediaportal.cg </em></strong>to be used for use with the MHC software)</p></blockquote><p></p>
[QUOTE="Herr R aus B, post: 219599, member: 62807"] [b]Custom chracters[/b] Here is what I've found out about the custom characters: [LIST] [*]the VFD allows for defining eight custom characters [*]each character is displayed in a matrix of eight rows and five columns [*]to define one row, one byte is used [*]within this byte the five lowest bits are used to switch on and off pixels [/LIST] The attached file [B][I]dolby.txt[/I][/B] (plain ascii text) which came with the MHC software contains the definition for the user defined display content as shown in the attached picture. Following the above statements, the given hex code values for the eight characters can be transformed to respective bitmaps: [CODE][FONT="Courier New"] #1 #2 #3 #4 #5 #6 #7 #8 | #1 #2 #3 #4 #5 #6 #7 #8 00 1F 1F 07 1F 1F 1F 1F | ····· ●●●●● ●●●●● ··●●● ●●●●● ●●●●● ●●●●● ●●●●● 00 13 19 04 00 00 00 01 | ····· ●··●● ●●··● ··●·· ····· ····· ····· ····● 00 11 11 05 13 14 08 15 | ····· ●···● ●···● ··●·● ●··●● ●·●·· ·●··· ●·●·● 00 11 11 05 0A 14 0E 09 | ····· ●···● ●···● ··●·● ·●·●· ●·●·· ·●●●· ·●··● 00 11 11 05 0A 14 0A 09 | ····· ●···● ●···● ··●·● ·●·●· ●·●·· ·●·●· ·●··● 00 11 11 05 13 17 0E 09 | ····· ●···● ●···● ··●·● ●··●● ●·●●● ·●●●· ·●··● 00 13 19 04 00 00 00 01 | ····· ●··●● ●●··● ··●·● ····· ····· ····· ····● 00 1F 1F 07 1F 1F 1F 1F | ····· ●●●●● ●●●●● ··●●● ●●●●● ●●●●● ●●●●● ●●●●● character definition character bitmap representation [/FONT][/CODE] And this matches exactly the special characters shown in the picture I took of the VFD. According to the COM port log your guess for the command was almost right. But it seems as if it is just [B][FONT="Courier New"]AD {64 bytes character definition}[/FONT][/B]: [FONT="Courier New"][B]000213: 01.01.2008 13:01:20.234 +3.0 00 00 00 ... 000215: 01.01.2008 13:01:20.250 +0.015 AD [COLOR="Blue"]1F 01 15 09 09 09 01 1F [/COLOR]00 00 00 00 00 00 00 *............... 00 [COLOR="Blue"]1F 13 11 11 11 11 13 1F [/COLOR]1F 19 11 11 11 11 19 ................ 1F [COLOR="Blue"]07 04 05 05 05 05 04 07 [/COLOR]1F 00 13 0A 0A 13 00 ................ 1F [COLOR="Blue"]1F 00 14 14 14 17 00 1F [/COLOR]1F 00 08 0E 0A 0E 00 ................ 1F . [/B][/FONT] And once again here are these three 0x00... Analyzing this and comparing it to the definition it seems, as if setting the custom character definitions is done by sending the following sequence: [B][FONT="Courier New"]00 00 00 AD {8 bytes for character #8} {8 bytes for character #1} {8 bytes for character #2} {8 bytes for character #3} {8 bytes for character #4} {8 bytes for character #5} {8 bytes for character #6} {8 bytes for character #7}[/FONT][/B] I wonder, why character #8 is first - but that is what I am reading from the COM port log... Writing the characters to the display then is easy as well - 0x01 represents character #1, 0x02 is character #2 and finally 0x08 is character #8. This matches the COM port log, when the logo is set: [B][FONT="Courier New"]000217: 01.01.2008 13:01:20.281 +0.031 A1 00 A7 [COLOR="Blue"]02 03 04 05 06 07 08[/COLOR] 20 44 69 67 69 74 ¡.§....... Digit 61 6C 20 20 20 20 20 00 al . 000219: 01.01.2008 13:01:20.281 +0.0 A2 00 A7 35 2E 31 20 53 79 73 74 65 6D 20 20 20 ¢.§5.1 System 20 20 20 20 20 20 20 00 . [/FONT][/B] What I found was, that MHC transfers the character definition each time before it displays the custom characters. I wonder whether that's a must or not. That's all about these custom characters. Could be used to display the MP logo though :D maybe like this: [CODE][FONT="Courier New"] #1 #2 #3 #4 #5 #6 #7 #8 | #1 #2 #3 #4 #5 #6 #7 #8 03 18 1F 1F 03 18 0E 0E | ···●● ●●··· ●●●●● ●●●●● ···●● ●●··· ·●●●· ·●●●· 0F 1E 1F 1F 0F 1E FF 1B | ·●●●● ●●●●· ●●●●● ●●●●● ·●●●● ●●●●· ●●●●● ●●·●● 1F 1F 1F 1F 1C 07 FF 0E | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ·●●●· 1F 1F 1F 1F 1C 07 FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ····· 1F 1F 1F 1F 1C ß7 FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ●●●·· ··●●● ●●●●● ····· 1F 1F 1F 1F 0F 1E FF 00 | ●●●●● ●●●●● ●●●●● ●●●●● ·●●●● ●●●●· ●●●●● ····· 1F 1F 0F 1E 03 18 FF 00 | ●●●●● ●●●●● ·●●●● ●●●●· ···●● ●●··· ●●●●● ····· 1F 1F 03 18 00 00 0E 00 | ●●●●● ●●●●● ···●● ●●··· ····· ····· ·●●●· ····· character definition character bitmap representation [/FONT][/CODE] Applying this to the MHC software using [B][I]mediaportal.txt[/I][/B] as definiton file produces the following COM port traffic: [FONT="Courier New"][B]000002: 01.01.2008 18:03:07.984 +1.750 00 00 00 ... 000004: 01.01.2008 18:03:08.0 +0.015 AD 0E 1B 0E 00 00 00 00 00 03 0F 1F 1F 1F 1F 1F *............... 1F 18 1E 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 1F 0F ................ 03 1F 1F 1F 1F 1F 1F 1E 18 03 0F 1C 1C 1C 0F 03 ................ 00 18 1E 07 07 07 1E 18 00 0E 1F 1F 1F 1F 1F 1F ................ 0E . 000006: 01.01.2008 18:03:08.031 +0.031 A1 00 A7 [COLOR="Blue"]01 02 01 02 05 06 [/COLOR]20 20 20 20 20 20 20 ¡.§...... [COLOR="Blue"]07 07 08[/COLOR] 20 20 20 20 00 ... . 000008: 01.01.2008 18:03:08.031 +0.0 A2 00 A7 [COLOR="Blue"]03 04 03 04[/COLOR] 20 20 20 20 20 4D 65 64 69 ¢.§.... Medi 61 50 6F 72 74 61 6C 00 aPortal. [/B][/FONT] The result can be watched in the attached picture of the VFD. (the attached files [B][I]dolby.txt [/I][/B]and [B][I]mediaportal.txt [/I][/B]must be renamed to [B][I]dolby.cg [/I][/B] and [B][I]mediaportal.cg [/I][/B]to be used for use with the MHC software) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Input / Output interfaces
Mini Display
Zalman HD135 VFD (VlSys Mplay)
Contact us
RSS
Top
Bottom