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 cause
undesired operation.
Warning: Changes or modifications not expressly approved by the party responsible for
compliance could void the user's authority to operate the equipment.
NOTE: This equipment has been tested and found to comply with the limits for a Class B digital
device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable
protection against harmful interference in a residential installation. This equipment generates
uses and can radiate radio frequency energy and, if not installed and used in accordance with the
instructions, may cause harmful interference to radio communications. However, there is no
guarantee that interference will not occur in a particular installation. If this equipment does cause
harmful interference to radio or television reception, which can be determined by turning the
equipment off and on, the user is encouraged to try to correct the interference by one or more of
the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
Consult the dealer or an experienced radio/TV technician for help.
FCC Radiation Exposure Statement:
This equipment complies with FCC radiation exposure limits set forth for an uncontrolled
environment. This equipment should be installed and operated with minimum distance 20cm
between the radiator & your body.
Wireless standard 802.11 b/g/n
Frequency range 2.412GHz-2.462GHz
802.11b: +20 dBm (Max.)
Transmit Power
Wireless
Parameters
Receiver Sensitivity
802.11g: +18 dBm (Max.)
802.11n: +15 dBm (Max.)
Configurable
802.11b: -89 dBm
802.11g: -81dBm
802.11n: -71dBm
Hardware
Parameters
Software
Parameters
Antenna Option
Data Interface
Operating Voltage 3.3V (+/-5%)
Operating Current Avg:170mA Peak:400mA
Operating Temperature
Storage Temperature
Dimensions and Size
Network Type STA /AP/AP+STA mode
Security Mechanisms WEP/WPA-PSK/WPA2-PSK/WAPI
Encryption WEP64/WEP128/TKIP/AES
Work Mode Transparent Transmission
Serial command AT+instruction set
Network Protocol TCP/UDP/ARP/ICMP/DHCP/DNS/HTTP
Max. TCP Connection 32
User Configuration
1.2.2. Mechanical Size
HF-A21-SMT modules physical size as follows:
Figure 3. HF-A21-SMT Mechanical Dimension
1.2.3. On-board Chip Antenna
HF-A21-SMT module support internal ob-board chip antenna option. When costomer select
internal antenna, you shall comply with following antenna design rules and module location
suggestions:
For customer PCB, RED color region (7.5x25mm) can‟t put componet or paste GND net;
Antenna must away from metal or high components at least 10mm;
Antenna can‟t be shieldedby any meal enclosure; All cover, include plastic, shall away
from antenna at least 10mm;
Figure 4. HF-A21-SMT Chip Antenna Keep Out Region
High-Flying suggest HF-A21-SMT module better locate in following region at customer board,
which to reduce the effect to antenna and wireless signal, and better consult High-Flying technical
people when you structure your module placement and PCB layout.
1.2.4. Evaluation Kit
High-Flying provides the evaluation kit to promote user to familiar the product and develop the
detailed application. The evaluation kit shown as below, user can connect to HF-A21-SMT
module with the RS-232 UART port, 100M Eth port or Wireless port to configure the parameters,
manage the module or do the some functional tests.
DC 5V 5V@1A Power input: 2-Pin
COM1 UART DB9, UART, Connect PC serial port
COM2 UART1 DB9, UART1, Connect PC serial port
RJ-45 100M Ethernet Interface
USB Host Seserved USB (Type A)
DIP-16 Extended 16-pin functional interface
Power (Red) 3.3V Power Indicator
nLink nLink/GPIO-Pin 14 Indicator
nReady nReady/GPIO-Pin 16 Indicator
Reset
Reload Module restore to factory default configuration.
There is 22K&4.7uF reset circuit. When module power up or some issue happened, MCU need
assert nRST signal “0” at least 300ms, then set” 1” to keep module fully reset.
nReady- Module boot up ready signal. Output. Logics “0” effective.
The module will output “0” “or “Palmodic Signal” after normal boot up. This signal used to judge if
module finish boot up and ready for application or working at normal mode.
nLink- Module WIFI connection indication. Output.
When module connect to AP (STA mode) or some WiFi STA connect to module (AP mode), the
module will output “0”. This signal used to judge if module already at WiFi connection status.
nReload- Module restore to factory default configuration.Input. Logics “0” effective.
User can assert nReload signal “0” more than 3‟s through button or MCU pin, then release,
module will restore to factory default configuration and re-start boot up process.
UART_TXD/RXD- UART port data transmit and receive signal.
1.3.2. 10/100M Ethernet Interface
HF-A21-SMT modules provide one 10/100M Ethernet PHY layer interface for data transition or
user configuration. This Ethernet support with transformer and without transformer (PHY-to-PHY)
2 kinds of connection.
1.3.2.1. Ethernet Connection with Transformer
User board put Ethernet transformer and RJ-45 connector. This is a general 10/100M Ethernet
phy layer connection. The reference design as following:
Figure 9. Ethernet Reference Design with Transformer
1.3.2.2. Ethernet Connection without Transformer
For this application, Ethernet will work as internal data transmition interface and save one
transformer and RJ-45 connector. Ethernet PHY-to-PHY connection will use AC coupled
connection. This is a space and cost optimized solution. Hardware reference design as following:
Note: VCC signal at reference design shall base on user board PHY chipset voltage level, such
as 2.5V power supply for general Ethernet PHY chipset.
Figure 10. Ethernet Reference Design without Transformer
1.3.3. UART Interface
UART interface is the serial data transmition interface mainly used for HF-A21-SMT modules.
User can add RS-232 chipset on user board and convert the signal to RS-232 voltage to
communicate with outside equipment or sensors. HF-A21-SMT modules UART interface include
4 general signals: TXD/RXD/RTS/CTS. The hardware reference design with RS-232 chipset as
following:
Figure 11. UART Interface Reference Design
Notes: TXD pin is also hardware configuration pin internal module. So this pin MUST pull-down
during module power up. HF0A11x modules provide internal pull-down resister, user can‟t add
pull-up/pull-down resister on user board, which may cause module can‟t work.
1.3.4. Power Interface
HF-A21-SMT module support single +3.3V power supply. The peak current shall about 350mA
and normal WiFi working current shall about 200mA. The power save (WiFi OFF) mode will about
100mA
Decoupling at power pin suggested, At least one 100uF and one 10uF capacitor required at user
board and put near module power input pin will increase the reliability and performance.
When HF-A21-SMT modules boot up phase, the general user board MCU software flow chart will
as following:
Figure 12. User MCU Software Flow Chart
When HF-A21-SMT modules boot up, user can select one work mode base on the setting, and
user can switch to the configuration mode at any kinds of work mode.
1.4.1. Transparent Transmission Mode
HF-A21-SMT modules support serial interface transparent transmission mode. The benefit of this
mode is achieves a plug and play serial data port, and reduces user complexity furthest. In this
mode, user should only configure the necessary parameters. After power on, module can
automatically connect to the default wireless network and server.
As in this mode, the module's serial port always work in the transparent transmission mode, so
users only need to think of it as a virtual serial cable, and send and receive data as using a
simple serial. In other words, the serial cable of users‟ original serial devices is directly replaced
with the module; user devices can be easy for wireless data transmission without any changes.
The transparent transmission mode can fully compatible with user‟s original software platform and
reduce the software development effort for integrate wireless data transmission.
Notes: Transparent transmission mode as a low level phy layer data transmitting can't keep zero
error rates by itself. User can enable UART port‟s hardware flow control CTS/RTS function or
though higher layer protocol such as TCP to lower error rate and mange the data completeness.
High-Flying recommend when doing large amounts of data transmitting in transparent
transmission mode, hardware flow control should be enabled, so as to fully ensure reliable data
transmission. In the applications which doesn‟t need flow control, users can simply leave RTS /
CTS pin vacant.
1.4.2. Configuration Mode
In configuration mode, user can finish HF-A21-SMT module configuration management and
parameters setting work. In work mode (Transparent Transmission), user can switch to the
configuration mode through AT+instruction, detailed switch operation refer to “AT+ instruction set”
chapter.
1.4.3. Multi-TCP Link Connection
When HF-A21-SMT module configured as TCP Server, it supports Multi-TCP link connection, and
maximum 32 TCP clients permit to connect to HF-A21-SMT module. User can realize multi-TCP
link connection at each work mode.
Multi-TCP link connection will work as following structure:
Upstream: All dates from different TCP connection or client will be transmitted to the serial port as
a sequence.
Downstream: All data from serial port (user) will be duplicate and broadcast to every TCP
connection or client.
Detailed multi-TCP link data transmition structure as following figure:
Figure 13. Multi-TCP Link Data Transmition Structure
1.4.4. TCPB Function
HF-A21-SMT support 2xTCP function, which means module can support 2 network connections
at the same time. The 2nd net work connection called TCPB. TCPB only works as TCP Client and
its configuration can only through AT commanrd, not Web configuration supported. The command
as following,
AT+TCPB=on, Enable TCPB function;
AT+TCPPTB=<port>, Set TCPB port number;
AT+TCPADDB=<IP or domain>, Set TCPB‟s server address;
AT+TCPTOB=<time>, Set TCPB timeout;
AT+TCPLKB, Query TCPB link status;
Detailed command describtion refer ro AT instruction chapter. After enable TCPB function, two
network interfaces‟ work mode like “Multi-TCP Link”, All dates from each TCP connection will be
transmitted to the serial port as a sequence and all data from serial port (user) will be duplicate
and broadcast to each TCP connection.
1.4.5. Palmodic Signal
Base on selected factory default setting, nReady signal can have two output statuses:
Status One: The module will output “0” after normal boot up. This signal used to judge if
module finish boot up and ready for application.
Status Two: The module will output “Palmodic Signal” after normal boot up.The
palmodic signal is 0.5Hz square wave with dutyfactor 1:1. User can query this signal to
judge if moduleis active “live” or need to re-boot. When module switches to command
mode, it will output “0”, which used to distinguish work mode and command mode.