Harman Kardon AVR 325 User manual

HARMAN KARDON AVR 325/AVR 525/AVR 7200
RS-232 PORT INSTRUCTIONS & CODE LISTING
VERSION 1.1
6-JANUARY-2003

AVR 325/525/7200: RS-232 Port Instructions
Version 1.1 - Revised 6-Jan-2003
Page 2 of 5
What it does
Harman Kardon’s AVR 7200, AVR 525 and AVR 325 are designed for operation in
conjunction with remote keypad, computer or other control devices capable of sending
compatible hexadecimal data through an RS-232 connection. The commands issued by
the control system or computer will mimic the operation of the standard remote control,
and the AVR will respond accordingly.
The operation of the system is one-way, so it is important to provide some means of
observing the AVR’s operation through either the front panel display, the on-screen
messages generated by the AVR, or by visual/aural observation of the command’s
impact on the system. As the system is one-way only, no acknowledgements are
provided back to the control system or computer by the AVR.
Connection
The connection between the control device or computer and the AVR is via a two-wire
connection using standard DB-9 connections. The AVRs are not compatible with USB
type connections.
The connections should be made directly (“straight through”) from pin 3 (TxD) to pin 3
and from pin 5 (GND) to pin 5. No other connections are needed, although a standard
serial connection cable with all pins connected may be used.
IMPORTANT NOTE: It is important that a standard “straight through” connection cable be
used. DO NOT use a “null modem” cable, as is the case for other similar products. Since
the AVRs internally cross over the pin connections, and the use of a null modem cable
will render the system inoperable.
RS-232 Settings
The following settings should be made to the host (transmitting) device:
Baud Rate : 4800 bps
Data Bits : 8
Parity : No
Stop Bit : 1
Flow Control : No (off)
Command Acceptance Time: 108 ms.

AVR 325/525/7200: RS-232 Port Instructions
Version 1.1 - Revised 6-Jan-2003
Page 3 of 5
Command Transmission Sequence
Each command consists of a four byte hex command from the table attached to this
document. To send a command, first find the hex code listed in the chart for the specific
function. Convert each byte to binary, and then precede each byte with a start bit (“0”)
and follow it with a stop bit (“1”). Make certain that the time for the transmission of all
four bytes does not exceed 107 ms., as the AVR will interpret a time gap greater than
108ms as the start of a new command.
Thus, to send the “80,70,C1,3E” hex code sequence to issue a “MUTE” command, the
sequence would be as follows: including the start and stop bit after each hex code,
0 0000 0001 1 0 0000 1110 1 0 1000 0011 1 0 0111 1100 1
BYTE 1 BYTE 2 BYTE 3 BYTE 4
TOTAL STRUCTURE FOR THE FOUR-BYTE COMMAND
When building a sequence with multiple commands, remember to insert a time delay so
that the total time from the start of one four-byte command to the start of the next four-
byte command is at least 108ms.
Thus, when sending multiple commands, the transmission sequence will be as follows:
COMMAND 1 COMMAND 2 COMMAND 3
------- 108 ms. --------- ------------ 108 ms--------- ------108 ms----
The protocol for code transmission does not allow for “repeat” or continuous code.
Thus, in the case of commands such as the Volume control where the button would be
held down when using the actual remote, the individual “volume up” or “volume down”
command must be sent individually as many times as necessary to achieve the desired
effect.

AVR 325/525/7200: RS-232 Port Instructions
Version 1.1 - Revised 6-Jan-2003
Page 4 of 5
The commands being sent through the RS-232 link are direct mirror images of the
commands and command sequences that would be used if you were pressing the
remote control buttons for the specific product. In cases where a main command is
issued first, followed by up/down or left/right navigation to select a choice, you will need
to use the specific directional commands for the command in use. The up/down and
left/right navigation commands are NOT universal for the RS-232 link; it is critical that
you use the correct navigation command control.
CONSTRUCTING COMMAND SEQUENCES
To construct command set sequences for RS-232 control you will want to create a
structure that duplicates the buttons that you would push on the remote control to issue
the desired command. To do that efficiently, it is always a good idea to familiarize
yourself with the product’s owner’s manual and method of operation. To avoid problems
that might occur when using a controller other than the unit’s own remote, we do not
recommend using the RS-232 commands with the OSD menus. Instead, it is easier to
use the direct command sequences available for most major AVR options. The use of
the direct commands increases the accuracy of the transmission, as the system will not
need to “guess” the position of the cursor within a menu structure.
Remember that some commands require multiple “button presses”, regardless of
whether the command is being sent live from the remote, or via the RS-232 link. Be
certain that you include all needed commands, and that the spacing between each
command is at least 108ms.
Also remember that the command structure when using the RS-232 link does not
accommodate “repeat” commands. These must be issued by duplicating the command
as many times as needed, or by instructing the user to tap and release the button on the
device connected to the RS-232 system, rather than pressing and holding it.
In constructing commands for Surround Select, Multi-room, Speaker Configuration,
Digital Input and Delay, please note that the direct access setup controls for those
options require that you first send the code that accesses that control sequence, just as
you would press the individual button on the remote to enter that command. To adjust
the setting or scroll through the menus you must then issue the specific “UP” or
“DOWN” commands that are associated with the item being controlled. Note that each
of these commands has their own set of these “shift” codes, and they are not
interchangeable. For example, the “UP” command used to change surround modes is
different than the “UP” command used to trim the channel levels.
When changing the surround mode using the Dolby, DTS Surround, DTS Neo:6, Logic
7 or Stereo buttons/commands, note that the first press of the button selects the mode,
and the command needs to be issued again to scroll through the available mode
choices.

