You are on page 1of 17

RS232/IR Protocol for NuVision

Version 3.9 19 January 2011 Models NVU19L NVU22L NVU26L NVU32L NVU32FX5 NVU37L NVU37FX5 NVU40FX5LS NVU42DCM NVU46FX5LS NVU47DCM NVU52DCM NVU55FX5LS NVU42FX5 NVU47FX5 NVU52FX5 NVU65FX5 NVU40FX10LS NVU46FX10LS NVU55FX10LS

REVISION NOTES V1.31 1. Delete the query commands of Toggle and Standby 2. Add query command of MUT for feeding back the information of Mute or UnMute. V1.32 1. TUNER (STX)KEY:16(ETX) response ER when there is no TUNER 2. PREVIOUS CHANNEL (STX)KEY:35(ETX) response ER when there is no TUNER 3. CHANNEL COMMAND returns ER if there is no TUNER 4. The range of TINT is from -25 to +25, therefore we should revise the range of TIN:xxx to 00~50 5. The range of AUTO COLOR is from 0 - 1, we should revise the range accordingly 6. There is only WARM, NORMAL and COOL color temperature in our Monitor, we should revise the range to 0 ~2. V1.33 1. Added STX and ETX syntax description for TV response to control system queries. 2. Added notes regarding query responses on sets without tuners 3. Added note regarding baud rates for K and R chassis 4. Added query command for Auto Color Control and Color Temp V1.33a 1. Corrections on query responses for CON, BRT, SAT, TIN, ACC, TEM 2. Addition of ER response for ZOOM2 command on R chassis 3. Cleaned up formatting of document 4. Corrected MTS response V2.0 1. Added commands for Tuner2 and HDMI3 2. Added INVALID response for unsupported features/inputs 3. Removed hex strings from Examples for clarity (Page 5) V2.01 1. Modified document syntax for hex strings for clarity.

V2.02 1. Added S-Video2 INP command. 2. Modified Color Temperature (TEM) syntax V2.03 Added caution notes about non-standard DB-9 configuration V3.0 Added commands for FX5series, additional remote IR equivalents, NuCard inputs, headphone volume, overscan, FX5 NuControl port pinout & diagram. V3.1 Added commands for additional HDMI inputs for 65 V3.2 Modified RS-232 baud rate for 65 to 19.2 KBPS V3.3 Added INP command for NuCard S-Video input, modified RS-232 baud rate for 65 to 9600 KBPS V3.4 Added Baud rates for new models V3.6 Modified RJ45 diagram V3.7 Added RS-232 commands for 3D/2D modes V3.8 Added Frame Packing 3D commands Added Pixel and Line Interleave commands for VGA input Added Backlight commands

Physical Definition:
NVUxxL and NVUxxDCM series: The interface connector on the TV is a standard 9 pin D-sub connector used on most computers. The jack type is a female chassis mount connector. NOTE: The pinout configuration is not a standard RS-232 configuration. When using RS-232, ONLY connect pins 2, 3 and 5. When using IR, ONLY connect the required pins. Female D-sub 9pin: 1. 2. 3. 4. 5. 6. 7. 8. 9. IR in WITH carrier TXD (FROM the TV) RXD (TO the TV) Remote IR IN NO carrier (0-5 volts) Ground Remote IR Out NO carrier (0-5 Volts) Remote IR Out WITH Carrier (0-5 Volts) N/C 5 Volt DC@100 mA out (from TV)

NVUxxFX5 Series:
NOTE This connector is not an Ethernet connection. Do not connect this port to an Ethernet connection, damage can occur to the TV and the Ethernet port.

Female RJ45
1. 2. 3. 4. 5. 6. 7. 8. IR IN with carrier RS-232 TXD (From TV) RS-232 RXD (To TV) IR IN no carrier GND IR OUT no carrier IR OUT with carrier +5VDC @100mA out (From TV)

CABLE END VIEW

Electrical Definition:
1. RS232 TXD and RXD Signal Level RS232 Compliant Also should accept TTL (0 volts and 5 volt Logic) Asynchronous 115,200 (NVU22/26/32/37L) 57,600 (NVU42/47/52FX5) 9600 (NVU19L, NVU32FX5, NVU37FX5, NVU40FX5/10LS, NVU46FX5/10LS, NVU55FX5/10LS, NVU65FX5) None 8 Bits None 1 1 TTL (0-5 Volt) TTL (0-5 Volt) To open collector input Pull up resistor, 10 K ohm

