Note: 

  • USB to Serial adaptor must be installed on your system in order to control your Samsung TV.
  • Ned Null Modem Cable between your adaptor and TV's RS232 IN port. 
  • In TV settings - Ensure RS232C control is enabled for MDC control.
  • The Hex Codes used in this example are for TV's which use the Samsung MDC Protocol. Please consult the documentation for your TV for displays which do not use this protocol. 


Direct Serial Control Instructions

  1. Install CoolTerm (http://freeware.the-meiers.org/) on your player machine
  2. Go to Connection --> Options and configure the parameters for your USB to Serial connection (be sure to select your device). [9600, 8, N, 1 and No Flow Control]

  3. Click Connect and then go to Connection --> Send String
  4. Enter the Samsung Power ON or Off Strings below in HEX and confirm operation. 
  5. Go to File --> Save As Default [this allows us to not have to call up a connection string every applescript]
  6. Quit out of CoolTerm completely
  7. In ~sedna go to the commands section and click + to add an Applescript
  8. Copy and Paste the Applescript commands below and place them in an Arrangement Command Layer or Day Template.


Samsung MDC Power On Hex

 

AA 11 FE 01 01 11

 

Samsung MDC Power Off Hex

 

AA 11 FE 01 00 10

 


Apple Script - SAMSUNG MDC POWER ON 


tell application "CoolTerm"
set d to Hex2Str ("AA 11 FE 01 01 11")
set w to WindowID (0)
 Connect w
 delay .2
 Write {w, d}
 delay 1
 Disconnect w
 delay 0.2
 CloseWindow w
 Quit
end tell


Apple Script - SAMSUNG POWER OFF

 

tell application "CoolTerm"
	set d to Hex2Str ("AA 11 FE 01 00 10")
	set w to WindowID (0)
	Connect w
	delay 0.2
	Write {w, d}
	delay 0.5
	Disconnect w
	delay 0.2
	CloseWindow w
	Quit
end tell

 


NOTE:  If following this guide for Non-Samsung TV's please observe this command is sent as hex and there is no CR for samsung sets so Write {w, d} is used. 

  • If the TV being controlled requires a carriage return at the end of the string - replace Write with WriteLine. 
  • Remove Hex2Str and parentheses on line two of the AppleScript and include your required ASCII command.