AVR 325/525/7200: RS-232 Port Instructions
Version 1.1 - Revised 6-Jan-2003
Page 5 of 5
USING THE CODE TABLE
The code table that accompanies this document contains both the IR codes that may be
used to program IR based systems as well as the binary and hex commands used to
program an RS-232 system.
The far left column shows the actual name of the button as it appears on the remote
control. The column next to it is the actual command for that button.
The “RS-232 Command” column are the full hexadecimal codes used for RS-232
programming or for use in programming IR based systems.

RS-232 Codes for AVR 7200/525/325
Remote Command AVR Function RS-232 Command COMMENTS
Power On Power On 80 70 C0 3F
Power Off Power Off 80 70 9F 60
Mute Mute 80 70 C1 3E
AVR AVR Power On 80 70 C0 3F
DVD INPUT SEL 80 70 D0 2F
CD INPUT SEL 80 70 C4 3B
TAPE INPUT SEL 80 70 CC 33
VID1(VCR) VID1 80 70 CA 35
VID2(TV) VID2 80 70 CB 34
VID3(CBL/SAT) VID3 80 70 CE 31
VID4 VID4 80 70 D1 2E
AM/FM AM/FM 80 70 81 7E
6CH/8CH 6CH/8CH 82 72 DB 24 The first transmission of this code shows the current mode. Subsequent
transmissions step through the available modes.
Sleep/ CH+ Sleep 80 70 DB 24
Test Tone Test Tone 82 72 8C 73
Vol Up Vol Up 80 70 C7 38
Surr/CH- Surr 82 72 58 A7 Initiates surround mode choice and displays current mode
Surr \/ 82 72 86 79 Scroll down through surround choices (Down Arrow)
Surr /\ 82 72 85 7A Scroll up through surround choices (Up Arrow)
Night Night 82 72 96 69
Multi-Room Multi-Room 82 72 DF 20 Accesses the Multiroom menu and displays current status
MR \/ 82 72 5F A0 Scroll down through Multiroom choices (Down Arrow)
MR /\ 82 72 5E A1 Scroll up through Multiroom choices (Up Arrow)
Vol Down Vol Down 80 70 C8 37
CH. / Guide Channel 82 72 5D A2 Accesses the Channel Trim settings menu
Level-/Down Level-/Down 82 72 9A 65 Decreases the Channel Trim Level
Level+/Up Level+/Up 82 72 99 66 Increases the Channel Trim Level
Speaker / Menu Speaker 82 72 53 AC Access the Speaker Configuration Menu
Speaker \/ 82 72 8F 70 Scrolls down through the speaker configuration choices
Speaker /\ 82 72 8E 71 Scrolls up through the speaker configuration choices
Down \/ Down \/ 82 72 9A 65 Down directional movement when navigating through OSD Menus
Left < Left < 82 72 C1 3E Left directional movement used when navigating through the OSD Menus
SET SET 82 72 84 7B
Right > Right > 82 72 C2 3D Right directional movement when navigating through OSD Menus
Up /\ Up /\ 82 72 99 66 Up directional movement when navigating through OSD Menus
Digital / Exit Digital 82 72 54AB Accesses Digital Input Menu and displays input for current source
Digital \/ 82 72 56A9 Scrolls down through the list of digital inputs
Digital /\ 82 72 57 A8 Scrolls up through the list of digital inputs
Delay / Prev. CH Delay 82 72 52 AD Accesses Delay Settings
Delay \/ 82 72 8B 74 Scrolls down through delay settings
Delay /\ 82 72 8A 75 Scrolls up through delay settings
1 1 80 70 87 78
2 2 80 70 88 77
3 3 80 70 89 76
4 4 80 70 8A 75
5 5 80 70 8B 74
6 6 80 70 8C 73
7 7 80 70 8D 72
8 8 80 70 8E 71
9 9 80 70 9D 62
0 0 80 70 9E 61
TUN-M TUN-M 80 70 93 6C
Memory Memory 80 70 86 79
Tuning Up Tuning Up 80 70 84 7B
Direct Direct 80 70 9B 64
Clear Clear 82 72 D9 26
Preset Up Preset Up 82 72 D0 2F
Tuning Down Tuning Down 80 70 85 7A
OSD OSD 82 72 5C A3
D. Skip D. Skip 82 72 DD 22
Preset Down Preset Down 82 72 D1 2E
Dolby Dolby 82 72 50 AF
DTS Surround DTS Surround 82 72 A0 5F
DTS NEO:6 DTS NEO:6 82 72 A1 5E
Logic7 Logic7 82 72 A2 5D
Stereo Stereo 82 72 9B 64
Revision 1.1
1/6/2003
Other manuals for AVR 325
7
This manual suits for next models
2
Table of contents
Other Harman Kardon Keypad manuals