0

Controling a Samsung 460MX-2 with RS232



Hello! Im trying to get a Brightsign HD1010 to change the input on a Samsung-screen over RS232 with a GPIO-action. I have tried a couple of different ways of writing the string, but i can't get it to work. According to the samsung manual the command should be in hex and what I can find is that power on (just for easy-testing) should be: 0xAA 0x11 0xFF 1 1 12 AA is the header, 11 the command, FF is ID, 1 is datalenght, 1 is "power on" and 12 is the sum of every number exept the header. (accualy 112, but for 3 digit sums, remove the first digit) How im I supposed to write the command in BrightAuthor? Thanx! //Dan

12 comments

  • 0
    Avatar
    RokuLyndon


    Are these all supposed to be sent as hex values?
  • 0
    Avatar
    Dannoo7


    According to the RS232-manual, everything should be sent in Hex.

    I have go in touch in someone at Samsung Techsupport that helped me connect to the display with samsungs own pc-program. Its a start anyway <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> I hope he can help me with the commands as well.

    Thanks for now!

    //Dan
  • 0
    Avatar
    RokuLyndon


    Try this version of brightauthor.

    THe original build 23 had debug mode turned on by default. This sent extra output to the serial port. that may be what's causing you trouble.
  • 0
    Avatar
    Dannoo7


    I used "spy-mode" in my rs232-monitor and got this string when sending with samsungs own program:

    ª<DC1>þ<SOH><NUL><DLE>

    This is "send in hex"-mode. When using "send as acsii"-mode, I get the clear message that I sent, AA 11 FE 01 00 10.

    Is there some way to get the brightsign to send in Hex via BrightAuthor ?

    //Dan
  • 0
    Avatar
    RokuLyndon


    Yes, use the sendbyte command, which expects the decimal value of the hex you want to send. So, to send a hex value of A, you would send the decimal equivaluent: 10. You would add multiple send byte commands in brightauthor..

    To send:
    AA 11 FE 01 00 10

    Sendbyte:

    170
    17
    254
    1
    0
    16
  • 0
    Avatar
    Dannoo7


    Hello again!

    This is what the HD1010 sends when i use send byte and one for each hex.

    Button Press 2
    sendSerialByteCommand 170
    ªsendSerialByteCommand 20
    sendSerialByteCommand 254
    þsendSerialByteCommand 1
    sendSerialByteCommand 20
    sendSerialByteCommand 39

    But the display doesn't react. Any ideas?

    //Dan
  • 0
    Avatar
    RokuLyndon


    It looks like you didn't install the new brightauthor I sent. That output is because debug mode is on. So, there's extra output on the serial. If you open the autorun.brs text file on your flash card, and set debugon to false. That will fix the problem. Or, if you install the newer version, then debug mode will be off by default.
  • 0
    Avatar
    Dannoo7


    At last!

    Debug mode = false was the last peace of the puzzle!

    Thanks for all your help!

    //Dan
  • 0
    Avatar
    securitron


    Dan,

    Sorry to bring back this thread from the dead, I sent you a PM regarding what the codes are for the 460 series displays. Where did you get the reference manual to what the codes are and what they do?  Any help would be great.

    Thanks,

    Russ
  • 0
    Avatar
    RokuLyndon


    I didn't see your pm. Are you asking me where to find the manual for that display? I would assume it's on their website. I don't believe I have a copy of it. Did you already check their website? The next play I'd look would be google.
  • 0
    Avatar
  • 0
    Avatar
    Dan Johnson

    Here are some Samsung Hex to Decimal conversions that will work with the above documented method. I have included the checksum calculation in Hex and Decimal for each command. Please pay special attention when calculating the checksum. The Checksum needs to be calculated in Hex first, then converted to decimal using the calculator provided above. If the checksum exceeds 2 digits, discard the first digit and convert the remaining 2 digits to decimal. The header (in this case the AA) is not part of the checksum calculation, only the Command+ID+Data Length+Data1 (Data value) are part of the checksum calculation.

    Here are the Hex command examples including checksum;

     

    Power on Hex=                                  AA,11,FE,01,01,11

    Power on Decimal=                         170,17,254,1,1,17

    Power Off Hex=                                AA,11,FE,01,00,10

    Power Off Decimal=                        170,17,254,1,0,16

     

    HDMI input Hex =                            AA,14,FF,01,21,35

    HDMI input Decimal =                    170,20,255,1,33,53

    DVI input Hex =                                 AA,14,FF,01,18,2C

    DVI input Decimal =                         170,20,255,1,24,44

    VGA input Hex =                               AA,14,FF,01,14,28

    VGA input Decimal =                       170,20,255,1,20,40

     

    Volume + Hex=                                 AA,62,FF,01,00,62

    Volume + Decimal =                        170,98,255,1,0,98

    Volume - Hexl =                                AA,62,FF,01,01,63

    Volume - Decimal =                         170,98,255,1,1,99

    Volume set to 9 Hex =                    AA,12,FF,01,09,1B

    Volume set to 9 Decimal =            170,18,255,1,9,27

     

    OSD On Hex =                                    AA,70,FF,01,01,71

    OSD On Decimal =                            170, 112,255,1,1,113

    OSD Off Hex =                                    AA,70,FF,01,00,70

    OSD Off Decimal =                           170, 112,255,1,0,112

Please sign in to leave a comment.