Synchronization Method Baud Rate

Parity Character Length Flow control Start Bits Stop Bits 2. Remote IR Out: 3. Remote IR IN: 4. Remote IR out with carrier: 5. Remote IR input with carrier:

Basic Format for Control:


The Transmission of data from the Controller (Computer or AV Controller) starts with an STX [02h] signal, followed by the command, then the parameters, and lastly an ETX [03h]signal. If there are no parameters, then the parameter does not need to be sent. A colon separates the commands from the parameters. All Commands start with STX [02h] and end with ETX [03h]. Any data not contained between the STX and ETX commands will be ignored by the TV. STX and ETX must be sent as hex commands; all other data must be sent as ASCII characters. NOTE: The brackets [ ] in the rest of this document do not get sent or returned in the command/query. They are there to indicate characters to be sent in hex. All responses from the TV to Queries start with STX [02h] and end with ETX [03h]. Any data not contained between the STX and ETX commands must be ignored by the controller. STX and ETX will be sent as hex commands; all other data will be sent as ASCII characters. Optional ID number: Three ASCII digits ranging from 000-999. Each TV will have the option in the Factory Menu of setting a Unit ID Number. A Semicolon (;) separates the ID Number from the Command. The ID number may be set on the TV in the Service Menu. Contact NuVision Customer Service for instructions on accessing the Service Menu at 800-605-8022 or techsupport@nuvision.com Each command is a string of ASCII characters plus a Parameter A colon separates the Command from the Parameter. The Parameter is 1 to 5 ASCII characters long. After each command is received, the TV shall send back an acknowledgment. For most commands, this will be a simple STX[02h] , the ASCII letters OK, and an ETX[03h]

If there is an error, the TV shall return STX, the ASCII letters ER, and ETX. There may be parameters added after a colon if more details are possible. If a command is sent to a TV that does not support this command, i.e. a tuner command for a monitor, the set shall return STX, the ASCII letters INVALID and ETX. NOTE: AMX programmers may need to add 100ms delays between parameters in commands.

Examples:
All commands are ASCII, except STX and ETX, which must be sent in hex. NOTE: The brackets [ ] in the rest of this document do not get sent or returned in the command/query. They are there to indicate characters to be sent in hexadecimal form. Example of a Power ON for Unit 001: COMMAND: [02h]001;KEY:100[03h] TV Returns: [02h]OK[03h]

Example of a Power ON with No Unit Number: COMMAND: [02h]KEY:100[03h] TV Returns: [02h]OK[03h]

Query Examples:
Use a ? as the parameter and the TV will return the current value for that command. There is no OK returned after a query. Example of a Power Query with no Unit Number. [02h]PWD:?[03h] Would return this status if the TV is ON: [02h]1[03h] Or, this status if the TV is OFF: [02h]0[03h]

10

Example of a Volume Query with No Unit Number, assumes that the Volume is set at 50. [02h]VOL:?[03h] TV Returns: [02h]50[03h]

Query only works with the Following Commands


Power Channel Input Volume Contrast Brightness Color Saturation Tint Mute Auto Color Control Color Temp 3D Status PWD CHA INP VOL CON BRT SAT TIN MUT ACC TEM DIM

KEY COMMANDS: These commands are the equivalent of sending the IR code from the remote control. KEY COMMAND RESPONSE DIGIT 0 [02h]KEY:0[03h] [02h]OK[03h] DIGIT 1 [02h]KEY:1[03h] [02h]OK[03h] DIGIT 2 [02h]KEY:2[03h] [02h]OK[03h] DIGIT 3 [02h]KEY:3[03h] [02h]OK[03h] DIGIT 4 [02h]KEY:4[03h] [02h]OK[03h] DIGIT 5 [02h]KEY:5[03h] [02h]OK[03h] DIGIT 6 [02h]KEY:6[03h] [02h]OK[03h] DIGIT 7 [02h]KEY:7[03h] [02h]OK[03h] DIGIT 8 [02h]KEY:8[03h] [02h]OK[03h] DIGIT 9 [02h]KEY:9[03h] [02h]OK[03h] POWER (TOGGLE) [02h]KEY:10[03h] [02h]OK[03h] SLEEP [02h]KEY:11[03h] [02h]OK[03h] RESERVED [02h]KEY:12[03h] [02h]OK[03h] COMPONENT VIDEO 1 [02h]KEY:13[03h] [02h]OK[03h] COMPONENT VIDEO 2 [02h]KEY:14[03h] [02h]OK[03h] HDMI 1 [02h]KEY:15[03h] [02h]OK[03h] TUNER1 [02h]KEY:16[03h] [02h]OK[03h] 11

