This manual contains information of proprietary interest to
Microhard Systems Inc. It has been supplied in confidence to
purchasers and users of the MHX-2400, and by accepting this
material the recipient agrees that the contents will not be copied
or reproduced, in whole or in part, without prior written consent
of Microhard Systems Inc.
Microhard Systems Inc. has made every effort to assure that this
document is accurate and complete. However, the company
reserves the right to make changes or enhancements to the
manual and/or the product described herein at any time and
without notice. Furthermore, Microhard Systems Inc. assumes
no liability resulting from any omissions in this document, or
out of the application or use of the device described herein.
WARNING
In order to comply with the FCC/IC
adopted RF exposure requirements, this
transmitter system will be installed by the
manufacturer's reseller professional.
Installation of all antennas must be
performed in a manner that will provide at
least 20 cm clearance from the front
radiating aperture, to any user or member
of the public.
Microhard Systems’ products are appropriate for home, office,
or industrial use, but are not authorized for utilization in
applications where failure could result in damage to property or
human injury or loss of life.
The electronic equipment described in this manual generates,
uses, and radiates radio frequency energy. Operation of this
equipment in a residential area may cause radio interference, in
which case the user, at his own expense, will be required to take
whatever measures necessary to correct the interference.
FCC Declaration of Conformity
This device complies with Part 15 of the FCC Rules.
Operation is subject to the following two conditions: (1) this
device may not cause harmful interference, and (2) this
device must accept any interference received including
interference that may caused undesired operation.
Microhard Systems Inc.’s products are warranted against all
failures which occur as a result of defective material or
workmanship within 12 months of purchase by the user. This
warranty does not extend to products that, in the opinion of
Microhard Systems Inc., have been subject to misuse, accidents,
lightning strikes, improper installation or application, nor shall
it extend to units which have, in Microhard Systems Inc.’s
opinion, been opened, tampered with or repaired by an
unauthorized facility.
1.2About this Manual............................................................................................................................................................................. 2
2.Initial Setup and Configuration
2.0Unpacking and Inspection ................................................................................................................................................................. 3
2.2Connectors and Indicators.................................................................................................................................................................. 3
2.4Checking the Link............................................................................................................................................................................... 6
3.Configuration Options
3.0Command Line Interface.................................................................................................................................................................... 9
A - Answer........................................................................................................................................................................................ 10
E - Command Echo.......................................................................................................................................................................... 10
I - Identification ............................................................................................................................................................................... 10
O - Online Mode.............................................................................................................................................................................. 11
V - Result Codes Display................................................................................................................................................................. 11
W - Connection Result..................................................................................................................................................................... 11
Z - Reset Modem and load stored configuration.............................................................................................................................. 11
&W - Write Configuration to memory............................................................................................................................................. 12
Sxxx? - Read S register value........................................................................................................................................................... 12
Sxxx=yyy - Set S register value ....................................................................................................................................................... 12
3.2Command Result Codes................................................................................................................................................................... 13
S Register 2 - Escape Code............................................................................................................................................................... 14
S Register 3 - CR Control Code....................................................................................................................................................... 14
S Register 4 - Linefeed Control Code .............................................................................................................................................. 14
S Register 5 - Backspace Control Code........................................................................................................................................... 14
S Register 101 - Operating Mode..................................................................................................................................................... 15
S Register 102 - Serial Baud Rate.................................................................................................................................................... 17
S Register 103 - Wireless Link Rate................................................................................................................................................ 17
S Register 104 - Network Address................................................................................................................................................... 18
S Register 105 - Unit Address.......................................................................................................................................................... 18
S Registers 106 and 206 - Primary and Secondary Hopping Patterns.............................................................................................. 18
S Register 107 - Encryption Key...................................................................................................................................................... 20
S Register 108 - Output Power Level............................................................................................................................................... 20
S Register 109 - Hopping Interval.................................................................................................................................................... 21
S Register 110 - Data Format............................................................................................................................................................ 21
S Registers 111 and 112 - Packet Minimum and Maximum Size..................................................................................................... 22
S Register 116 - Packet Character Timeout ...................................................................................................................................... 22
S Registers 113 and 213 - Packet Retransmission/Packet Retry Limit ............................................................................................. 23
S Register 115 - Packet Repeat Interval........................................................................................................................................... 24
S Register 117 - Modbus Mode ........................................................................................................................................................ 24
S Register 120 and 121- RTS/DCD Framing/Timeout ..................................................................................................................... 25
S Register 123 - RSSI Reading......................................................................................................................................................... 25
1. Introduction
1.0 Product Overview
Congratulations on choosing the MHX-2400 wireless transceiver! Your new
MHX-2400 modem is a state-of-the-art, 2.4 GHz frequency-hopping spreadspectrum communications module. When the MHX-2400 module is
incorporated into the design of new or existing equipment, terminal devices
(DTEs) up to 30 km (or more)1 apart will be capable of establishing highspeed2 communications wirelessly.
MHX-2400 modules provide a practical and reliable alternative to using
traditional analog phone-line modems or “permanent wire” serial cable
(RS-232) connections for data communications between asynchronous serial
equipment. Moreover, wireless data communications using the MHX-2400
module means you will benefit from:
n greater flexibility and freedom to relocate terminal equipment,
n eliminated requirement for access to wire-based transfer media
such as telephone lines,
n the ability to communicate through walls, floors, and many
other obstacles.
While the MHX-2400 module is compact in its design, it delivers power and
convenience and offers quality and dependability. The MHX-2400 module’s
versatility makes it the ideal solution for applications ranging from officeproductivity to industrial data control and acquisition.
While a pair of MHX-2400 modules can link two terminal devices (“point-topoint” operation), multiple MHX-2400 modules can be used together to
create a network of various topologies, including “point-to-multipoint” and
“repeater” operation. Multiple independent networks can operate
concurrently, so it is possible for unrelated communications operations to
take place in the same or a nearby area without sacrificing privacy,
functionality, or reliability.
1.1 Features
Key features of the MHX-2400 module include:
n transmission within a public, license-exempt band of the radio
spectrum3 – this means that it can be used without access fees
(such as those incurred by cellular airtime);
n a serial I/O data port (TTL levels) with handshaking and
hardware flow control, allowing the MHX-2400 module to
interface directly to any microprocessor with an asynchronous
serial interface.
1
Ideal conditions with clear line-of-sight communications, using high-gain antennas.
2
Up to 115,200 bits per second (bps).
3
902-928 MHz, which is license-free within North America; may need to be factory-configured
differently for some countries.
n 49 sets of user-selectable pseudo-random hopping patterns,
intelligently designed to offer the possibility of separately
operating multiple networks while providing security, reliability
and high tolerance to interference;
n encryption key with 65536 user-selectable values to maximize
security and privacy of communications;
n built-in CRC-16 error detection and auto re-transmit to provide
100% accuracy and reliability of data;
n ease of installation and use – the MHX-2400 module uses a
subset of standard AT style commands, very similar to those
used by traditional telephone line modems.
While the typical application for the MHX-2400 is to provide a short- to midrange wireless communications link between DTEs, it can be adapted to
almost any situation where an asynchronous serial interface is used and data
intercommunication is required.
1.2 About this Manual
This manual has been provided as a guide and reference for installing and
using MHX-2400 wireless modem modules. The manual contains
instructions, suggestions, and information which will help you set up and
achieve optimal performance from your equipment using the MHX-2400
module.
It is assumed that users of the MHX-2400 module have either system
integration or system design experience. Chapter 2 details the requirements
and connections of the MHX-2400 module. Chapter 3 describes the AT
command register setup and configuration. The Appendices, including the
Glossary of Terms, are provided as informational references which you may
find useful throughout the use of this manual as well as during the operation
of the wireless modem.
Throughout the manual, you will encounter not only illustrations that further
elaborate on the accompanying text, but also several symbols which you
should be attentive to:
Caution or Warning: Usually advises against some action which could
result in undesired or detrimental consequences.
Point to Remember: Highlights a key feature, point, or step which is worth
noting, Keeping these in mind will make using the MHX-2400 more
useful or easier to use.
Tip: An idea or suggestion is provided to improve efficiency or to make
something more useful.
With that in mind, enjoy extending the boundaries of your communications
with the MHX-2400 module.
The following items should be found in the shipping carton. Inspect the
contents for any shipping damage. Report damages or shortages to the
distributor from which the unit was purchased. Keep all packing materials in
the event that transportation is required in the future.
Since the MHX-2400 module is a unique product in a class of its own, it will
communicate only with another MHX-2400 module which has been
compatibly configured. Thus, at least two MHX-2400 modules will be
required to establish a wireless communications link.
Additionally, the following requirements should be taken into consideration
when preparing to incorporate the MHX-2400 module in new or existing
designs.
n Small footprint for the MHX-2400 module (e.g., 2.1” W x 3.5” L
x 0.8” H) on the OEM PCB.
n Serial port and control signals from the host microprocessor.
See sample application schematics in Appendix C.
n +5 Vdc supply from the host OEM electronics.
n An external antenna (customer supplied).
2.2 Connectors and Indicators
The MHX-2400 module connects to the host equipment by two single row
header strips on the underside of the unit. This enables the MHX-2400
module to be directly soldered or socketed onto the host equipment
manufacturer’s PCB. The pinout for the module is given in Figure 1.
MHX-2400 Operating Manual: Chapter 2 Initial Setup and Configuration3
Top View
IMPORTANT:
For best performance, it is
strongly recommended to use
a separate, linearly regulated
supply for Vcc Radio. Do
not directly feed a switching
power supply into Vcc
Radio.
For OEM design simplicity,
connect both the radio and
logic Vcc connections
together.
Caution: Using any other power
supply which does not provide the
proper voltage or current could
damage the MHX-2400 module.
Vcc Radio
Vcc Radio
Vcc Logic
Vcc Logic
Vcc Logic
Vcc Logic
Vcc Logic
N/C
/CONFIG
/RESET
GND
GND
GND
GND
GND
GND
GND
N/C
N/C
N/C
1
20
Antenna Connector
40
21
N/C
N/C
N/C
N/C
N/C
N/C
N/C
Rx Mode LED
Tx Mode LED
RSSI LED 3
RSSI LED 2
RSSI LED 1
CTS
RTS
DSR
N/C
DTR
TxD
RxD
DCD
Figure 1 - Pinout Diagram
The interface connectors and indicator lights are summarized below:
Vcc Radio - These pins supply power for the MHX-2400’s radio circuitry. Best
performance is achieved by providing linearly regulated voltage to these
pins. It is essential to keep this supply rail as clean as possible preferrably by not directly feeding a switching power supply into Vcc
Radio. In addition, it is recommended that Vcc Radio be regulated as
close to 5.5V as possible (without exceeding 5.5V). Running from a 5V
regulator will decrease the transmitted power by roughly 1dB. The linear
regulator must be rated for at least 800 mA
Vcc Logic - These pins supply power for the MHX-2400’s digital circuitry. It is
recommended you use a linear regulator to feed Vcc Logic. Current
consumption in the logic circuitry is typically 100 mA. The regulator
should be rated for at least 200 mA. To simplify the OEM design, the
Radio Vcc can be connected to the Logic Vcc.
GND - Ground return pins for both Radio and Logic circuitry
/RESET - This momentary active low input signal (100 ms typical) resets the
MHX-2400.
/CONFIG - Leave this pin unconnected. Do NOT ground.
Receive Signal Strength Indicator (RSSI) - These active high TTL outputs are
designed to drive LED’s. As the signal strength increases, the number of
active RSSI lines increases, starting with RSSI1. When configured as a
Repeater, the module does not indicate RSSI. The LED’s perform a
“scanning” function, blinking on and off in sequence when a Slave or
Repeater modem is searching for synchronization. The current sourcing
capability of these lines is 20 mA.
4MHX-2400 Operating Manual: Chapter 2 Initial Setup and Configuration
Data Port (DCE) - Pins 21 through 28 inclusive. This port is used to interface
the MHX-2400 module to a DTE device and operates at 2400 to 115,200
bps. The levels are active low 5V logic levels, and include (See
Appendix B for a complete description):
Pin No.NameDescriptionI/O
21DCDData Carrier DetectO
22RxDReceive DataO
23TxDTransmit DataI
24DTRData Terminal ReadyI
25NCNo Connect
26DSRData Set ReadyO
27RTSRequest to SendI
28CTSClear to SendO
RX Indicator - This active high output indicates the modem is receiving data
packets with correct CRC, and is designed to drive a LED. When the unit
is configured as a Slave, this LED will typically be on solid under good
operating conditions.
TX Indicator - This active high output is designed to drive a LED, and indicates
the modem is transmitting.
Antenna Connector - The MHX-2400 uses an end launch SMA RF
connector. Microhard Systems can provide the cabling from the
module to the appropriate antenna connector. A suitable antenna must
be used to ensure adequate performance of the MHX-2400 module.
N/C - These pins are reserved for future use. Do not connect to these pins.
MHX-2400 Operating Manual: Chapter 2 Initial Setup and Configuration5
2.3 Configuration
M
S
Network 1
MSRM
SR
Network 2
S
M
S
S
Network 3
S
M
R
S
S
Network 4
MR
S
Network 5
Figure 2 - Sample Network
Topologies. Virtually any
Combination of Slaves and
Repeaters May be Used.
Prior to establishing a wireless link, each MHX-2400 module participating in
the link must be correctly configured for compatibility and for the desired
mode of operation.
Network topologies consisting of a single Master and virtually any
combination of Slaves and Repeaters may be deployed. The functionality of
any particular MHX-2400 can be configured as follows:
n Master Point-to-Point: The module is configured to
communicate with a single Slave, either directly, or through one
or more Repeaters.
n Master Point-to-Multipoint: The module is configured to
communicate with one or more Slaves and/or Repeaters.
n Slave: The module is configured to communicate with one
particular Repeater or Master.
n Repeater: The module is configured to pass information from
either a Master or another Repeater onto subsequent Repeaters
and/or Slaves and vice versa. The Repeater also acts as a Slave
in the sense that, like a Slave, it passes information to/from its
serial port.
All units within a network must be assigned a common Network Address;
thus enabling multiple networks to co-exist in the same vicinity without
unwanted crosstalk between modules. Examples of different network
topologies are shown in Figure 2. Network 1 shows Point-to-Point
communication between a Master and Slave. Network 2 makes use of a
Repeater to communicate with the Slave. Network 3 illustrates a simple
Point-to-Multipoint network with no Repeaters. Networks 4 and 5 gives
examples of Point-to-Multipoint networks consisting of both Repeaters and
SR
Slaves. There is effectively no restriction to the number of Repeaters and
Slaves that can be added to a network. As seen in Network 4, a Master can
communicate directly with both Slaves and Repeaters. The MHX-2400 has
been designed to allow for additional Repeaters and Slaves to be added to an
existing network without having to reconfigure any units already in the
network. This saves a tremendous amount of time when deploying additional
units in the field.
2.3.1 Quick Start Approach
The MHX-2400 is equipped with four standard factory default settings.
Instead of manually configuring each individual operating parameter, a global
command may be used to quickly configure the modem for a particular type
of operation. For example, to quickly implement Network 1, Factory default
1 would be applied to the Master, and Factory default 2 would be applied to
the Slave. To quickly set up Network 2, apply Factory 1 to the Master,
Factory 3 to the Repeater, and Factory 4 to the Slave. These defaults will get
you started and only ensure that a link can be established, but do not
necessarily provide the best performance. Optimization of the
communications link is discussed in later sections.
6MHX-2400 Operating Manual: Chapter 2 Initial Setup and Configuration
How to Set Up A Simple Network
The MHX-2400 will always be in one of two states:
n Data Mode – When in this state, the modem is listening and talking
to other modems in the network (the modem is online).
n Command Mode – When in this state, the modem is awaiting “AT
Commands” from the serial port. These commands are used to
configure all operating parameters of the modem. When in this
state, the modem is “offline”.
To implement the very basic network illustrated in Figure 2, Network 1,
n Plug the modem into the development board and connect a straight-
through serial cable between the development board and the
terminal (e.g., your PC)
n Connect an antenna cable and antenna to the module.
n Configure the unit to Factory Setting 1 by typing AT&F1 <return>.
This puts the unit into Master Point-to-Multipoint mode.
n Store these settings to memory by typing AT&W <return>.
n Put the modem into Data Mode by typing ATA <return>. There are
other ways to enter Data Mode, which are discussed in Chapter 3.
n Perform the above steps for the second unit, using the command
AT&F2 instead of AT&F1. This will configure the second unit as a
Slave.
The units should now be communicating. Remember, the parameters defined
by AT&F1 and AT&F2 will likely not be the most ideal for your application,
but will quickly allow you to test the units. A complete summary of the
settings defined by AT&F1,2,3 and 4 can be found in Appendix D. Factory
Default Settings.
Warning: Using an antenna that
is inappropriate for use with the
MHX-2400 module could result in
undesired performance, and may
damage the unit. It is the user’s
responsibility to ensure the
antenna has adequate lightning
protection.
Settings are not immediately stored in non-volatile memory, therefore, the
command &W is issued to store the current configuration into non-volatile
memory. Settings are retained even after powering down. All user selectable
parameters for the MHX-2400 are described in detail in Chapter 3:
Configuration Options.
2.4 Checking the Link
To check if the units are communicating, observe the LED indicators on the
development board. If the link is good, up to three RSSI outputs on the Slave
modem should be active; and if the link is absent (due to a fault at one end or
another, such as misconfiguration), the outputs will be in either “scanning
mode” or inactive.
Characters typed at the Master terminal should appear at the Slave’s terminal,
and vice versa. Also, verify that the RX LED blinks as packets of data are
received at the Master modem. As data is sent from Slave to Master, the RX
indicator should blink on as correct packets of data are received. It is
recommended that if MHX-2400 modules will be deployed in a field where
large distances separate the units, the modems should be configured and
tested in close proximity (e.g., in the same room) first to ensure a good link
can be established and settings are correct. This will facilitate
troubleshooting, should problems arise.
MHX-2400 Operating Manual: Chapter 2 Initial Setup and Configuration7
3. Configuration Options
3.0 Command Line Interface
The MHX-2400 modem can be easily configured to meet a wide range of
needs and applications. You can have your modem perform a variety of
functions by sending it instructions (in the form of commands). Sending a
command overrides the modem’s operating characteristics.
Your modem must be in Command Mode for it to execute a command. If
you send characters when the modem is in Data Mode, the modem transmits
the characters over the air.
Depending on its settings, the modem will either power up in Command
Mode or Data Mode. Normally, when first received from the factory, the
unit will power up in Command Mode.
You can place the modem into Data Mode either by
1. Issuing the answer command
2. Issuing the online command
You can place the modem into Command Mode either by
1. Sending the escape sequence
The escape sequence will not
be accepted unless both the
MHX-2400 and the terminal
are set to the same baud rate
Refer to Appendix A (page
19) for a summary of the
modem commands
Configuration options are
not stored in non-volatile
memory until the WRITE
command (&W) is executed
2. Toggling the DTR line (depending on the &D parameter see pg 11).
To enter a command line and have your modem execute it, use the following
procedure:
1. With your modem in the Command Mode, type AT. These characters,
known as the attention characters, must be typed at the beginning of
each command line.
2. Type the command(s). Include any parameters required by the
command. To make the command line more readable, you can insert as
many spaces as desired. The command line holds up to 16 characters,
not including the AT prefix.
3. Press the ENTER key. Your modem executes the command line and
sends you a word response (usually OK).
For example, to set the Operating Mode S101 register to Master Point-toMultipoint mode, enter the following command line; AT S101 = 1 <return>.
To display what a register is currently set to, enter the following command
line; AT Sxxx? <return>. The modem will output the value of the register.
Note: If you want to send more than one command line, wait for a response
before entering the AT prefix at the start of the next command line.
To re-execute the previous command, enter A/. The modem will execute
the previous command line.
When in Command Mode, the modem “autobauds”, meaning that it will
automatically adjust to the baud rate of the terminal. You may change the
terminal baud rate while in Command Mode without losing communication
with the modem.
For the AT command protocol, an escape sequence consists of three
consecutive escape codes preceded and followed by at least 1 second of
inactivity. Typically, the ‘+’ character is used as the escape code.
+++ preceded and followed by 1 second of inactivity
Note that the terminal must be configured to the same baud rate as the
modem in order for the mode to recognize the escape sequence. The
modem is unable to “autobaud” while in Data Mode.
3.1 AT Commands
Several AT Commands are supported by the MHX-2400 module. The
following is a short description of all available commands. ‘*’ denotes
standard factory settings. All of the following commands must be preceded
by “AT”
AAnswer
The A command causes the modem to attempt to connect with another
remote modem (Type ATA <return>).
ECommand Echo
Your modem is preset to return (or echo) commands to the host
microprocessor when in Command Mode.
E0No Command Echo
*E1Command Echo
IIdentification
The I command returns various modem information settings.
I1Product Code (MHX-2400)
I2Issue ROM Check (OK or ERROR)
I3Product Identification (Firmware Version)
I4Firmware Date
I5Firmware Copyright
I6Firmware Time
I7Serial Number