Solvline Eddy-ZB User Manual

Page 1
Eddy- ZB v1.0
USER Guide
Version: 1.0
2013.05.13
Page 2
Revision Date
Document Version
Pages
Description
May. 13. 2013
1.0
All
Initial release
Eddy-ZB User Guide
Revision History
Copyright 2013 SystemBase Co., Ltd. All rights reserved. Website http://www.sysbas.com/ Tel. +82-2-855-0501 Fax. +82-2-855-0580 16F Daerung, Post Tower-1, 212-8, Guro-dong, Seoul, Republic of Korea If you have any questions, please contact us at www.solvline.com.
Page 3
Eddy-ZB User Guide
Index
1. Preface ............................................................................................................................................ 4
2. Feature ............................................................................................................................................ 4
3. Specification ................................................................................................................................... 4
4. Hardware Specification ................................................................................................................. 5
A. Eddy-ZB Board Layout .......................................................................................................... 5
B. Pinout for J1, J5, and J7 ....................................................................................................... 6
C. Block Diagram ....................................................................................................................... 9
5. ZigBee Network Configuration ................................................................................................... 10
A. 1:1 connection between an End Device and a Coordinator ............................................... 10
B. Star network topology with one coordinator and several end devices................................ 10
C. Expanding the network by using a router ........................................................................... 11
6. Commands ................................................................................................................................... 12
A. Command Format ............................................................................................................... 12
B. How to use the commands ................................................................................................. 12
C. Basic Commands ................................................................................................................ 12
D. Commands for ZigBee network .......................................................................................... 13
E. Commands for serial part .................................................................................................... 14
7. LED ................................................................................................................................................ 15
8. Appendix ....................................................................................................................................... 16
Page 4
Entry
Specification
Hardware
Dimensions
45.2(W) x 28(L) x 9.1(H) mm
Weight
5.4g
Indicator LED
Ready, Link
ZigBee
Communication
IEEE 802.15.4 ZigBee PRO
Speed
Max 250Kbps
Output
Power Up to 4.5dBm
Range
Up to 100 meters (in open areas)
Modulation
DSSS
Receive Sensitivity
-92dBm
Frequency
2.394GHz ~ 2.507GHz
Security
AES
Antenna
ANT 2.4Ghz 3dB
Environmental
Operating Temp
-40 ~ 85
Operating Voltages
3.3V +_ 5% I/O Supply Voltage
Eddy-ZB User Guide
1. Preface
Thank you for purchasing product by SystemBase. This product has passed thorough quality control and during the 5 years warranty period, the customers can receive free repair services from the day the purchase was made. If you have any questions or difficulties with this product please contact our Technical Support by submitting an inquiry at http://www.solvline.com.
2. Feature
Eddy-ZB v1.0 is a module that can be attached to the connectors in Eddy-CPU v2.5 series to convert serial data to IEEE802.15.4 ZigBee Pro Standard. It can also connected to SG-1010 and SG-1020/ALL. With Eddy-CPU v2.5, it is connected by UART interface, and optionally, UART #2 and USB is supported.
3. Specification
Page 5
J1
J5
J7
28.00mm
0
1.27mm
1
16
1
18
1 2
9
10
45.20mm
Eddy-ZB User Guide
4. Hardware Specification
A. Eddy-ZB Board Layout
Page 6
J1
J5
J7
Pin
Description
Pin
Description
Pin
Description
1
NC 1
GND 1
P0_7
2
NC 2
3V3 2
P0_6
3
NC 3
DBC 3
DTR#1 4 3V3 4
DBD 4
DSR#1 5 P0_0 5
NC 5
3V3
6
RXD#1 6
NC 6
3V3
7
TXD#1 7
NRST 7
BHDM
8
CTS#1 8
NC 8
BHDP
9
RTS#1 9
NC 9
RXD#2
10
P0_1
10
TXD#2
11
NC
11
NRST
12
NC
12
GND
13
NC
13
GND
14
NC
14
WPID0
15
NC
15
WPID1
16
NC
16
WPID2
17
NC
18
NC
Eddy-ZB User Guide
B. Pinout for J1, J5, and J7
Page 7
Pin No
Name
Description
1 - 3
NC
Not Connected
4
3V3
3V–3.6V power-supply connection
5
P0_0
Port 0.0 Digital I/O
6
RXD#1
UART1 Receive Data
7
TXD#1
UART1 Transmit Data
8
CTS#1
UART1 Clear To Send
9
RTS#1
UART #1 Request to Send Signal
10
P0_1
Port 0.1 Digital I/O
11-16
NC
Not Connected
Pin No
Name
Description
1
GND
Ground
2
3V3
3V–3.6V power-supply connection
3
DBC
Debug Clock
4
DBD
Debug Data
5-6
NC
Not Connected
7
NRST
Reset(active-low)
8-10
NC
Not Connected
Eddy-ZB User Guide
J1
J5
Page 8
Pin No
Name
Description
1
R0_7
Port 0.7 Digital I/O
2
R0_6
Port 0.6 Digital I/O
3
DTR#1
UART1 Data Terminal Ready
4
DSR#1
UART1 Data Set Ready
5 -6
3V3
3V–3.6V power-supply connection
7
BHDM
USB differential data minus
8
BHDP
USB differential data plus
9
RXD#2
UART2 Receive Data
10
TXD#2
UART2 Transmit Data
11
NRST
Reset(active-low)
12 - 13
GND
Ground
14 - 16
WPID[0:2]
Product ID only used by the manufacturer.
Please do not work on these pins.
17-18
NC
Not Connected
Eddy-ZB User Guide
J7
Page 9
ZigBee
SoC
3dB SMA
ANT
LED#1
(Link)
LED#2
(RDY)
Eddy-CPU
TXD#1
50
Matching
3V3
RXD#1
RTS#1
CTS#1
TXD#2
RXD#2
DP
DM
Eddy-ZB User Guide
C. Block Diagram
Page 10
Coordinator
End Device
End Device End Device
Coordinator
End Device
End Device
Eddy-ZB User Guide
5. ZigBee Network Configuration
If necessary, Eddy-CPU/ZigBee v1.0 can be set and used as an end device, a coordinator, or a router.
The ZigBee end device is located at the end of the ZigBee network which can only connect to ZigBee coordinator or ZigBee router. Existing only one network PAN, the ZigBee coordinator manages each devices in the network when ZigBee network is first formed. Expansion of the network is done by ZigBee router. Without ZigBee coordinator, the network cannot be configured.
A. 1:1 connection between an End Device and a Coordinator
To use 1:1 connection with Eddy-ZB v1.0, one of each end device and coordinator is required. Each device can specify a unique source ID. When the source ID of a device trying to send a data is set to the destination ID, the data can be transmitted. PAN ID and the channel from the coordinator should be applied to the end device to form a network.
B. Star network topology with one coordinator and several end devices
To use one coordinator with several end devices, all the end devices should be set with the PAN ID and channel of the coordinator. Additionally, to communicate among end devices, each devices should have a unique ID as a source ID and the ID from the device trying to send the data should be set in the destination ID.
Page 11
End Device
End Device End Device
Router
Router
Router
Coordinator
End Device
Eddy-ZB User Guide
C. Expanding the network by using a router
When routers are used, 1:1 star type connection by one coordinator can be expanded to a tree type or mesh ZigBee network structure. This can prevent a bottleneck issue where the data is concentrated to one node and detour traffic when there is a network connection problem from some paths. If there are any obstacles between devices, or if the physical distance needs to be extended, you can use numerous ways to resolve the issue utilizing this connection type. Set the network PAN ID and the channel that you want to expand to the router to automatically detect the devices and add to the network.
Page 12
AT Command
Name
Description
Value Range
Default Value
AT&F
Reset settings
Perform a factory default reset. Settings are applied when the device reboots. Example : at&f
- - ATSR
Soft reset
Perform a software reset. Reboots the device. Example : atsr
-
-
Eddy-ZB User Guide
6. Commands
When following commands are used to modify the values, reset command(ATSR) or rebooting by turning off and then on the unit are require to apply the changed values.
A. Command Format
The format of all the commands are as follows.
Syntax
“AT” + Command + Values + Carriage Return:<CR> 2Bytes 2Bytes even Bytes 1Bytes
B. How to use the commands Select Serial Port, then set baud rate, data, parity, stop, and flow control values. Set as shown below. Baud Rate : 115200 Data : 8 bit Parity : none Stop : 1 bit Flow Control : none
C. Basic Commands
Commonly used commands are shown below.
Page 13
AT Command
Name
Description
Value Range
Default Value
ATMO
Mode
Able to set the device as: Coordinator, Router, or End Device Example : atmo02 (Set the device as an end device)
00 Coordinator 01 Router 02 End
0x02 ATCH
Channel
Select the channel (EX: atch0b) Example : atch0b (Set the device to channel B)
0B – 1A
0C(12d)
ATPI
Pan ID
Select the Pan ID Example : atpi0001 (Set the PAN ID to 1)
0 – 0xFFFF
0
ATDA
Destination node id
The node ID of the target Example : atda01 (Set the destination ID to 1)
0 – 0xFF
0
ATSA
Source node id
The node ID of the source Example : atsa02 (Set the source ID to 2)
0 – 0xFF
0 ATMA
IEEE 64bit
Displays IEEE 64bit address Example : atma
Read only
Eddy-ZB User Guide
D. Commands for ZigBee network
The followings are the commands to set ZigBee network.
Page 14
AT Command
Name
Description
Value Range
Default Value
BD
baud rate
Set the baud rate Example : atbd0c (Set the baud rate to 115200)
00: 115200 01: 150 02: 300 03: 600 04: 1200 05: 2400 06: 4800 07: 7200 08: 9600 09: 19200 0a: 38400 0b: 57600 0c: 115200 0d: 230400
0
FC
flow control
Turn on/off the flow control feature Example : atfc00 (Turn off the flow control feature)
00: off 01: on
0
PB
parity bit
Set the parity bit Example : atpb00 (No parity bit)
00: no 01: odd 02: even
0 SB
stop bit
Set the stop bit Example : atsb00 (Set the stop bit to 1)
00: 1 stop bit 01: 2 stop bits
0
Eddy-ZB User Guide
E. Commands for serial part
Page 15
LED
Status
Meaning
RDY
(Green)
Blink
Normal Operation
Off
System Error
Link
(Red)
ON
Network Connection Complete (For a coordinator, automatically on)
Blink
Search for target devices and attempts network connection
Off
Connection Fail
Eddy-ZB User Guide
7. LED
All
devices except the coordinator will search for target devices using destination ID. When the connection is made, the link LED will be on and stay on. When the data is transmitted but there is no reply from the target device, it will assume that the link is break and turn off the link LED. Therefore, unless the data transmission event is generated, even if the status of the target device is changed, the link LED will remain its status until the data transmission event affects and updates the link LED status.
Page 16
Product
Version
Description
Eddy-CPU
2.1
Embedded CPU Module
Eddy-CPU
2.5
Embedded CPU Module
Eddy-DK
2.1
Eddy V2.1 Development Kit
Eddy-S4M
2.1
Embedded CPU Module (Mini PCI Type)
Eddy-S4M
2.5
Embedded CPU Module (Mini PCI Type)
Eddy-S4M-DK
2.1
Eddy-S4M v2.1 Development Kit
Eddy-S4M-JIG
2.1
Eddy-S4M v2.1 JIG Board
Eddy-WiFi
3.0
802.11 b/g/n Wi-Fi Module
Eddy-BT
2.1
Bluetooth 2.0 Class 1
Eddy-ZB
1.0
ZigBee Pro Module
Eddy-CPU/mp
2.5
Embedded CPU Module (32MB SDRAM)
Eddy-CPU/mp
2.5
Embedded CPU Module (64MB SDRAM)
Eddy-CPU/mp-JIG
2.5
Eddy-CPU/mp v2.5 JIG Board
Eddy-ZB User Guide
8. Appendix
A. Ordering Information Ordering information for Eddy series are shown below.
Loading...