AV1 [02h]KEY:17[03h] [02h]OK[03h] VGA [02h]KEY:18[03h] [02h]OK[03h] FREEZE (TOGGLE) [02h]KEY:19[03h] [02h]OK[03h] MENU (TOGGLE) [02h]KEY:21[03h] [02h]OK[03h] DISPLAY (TOGGLE) [02h]KEY:22[03h] [02h]OK[03h] VOL+ (Navigate Right) [02h]KEY:23[03h] [02h]OK[03h] VOL- (Navigate Left) [02h]KEY:24[03h] [02h]OK[03h] CH+ (Navigate Up) [02h]KEY:25[03h] [02h]OK[03h] CH- (Navigate Down) [02h]KEY:26[03h] [02h]OK[03h] PIP (TOGGLE) [02h]KEY:27[03h] [02h]OK[03h] PIP SWAP [02h]KEY:28[03h] [02h]OK[03h] PIP POSITION [02h]KEY:29[03h] [02h]OK[03h] PIP SIZE [02h]KEY:30[03h] [02h]OK[03h] ASPECT 4:3 [02h]KEY:31[03h] [02h]OK[03h] ASPECT PANORAMA [02h]KEY:32[03h] [02h]OK[03h] ASPECT ZOOM [02h]KEY:33[03h] [02h]OK[03h] ASPECT 16:9 [02h]KEY:34[03h] [02h]OK[03h] PREVIOUS CHANNEL [02h]KEY:35[03h] [02h]OK[03h] ENTER [02h]KEY:36[03h] [02h]OK[03h] SELECT [02h]KEY:37[03h] [02h]OK[03h] INPUT SELECT [02h]KEY:38[03h] [02h]OK[03h] (TOGGLE) POWER ON DISCRETE [02h]KEY:100[03h] [02h]OK[03h] POWER OFF DISCRETE [02h]KEY:101[03h] [02h]OK[03h] HDMI 2 [02h]KEY:102[03h] [02h]OK[03h] HDMI 3 [02h]KEY:103[03h] [02h]OK[03h] DIGIT - (ATSC SUB-CH) [02h]KEY:104[03h] [02h]OK[03h] GUIDE (TOGGLE) [02h]KEY:105[03h] [02h]OK[03h] ASPECT 1:1 [02h]KEY:106[03h] [02h]OK[03h] TUNER2 3 [02h]KEY:107[03h] [02h]OK[03h] BACKLIGHT DAY/NIGHT [02h]KEY:108[03h] [02h]OK[03h] PIP INPUT [02h]KEY:109[03h] [02h]OK[03h] EXIT [02h]KEY:110[03h] [02h]OK[03h] PICTURE (Mode Toggle) [02h]KEY:111[03h] [02h]OK[03h] HDMI 4 [02h]KEY:112[03h] [02h]OK[03h] HDMI 5 [02h]KEY:113[03h] [02h]OK[03h] Sets without tuners/HDMI 3/4/5 must respond with [02h]INVALID[03h] to these commands 3 Sets with only 1 tuner must respond with [02h]INVALID[03h]to this command NOTE: AV2, S-Video1, S-Video2, must be sent as INP commands (see below).

12

