Home AMX User Forum NetLinx Studio

Yamaha YSP-5100 (Soundbar)

jjamesjjames Posts: 2,908
Has anyone dealt with this before or similar? Looking for the serial protocol, but am not having much luck.

Thanks!

Comments

  • truetrue Posts: 307
    I've written a module for the RX-V2700, 3800, and YSP-3100, but with I think it was the Z1 receiver, the protocol finally changed. The YSP-5100 likely uses either protocol, but if it uses the former, you'll need to know the receiver model ID in the protocol spec in order to talk to it IIRC.
  • jjamesjjames Posts: 2,908
    Finally getting around to it - where do I find the Model ID?
  • truetrue Posts: 307
    Actually, my module may have looked for it to know what to set certain variable sizes to for responses to certain commands and featuresets. I honestly can't remember - it's been at least a couple years since I worked with a Yamaha anything (other than a motorcycle).
  • jjamesjjames Posts: 2,908
    No worries, I finally got it working.

    It is a piece though . . .
  • nuoHepnuoHep Posts: 3
    Hello.
    Currently trying to write a module for YSP-4100. I'm following the spec for 3000/4000 YSPs (found at http://www.yamaha-service.de/download.php?archivset=1&newsset=&idcat1=1&idcat2=50&idcat3=89&idprod=1417&lang=e). But not having much luck.
    It's connected by a cross cable with only pins 2, 3 and 5 used (haven't tried to wire pins 7 and 8 yet as one of our 'masterminds' told me that he had seen them controlled with only these 3 at his last job).
    I'm trying to send "DC1, '000', ETX" for a 'ready' command and "STX, '0787F', ETX" to power it off (as per spec, I believe). Sadly, it does not respond to anything.
  • felixmoldovanfelixmoldovan Posts: 197
    Your code for power off should be similar to:
    SEND_STRING dvYamaha, "$02,'0787F',$03"
    
    STX and ETX are acronyms for the start/end transmission delimiters, and should not be interpreted literally.
  • nuoHepnuoHep Posts: 3
    Umm, yeah. I know that :p
    I have all of the non-printables from the pdf doc defined as constants so it's actually sent as hex.

    Anyway, just before leaving work I tried to use cable switcher (rs232 m-f that crosses 2 and 3 pins) and I actually got $00 from Yamaha when I plugged it in the controller. Though it still was not responding to my requests. So it looks like it may actually be the wrong cable. Will try tomorrow with connected 7 and 8 pins at Yamaha's side.

    Still, if someone (jjames >.>) actually got it working, I'd be very happy if he shares some info about the protocol/cables, etc. I don't need any actual code, just simple guidelines to see if I understood the paper correctly or if the protocol for 4100/5100 is not the same as the one described in the pdf.
  • jjamesjjames Posts: 2,908
    Per the protocol document, it says 7 and 8 are required for hardware handshaking, so you'll also need to enable it on the master (SEND_COMMAND dvYamaha, "'HSON'"); I had a bear of a time getting it to initially start talking. Upon further reading, I saw that it needs a "Start Communication" (see page one of your document) command, so I send it a "$11,'1F4',$1F4,$03" command to get it going. I have NO IDEA if this is correct, perhaps someone else can chime in, but it seems to get it up and running. After that, all commands work.

    As it stand right now, we have two of these in a job and one is working great while the other hiccups from time to time and requires the Soundbar to be powered on and off manually to get it back on track. Sometimes a simple "HSON" command will get it going too; there seems to be no rhyme or reason to it that I can see of yet.

    I have also yet to see an any advantage to go with serial control over IR with the exception of setting a turn on volume, which although I'm not sure, could be done through the setup menus in the thing.

    Definitely not a fun piece, that's for sure. I'd venture to guess Denon's would be a bit easier to control given Denon's history of serial controlled devices. (I'm not even sure if Denon's has serial control, but if it did . . . well - you know what I'm saying.)
  • I do not know if they changed the hw/protocol with newer models, but I am controlling a 4100 with one way serial on an ir port and works every time. I definitely do no handshaking or other device preparations. If I were you I would look closer at the cable.
  • Spire_JeffSpire_Jeff Posts: 1,917
    A little late, but it seems the command to start communications is "$11,0,0,0,$3" and not "$11,'000',$3".

    Does anyone use the direct volume command with success? I keep getting a setting guard message.

    Thanks,
    Jeff
Sign In or Register to comment.