APAC Opto Electronics Inc.
AO-1507 ZigBee USB Dongle
User Manual
2014/9/17
Version 1.0
AO-1507 ZigBee USB Dongle User Manual
Page 1 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
Catalog
1. Introduction ............................................................................................................... 2
2. Feature....................................................................................................................... 2
3. Appearance and dimension........................................................................................ 3
4. Function choosing and setting ................................................................................... 3
4.1 Working mode choosing ................................................................................ 3
4.2 Initial function setting .................................................................................... 3
4.3 Clear current ID or re-connect internet (ID Clear)........................................... 5
5. Installation and operation .......................................................................................... 5
5.1 Set up a complete ZigBee network................................................................. 5
5.2 Coordinator sending data............................................................................... 6
5.3 Router sends back data .................................................................................. 6
5.4 Query the ZigBee network structure.............................................................. 7
5.5 The items which could apply to AO-1507 ....................................................... 8
6. AT Command (all commands are encoded by ASCII) ............................................ 9
6.1 PC connect method........................................................................................ 9
6.2 Enter and quit edit mode ............................................................................... 9
6.3 Command format........................................................................................... 9
6.4 AT command lists ......................................................................................... 10
7. Antenna characters and installation notice .............................................................. 13
8. Technical specifications of module........................................................................... 13
AO-1507 ZigBee USB Dongle User Manual
Page 2 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
1. Introduction
The design of this module is very simple, even people who don’t understand RF can
use it easily. The way of setting this module is just as COM Port.
AO-1507 ZigBee to USB dongle is 2.4GHz wireless transmission module. This module
uses TI CC2531 ZigBee SoC which is high reliability, high performance and low-power
consumption. Using IEEE802.15.4/Zigbee Pro wireless transmission technology, you don’t
have to set transmission line. You still could reach the purpose of monitor wireless.
AO-1507 allows users to use RS232/RS485/Modbus RTU agreements to connect the
monitor devices, and detect baud rate automatically. You can set PAN ID, NODE ID and RF
channel parameters. When you use a computer with one of USB port (WinXP/Vista/Win7),
you can use it immediately after installing driver. Meanwhile, it will generate a virtual COM
port in the computer. This module also has bottom of switching on/off and clearance
(hardware version). By AT commands (software version) switching Coordinator or Router,
users can change the ZigBee network type operating in different domain.
2. Feature
AO-1507 Zigbee to USB Dongle’s features are as below:(i) easy to use;(ii) you could set
just as general COM Port, therefore, it is compatible with any PC;(iii) small;(iv) it has
high-efficiency PCB antenna. It could transmit 30 meters in common environment and reach
50 meters in ideal environment.
AO-1507 ZigBee to USB Dongle can be used in indoor and outdoor. It can be used in
ZigBee internet Coordinator, Router, Repeater, ZigBee monitor spot, WSN, and Lighting
Control. If you use CC Debugger of TI (Texas Instruments), you can edit and burn programs by
yourself.
AO-1507 ZigBee USB Dongle User Manual
Page 3 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
3. Appearance and dimension
4. Function choosing and setting
4.1 Working mode choosing
Coordinator Router
4.2 Initial function setting
TI provides 2 kinds of drivers. They are 32bit and 64bit operation systems. Users
need to choose the version which meets your needs.
The steps of Installing driver CC2531 USB are as below
1. put AO-1507 into USB port, and wait the operation system to confirm Device
Type。
2. press Control Panel�Device Manager�Port(COM and LPT) will increase a “TI
CC2531 Low-Power RF to USB CDC Serial Port (COM6)” (Notice: the No. of
COM may be different.)
3. press “TI CC2531 Low-Power RF to USB CDC Serial Port (COM6)" right
bottom�Renew Driver�Check the drivers on the computer, and input the
Front
Back
AO-1507 ZigBee USB Dongle User Manual
Page 4 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
path of driver�Done
If there is no PAN ID or NODE ID set in AO-1507 ZigBee USB Dongle, users have to
set in the first time. The steps are as below.
1 First, you have to choose the function “Coordinator” or “Router”. (please see
4.1 function choosing). And then connect the port.
2 The PC connects AO-1507 ZigBee USB Dongle via USB. The PC opens terminal
software. The communicated parameters preset to 9600bps, 8-bit data, none
parity check, and 1-bit stop bit.
3 You have to set “Coordinator” first and set “Router” next. When you set
“Router”, make sure “Coordinator” is closed. Otherwise, Router can’t
complete searching PAN ID and can’t access domain.
4 AO-1507 ZigBee to USB Dongle responds module working mode as below.
NODE ID: generate NOTE ID from system. 4 digits HEX code.
PAN ID: generate PAN ID from system. 4 digits HEX code.
RF Channel: normal number: 11-26. 00 means that Zigbee doesn’t be
started.
Coordinator PAN ID Status:
U= Coordinator PAN ID be written
S= Coordinator PAN ID not be written
Module Working Mode:
C=Coordinator
R=Router
AO-1507 ZigBee USB Dongle User Manual
Page 5 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
String Header:is fixed to “ : ”
5 If AO-1507 is as “Coordinator”, you have to enter “AT Command” mode to use
ATPID command to write in PAN ID. (Please see 6. AT Command part)
6 If AO-1507 is as “Router”, it will write in NODE ID automatically.
7 Sending character string “---” can query AO-1507 working mode message
immediately.
4.3 Clear current ID or re-connect internet (ID Clear)
Set by software. (please see 6. AT Command part)
5. Installation and operation
5.1 Set up a complete ZigBee network
A complete ZigBee network must have at least one Coordinator and one Router
or End Device. All the members in the same ZigBee domain must have the same PAN
ID. However, they must have a individual NODE ID. So you need to set PAN ID and
NODE ID via UART before use. (Refer to 4.2 Initial function setting and 6. AT
Command part).
AO-1507 ZigBee USB Dongle User Manual
Page 6 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
5.2 Coordinator sending data
In the ZigBee network, one Coordinator can connect at most 65,000 Router
nodes. When the terminal application via AO-1507 ZigBee USB Dongle sends data to
any Router, it has to assign destination NODE ID in every data. The preset command
of AO-1507 Zigbee to USB Dongle is ASCII code. It’s format is :xxxx. “:” is start code.
“xxxx” is destination code.
A sample is as below. The control terminate sends one data “$01M” to device of
NODE ID=0002. The command string will be :0002$01M. “:0002” is 5 bytes ASCII
code. “$01M” doesn’t limit format.
5.3 Router sends back data
If a Router or End device wants to send data to control terminate, it just sends
them directly without adding any pre-control code. Because destination is fixed
Coordinator (NODE ID=0000). Please see the below diagram. (Notice:No matter
Coordinator, Router or End Device, the size of sending data must be under 50 bytes.
If the size of data is more than 50 bytes, every 50 bytes has to insert 50-100ms delay.
AO-1507 ZigBee USB Dongle User Manual
Page 7 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
5.4 Query the ZigBee network structure
ZigBee network takes “Coordinator” as center. In normal condition, users don’t need
to know the whole framework of the internet. If users want to know the whole
framework in some special condition, you can query via NETAS. Each Router receiving
commands will report to its NODE ID and Father NODE. Its format will be:FFFF-NNNN.
“:” is the start character. FFFF is the NODE ID of the Router’s Father NODE. If it is “0000”,
it means the Father NODE is coordinator. “NNNN” means the Router which replies the
command is its NODE ID.
There is an example as below. This network includes a coordinator (NODE ID is 0000)
and 4 Routers (NODE IDs are EDA6, 9286, 383A and B05C)
When the coordinator sends NETAS commands, each router will report to its NODE ID
and Father NODE. If responding data are :0000-EDA6, :EDA6-9286, :EDA6-383A,
and :9286-B05C, the framework is as below.
AO-1507 ZigBee USB Dongle User Manual
Page 8 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
Each Router and its Father NODE are generated by ZigBee agreements automatically.
Therefore, you re-connect the network every time, it may generate different network
frameworks.
5.5 The items which could apply to AO-1507
AO-1507 ZigBee USB Dongle can be Coordinator or Router in the ZigBee network. If
your equipment is traditional RS-232/RS-485 interface or analog input, APAC also have
comparative ZigBee products as follows.
Model NO. Function Introduction
AO-1503
AO-1503A
ZigBee to
UART
1. support users to set baud rate 2400~115200bps,8N1.
2. can add extra RS-232/485/422 level shift circuit and use in
kinds of M2M communications.
3. conform ZigBee Pro 2007 communication agreements
AO-1503-232 ZigBee to
RS232
Build- in AO-1503 ZigBee module.
Standard pin RS232 DB9, use in RS232 standard, point to
point transmission or point to multipoint transmission.
AO-1503-485 ZigBee to
RS-485
Build in AO-1503 ZigBee module.
RS485 pin, use in RS485 standard, point to point
transmission or point to multipoint transmission.
AO-1505
AO-1505A ZigBee to AIDO
1. 4-channel 0~3.3V analog input, 4-channel digital output
2. use in analog sensor data collection and remote
application.
3. conform ZigBee Pro 2007 communication agreements.
AO-1507 ZigBee USB Dongle User Manual
Page 9 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
AO-1506
AO-1506A Zigbee to DIDO
1. 4-channel digital input and 4-channel digital output.
2. use in digital sensor data collection and remote
application.
3. conform ZigBee Pro 2007 communication agreements.
6. AT Command (all commands are encoded by ASCII)
6.1 PC connect method
6.2 Enter and quit edit mode
� PCs start “Terminal” application program which found the “Tools” directory in CD
named “Advanced Serial Port Terminal.exe”.
� Set to connect COM port. AO-1507 presets 9600bps, 8N1.
� Send no data in one second.
� Send ASCII strings +++ (Hex=0x2B 0x2B 0x2B) in one second.
� Send no data in one second.
� Then enter edit setting mode successfully. AO-1507 responds COMMAND
MODE<CR> string. Note that “<CR>” represents a enter char.
� Quit edit setting mode, and send ATBYE<CR>.
� Quit edit setting mode successfully. AO-1507 responds OK<CR>.
6.3 Command format
All command strings are started at “AT”. Its format is as below and uses ASCII
representation.
AO-1507 ZigBee USB Dongle User Manual
Page 10 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
6.4 AT command lists
All commands have to use capitalization ASCII code.
Cmd Function Value range Command Example Description
PID Set and query
PAN ID
0x0000~0xFFFB
preset value=
0xFFFF(automatic)
ATPID
PANID=0x5680<CR>
ATPID 0x1234
OK<CR>
query PAN ID
AO-1507 respond
set PAN ID=0x1234
AO-1507 respond
NID Set and query
NODE ID
0x0001~0xFFFB
preset value=generate
automatically
ATNID
NODEID=0x6AB6<CR>
ATNID 0x000F
OK<CR>
query NODE ID
AO-1507 respond
set NODE ID=0x000F
AO-1507 respond
CHL Set and query
RF channel
0x0B~0x1A (ch11~ch26)
preset value=0x1A
(ch26)
ATCHL
Channel=26<CR>
ATCHL 0x0C
OK<CR>
query RF channel
AO-1507 respond
set RF channel=ch12
AO-1507 respond
OPW Set or query RF
output power
(remark 1)
0x00~0x0F
preset value=0x03
( -0.5dBm )
ATPOW
Output Power=0x03 <CR>
ATPOW 0x00
OK<CR>
query output power
AO-1507 respond
set output power=0dBm
AO-1507 respond
RES Recover
factory value
(remark 2)
POWER=0dbm,
RF Channel=26
Baud rate=9600bps
clear PAN ID,NODE ID
(P11=0 CLEAR ID)
ATRES
Clear AO-1507.
Re-start up.
recover factory value
Report working
status.
MAC query 64bit
MAC address
(remark 2)
preset value=generate
automatically
ATMAC
MAC=00:12:4B:00:01:3
6:8A:4A <CR>
query 64bit MAC
address
AO-1507 respond
AO-1507 ZigBee USB Dongle User Manual
Page 11 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
ATMAC
1122334455667
788<CR>
OK<CR>
set MAC
address=112233445
5667788 (8 byte)
AO-1507 respond
BPS Set or query
Baud
rate(remark 3)
0x01~0x07
preset value =0x03
ATBPS
Baud=9600 bps <CR>
ATBPS 0x04
OK<CR>
query Baud rate
AO-1507 respond
set Baud rate=
14400bps
AO-1507 respond
with new Baud rate
TYE Software set
working status
(remark 4)
Coordinator=0x00
Router=0x01
ATTYE
Coordinator or
Router<CR>
ATTYE 0x01
AO-1507 leaves
COMMAND MODE
automatically.
query working mode
AO-1507 respond
set working mode to
Router.
RESET and respond
starting up report.
Change
“Coordinator” to
“Router”
Searching
for ”coordinator”
when you re-start
up.
If no valid
coordinator, it won’t
respond starting up
report.
You could query for
starting up report.
RST software
RESET
NA ATRST
Quit edit mode.
AO-1507 responds
starting up report
PAR Query or set
Father NODE
Coordinator only can
query
Router can query and set
ATPAR
Parent
ID=0x0000<CR>
ATPAR 0xNNNN
query Father NODE
AO-1507 respond
set Father NODE’s
AO-1507 ZigBee USB Dongle User Manual
Page 12 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
OK<CR> NODE ID =NNNN of
Router
AO-1507 respond
BYE Leave editing
setting mode
NA ATBYE
EXIT COMMAND
MODE<CR>
quit edit setting
mode
AO-1507 respond
VER Query versions
of firmware
NA ATVER
Firmware
version=1.2.17<CR>
query SW version
AO-1507 respond
Remark 1: RF output power correspondence table (dBm)
Setting
value
Output
power
Setting
value
Output
power
Setting
value
Output
power
Setting
value
Output
power
0x00 4.5 0x04 -1.5 0x08 -8 0x0C -16
0x01 2.5 0x05 -3 0x09 -10 0x0D -18
0x02 1 0x06 -4 0x0A -12 0x0E -20
0x03 -0.5 0x07 -6 0x0B -14 0x0F -22
0dbm=1mW,dBm=10*log(Power/1mW)
preset value=0x03 -0.5dBm is around 0.895mW
Remark 2: recover original set value RES command. Can’t recover 64-bit MAC address.
Remark 3: Baud rate correspondence table (bps)
Setting
value
Baud
rate
Setting
value
Baud
rate
--- --- 0x04 19200
0x01 2400 0x05 38400
0x02 4800 0x06 57600
0x03 9600 0x07 115200
Remark 4:You have to set “P13” to “0” before starting up if you use software to set
working mode “ATTYE” command.
AO-1507 ZigBee USB Dongle User Manual
Page 13 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
7. Antenna characters and installation notice
To keep the best efficiency of antenna, please notice as below.
� Don’t put AO-1507 ZigBee USB Dongle in metal cabinet.
� Please assemble the module straight to keep antenna radiation pattern completely.
� Please avoid putting inductive components around 30 meters of USB Dongle.
� Please avoid high-humidity environment.
8. Technical specifications of module
Parameters Items
Min. Typical Max. unit
Electric Characteristics(25℃)
Supply voltage 3.0 3.3 3.6 V
Emitter current1 35.4 39.6 mA
Receiver current2 24.1 29.6 mA
Power mode 0 5 8.9 mA
Power mode 1 0.2 0.3 mA
Power mode 2 1 2 uA
Power mode 3 0.3 1 uA
Wireless Characteristics: Build-in PCB antenna
Working frequency 2.405(CH11) 2.480(CH26) GHz
Emitter power -22 0 4.5 dBm
Receiver sensitivity -97 -92 dBm
Wireless distance 150 m
Date rate 250 Kbps
Interface Characteristics
Interface voltage -0.3 VCC+0.3 ≤3.6 V
Baud rate 2400 9600 115200 bps
General Characteristics
Oparating
temperature
0 80 ℃
Dimension 23.3(L)X16.2(W)X2.5(H) mm
AO-1507 ZigBee USB Dongle User Manual
Page 14 of 14 Version 1.0 Date:2014/9/17
APAC Opto Electronics Inc. 3 Tzu Chiang Road, Hsinchu Industrial Park Hukow, Hsinchu Hsien, Taiwan 303 TEL: +886-3-5986799 FAX: +886-3-5986655 Website: www.apacoe.com.tw
(1) 32-MHz XOSC running, radio in TX mode, 4.5-dBm output consumption power,
no peripherals active, and CPU idle.
(2) 32-MHz XOSC running, radio in RX mode, waiting for signal, no peripherals
active, and CPU idle.
(3) 32-MHz XOSC running, no radio or peripherals active, CPU idel, no flash and
RAM access.
(4) 16-MHz RCOSC and 32-MHz crystal oscillator off, 32.768-kHz XOSC, CPU idle,
RAM and register retention.
(5) 32-MHz RCOSC oscillator off, 32.768-kHz XOSC, CPU idle, RAM and register
retention.
(6) No clocks (32-MHz RCOSC oscillator off and 32.768-kHz XOSC crystal off), CPU
idle, RAM and register retention.
Top Related