Articles

News

inde


Contact Information
Articles
Links

RS-232 Control of the AOR AR-2500

Interface Unit: None (connection is direct)

Standard Connections Used: TXD, RXD, GND (RTS/CTS also required with some models)

Type of RS-232 Command Set: ASCII text

AR-2500

This receiver is no longer in production and information about the RS-232 interface is no longer available, however, the details of the interface given here have been extracted from: Instruction Manual for Model AR2500 Turbo Scanning Monitor (1991).

I am not in a position to give assistance or further information on this radio since this is all I have.

The AR2500 RS-232 command interface is unusual in that it is text based but uses binary data fields. This means that simple operation using some of the commands is possible using a text-based terminal (such as MS-Windows Terminal), however, this is not possible for commands, such as frequency setting, which require data in the "pseudo-BCD" format (described below) that is used to represent frequency and mode information.

Port Parameters: 300, 1200 and 9600 baud with 8 bits, no parity and 1 stop bit.
Baud rate detection is automatic and relies on the computer sending a <CR> character repeatedly - when initialised, 'rS 232' appears on the receiver's display).

Flow control: hardware (RTS/CTS)
To prevent the receiver from experiencing data overflow, the CTS line is used by the receiver to inform the computer that it is prepared to receive data.

Type of interface: Mixed ASCII and "pseudo-BCD"

Signalling: To send data, the computer must first send a signalling character (such as a space) which is basically a request-to-send and is discarded. After the first signalling character is sent to the radio, the receiver responds by asserting CTS. This indicates to the computer that data can be sent.

Rear Panel Connector Pinout:

Computer (PC) Function AR2500 Notes
2 TXD 3 Transmit data. The computer shall assert TXD ('1' condition) whenever
no data is being sent. The computer shall not transmit unless permitted
to do so bt CTS
3 RXD 2 Receive data. RXD is asserted when no data is being sent. The
AR2500 assumes that the computer is always ready to receive data
if no data is being sent.
4 RTS 8 Ready to send.
5 CTS 7 Clear to send. Data enabling line from receiver to computer.
7 GND 5 Ground. Signal ground

Memory Specific

The memories in the receiver are organised into 78 frequency banks (62 memory and 16 search). These are split into 62 scan banks with 32 frequencies per bank and 16 search banks with 2 frequencies per bank.

All frequencies are stored in descending order (for performance reasons). A 4-byte 'pseudo-BCD' format is used for the frequency data as follows:

Bytes 4 3 2 1
  MSD digit LSD FLAG

MSD = most significant digit, LSD = least significant digit

FLAG specifies mode and step frequency data in the following format:

Bits 7 6 5 4 3 2 1 0
AM 0 1 x x x x x x
NFM 1 0 x x x x x x
WFM 0 0 x x x x x x
5k step x x 0 1 x x x x
12.5k step x x 1 0 x x x x
25k step x x 1 1 x x x x
Lockout x x x x 1 x x x
Empty slot 0 0 0 0 0 0 0 0

There can be up to 8 digits on the AR2500's front panel LCD display, however, two digits must be dropped from the BCD data. The lowest digit (0.5 kHz) can be dropped, since the firmware automatically detects when the AR2500 is in 12.5 kHz mode or when the frequency is a valid multiple of 12.5 kHz. The highest frequency value is 15000 kHz, so the two most significant digits can be represented in true BCD.

Example:

1250.9855, 12.5k/AM can be represented as:

MSB       LSB
Freq 125 09 87 12.5k/AM
Bytes
(hex)
C5 09 87 60

The data is sent least significant byte first.

Command list

Most commands listed in the table directly emulate front panel operation from the keypad.

