F8914 ZigBee Terminal User Manual
F8914 ZigBee Terminal User Manual
Fax:+86 592-5912735
http://www.fourfaith.com
User Manual
Copyright Notice
All contents in the files are protected by copyright law, and all copyrights are reserved by Xiamen
Four-Faith Communication Technology Co., Ltd. Without written permission, all commercial
use of the files from Four-Faith are forbidden, such as copy, distribute, reproduce the files, etc.,
but non-commercial purpose, downloaded or printed by individual (all files shall be not revised,
and the copyright and other proprietorship notice shall be reserved) are welcome.
Trademark Notice
Contents
Chapter 1 Brief Introduction of Product ........................................................................................... 7
1.1 General ................................................................................................................................ 7
1.2 Features and Benefits .......................................................................................................... 7
1.3 Working Principle ............................................................................................................... 8
1.4 Specifications ...................................................................................................................... 8
Chapter 2 Installation Introduction ................................................................................................. 11
2.1 General .............................................................................................................................. 11
2.2 Encasement List ................................................................................................................ 11
2.3 Installation and Cable Connection .................................................................................... 11
2.4 Power ................................................................................................................................ 15
2.5 Indicator Lights Introduction ............................................................................................ 15
Chapter 3 Configuration .............................................................................................................. 16
3.1 Configuration Connection ................................................................................................. 16
3.2 Configuration Introduction................................................................................................ 16
3.3 Run the configure Tool: ZigbeeConfigure.exe .................................................................. 17
3.4 Modes of Operation .......................................................................................................... 17
3.4.1 Transparent mode .............................................................................................. 18
3.4.2 AT command mode ............................................................................................ 18
3.4.2.1 Set the PAN ID : AT+PID............................................................................ 18
3.4.2.2 Query current PAN ID: AT+PCD ................................................................ 19
3.4.2.3 Set the physical channel : AT+CHA ............................................................ 19
3.4.2.4 Query the node MAC address : AT+MID ................................................... 19
3.4.2.5 Set the node type: AT+TYP......................................................................... 20
3.4.2.6 Set node address : AT+NID ......................................................................... 20
3.5.2.7 Query node current address : AT+NCD ...................................................... 20
3.4.2.8 Set the transparent address : AT+TID.......................................................... 20
3.4.2.9 Set the node baudrate : AT+IPR, AT+PAR, AT+STO.................................. 21
3.4.2.10 Set the command echo : AT+ECH............................................................. 22
3.4.2.11 Set node to get acknowledge : AT+ACK................................................... 22
3.4.2.12 Set debug level : AT+DBL ........................................................................ 22
3.4.2.13 Set the node auto joins in the network : AT+AST ..................................... 23
3.4.2.14 Set the RF data output the serial port: AT+PRF ........................................ 23
3.4.2.15 Query the softwarte version : AT+VER .................................................... 23
3.4.2.16 Start the network : AT+STA ...................................................................... 23
3.4.2.17 Query the nodes network state : AT+NWS ............................................... 24
3.4.2.18 Query the node address : AT+QNA........................................................... 24
3.4.2.19 Query the node MAC address : AT+QMA ................................................ 25
3.4.2.20 Query local node address net state: AT+SNS ............................................ 25
3.4.2.21 Send data (HEX mode): AT+TXH ............................................................ 25
3.4.2.22 Send data (ASCII mode) : AT+TXA ......................................................... 26
1.1 General
F8914 is a kind of data terminal device that provides data transfer function by ZigBee
network.
It adopts high-powered industrial 32 bits CPU and embedded real time operating system. It
supports RS232, RS485 (or RS422) and ZigBee port that can conveniently and transparently
connect one device to a cellular network, allowing you to connect to your existing serial and
ZigBee devices with only basic configuration. It has low power consumption states in which the
power consumption 2.2mA@12VDC. It has compatible digital I/O channel, ADC function.
It has been widely used on M2M fields, such as intelligent transportation, smart grid,
industrial automation, telemetry, finance, POS, water supply, environment protection, post,
weather, and so on.
http://www.fourfaith.com Page 7 of 37
User Manual
Standard and Convenience
Adopt terminal block interface, convenient for industrial application
Support standard RS232 and RS485(or RS422) port that can connect to serial devices directly
TTL logic level RS232 interface can be customized
Support intellectual mode, enter into communication state automatically when powered
Provide management software for remote management
Support several work modes
Convenient configuration and maintenance interface
High-performance
Support ZigBee wireless short-distance data transmission
Support repeater and terminal device function
Support Point-to-Point, Point-to-Multipoint, Peer-to-Peer and Mesh network
Support 65000 nodes
Support center node, route node and terminal node
Support broadcast and target address transfer
Support wide communication range
Supply 5 I/O channels, compatible 2pulse wave output channels, 3 analog inputs and 2 pulse
input counters.
Indicator MCU RF
Lights
Antenna
RS232/RS485/RS422
Module
1.4 Specifications
ZigBee Specification
Item Content
ZigBee Module Industrial ZigBee module
Standard and Band IEEE 802.15.4
ISM 2.4 GHz
http://www.fourfaith.com Page 8 of 37
User Manual
Indoor/Urban Range 30m
90m(With PA)
Outdoor/RF Line-of-Sight Range 500m
2000m(With PA)
2.82mw (+4.5dBm)
Transmit Power
100 mw (+20dBm) (With PA)
Bandwidth 250Kbps
-97dBm
Receiver Sensitivity
-103dBm(With PA)
Network Topologies Point-to-Point, Peer-to-Peer and Mesh
Channels 11 to 26
Max packge size 300 Bytes
Interface Type
Item Content
Serial 1 RS232 port and 1 RS485(orRS422) port, 15KV ESD protection
Data bits: 8
Stop bits: 1, 2
Parity: none, odd, even
Baud rate: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps
Indicator "Power", "ACT", "Online"
Antenna Standard SMA female interface, 50 ohm, lighting protection(optional)
Power Terminal block interface, reverse-voltage and overvoltage protection
Antenna
Terminal Block
Interface
Power Input
Item Content
Standard Power DC 12V/0.5A
Power Range DC 5~35V
Power Consumption
Working States Power Consumption
Idle Mode 13.5~13.8mA@12 VDC
Coordinator RX Mode 13.6~13.7mA@12 VDC
F8914-N
TX Mode 14.0~14.4mA@12 VDC
Router Idle Mode 13.2~13.4mA@12 VDC
http://www.fourfaith.com Page 9 of 37
User Manual
RX Mode 13.2~13.7mA@12 VDC
TX Mode 13.9~14.1mA@12 VDC
Idle Mode 6.2~6.4mA@12 VDC
RX Mode 7.1~7.4mA@12 VDC
EndDevice TX Mode 8.9~9.4mA@12 VDC
Timing wake up 3.2~3.3mA@12 VDC
Deep Sleep 2.2~2.3 mA@12 VDC
Physical Characteristics
Item Content
Housing Iron, providing IP30 protection
Dimensions 91x58.5x22 mm
Weight 205g
Environmental Limits
Item Content
Operating -25~+65ºC(-13~+149℉)
Temperature
Extended -30~+75ºC(-22~+167℉)
Operating
Temperature
Storage -40~+85ºC(-40~+185℉)
Temperature
Operating 95% ( Non-condensing)
Humidity
http://www.fourfaith.com Page 10 of 37
User Manual
2.1 General
The F8914 must be installed correctly to make it work properly.There is need only one
coordinator in a network, the other nodes should be set as routers or end devices.
Install the coordinator first, then install the routers or end devices from near to distant.
Warning: Forbid to install the F8914 when powered!
4 28
Ф3
Ф5 25
35
28
58.5
http://www.fourfaith.com Page 11 of 37
User Manual
Installation of antenna:
Screw the SMA male pin of the antenna to the female SMA outlet of F8914 tightly.
Warning: The antenna must be screwed tightly, or the signal quality of antenna will be
influenced!
http://www.fourfaith.com Page 12 of 37
User Manual
User Interface Signal Definition
Pin Number Signal Name Default Function Extensible Function
1 PWR Power input anode N/A
2 GND Power Ground N/A
3 GND Power Ground N/A
4 RX RS232 RX N/A
5 TX RS232 TX N/A
6 A RS485 anode Reserved compatible DTR
7 B RS485 cathode Reserved compatible DSR
8 IO1 GPIO Reserved compatible RTS and
RS232 RX (TTL logic level)
9 IO2 GPIO Reserved compatible CTS and
RS232 TX (TTL logic level)
10 IO3 ADC, analog input GPIO, pulse output, pulse
function (voltage counting. Reserve compatible
acquisition 0 ~ 5 V) RS232 DCD
11 IO2 ADC, analog input GPIO, pulse output, pulse
function (current counting. Reserve compatible
collection 0 ~ 20 mA) RS232 RI
12 IO1 ADC, analog input GPIO, pulse output, pulse
function (current counting.
collection 0 ~ 20 mA)
Installation of cable:
F8914 adopts industrial terminal block interface. The recommended cable is 28-16AWG. The
detail description of standard layout adapter and communication cables as the following:
Adapter(Rating Output 12VDC/0.5A) :
Cable Color Power Output Polarity
Black &White Alternate Anode
Black Cathode
RS232 Cable:
Cable Color Corresponding DB9-M Pin Number
Brown Pin 2
http://www.fourfaith.com Page 13 of 37
User Manual
Blue Pin 3
Black Pin 5
RS485 Cable:
Cable Color Signal definition
Red RS485(A)
Black RS485(B)
http://www.fourfaith.com Page 14 of 37
User Manual
2.4 Power
http://www.fourfaith.com Page 15 of 37
User Manual
Chapter 3 Configuration
Before configuration, It’s necessary to connect the device with the configure PC by
the shipped RS232 or RS232-485 conversion cable.As showing in the figure 4-1.
http://www.fourfaith.com Page 16 of 37
User Manual
The “Communication Setting” column shows the current serial port settings. To
configure ZigBee modules, please choose the correct serial port parameters ,then open
the serial port. If the button text is“Close”, it shows the serial port now has been opened. If
the text is “Open”, you should open the port first.
When you had configure the correct serial port,please press the
state。
http://www.fourfaith.com Page 17 of 37
User Manual
When operationg in transparent mode the modules act as a serial line replacement.
All UART data received through the DIN pin is queued up for RF transmission. When data
is received, the data is sent out through the DOUT pin.
Re-power module enter the transparent mode by default。
To enter transparent mode:
In the AT command mode,send “AT+ESC<CR><LF>”through serial port.
In the API mode, send “FE 01 21 2A 00 0A” through serial port.
AT command mode is a multiple function operation. This mode can configure the
modules parameters,send data and recive data.
To enter AT command mode:
In the transparent mode,send the 3-character command sequence“+++”twice
through serial port.
In the API mde,send “FE 01 21 2A 00 0A” through serial port.
CHECK the AT command mode,send “AT<CR><LF>” through serial port, it will
return “OK”.
All AT command line should begin with “AT” or “at” and end with “<CR><LF>”.In
general, the AT command includes three forms, as shown in table 3-1.
Table 3-1 AT command forms
Form Description Instance
Set Set the custom AT+XXX=<……>
parameters
Query Query the current AT+XXX?
parameters value
Execute Execute the command AT+XXX
Set AT+PID=<number 0K
strings> ERROR
http://www.fourfaith.com Page 18 of 37
User Manual
Query AT+PID? +PID: number strings
OK
Parameter description :
number strings Range:0~65531,Set unique PAN ID
65535, System will assign a stochastic PAN ID
Default:65535
3.4.2.2 Query current PAN ID: AT+PCD
Form Command Return
Set AT+CHA=<number 0K
strings> ERROR
Query AT+CHA? +CHA: number string
OK
Parameter description :
number string Range: 11~26
Default: 11
http://www.fourfaith.com Page 19 of 37
User Manual
Set AT+TYP=<number 0K
string> ERROR
Query AT+TYP? +TYP: number string
OK
Parameter description :
number string Range: 0 = Coordiantor
1 = Routerr
2 = End Device
Default:1
Set AT+NID=<number 0K
strings> ERROR
Query AT+NID? +NID: number strings
OK
Parameter description :
number string Range: 0~65527,Set unique node address
65535, System will assign a stochastic node address
Default:65535
Attention : When coordiantor form a network, its node address is fixed to 0, the router
and end device’s node address must be non-zero.
http://www.fourfaith.com Page 20 of 37
User Manual
Form Command Return
Set AT+TID=<number 0K
strings> ERROR
Query AT+TID? +TID: number strings
OK
Parameter description :
number strings Range: 0~65527,Set unique node trans address
65535, broadcast address
Default:0
3.4.2.9 Set the node baudrate : AT+IPR, AT+PAR, AT+STO
Set AT+IPR=<number 0K
string> ERROR
Query AT+IPR? +IPR: number string
OK
Parameter description :
number strings Range: 0 = 300,1 = 600,2 = 1200,3 = 2400,4 = 4800,5 = 9600,6 = 19200,
7 = 38400,8 = 57600,9 = 115200
Default:9
Set AT+PAR=<number 0K
string> ERROR
Query AT+PAR? +PAR: number string
OK
Parameter description :
number strings Range: 0 = none, 1 = even , 2 = odd
Default:0
Set AT+STO=<number 0K
string> ERROR
http://www.fourfaith.com Page 21 of 37
User Manual
Query AT+STO? +STO: number string
OK
Parameter description :
number strings Range: 0 = ONE stop bit, 1 = TWO stop bit
Default: 0
Set AT+ECH=<number 0K
string> ERROR
Query AT+ECH? +ECH: number string
Parameter description :
number strings Range: 0 = non-echo, 1 = echo
Default:0
Set AT+ACK=<number 0K
string> ERROR
Query AT+ACK? +ACK: number string
OK
Attention : whether or not to get the acknowledge data
Parameter description :
number strings Range: 0 = no , 1 = yes
Default:0
Set AT+DBL=<number 0K
string> ERROR
Query AT+DBL? +DBL: number string
OK
Parameter description :
http://www.fourfaith.com Page 22 of 37
User Manual
number strings Range: 0 = close all debug messages
1 = info the important debug messages
2 = info all debug messages
Default: 0
Set AT+AST=<number 0K
string> ERROR
Query AT+AST? +AST:number string
OK
Parameter description :
number strings Range: 0 = not auto join, 1 = auto join
Default:1
Set AT+PRF=<number 0K
string> ERROR
Query AT+PRF? +PRF: number string
OK
Parameter description :
number strings Range: 0 = not output, 1 = output
Default:1
Attention : This command parameter don’t save in flsah.
http://www.fourfaith.com Page 23 of 37
User Manual
ERROR
Attention : When “AT+AST = 0”,this command can start the network.
Parameter description :
MAC Address : the required 16 hexadecimal strings
http://www.fourfaith.com Page 24 of 37
User Manual
Parameter description :
Node Address : the required node address
Set AT+TXH=<node OK
address><content> ERROR
Parameter description :
Node Address: two byte hexadecimal,the lowest byte comes first
http://www.fourfaith.com Page 25 of 37
User Manual
Content: the hexadecimal data.
For example:
AT+TXH=0123383838383838<CR><LF>
The node address is 0x2301 and the content is “888888”.
Attention : The content length can’t be longer than 160 character.
Set AT+TXA=<node OK
address>,<content> ERROR
Parameter description :
Node Address: decimal address
Content: ASCII data.
For example:
AT+TXA=12245,123456789
12245 is the reciver node address,123456789 is the ASCII content.
Attention : The content length can’t be longer than 80 character.
+RCV:<source address>,<data
strings>
Parameter description :
Source Address: the sender node address
Content: ASCII data strings
http://www.fourfaith.com Page 26 of 37
User Manual
n IOs
0 IO5
1 IO4
2 IO3
3 IO2
4 IO1
Set AT+DMn=<number 0K
string> ERROR
Query AT+DMn? +DMn: number string
OK
Parameter description :
number string Range: 0 = Disabled
1 = ADC Analog to Digital Converter
2 = DI digital input
3 = DO low digital output low
4 = DO high digital output high
Default:0
For example: AT+DM0=1 set the IO1 Analog to Digital Converter
http://www.fourfaith.com Page 27 of 37
User Manual
Set AT+DTn=<number 0K
strings> ERROR
Query AT+DTn? +DTn: number strings
OK
Parameter description :
number string Range: 0~65535 seconds,set the report time interval
0,not report
Default:0
Attention : 1.Only take effect in IO pin ADC and DI mode.
2.The collected data will send to the trans address node.
For example : in AT command mode
+NVn:<state>,<node address>,<pin>,<value>
3. ADC value converte voltage or electric current value formula
voltage: (ADC value)*3.3*20.16/(2047*12.1) (V)
electric current: (ADC value)*3.3*1000/(2047*150) (mA)
Description:
IO model, logic 0 voltage is 0 ~ 0.5 V, logic 1 voltage is 2.5 ~ 3.3 V, all IO only 4 mA
driver ability.
ADC model, ADC acquisition internal reference voltage is 3.3 V, voltage acquisition
partial pressure resistance were: 8.06 k Ω, 12.1 k Ω; Current acquisition resistance is: 2
150 Ω; An acquisition time is: 150 uS.
4.4.2.24.3 Query IO pin value : AT+DVn, (n :0~4)
Form Command Return
Description :
Get local IO pin value (ADC or GPIO)
http://www.fourfaith.com Page 28 of 37
User Manual
Set AT+SLE=<Number 0K
String> ERROR
Query AT+SLE? +SLE: Number String
OK
Parameter description :
number string : 0 = no sleep
1 = timer sleep
2 = deep sleep
http://www.fourfaith.com Page 29 of 37
User Manual
Default: 0
Set AT+STC=<number 0K
strings> ERROR
Query AT+STC? +STC: number strings
OK
Parameter description :
number string Range: 0~65535 seconds,when AT+SLE =1, set the sleep time
Default:0
Default operation:Report Pin IO5 Value.
Set AT+ITV=<number 0K
strings> ERROR
Query AT+ ITV? + ITV: number strings
OK
Parameter description :
number string Range: 6-1980 ms
Default:20
http://www.fourfaith.com Page 30 of 37
User Manual
AT+FAC OK Factory
AT+SRS OK Restart
API operation requires that communication with the module be done through a
structured interface (data is communicated in frames in a defined order). The API
specifies how
commands, command responses and module status messages are sent and received
from the
module using a UART Data Frame.
http://www.fourfaith.com Page 31 of 37
User Manual
Attention : The data content should be send with little-endian, the lowest byte come first.
http://www.fourfaith.com Page 32 of 37
User Manual
FCS 1 03 Frame check sequence
http://www.fourfaith.com Page 33 of 37
User Manual
FCS 1 3B Frame check sequence
AREQ:
Fields Sub field Offset Example Description
SOF 1 FE 0xFE
Length 1 06 The length of data
Command send 2 44 5E Fixed to 44 5E
Data State 1 00 00 = success,
Others = error
Destination 2 10 0E Destination node
address
IO pin address 1 02 IO pin addres
Pin value n 00 00 Attention : it shows
little-endian,such as 12
34,equale to 0x3412
FCS 1 00 Frame check sequence
http://www.fourfaith.com Page 34 of 37
User Manual
Command Send 2 44 60 Fixed to 44 60
Data Send state 1 00 00 = success,
Others = error
Destination 2 10 0E Destination node
address
IO pin address 1 02 IO pin address(00 - 02)
Set state 1 00 00 = success,
Others = error
FCS 1 3D Frame check
sequence
http://www.fourfaith.com Page 35 of 37
User Manual
01=router
02=end device
FCS 1 D1 Frame check sequence
http://www.fourfaith.com Page 36 of 37
User Manual
Fields Sub field Offset Example Description
SOF 1 FE 0xFE
Length 1 01 The length of data
Command Send 2 24 5B Fixed to 24 5B
Data Query 1 01 Fixed to 01
command
FCS 1 7F Frame check
sequence
SRSP:
Fields Sub field Offset Example Description
SOF 1 FE 0xFE
Length 1 01 The length of data
Command Send 2 64 5B Fixed to 64 5B
Data State 1 00 00 = success,
Others = error
FCS 1 3E Frame check sequence
AREQ:
Fields Sub field Offset Example Description
SOF 1 FE 0xFE
Length 1 0C The length of data
Command Send 2 44 5D Fixed to 44 5D
Data State 1 00 00 = success,
Others = error
Destination 2 10 0E Destination node address
MAC 8 8B D9 D1 Low byte come first
address 01
00 4B 12
00
Node type 1 01 00=coordinator
01=router
02=end device
FCS 1 D1 Frame check sequence
http://www.fourfaith.com Page 37 of 37