F8913 ZigBee Module User Manual PDF
F8913 ZigBee Module User Manual PDF
Fax:+86 592-5912735
http://www.fourfaith.com
http://www.fourfaith.com Page 1 of 48
F8913 User Manual
http://www.fourfaith.com Page 2 of 48
F8913 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
http://www.fourfaith.com Page 3 of 48
F8913 User Manual
http://www.fourfaith.com Page 4 of 48
F8913 User Manual
Contents
Chapter 1 Brief Introduction of Product ........................................................................................... 7
1.1 Overview .................................................................................................................. 7
1.2 Features and Benefits ................................................................................................. 7
1.3 Specification ............................................................................................................. 8
1.4 Terms and Abbreviation ........................................................................................... 10
Chapter 2 Module Interface ............................................................................................................ 11
2.1 Module Signal Definition ......................................................................................... 11
2.2 UART ..................................................................................................................... 13
2.3 SPI ......................................................................................................................... 13
2.4 GPIO Specification .................................................................................................. 13
2.5 Antenna Interface .................................................................................................... 14
2.6 Antenna Installation ................................................................................................. 15
2.7 Firmware Performance Specifications ....................................................................... 16
2.8 Absolute Maximum Ratings ..................................................................................... 16
Chapter 3 Communication Interface Operation .............................................................................. 17
3.1 UART ..................................................................................................................... 17
3.1.1 UART signal description ........................................................................................ 17
3.1.2 UART connections ................................................................................................. 17
3.1.3 UART Characteristics ............................................................................................ 17
3.2 SPI ......................................................................................................................... 18
3.2.1 SPI signals description: .......................................................................................... 18
3.2.2 SPI connections ...................................................................................................... 19
3.2.3 SPI communication timing ..................................................................................... 19
3.3 Analog and Digital I/O ............................................................................................. 19
3.3.1 Signal Definition .................................................................................................... 19
3.3.2 Function Description .............................................................................................. 20
Chapter 4 Parameter Configuration........................................................................................... 21
4.1 Configuration Connection ..................................................................................... 21
4.2 Configuration Introduction .................................................................................... 21
4.3 Run the configure Tool: ZigbeeConfigure.exe...................................................... 22
4.4 Modes of Operation .............................................................................................. 22
4.4.1 Transparent mode .............................................................................................. 23
4.4.2 AT command mode ............................................................................................ 23
4.4.2.1 Set the PAN ID : AT+PID............................................................................ 23
4.4.2.5 Set the node type: AT+TYP......................................................................... 25
4.4.2.6 Set node address : AT+NID ......................................................................... 25
4.5.2.7 Query node current address : AT+NCD ...................................................... 25
4.4.2.8 Set the transparent address : AT+TID.......................................................... 26
4.4.2.9 Set the node baudrate : AT+IPR, AT+PAR, AT+STO.................................. 26
4.4.2.10 Set the command echo : AT+ECH............................................................. 27
4.4.2.11 Set node to get acknowledge : AT+ACK................................................... 27
4.4.2.12 Set debug level : AT+DBL ........................................................................ 27
http://www.fourfaith.com Page 5 of 48
F8913 User Manual
4.4.2.13 Set the node auto joins in the network : AT+AST ..................................... 28
4.4.2.14 Set the RF data output the serial port: AT+PRF ........................................ 28
4.4.2.15 Query the softwarte version : AT+VER .................................................... 28
4.4.2.16 Start the network : AT+STA ...................................................................... 29
4.4.2.17 Query the nodes network state : AT+NWS ............................................... 29
4.4.2.18 Query the node address : AT+QNA........................................................... 30
4.4.2.19 Query the node MAC address : AT+QMA ................................................ 30
4.4.2.20 Query local node address net state: AT+SNS ............................................ 30
4.4.2.21 Send data (HEX mode): AT+TXH ............................................................ 31
4.4.2.22 Send data (ASCII mode) : AT+TXA ......................................................... 31
4.4.2.23 Node recive data ........................................................................................ 31
4.4.2.24 Node IO pins command............................................................................. 32
4.5.2.24.1 Set IO pin mode : AT+DMn, (n :0~4) ............................................ 32
4.4.2.24.2 Set IO pin data acquisition time interval : AT+DTn, (n :0~4) ........ 33
4.4.2.24.3 Query IO pin value : AT+DVn, (n :0~4) ........................................ 33
4.4.2.24.4 Query the net node IO pin value: AT+NVn, (n :0~4) ..................... 33
4.4.2.24.5 Set remote node IO pin value : AT+NSn, (n :0~4) ......................... 34
4.4.2.25 Set the End Device sleep mode:AT+SLE ................................................. 34
4.4.2.26 Set the End Device sleep time:AT+STC ................................................... 35
4.4.2.27 Set the Data Interval:AT+ITV................................................................... 35
4.4.2.28 Other execute command ............................................................................ 35
4.4.3 API mode ............................................................................................................. 36
4.4.3.1 data send command ..................................................................................... 37
4.4.3.2 data recive command ................................................................................... 37
4.4.3.3 Set the node current operating mode ........................................................... 38
4.4.3.4 OTA IO pin data acquisition ........................................................................ 38
4.4.3.5 OTA Set remote node IO pin value ............................................................. 39
4.4.3.6 OTA Query MAC address ........................................................................... 40
4.4.3.7 OTA Query node address ............................................................................ 41
4.4.3.8 OTA Query all node address and MAC address .......................................... 42
Chapter 5 Reference Circuit ............................................................................................................ 43
5.1 Power ..................................................................................................................... 43
5.2 Communication ....................................................................................................... 43
5.3 Reset ...................................................................................................................... 44
5.4 Digital I/O ............................................................................................................... 44
5.5 ADC Sampling Circuit ............................................................................................. 45
Chapter 6 Dimension and solder ..................................................................................................... 46
6.1 Outline Dimension ................................................................................................... 46
6.2 PCB Footprint ......................................................................................................... 46
6.3 Re-flow Temperature Specification ........................................................................... 47
Chapter 7 Ordering Information...................................................................................................... 48
http://www.fourfaith.com Page 6 of 48
F8913 User Manual
1.1 Overview
F8913 ZigBee terminal is a kind of data terminal device that provides data transfer function
by ZigBee network.
The product uses high-performance industrial-grade ZigBee solution, support transparent
data transmission function; low power consumption design, the lowest working current can less
than 2mA; supply 5 I/O channels, compatible 5 pulse wave output channels, 3 analog inputs and 2
pulse input counters.
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.
1.3 Specification
ZigBee Specification
Item Content
MCU Industrial ZigBee Platform
Communication Protocol IEEE 802.15.4
and Band ISM2.4~2.5GHz
30m
Indoor/Urban Range
90m(With PA)
Outdoor/RF Line-of-Sight 500m
Range 2000m(With PA)
2.82 mw (+4.5dBm)
Transmit Power
100 mw (+20dBm) (With PA)
RF Data Rate 250Kbps
-97dBm
Receiver Sensitivity
-103dBm (With PA)
Network Topologies Point-to-Point, Point-to-Multipoint, Peer-to-Peer and Mesh
Channels 11 to 26
Max packge size 300 Bytes
Interface Type
Item Content
Data bits: 8
UART Stop bits: 1, 2
Checksum: none,odd,even
Xiamen Four-Faith Communication Technology Co.,Ltd. Page 8 of 48
rd
Add: J1-J3,3 Floor,No.44,GuanRiRoad,SoftWare Park,XiaMen .361008.China
http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324 Fax:+86 592-5912735
Page 8 of 48
F8913 User Manual
Baudrate: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400,57600,
115200 bps
Antenna connector U.FL RF connector, impedance 50 ohm
Support 2.0mm spacing stamp hole for SMT and 2.0mm spacing
Package
through-hole pins simultaneous
Power Input
Item Content
Recommended Power DC 3.3V/0.1A
Power Range DC 2.0~3.6V
Power Consumption
Working States Power Consumption
Idle Mode 28.3~28.4mA@3.3VDC
Coordinator RX Mode 27.5~27.8mA@3.3VDC
TX Mode 28.8~29.1mA@3.3VDC
Idle Mode 28.2~28.4mA@3.3VDC
Router RX Mode 27.5~27.8mA@3.3VDC
F8913-N TX Mode 28.9~29.1mA@3.3VDC
Idle Mode 8.6~8.9mA@3.3VDC
RX Mode 10.8~11.5mA@3.3VDC
EndDevice TX Mode 14.4~15.2mA@3.3VDC
Timing wake up 1.3~1.4uA@3.3VDC
Deep Sleep 0.4~0.5 uA@3.3VDC
Physical Characteristics
Item Content
Dimensions 37.5 x 22.1 x 2.8 mm
Weight 3.5 g
Xiamen Four-Faith Communication Technology Co.,Ltd. Page 9 of 48
rd
Add: J1-J3,3 Floor,No.44,GuanRiRoad,SoftWare Park,XiaMen .361008.China
http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324 Fax:+86 592-5912735
Page 9 of 48
F8913 User Manual
Environmental Limits
Item Content
Operating Temperature -40~+85ºC (-104~+185 ºF)
Extended Operating
-40~+125ºC (-104~+257ºF)
Temperature
Storage Temperature -40~+125ºC (-104~+257ºF)
Operating Humidity 95% ( unfreezing)
Abbreviation Description
ADC Analog to Digital Converter
AREQ Asynchronous Request
CTS Clear to Send
DC Direct Current
DIP Double In-line Package
EVB Evaluation Board
GPIO General Purpose Input/Output
ISM Industrial Scientific and Medical
LED Light-Emitting Diode
MAC Media Access Control
MCU Microprocessor Control Unit
MI Master Input
MO Master Output
M2M Machine to Machine
N/A Not Available
PA Power Amplify
PC Personal Computer
PCB Print Circuit Board
PHY Physical
POS Point of Sale
RF Radio Frequency
RTS Request to Send
SMT Surface Mount Technology
SPI Serial Peripheral Interface
SREQ Synchronous Request
SRSP Synchronous Response
SS Salve Seclect
TTL Transistor-Transistor Logic
UART Universal Asynchronous Receiver-Transmit
Xiamen Four-Faith Communication Technology Co.,Ltd. Page 10 of 48
rd
Add: J1-J3,3 Floor,No.44,GuanRiRoad,SoftWare Park,XiaMen .361008.China
http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324 Fax:+86 592-5912735
Page 10 of 48
F8913 User Manual
U.FL Ultra small Surface Mount Coaxial Connector
WDT Watchdog Timer
2.2 UART
2.3 SPI
Antenna Conntector
1、 Install the antenna far away from the large area metal and ground.
2、 Keep the antennas visual.
3、 Minimize obstructions between the antennas.
4、 Reduce the extension cords of the antenna.
The performance of different antenna installation types, as the figure 2-4.
3.1 UART
Start D0 D1 D2 D3 D4 D5 D6 D7 Stop
Figure 3-3 Data format
1) Communication interface: UART
2) Baudrate: 300,600,1200,2400,4800,9600 ,19200,38400,57600 ,115200 bps (default)
3) Start bit: 1bit
4) Data bit: 8bit
5) Stop bit: 1bit,2bit
6) Checksum: none,odd,even
3.2 SPI
C: serial clock.
SS: Slave select.
MO: Master Output Slave input
MI: Master Input Slave output
The F8913 support ADC and digital I/O line passing.The ADC and digital I/O can be
inquired and configured by AT commands.The pins support ADC and digital I/O fuctions
are listing in the table 3-1 and table 3-2.
Table 3-1 Analog and Digital I/O pins (SMT)
Pin Number Pin Name Default Function
8 P2.0 Digital I/O3
13 P1.3 Digital I/O2
22 P0.6/ADC ADC3
27 P0.1/ADC ADC2
1, Digital I/O
The Digital I/O P1.3&P2.0 support 4mA drive capability.
2, ADC
The ADC support 7 to 12 bits of resolution. The ADC input voltage range is 0V to
VCC.
Please configure the right value when operate the I/O.
Table 3-3 I/O Configuration
Value Description
0 Disabled
1 Peripheral control
2 Analog
3 Data in monitored
4 Data out low
5 Data out high
Notice: Please reference the AT command “AT+DMn” in the charpter 4 for the details.
Before configuration, it’s need to connect the F8913 with a host controller.The host
controller could be a PC or other device which contain UART/SPI port. You can connect
the F8913 with PC by the Four-Faith F8913 EVB, as showing in the figure 4-1.
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。
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 4-1.
Table 4-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
Xiamen Four-Faith Communication Technology Co.,Ltd. Page 23 of 48
rd
Add: J1-J3,3 Floor,No.44,GuanRiRoad,SoftWare Park,XiaMen .361008.China
http://www.fourfaith.com Tel: +86 592-6300326 6300325 6300324 Fax:+86 592-5912735
Page 23 of 48
F8913 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
4.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
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
4.4.2.6 Set node address : AT+NID
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.
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
4.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
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 :
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.
Parameter description :
MAC Address : the required 16 hexadecimal strings
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
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
n IOs Pins
0 IO5 P0.0
1 IO4 P0.1
2 IO3 P0.6
3 IO2 P1.3
4 IO1 P2.0
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
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>
Description :
Get local IO pin value (ADC or GPIO)
4.4.2.24.4 Query the net node IO pin value: AT+NVn, (n :0~4)
Form Command Return
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
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
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.
5.1 Power
The F8913 typical operating voltage is 3.3VDC.The figure 5-1 is the recommend 5VDC
convert to 3.3VDC circuit.
5.2 Communication
3, The host controller support UART/SPI.The connection please reference figure 3-1 and
figure 3-5.
5.3 Reset
The RST pin should be pull-up with a 10kΩ resistance for the module power on
normally.The hardware reset can execution by a switch.Press down the swich will reset the F8913,
as figure 5-4.
The figure 5-5 is the demo circuit of the digital I/O control a LED.
The figure 5-6 is applies to voltage acquisition (0-5VDC).The figure 5-7 is applies to
current acquisition (0-20mA).
The figure 6-3 and figure 6-4 are the recommend PCB Footprint. (Unit:mm)
You can contact the sales of Xiamen Four-Faith Communication Technology Co., Ltd to
buy the modules or EVB. Please specify the model you need.
Contact Four-Faith:
Xiamen Four-Faith Communication Technology Co., Ltd.
Add:J1-J3,3rd Floor,No.44,GuanRi Road,SoftWare
Fax:+86 592-5912735
http://www.fourfaith.com