0

RS232 to projector



Hello Roku community (my first post here) I have a question regarding the connection of a BrightSign HD1010 to a video projector Pannasonic PT-D5700E. I would like to power on the projector with a serial command form the BrightSign player. The manual form the projector tells me this:

Power ON (Lamp ON) Hexadecimal: 02h 41h 44h 5Ah 5AH 3Bh 50h 4Fh 4Eh 03h Character: A D Z Z ; P O N

The ADZZ stands for all projectors, PON for ON. The commands forks fine if I send it from my laptop like this: myPort.write(2); // as BYTE myPort.write("ADZZ;PON"); // as STRING myPort.write(3); // as BYTE I tried many different things based on the interactive example from the download section, but the projector won't power on. I also used a serial monitor program on my computer to see if there is anything coming from the serial port. The command was there, but there was also a lot of other information coming. I think the problem is with the start byte 2 and the end byte 3. Do you have suggestion how I might get this to work? Greetings form Switzerland and excuse my English... Roland

4 comments

  • 0
    Avatar
    fatharry


    Instead of this:

    myPort.write(2);  // as BYTE
    myPort.write("ADZZ;PON");  // as STRING
    myPort.write(3);  // as BYTE

    Try:

    myPort.write(2);    // as BYTE
    myPort.write(65);  // as BYTE
    myPort.write(68);  // as BYTE
    myPort.write(90);  // as BYTE
    myPort.write(90);  // as BYTE
    myPort.write(59);  // as BYTE
    myPort.write(80);  // as BYTE
    myPort.write(79);  // as BYTE
    myPort.write(78);  // as BYTE
    myPort.write(3);    // as BYTE

    The "write string" function may be adding some CR/LF characters...

    Harry J.
  • 0
    Avatar
    RokuLyndon


    Actually, that projector actually takes a string in the middle. Are you using a brightauthor project?

    That extra info is most likely the debug mode being on in the autorun file you're using. Or are you using only a custom script?

    I got the same projector to work when I was in France last.

    Technically what you're doing on the brightsigns is:

    SendByte(2)
    SendBlock(ADZZ;PON)
    SendByte(3)

    I know this has worked, with those exact same commands.
  • 0
    Avatar
    Bart Wermuth


    have done it in that way several times, without problems,
    just make sure the debug mode = off.
    when the roku boots, and the debug mode is on, it spits all sorts of data over the serial port, the panasonic doesn't like that, and won't listen to the rightt commands.
    just open a texteditor and change the autorun file, debug = off

    greetz

    Bart Wermuth
  • 0
    Avatar
    Roland TL


    Yes that was it. The debug was on.
    Thanks!

    I also found this to set that to OFF by default:

    Under C:/program files/brightsign/brightauthor/templates, you'll find the master autorun file, named autoxml.brs. You can copy that to your desktop, open it, then set debugon to FALSE.


Please sign in to leave a comment.