Command Fnction Notes
AD Add current freq. to bank Adds a frequency to the bank.
If the bank is not full, the frequency displayed on the LCD is added
to the current bank and the AR2500 returns a "Y" character to
confirm. If the bank was full, an "N" is returned.
Command AD, <CR>, <LF>
Returned "Y" or "N", <CR>, <LF>
AF Auto-frequency mode Automatically output the frequency when the squelch opens.
Turned off using a "0" character or on with a "1".
Command AF, "1" or "0", <CR>, <LF>
Returned <CR>, <LF>
AM AM mode Select AM mode.
Command AM, <CR>, <LF>
Returned <CR>, <LF>
DE Delete current frequency no details available
DL Download Download a complete frequency bank from the PC to the AR2500.
The DL command comprises a 2 byte (ASCII) bank number
followed by frequency data (as described above)
There are a maximum of 32 frequencies per bank (4 bytes per
frequency). Empty frequency slots are zero-filled. Since banks are
stored in descending frequency order, empty slots are always at
the end of the bank. Therefore it is only necessary to download
up to the first empty slot
Command DL, 2-byte bank, 4-byte freq, <CR>, <LF>
Returned <CR>, <LF>
DN Down arrow Duplicate down arrow on the front panel
Command DN, <CR>, <LF>
Returned <CR>, <LF>
DY Delay no details available
EB Erase bank Erase the specified memory bank.
A 2-byte parameter (ASCII) is used to represent the bank number.
The entire EEPROM can be erased using "AL" as the parameter.
Command EB, 2-byte bank, <CR>, <LF>
Returned <CR>, <LF>
FR Tune to frequency Tunes to the specified frequency.
Requires 4-byte frequency data as described above.
Command FR, 4-bytes pseudo-BCD, <CR>, <LF>
Returned <CR>, <LF>
KL Keylock Duplicates keylock function on front panel.
Keyloack is off using parameter "0" and on using parameter "1".
Command KL, "1" or "0", <CR>, <LF>
Returned <CR>, <LF>
LI LDC light Controls the LCD backlight.
The LCD backlight is switched off using "0" as the parameter or
on using "1".
Command LI,"1" or "0", <CR>, <LF>
Returned <CR>, <LF>
LK Lock Lock out current frequency.
Command LK, <CR>, <LF>
Returned <CR>, <LF>
LN Link bank Link the current bank.
Command LN, <CR>, <LF>
Returned <CR>, <LF>
MA Manual mode Places the AR2500 into manual mode.
Stops scanning/searching and returns to the frequency currently
displayed on the LCD.
Command MA, <CR>, <LF>
Returned <CR>, <LF>
ME Signal strength Return the current signal strength.
ME returns a binary hex value 30-3A corresponding to the ten
LEDs on the front panel signal level display.
Command ME, <CR>, <LF>
Returned 1-byte, <CR>, <LF>
NB New bank Change to a specified bank.
There are 78 valid banks. The banks can be specified using two
bytes (ASCII), eg "50" is bank 50. If "00" is selected, the bank
is incremented to the next valid bank. Note that scan and search
banks wrap round.
Command NB, 2-bytes (ASCII), <CR>, <LF>
Returned <CR>, <LF>
NF Next frequency Increment to the next frequency in the current bank.
This command will wrap the bank round to the begining if the
current frequency is the last in the bank.
Command NF, <CR>, <LF>
Returned <CR>, <LF>
NM NFM Mode Select NFM mode.
Command NM, <CR>, <LF>
Returned <CR>, <LF>
PR Priority Place the AR2500 into priority mode.
Priority mode is switched on using "1" as a parameter and off
using "0".
Command PR, "1" or "0", <CR>, <LF>
Returned <CR>, <LF>
RF Return current frequency Returns the current frequency shown on the LCD display.
The value returned is in the 4-byte pseudo-BCD format described
above.
Command RF, <CR>, <LF>
Returned 4-bytes pseudo BCD, <CR>, <LF>
SC Scan mode This selects either scan or search mode depending on the current
bank number.
Command SC, <CR>, <LF>
Returned <CR>, <LF>
SR Step rate Changes the current step rate.
The set sizes 5k, 12.5k or 25k can be selected by supplying the
"05", "12" or "25" parameters respectively.
Command SR, 2-bytes (ASCII), <CR>, <LF>
Returned <CR>, <LF>
UL Upload Upload a complete frequency bank from the AR2500 to the PC.
See DL command for format details.
Command UL, 2-byte (ASCII), <CR>, <LF>
Returned 4-bytes pseudo-BCD, <CR>, <LF>
UN Unlink band Unlink the current bank.
Command UN, <CR>, <LF>
Returned <CR>, <LF>
UP Up arrow Duplicated the front panel up arrow key.
Command UP, <CR>, <LF>
Returned <CR>, <LF>
VR Version Number Display the current version number on the front panel.
Command VR, <CR>, <LF>
Returned <CR>, <LF>
WM WFM mode Select WFM mode.
Command WM, <CR>, <LF>
Returned <CR>, <LF>

Basics | Kenwood | Icom | Yaesu | AOR | At a glance

This document maintained by simon.collings@cableinet.co.uk.
Material Copyright © 2000 Simon Collings