Thread: FM/DAB digital radio - THAT WORKS!!

  1. #1311
    Newbie
    Join Date
    Apr 2008
    Location
    Australia
    Posts
    31
    Hi mitch, your program works flawlessly! I know a bit of C# would you be able to flick me the source?
    Cheers.

  2. #1312
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Here is the small demo I made, I cant test it but it should work on CB's radio. The display may not show up but the buttons should work. Its a wpf apps so you will need a decent PC to run it.

    The DISPLAY, SCROLL UP, SELECT, SCROLL DOWN buttons are placed on the display area. Port is set to COM1 by default, you can change it on the setting page.

    If this work, writting a plugin for CF should be easy.

    Im assuming the module send out the display update regularly in this format :

    00 01 10 02 <LCD1> <LCD2>

    The pure DAB radios use FF as the sync byte so I was wrong to assume that CB's radio were also using FF.


    Edit :

    File deleted, check newer post.
    Last edited by ibf; 06-13-2011 at 02:12 AM.

  3. #1313
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by 0471430TK View Post
    If that would result in a plug-in that also will be updated for future releases of CF I would be willing to help. I could lend you mine or preferably I could buy you one if someone is selling.
    Its a one off help, Im only doing this to help people get their radio working in CF again. I doubt Ill have time to keep re writting this for future releases of CF.


    Quote Originally Posted by bes51659 View Post
    How can I tell if my module is V5 or V7?
    V7 has extra 2x7 holes/connector opposite the main 2x15 connector.


    Quote Originally Posted by BIRDMAN View Post
    How can I get this raw info out of my module for you ?
    Thanks for the offer, Dilmahay have already done it.
    Last edited by ibf; 06-13-2011 at 01:17 AM.

  4. #1314
    Newbie
    Join Date
    Apr 2008
    Location
    Australia
    Posts
    31
    Hi ibf, your program is working except for the Text, it's just blank.

  5. #1315
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by Dilmahay View Post
    Hey guys I have been following this thread for a while, After owning a CarPC for a while with centrafuse and a Venice 7 master module from CB, I have become sick of the bugs and lack of support so I decided to have a go at writing some code myself.

    I have been using libftdi in linux, and I have got the basic commands working, like power, seek up/down, presets etc. on page 125

    If anyone needs me to test anything I am more than happy to help. Also does anyone have the Venice 7 slave firmware?

    This is the output I get when I do a direct read of the master firmware module in DAB mode:

    Hex:
    0A 0A 00 01 10 02 4E 6F 76 61 4E 61 74 69 6F 6E 20 20 20 20 20 20 50 6C 61 79 69 6E 67 20 20 20 20 20 0A 20 20 20 20 00 01 10 02 4E 6F 76 61 4E 61 74 69 6F 6E 20 20 20 20 20 20 6F 6E 6C 69 6E 65 20 6E 0A 6F 77 3A 20 44 6A 20 4B 00 01 10 02 4E 6F 76 61 4E 61 74 69 6F 6E 20 20 20 20 20 20 6F 6E 6C 69 0A 6E 65 20 6E 6F 77 3A 20 44 6A 20 4B 00 01 10 02 4E 6F 76 61 4E 61 74 69 6F 6E 20 20 20 20 20 20 0A 6E 6C 69 6E 65 20 6E 6F 77 3A 20 44 6A 20 4B 72 00 01 10 02 4E 6F 76 61 4E 61 74 69 6F 6E 20 20 0A 20 20 20 20 6E 6C 69 6E 65 20 6E 6F 77 3A 20 44 6A 20 4B 72 00 01 10 02 4E 6F 76 61 4E 61 74 69 0A 6F 6E 20 20 20 20 20 20 6C 69 6E 65 20 6E 6F 77 3A 20 44 6A 20 4B 72 6F 00 01 10 02 4E 6F 76 61 0A 4E 61 74 69 6F 6E

    ASCII:
    �NovaNation Playing
    �NovaNation online n
    ow: Dj K�NovaNation onli
    ne now: Dj K�NovaNation
    nline now: Dj Kr�NovaNation
    nline now: Dj Kr�NovaNati
    on line now: Dj Kro�Nova
    Nation
    Did you have to send a command to get the module to spit those out? if not then the demo apps I made should work. Usually you will need to send 0x51 0x00 every 100ms to get the display update out of the module.

    By the way "0A" are scattered on the hex dump you have shown?

  6. #1316
    Newbie
    Join Date
    Apr 2008
    Location
    Australia
    Posts
    31
    Quote Originally Posted by ibf View Post
    Did you have to send a command to get the module to spit those out? if not then the demo apps I made should work. Usually you will need to send 0x51 0x00 every 100ms to get the display update out of the module.

    By the way "0A" are scattered on the hex dump you have shown?
    I done that dump using libftdi in linux. I'm not sure why there is 0A scattered...

    Here is a dump in windows, there is FF instead of 0A now?

    ff 01 10 02 20 20 20 57 65 6c 63 6f 6d 65 20 74 ˙... Welcome t
    6f 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 o
    20 20 20 20 ff 01 10 02 20 20 20 57 65 6c 63 6f ˙... Welco
    6d 65 20 74 6f 20 20 20 20 44 69 67 69 74 61 6c me to Digital
    20 52 61 64 69 6f 20 20 ff 01 10 02 4e 6f 76 61 Radio ˙...Nova
    20 39 36 39 20 20 20 20 20 20 20 20 20 44 69 67 969 Dig
    69 74 61 6c 20 52 61 64 69 6f 20 20 ff 01 10 02 ital Radio ˙...
    4e 6f 76 61 20 39 36 39 20 20 20 20 20 20 20 20 Nova 969
    43 6f 6e 6e 65 63 74 69 6e 67 2e 2e 2e 20 20 20 Connecting...
    ff 01 10 02 4e 6f 76 61 20 39 36 39 20 20 20 20 ˙...Nova 969
    20 20 20 20 43 6f 6e 6e 65 63 74 69 6e 67 2e 2e Connecting..
    2e 20 20 20 ff 01 10 02 4e 6f 76 61 20 39 36 39 . ˙...Nova 969
    20 20 20 20 20 20 20 20 50 6c 61 79 69 6e 67 20 Playing
    20 20 20 20 20 20 20 20 ff 01 10 02 4e 6f 76 61 ˙...Nova
    20 39 36 39 20 20 20 20 20 20 20 20 50 6c 61 79 969 Play
    69 6e 67 20 20 20 20 20 20 20 20 20 ff 01 10 02 ing ˙...
    4e 6f 76 61 20 39 36 39 20 20 20 20 20 20 20 20 Nova 969
    28 4c 6f 76 65 29 20 50 72 69 63 65 20 54 61 67 (Love) Price Tag
    ff 01 10 02 4e 6f 76 61 20 39 36 39 20 20 20 20 ˙...Nova 969
    20 20 20 20 28 4c 6f 76 65 29 20 50 72 69 63 65 (Love) Price
    20 54 61 67 ff 01 10 02 4e 6f 76 61 20 39 36 39 Tag˙...Nova 969
    20 20 20 20 20 20 20 20 4c 6f 76 65 29 20 50 72 Love) Pr
    69 63 65 20 54 61 67 20 ff 01 10 02 4e 6f 76 61 ice Tag ˙...Nova
    20 39 36 39 20 20 20 20 20 20 20 20 4c 6f 76 65 969 Love
    29 20 50 72 69 63 65 20 54 61 67 20 ff 01 10 02 ) Price Tag ˙...
    4e 6f 76 61 20 39 36 39 20 20 20 20 20 20 20 20 Nova 969
    6f 76 65 29 20 50 72 69 63 65 20 54 61 67 20 2d ove) Price Tag -

  7. #1317
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Quote Originally Posted by Dilmahay View Post
    Hi ibf, your program is working except for the Text, it's just blank.
    Can you control the radio with the buttons? If its blank then I will need to make sure that the radio does send out 00 01 10 02 <LCD1> <LCD2> format. See my previous post.

    Please do another hex dump and let me know if you need to send a command to get those out. I dont realy want to remove the sync byte and message ID check when getting the string for LCD1/LCD2.

  8. #1318
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Ok great

    So it is "FF 01 10 02" I will recompile to look for FF instead of 00, so I was right at first then LOL.

  9. #1319
    Newbie
    Join Date
    Apr 2008
    Location
    Australia
    Posts
    31
    Here's a .txt file, it might help you a bit more, I sent the diaplay command, so you can see what happens.
    Attached Files Attached Files

  10. #1320
    ibf
    ibf is offline
    Variable Bitrate
    Join Date
    Oct 2010
    Posts
    245
    Ok try this one :
    Attached Files Attached Files

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •