Zitat: |
Serial Communication to/from "FIS Fool" Serial command Byte1 Byte2-31 (RXD) (RXD) Byte2-31 content Action ------------------------------------------------------------------------------- 0xFF none none uC outputs version info on serial TXD line: Byte1: Version info byte 1 Byte2: Version info byte 2 Byte3: Version info byte 3 Note: The version number can be calculated in the following way: Byte1: Not to be considered Version = (Byte1 * 0x10000) + (Byte2 * 0x100) + (Byte3) Example: Byte1 = 0x01 Byte2 = 0x86 Byte3 = 0xA0 Version = (0x01 * 0x10000) + (0x86 * 0x100) + (0xA0) = ( 0x10000 ) + ( 0x8600 ) + (0xA0) = 0x186A0 = 100000d = V1.0.00.0.0 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 0x10 none none uC stops sending FIS data and sets the relay outputs to connect the radio lines to the dashboard. Radio data will then be displayed. ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 0x82 yes any ASCII character Static text for FIS line 1 followed by 0x00 (FIS displays only first 8 char's) 0x84 yes any ASCII character Static text for FIS line 2 followed by 0x00 (FIS displays only first 8 char's) 0x8A yes any ASCII character Scrolling text for FIS line 1 followed by 0x00 (FIS displays scrolls whole text) 0x8C yes any ASCII character Scrolling text for FIS line 2 followed by 0x00 (FIS displays scrolls whole text) General: - All ASCII data must be terminated with 0x00 - Any ASCII data longer than 30 characters will be ignored. - ASCII data shorter than 8 bytes (line length of FIS) is automatically filled with blanks. Examples: (1) Display first 8 char's in line 1 of FIS: HEX.......: 80,31,32,33,34,35,36,37,38,61,62,63,64,65,66,67,68,00 ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8, a, b, c, d, e, f, g, h,-- FIS line1.: 12345678 FIS line2.: empty (2) Display first 8 char's in line 1 and line 2 of FIS: HEX.......: 80,31,32,33,34,35,36,37,38,00 ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8,-- HEX.......: 81,61,62,63,64,65,66,67,68,00 ASCII.....: --, a, b, c, d, e, f, g, h,-- FIS line1.: 12345678 FIS line2.: abcdefgh (3) Display scrolling text in line 1 and line 2 of FIS: HEX.......: 80,31,32,33,34,35,36,37,38,39,00 ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8, 9,-- HEX.......: 81,61,62,63,64,65,66,67,68,69,00 ASCII.....: --, a, b, c, d, e, f, g, h, i,-- FIS line1.: 1st 12345678 -> 2nd 23456789 ... FIS line2.: abcdefgh -> bcdefghi ... |
Zitat: |
Meine Frage: Wie ist es möglich,ID3Tag Infos so zu verarbeiten, das sie a) an die Serielle Schnittstelle geleitet werden und b) für die FISFool Platine verständlich sind? Antwort: Aufbereitung der Tags auf dem PC (wie auch immer). Für Winamp gibt es z.B. eine gen_com.dll mit der sich die Infos aus Winamp in ein VB Programm bringen lassen. Also müßte z.B. ein VB Front-End her, das die Zwischenschicht zwischen Winamp und dem FIS-Fool macht. in VB läßt sich dann auch die RS232 entsprechend bedienen. Das Protokoll zum FIS-Fool ist hier beschrieben: http://home.tiscali.de/matthiasklumpp/FisFool/Graphics/FISFool_Description.txt |