Ayre Acoustics RS-232 Automobile Parts User Manual


 
RS-232 Control Protocol -- May 2010
Note: The Ayre DX-5 Universal A/V Engine comes with AyreLink connectors for system
communications. The advantage of AyreLink is that it utilizes opto-isolators to ensure that no
ground loops are formed, and that any RFI generated by the CPU in the system controller is
completely isolated from the audio and video systems.
To use an RS-232C controller link for wired system control, an external Ayre RS-232C-to-
AyreLink adapter unit is required. The RS-232C port is configured as a DCE device using a
female 9-pin D-Sub type connector.
RS-232 Pin Configuration:
The pin out of the DX-5 RS-232C-to-AyreLink adapter unit port is as follows:
Pin
2 3 5
Signal
TXD
RXD GND
This pin configuration allows a PC running a serial terminal program (such as HyperTerminal) to
communicate with the player using a straight-through DB9 9-pin RS-232 serial cable. Do NOT
use a “Null-Modem” type cable for PC connection. For connection to a system controller (eg,
Crestron, AMX), please refer to the documentation that comes with the controller.
Communication Settings:
Baud Rate
Data Bits Parity Stop Bit Flow Control
9600
8 None 1 None
Command Structure:
Each command starts with a # sign (ASCII 0x23), followed by a 3-character command code. If
there are any parameters for the command, the parameters are given in text format, separated
by a space (ASCII 0x20) from the command code. The # character (ASCII 0x23) must never
appear in the parameters. A carriage return (ASCII 0x0D) indicates the end of the command.
Each command must not exceed 25 bytes including the start of command and end of command
bytes.
The illustration of the command structure is as the followings:
<Command> = <Start of Command><Command Code>[<sp><Parameters>]
<End of Command>
where:
<Start of Command> = # (ASCII 0x23)
<Command Code> = <byte><byte><byte> (three ASCII characters)
<sp> = space (ASCII 0x20)
<Parameters> = command-specific (ASCII characters)
<End of Command> = CR (ASCII 0x0D)
Ayre DX-5 Universal A/V Engine
1