Home AMX User Forum AMX Technical Discussion
Options

SpeakerCraft MZC 88

have anyone had any success controlling the mzc 88. When i use speakercrafts Emulator program i can turn on and off a zone. when i use the send string i can only turn off a zone, any idea as to why this is so.

Ive tried using amx's module but its buggy for instance if i press volume down the volume goes up, If i select tuner 1 to control zone 1 turns on.

Any Ideas would be appreciated

Comments

  • Options
    davegrovdavegrov Posts: 114
    Speakercraft MZC-88

    I am also programming a Speakercraft MZC88. A few things I've learned as of today since I just got it going.

    1. The Interface has to be connnected to the control port and you must use a null modem cable. make sure the RSA-1.0 is flashed for two way communication.
    2. The Zone selection controls the zones and make that zone active for you to select source. You can only select the source for that active zone. You can only turn off the zones by using the power buttons.
    3. The module provides very little feedback. Line NONE


    My plan of attack is to bring all of the code into one rewritten module. My guess is about 8 hours of hard code writng, cutting and pasting. Let me know if you want to discuss more.
  • Options
    GfullGfull Posts: 19
    mzc88 Data event

    Thanks dave for the info

    Im having trouble using the data event to recieve the sirius meta data from an Onkyo t4555 hooked up through an rsa port on the MZC88. i've managed to extract the am/fm station from the mzc88.. but im having trouble trying to extract the channel name for the sirius device. Can anyone show me what im doing wrong or how they would go about extracting the info

    below is the info coming into port2 of the ni 4100 and my data event for the device. Line 11 is where the info is that im trying to extract starting with the genre, station name , station number, artist, title.



    ne 9 (15:13:35):: String From [5001:2:1]-[U$15'$00TUNER 1 99.7 MHz$00jU$08)$00$00Fc$00$D1]

    Line 10 (15:13:35):: String From [5001:2:1]-[U$16'$01TUNER 2 101.7 MHz$00GU$08)$01$00Fe$00$CEU$1A'$02Sirius/XM: 90s on 9 9$000]

    Line 11 (15:13:35):: String From [5001:2:1]-[U<$93$91 $00$00$01$00$01$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00Pop$0090s on 9 9$00Mr. Big$00To Be With$00$0A]

    Line 12 (15:13:35):: String From [5001:2:1]-[U$0B'$03IPOD 1$00$F9]






    DATA_EVENT [dvMZC88]
    {
    ONLINE:
    {
    SEND_COMMAND dvMZC88, "'SET BAUD 57600,N,8,1'"
    SEND_COMMAND dvMZC88, 'HSOFF'
    SEND_COMMAND dvMZC88, 'XOFF'
    SEND_COMMAND dvMZC88, 'CHARD-0'
    }
    STRING:
    {
    LOCAL_VAR CHAR TRASH[100], MZC88_BUFFER[100]
    cMZC88=DATA.TEXT
    SELECT
    {
    ACTIVE (FIND_STRING(cMZC88,'TUNER 1 ',1)): // Tuner 1 station (works)
    {
    TRASH=REMOVE_STRING(cMZC88,'TUNER 1 ',1)
    cMZC88_TUNER1=REMOVE_STRING(cMZC88,'Hz',1)
    send_command dTp[1], "'^BMF-1,0,%T',cMZC88_TUNER1"
    send_command dTp[2], "'^BMF-1,0,%T',cMZC88_TUNER1"

    }
    ACTIVE (FIND_STRING(cMZC88,'TUNER 2 ',1)): // Tuner 2 station (works)
    {
    TRASH=REMOVE_STRING(cMZC88,'TUNER 2 ',1)
    cMZC88_TUNER2=REMOVE_STRING(cMZC88,'Hz',1)
    send_command dTp[1], "'^BMF-2,0,%T',cMZC88_TUNER2"
    send_command dTp[2], "'^BMF-2,0,%T',cMZC88_TUNER2"
    }
    ACTIVE (FIND_STRING(cMZC88,'$93$91 ',1)): /// trying to extract the genre, station name, station ch, s
    {
    TRASH=REMOVE_STRING(cMZC88,'$93$91 $00$00$01$00$01$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00$00',1) /// remove everything up to begining char of station name
    MZC88_BUFFER = REMOVE_STRING(cMZC88,'$00',1) /// remove entire station name into buffer
    TRASH=RIGHT_STRING(MZC88_BUFFER,2) /// the $00 from the station name
    cMZC88_SIRIUS_CH_NAME=MZC88_BUFFER /////////////// only the station name should remain

    }

    }
    }

    }


    i am a novice at this but any help would be appreciated
  • Options
    davegrovdavegrov Posts: 114
    Extracting Data

    I'm relatively new but I think you need to remove everything up until the "n th" string prior to parsing the data. If you only remove the first instance of the $00 you still have all of the others in the variable. Again, I'm a novice at this as well.

    BTW-have you had any luck with the module or did you resort to serial control? If so do you have the serial command manual? Can you let me know.

    Dave
    ACE
  • Options
    GfullGfull Posts: 19
    MZC88
    davegrov wrote: »
    I'm relatively new but I think you need to remove everything up until the "n th" string prior to parsing the data. If you only remove the first instance of the $00 you still have all of the others in the variable. Again, I'm a novice at this as well.

    BTW-have you had any luck with the module or did you resort to serial control? If so do you have the serial command manual? Can you let me know.

    Dave
    ACE

    Thanks for the info i'll try it tommorrow

    i didn't use the module.. due to the fact that it didn't support feedback for the onkyo t4555(used for sirius radio and additional am/fm tuner). I haveto keep it hooked up to the mzc88 via the rsa 1.0 becuse i have 12 mode 3.0 keypads that recieve metadata from the device. So i'm writing my own code using the mzc control spec document and the emulator program

    If your a dealer for speakercraft you can download the emulator program which allows you to send and receive commands. Theres also a mzc control spec document that gives you the command structure ... if you cant download it give me your email and i'll email it to you.
  • Options
    Gfull wrote: »
    if you cant download it give me your email and i'll email it to you.

    That would be very nice of you if you please send me RSA firmware for remote controlling MZC-66 and whatever they have for making it easyer to hamzat_timur@yahoo.com
  • Options
    truetrue Posts: 307
    I was the first to write an AMX module for this piece. Though it was years ago, the pains are still fresh. :(

    Keep in mind the protocol document has inaccuracies.
Sign In or Register to comment.