RS232-C Command Sheet
Serial Port Setup
Baud Rate | 38400 bps |
---|---|
Data Length | 8 bits |
Parity | None |
Stop Bit Length | 1 bit |
Flow Control | None |
Overview
The serial commands consists of 8 data bits, followed by 1 stop bit. The commands are constructed:
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
---|---|---|---|---|---|---|---|---|
Opening Bit | Device ID | Command Type | Command Category | Command Value | Stop Bit | |||
|
|
| 0x73 (SET) |
|
|
Note that the “0x” is the standard notation to indicate hexadecimal values. They are a way of notation, not part of the hexadecimal value. The hexadecimal value of “0x6B” is 6B.
Depending on your terminal software, you may need to include or exclude these notation indicators.
Every serial command starts with the same opening bit 0x6B (character “k” in ASCII).
The second and third bits, specify the device ID. The default device ID is “01”, which is 0x30 0x31 in hexadecimal notation.
The fourth bit defines the type of the command.
0x73 (“s” in ASCII) indicates a SET command.
0x67 (“g” in ASCII) indicates a GET request command.
0x72 (“r” in ASCII) indicates a reply from the device. Replies are returned by the device.
The fifth bit is reserved for the category of the command. (eg. Power Control, Input Signal Control, etc…)
Consult the command table below for the bits corresponding with each category.
The sixth, seventh and eight bits are used to perform a specific command within the category, or write a value to a specific command.
Values are set with 3 characters, even in hexadecimal notation.
Example values:
0x30 0x30 0x30 equals “000”
0x30 0x35 0x32 equals “052”
0x30 0x38 0x35 equals “085”
0x31 0x30 0x30 equals “100”
When sending a GET request, after the category bit, the value bits should always be 0x30 0x30 0x30 (000). The device will reply with the current active setting in that category return these value bits.
Every serial command ends with the same stop bit 0x0D (return character).
Command Table (SET)
CATEGORY BIT | VALUE BITS | FULL COMMAND EXAMPLES | |
---|---|---|---|
Power Control | 0x41 | 000: Power Off | 0x6B 0x30 0x31 0x73 0x41 0x30 0x30 0x30 0x0D |
001: Power On | 0x6B 0x30 0x31 0x73 0x41 0x30 0x30 0x31 0x0D | ||
Video Input Source Switching | 0x42 | 000: ATV | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x30 0x0D |
010: DTV | 0x6B 0x30 0x31 0x73 0x42 0x30 0x31 0x30 0x0D | ||
001: AV | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x31 0x0D | ||
003: YPbPr | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x33 0x0D | ||
004: HDMI Front | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x34 0x0D | ||
014: HDMI 1 | 0x6B 0x30 0x31 0x73 0x42 0x30 0x31 0x34 0x0D | ||
024: HDMI 2 | 0x6B 0x30 0x31 0x73 0x42 0x30 0x32 0x34 0x0D | ||
006: VGA | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x36 0x0D | ||
007: OPS | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x37 0x0D | ||
009: DP | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x39 0x0D | ||
00A: HOME | 0x6B 0x30 0x31 0x73 0x42 0x30 0x30 0x41 0x0D | ||
Image Control: Contrast | 0x43 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x43 0x30 0x35 0x30 0x0D (example value 050) |
Image Control: Brightness | 0x44 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x44 0x30 0x35 0x30 0x0D (example value 050) |
Image Control: Sharpness | 0x45 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x45 0x30 0x35 0x30 0x0D (example value 050) |
Image Control: Saturation | 0x46 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x46 0x30 0x35 0x30 0x0D (example value 050) |
Image Control: Hue | 0x47 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x47 0x30 0x35 0x30 0x0D (example value 050) |
Image Control: Color Temp | 0x48 | 000: Standard | 0x6B 0x30 0x31 0x73 0x48 0x30 0x30 0x30 0x0D |
001: Warm | 0x6B 0x30 0x31 0x73 0x48 0x30 0x30 0x31 0x0D | ||
002: Cold | 0x6B 0x30 0x31 0x73 0x48 0x30 0x30 0x32 0x0D | ||
003: User | 0x6B 0x30 0x31 0x73 0x48 0x30 0x30 0x33 0x0D | ||
Audio Control: Bass | 0x4A | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x4A 0x30 0x35 0x30 0x0D (example value 050) |
Audio Control: Treble | 0x4B | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x4B 0x30 0x35 0x30 0x0D (example value 050) |
Video Control: Aspect Ratio | 0x4D | 000: Aspect ratio 16:9 | 0x6B 0x30 0x31 0x73 0x4D 0x30 0x30 0x30 0x0D |
001: Aspect ratio 4:3 | 0x6B 0x30 0x31 0x73 0x4D 0x30 0x30 0x31 0x0D | ||
002: Auto | 0x6B 0x30 0x31 0x73 0x4D 0x30 0x30 0x32 0x0D | ||
003: Panorama | 0x6B 0x30 0x31 0x73 0x4D 0x30 0x30 0x33 0x0D | ||
004: PTP (Pixel To Pixel) | 0x6B 0x30 0x31 0x73 0x4D 0x30 0x30 0x34 0x0D | ||
Device Settings: Language | 0x4E | 000: English | 0x6B 0x30 0x31 0x73 0x4E 0x30 0x30 0x30 0x0D |
001: French | 0x6B 0x30 0x31 0x73 0x4E 0x30 0x30 0x31 0x0D | ||
002: Spanish | 0x6B 0x30 0x31 0x73 0x4E 0x30 0x30 0x32 0x0D | ||
003: Chinese Traditional | 0x6B 0x30 0x31 0x73 0x4E 0x30 0x30 0x33 0x0D | ||
004: Chinese Simplified | 0x6B 0x30 0x31 0x73 0x4E 0x30 0x30 0x34 0x0D | ||
Audio Control: Volume | 0x50 | Value 000 - 100 | 0x6B 0x30 0x31 0x73 0x50 0x30 0x35 0x30 0x0D (example value 050) |
200: Volume Down (-1) | 0x6B 0x30 0x31 0x73 0x50 0x32 0x30 0x30 0x0D | ||
201: Volume Up (+1) | 0x6B 0x30 0x31 0x73 0x50 0x32 0x30 0x31 0x0D | ||
Audio Control: Mute | 0x51 | 000: Mute Off | 0x6B 0x30 0x31 0x73 0x51 0x30 0x30 0x30 0x0D |
001: Mute On | 0x6B 0x30 0x31 0x73 0x51 0x30 0x30 0x31 0x0D | ||
Remote Control Commands | 0x55 | 000: Navigate Up | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x30 0x0D |
001: Navigate Down | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x31 0x0D | ||
002: Navigate Left | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x32 0x0D | ||
003: Navigate Right | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x33 0x0D | ||
004: Enter | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x34 0x0D | ||
005: Input | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x35 0x0D | ||
006: Menu | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x36 0x0D | ||
007: Exit | 0x6B 0x30 0x31 0x73 0x55 0x30 0x30 0x37 0x0D |
Command Table (GET)
CATEGORY BIT | FULL REQUEST EXAMPLES | REPLY BITS | FULL REPLY EXAMPLES | |
---|---|---|---|---|
Image Status: Contrast | 0x61 | 0x6B 0x30 0x31 0x67 0x61 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x61 0x30 0x35 0x30 0x0D (example status 050) |
Image Status: Brightness | 0x62 | 0x6B 0x30 0x31 0x67 0x62 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x62 0x30 0x35 0x30 0x0D (example status 050) |
Image Status: Sharpness | 0x63 | 0x6B 0x30 0x31 0x67 0x63 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x63 0x30 0x35 0x30 0x0D (example status 050) |
Image Status: Saturation | 0x64 | 0x6B 0x30 0x31 0x67 0x64 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x64 0x30 0x35 0x30 0x0D (example status 050) |
Image Status: Hue | 0x65 | 0x6B 0x30 0x31 0x67 0x65 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x65 0x30 0x35 0x30 0x0D (example status 050) |
Audio Status: Volume | 0x66 | 0x6B 0x30 0x31 0x67 0x66 0x30 0x30 0x30 0x0D | Value 000 - 100 | 0x6B 0x30 0x31 0x72 0x66 0x30 0x35 0x30 0x0D (example status 050) |
Audio Status: Mute | 0x67 | 0x6B 0x30 0x31 0x67 0x67 0x30 0x30 0x30 0x0D | 000: Mute Off | 0x6B 0x30 0x31 0x72 0x67 0x30 0x30 0x30 0x0D |
001: Mute On | 0x6B 0x30 0x31 0x72 0x67 0x30 0x30 0x31 0x0D | |||
Video Input Source Status | 0x68 | 0x6B 0x30 0x31 0x67 0x68 0x30 0x30 0x30 0x0D | 000: ATV | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x30 0x0D |
010: DTV | 0x6B 0x30 0x31 0x72 0x68 0x30 0x31 0x30 0x0D | |||
001: AV | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x31 0x0D | |||
003: YPbPr | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x33 0x0D | |||
004: HDMI Front | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x34 0x0D | |||
014: HDMI 1 | 0x6B 0x30 0x31 0x72 0x68 0x30 0x31 0x34 0x0D | |||
024: HDMI 2 | 0x6B 0x30 0x31 0x72 0x68 0x30 0x32 0x34 0x0D | |||
006: VGA | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x36 0x0D | |||
007: OPS | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x37 0x0D | |||
009: DP | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x39 0x0D | |||
00A: HOME | 0x6B 0x30 0x31 0x72 0x68 0x30 0x30 0x41 0x0D | |||
Power Status | 0x69 | 0x6B 0x30 0x31 0x67 0x69 0x30 0x30 0x30 0x0D | 000: Power On | 0x6B 0x30 0x31 0x72 0x69 0x30 0x30 0x30 0x0D |
001: Standby Off | 0x6B 0x30 0x31 0x72 0x69 0x30 0x30 0x31 0x0D |