INPUT (INP) VGA DVI/HDMI1 TUNER1 AV1 AV2 S-VIDEO1 HDMI 2 COMPONENT1 COMPONENT2 HDMI 3 TUNER2 3 S-VIDEO2 4 NuCard COMPONENT35 NuCard RGB5 [02h]INP:13[03h] [02h]OK[03h] [02h]INP:?[03h] [02h]13[03h] 5 NuCard CVBS [02h]INP:14[03h] [02h]OK[03h] [02h]INP:?[03h] [02h]14[03h] HDMI 4 [02h]INP:15[03h] [02h]OK[03h] [02h]INP:?[03h] [02h]15[03h] HDMI 5 [02h]INP:16[03h] [02h]OK[03h] [02h]INP:?[03h] [02h]16[03h] 4 NuCard S-Video [02h]INP:17[03h] [02h]OK[03h] [02h]INP:?[03h] [02h]17[03h] Sets without tuners must respond with [02h]INVALID[03h] to these commands Sets with only 2/3 HDMI inputs must respond with [02h]INVALID[03h] to these commands 3 Sets with only 1 tuner must respond with [02h]INVALID[03h] to this command 4 Sets with only 1 S-Video input must respond with [02h]INVALD[03h] to this command. 5 FX5/10 Series only POWER (PWD) COMMAND OFF [02h]PWD:0[03h] ON [02h]PWD:1[03h] TOGGLE [02h]PWD:3[03h] COMMAND [02h]INP:0[03h] [02h]INP:1[03h] [02h]INP:2[03h] [02h]INP:3[03h] [02h]INP:4[03h] [02h]INP:5[03h] [02h]INP:6[03h] [02h]INP:7[03h] [02h]INP:8[03h] [02h]INP:9[03h] [02h]INP:10[03h] [02h]INP:11[03h] [02h]INP:12[03h] RESPONSE [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] QUERY [02h]INP:? [03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] [02h]INP:?[03h] RESPONSE [02h]0[03h] [02h]1[03h] [02h]2[03h] [02h]3[03h] [02h]4[03h] [02h]5[03h] [02h]6[03h] [02h]7[03h] [02h]8[03h] [02h]9[03h] [02h]10[03h] [02h]11[03h] [02h]12[03h]

RESPONSE [02h]OK[03h] [02h]OK[03h] [02h]OK[03h]

QUERY [02h]PWD:?[03h] [02h]PWD:?[03h] N/A

RESPONSE [02h]0[03h] [02h]1[03h] N/A

13

MUTE (MUT) COMMAND MUTE [02h]MUT:1 [03h] UN[02h]MUT:0[03h] MUTE

RESPONSE [02h]OK[03h] [02h]OK[03h]

QUERY [02h]MUT:?[03h] [02h]MUT:?[03h]

RESPONSE

[02h]1[03h] [02h]0[03h]

CHANNEL (CHA) COMMAND RESPONSE QUERY RESPONSE [02h]CHA:xxx.x[03h] [02h]OK[03h] [02h]CHA:?[03h] [02h]xxx.x[03h] xxx.x = Channel number 000.0 125.x (number to right of decimal for ATSC subchannel) Sets without tuners must respond with [02h]INVALID[03h] to these commands VOLUME (VOL) (HVO) COMMAND RESPONSE QUERY [02h]VOL:xxx[03h] [02h]OK[03h] [02h]VOL:?[03h] [02h]HVO:xxx[03h] [02h]OK[03h] [02h]HVO:?[03h] xxx = Volume value 000 -100 VOL = Main Volume HVO = Headphone Volume (FX5 series only) PIP (PIP) PIP OFF PIP ON PIP SBS PIP R TOP PIP L TOP PIP R BOT PIP L BOT PIP LARGE PIP SMALL SWAP COMMAND [02h]PIP:0[03h] [02h]PIP:1[03h] [02h]PIP:5[03h] [02h]PIP:6[03h] [02h]PIP:7[03h] [02h]PIP:8[03h] [02h]PIP:9[03h] [02h]PIP:10[03h] [02h]PIP:11[03h] [02h]PIP:12[03h] RESPONSE [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] COMMENTS

RESPONSE [02h]xxx[03h] [02h]xxx[03h]

Only works when PiP is off, this is a toggle

Swap main and PiP windows PIP INPUT [02h]PIP:13[03h] [02h]OK[03h] Pops up PIP input list PBP 4:3 [02h]PIP:14[03h] [02h]OK[03h] FX5 series only PBP 16:9 [02h]PIP:15[03h] [02h]OK[03h] FX5 series only NOTE: NVUxxL models only respond to PIP ON/OFF/SWAP commands

14

FORMAT (FOR) 4:3 16:9 PANORAMA ZOOM1 ZOOM2 1:1 SCREEN OFF (audio only) toggle (FX5/10 series only) OVERSCAN (OVR) COMMAND RESPONSE OVERSCAN OFF [02h]OVR:0[03h] [02h]OK[03h] OVERSCAN ON [02h]OVR:1[03h] [02h]OK[03h] Overscan commands only available for HDMI and YPbPr inputs SLEEP TIMER (TIM) COMMAND RESPONSE [02h]TIM[03h] [02h]OK[03h] MTS (MTS) COMMAND [02h]MTS[03h] COMMAND [02h]FOR:0[03h] [02h]FOR:1[03h] [02h]FOR:2[03h] [02h]FOR:3[03h] [02h]FOR:4[03h] [02h]FOR:5[03h] [02h]FOR:6[03h] RESPONSE [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h] [02h]OK[03h]

COMMENTS Toggle sleep timer in 15 minute increments

COMMENTS Toggle between STEREO, MONO, SAP (receivers only, ANALOG CHANNELS ONLY) Sets without tuners must respond with [02h]INVALID[03h]to these commands CONTRAST (CON) COMMAND RESPONSE [02h]CON:xxx[03h] [02h]OK[03h] xxx = Contrast value 000 -100 BRIGHTNESS (BRT) COMMAND RESPONSE [02h]BRT:xxx[03h] [02h]OK[03h] xxx = Brightness value 000 -100

RESPONSE [02h]OK[03h]

QUERY [02h]CON:?[03h]

RESPONSE [02h]xxx[03h]

QUERY [02h]BRT:?[03h]

RESPONSE [02h]xxx[03h]

15

COLOR SATURATION (SAT) COMMAND RESPONSE [02h]SAT:xxx[03h] [02h]OK[03h] xxx = Color Saturation value 000-100 TINT (TIN) COMMAND RESPONSE [02h]TIN:xx[03h] [02h]OK[03h] xxx = Tint value 00-50 SHARPNESS (SHA) COMMAND RESPONSE [02h]SHA:x[03h] [02h]OK[03h] x = Sharpness value 0-7

QUERY [02h]SAT:?[03h]

RESPONSE [02h]xxx[03h]

QUERY [02h]TIN:?[03h]

RESPONSE [02h]xx[03h]

QUERY [02h]SHA:?[03h]

RESPONSE [02h]x[03h]

AUTO COLOR CONTROL (ACC) COMMAND RESPONSE QUERY RESPONSE [02h]ACC:xx[03h] [02h]OK[03h] [02h]ACC:?[03h] [02h]x[03h] xx = ACC value 0-1 NOTE: Sets without ACC must respond [02h]INVALD[03h] to this command. COLOR TEMP (TEM) COMMAND RESPONSE [02h]TEM:x[03h] [02h]OK[03h] x = Color Temp value 0-4 0 = WARM 1 = NORMAL 2 = COOL 3 = VIVID

QUERY [02h]TEM:?[03h]

RESPONSE [02h]x[03h]

Fx5/10 MODE (FX5/10) (FX5/10 series only) COMMAND RESPONSE [02h]FX5:x[03h] [02h]OK[03h] x = Fx5 mode 0 = OFF 1 = ON

16

Backlight Mode (FX10 series only) COMMAND RESPONSE [02h]BLT:x[03h] [02h]OK[03h] x = Backlight mode 0 = Day 1 = Night 2 = Auto

QUERY [02h]BLT:?[03h]

RESPONSE [02h]x[03h]

FRAME FORWARD MOTION (FFM) (FX5/10 series only) COMMAND RESPONSE [02h]FFM:x[03h] [02h]OK[03h] x = FFM mode 0 = OFF 1 = LOW 2 = STD 3 = HIGH 4 = DEMO GAME MODE (GAM) (FX5/10 series only) COMMAND RESPONSE [02h]GAM:x[03h] [02h]OK[03h] x = Game Mode status 0 = OFF 1 = ON 3D MODE (DIM) (FX10 SERIES ONLY) COMMAND RESPONSE QUERY RESPONSE [02h]DIM:x[03h] [02h]OK[o3h] [02h]DIM:?[03h] [02h]x[03h] X = 3D mode status 0 = 2D Normal Display 1 = 3D Side by Side 2 = 3D Top/Bottom 3 = 3D Frame Packing 4 = 3D Pixel Interleave (VGA input only) 5 = 3D Line Interleave (VGA input only) Note: FX10 Series only

17