EZBee series Manual / Ver. 1.0
--------------------------------------------------------------------------------------------------------------------------
EEZZBBeeee sseerriieess M
2008. 11.
Maannuuaall
AHHA-Tech
EZBee series Manual / Ver. 1.0
--------------------------------------------------------------------------------------------------------------------------
CONTENTS
CONTENTS
CONTENTS CONTENTS
Contents ............................................................................................................................................................................ 2
1. Products Overview ............................................................................................................................................... 6
2. EZBee M100 ............................................................................................................................................................... 8
2.1. Specificaion of EZBee M100 .................................................................................................................... 8
2.2. EZBee M100 PIN Assignments ............................................................................................................... 9
2.3. EZBee M100 Dimension .......................................................................................................................... 10
2.4. EZBee M100 LED Display ........................................................................................................................ 10
3. EZBee S100 ................................................................................................................................................................. 11
3.1. Specificaion of EZBee S100 ................................................................................................................. 11
3.2. Configuration of EZBee S100 ............................................................................................................. 12
3.2.1. RS-232 mode ................................................................................................................................ 12
3.2.2. RS-422/485 mode ......................................................................................................................... 12
3.3. DIP switch setting ....................................................................................................................................... 13
3.4. EZBee S100 LED display .......................................................................................................................... 14
4. EZBee U100 ................................................................................................................................................................. 15
4.1. Specificaion of EZBee U100 ................................................................................................................. 15
4.2. Configuration of EZBee U100 ............................................................................................................... 16
4.3. EZBee U100 LED display .......................................................................................................................... 17
2
5. EZBee L100 .................................................................................................................................................................. 18
5.1. Specificaion of EZBee L100 .................................................................................................................. 18
5.2. Configuration of EZBee L100 ............................................................................................................... 19
5.3. Network Setting .......................................................................................................................................... 19
5.3.1. Using Web browser ...................................................................................................................... 19
5.3.2. Using EZBee manager program ............................................................................................. 21
5.4. Menu related to communication of EZBee L100 ....................................................................... 22
5.5. Communication modes of EZBee L100 ............................................................................................ 23
5.6. EZBee-L100 LED display ........................................................................................................................ 23
6. AT Command ............................................................................................................................................................. 24
6.1. Reference table of AT Commands...................................................................................................... 24
6.2. Notification message ................................................................................................................................ 25
6.3. Result message............................................................................................................................................ 26
7. Description of AT Commands............................................................................................................................ 27
7.1. Serial communication interface ........................................................................................................... 27
7.1.1. Serial port setting ......................................................................................................................... 28
7.1.2.Echo mode setting ........................................................................................................................ 27
7.2. EZBee modem setting.............................................................................................................................. 27
7.2.1.channel setting ................................................................................................................................ 29
7.2.2. PAN ID setting ............................................................................................................................... 30
7.2.3. Modem ID setting ........................................................................................................................ 31
7.2.4. Group ID setting ........................................................................................................................... 32
3
7.2.5. Receiver ID setting for Bypass mode .................................................................................. 33
7.2.6. Automatic start mode setting ................................................................................................ 33
7.2.7. Starting EZBee network ............................................................................................................. 34
7.3. Network message transmission ........................................................................................................... 35
7.3.1. Data transmission in ASCII mode ......................................................................................... 35
7.3.2. Data transmission in Bypass mode ...................................................................................... 37
7.4. Reading a Short-address ........................................................................................................................ 40
7.5. Reading an Extended address .............................................................................................................. 40
7.6. Resetting a Modem................................................................................................................................... 41
7.7. Resetting a Network ................................................................................................................................. 41
7.8. Reading a modem version ..................................................................................................................... 42
7.9. Reading a modem status ....................................................................................................................... 42
7.10. GPIO control and setting..................................................................................................................... 42
7.10.1. GPIO direction setting ............................................................................................................. 43
7.10.2. GPIO control ................................................................................................................................ 44
7.10.3. ADC reading................................................................................................................................. 45
7.11. Remote control allowance setting ................................................................................................... 45
7.12. PAN joining allowance setting ........................................................................................................... 46
8. EBI Commands ......................................................................................................................................................... 47
8.1. EBI mode overview .................................................................................................................................... 47
8.2. EBI mode communication ...................................................................................................................... 47
8.3. EBI packet type ............................................................................................................................................ 48
8.3.1. EBI_TYPE_UNICAST_MSG ........................................................................................................... 48
4
8.3.2. EBI_TYPE_GROUP_MSG .............................................................................................................. 48
8.3.3. EBI_TYPE_BROAD_MSG ............................................................................................................... 49
8.3.4. EBI_TYPE_ACK ................................................................................................................................. 49
8.3.5. EBI_TYPE_IO_REQ .......................................................................................................................... 50
8.3.6. EBI_TYPE_IO_ACK .......................................................................................................................... 50
8.3.7. EBI_TYPE_IOD_REQ ....................................................................................................................... 51
8.3.8. EBI_TYPE_IOD_ACK ....................................................................................................................... 51
8.3.9. EBI_TYPE_ADC_REQ ...................................................................................................................... 52
8.3.10. EBI_TYPE_ADC_ACK ................................................................................................................... 52
Appendix
8.3.11. EBI_TYPE_ESCAPE ....................................................................................................................... 52
How to use EZBee M100 53
5
1.
1. Products Overview
Products Overview
1. 1.
Products Overview Products Overview
EZBee
adapters (S100), USB type serial adapters (U100), and internet ac cess
points (L100) for supporting various customers who need to get wireless
solutions in industrial automation, medical automation, building automation,
information tec hnology, retail/ POS and so on.
The EZBee
Chipcon CC2420 chip for IEEE 802.15.4. The EZBee
various AT- style command line interfaces for allowing customers to quickly
build mesh networks requiring lower power c onsumption without skillful
wireless RF engineering and complex software engineering. It also
TM
formats inc lude OEM modules (M100), industrial serial
TM
series is a 2.4GHz ISM band transceiver, based on the
TM
series supports
provides 2 ADC ports and 8 I/ O ports for enabling customers to
conveniently design own embedding systems.
The EZBee
modes including ASCII, Bypass and EBI (EZBee Binary Interface) mode.
In ASCII mode, all data are transmitted as format of ASCII HEX by
utilizing the AT command sets for data transmission.
In Bypass mode, all raw data are transmitted to the pre- assigned
EZBee module without utilizing any specific commands or building any
communication packet, as if EZBee modules are wired together.
In EBI mode, the transmitting data pac kets c an be configured by
TM
series implements three different data transmission
EZBee series Manual / Ver. 1.0
6
customers for more flexible and effective communication.
A specified own ID and an extended/ short address are assigned for
each modem of EZBee formats. The specified own ID is used for pointing
a data receiving modem in every data transmission modes.
The specifications of EZBee
TM
is summarized as follows:
EZBee Specifications
Communication range 2500m (LOS)
TX power 0 dBm ~ 18 dBm (selectable by software)
RF Data Rate 250,000 bps
Serial Interface Data Rate 1,200 – 115,200 bps (selectable by software)
Receive sensitivity -100dBm (packet error ratio 1%)
Supported Network Topologies Point-to-point, point-to-multipoint, peer-to-peer
16 direct sequence channels (selectable by
Number of Channels
software)
Addressing Options PAN ID, Channel, Addresses
EZB
EZB----S100,
S100, EZB
EZB----U100
U100 and
and EZB
EZB----L100
L100 comply
EZB EZB
S100, S100,
EZB EZB
U100 U100
and and
EZB EZB
subject to
subject to the following two conditions:
subject to subject to
(1) This device may not cause harmful interference, and
(1) This device may not cause harmful interference, and
(1) This device may not cause harmful interference, and (1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including
(2) this device must accept any interference received, including interference that may
(2) this device must accept any interference received, including (2) this device must accept any interference received, including
cause undesired operation.
cause undesired operation.
cause undesired operation. cause undesired operation.
EZBee series Manual / Ver. 1.0
the following two conditions:
the following two conditions: the following two conditions:
comply with part 15 of the FCC Rules. Operation is
L100 L100
comply comply
with part 15 of the FCC Rules. Operation is
with part 15 of the FCC Rules. Operation is with part 15 of the FCC Rules. Operation is
interference that may
interference that may interference that may
7
2. EZBee M100
EZBee M100 based on IEEE 802.5.4 specification, is designed for an
embedded solution to provide stable wireless c ommunic ation with low
power consumption.
2.1 Specification of
2.1 Specification of EZBee
2.1 Specification of 2.1 Specification of
EZBee M100
EZBee EZBee
M100
M100 M100
General Specifications
Operating Frequency ISM 2.4 GHz ISM 2.4 GHz
Dimension
32.0mm(L) x 22.0mm(W) x 10.5mm(H)
Operating Temperature -25 ~ 85º C
Electrical Specifications
Supply Voltage 2.7~3.6V
Transmit Current(typical) 190mA
Idle/Receive Current(typical) 27mA
EZBee series Manual / Ver. 1.0
8
2.2
2.2 EZBee
2.2 2.2
EZBee M100 PIN Assignments
EZBee EZBee
PIN Name Direction Description
M100 PIN Assignments
M100 PIN Assignments M100 PIN Assignments
1 GND
2 DIO0
3 DIO1
4 DIO2
5 STA
6 RUN
7 nRST Input RESET, Low Active
8 ADC1 Input Analog to Digital Converter
9 ADC2
10 DIO6
-
Input / Output
Input / Output
Input / Output
Output
Output
Input
Input / Output
Power Ground
Digital Input or Output
Digital Input or Output
Digital Input or Output
Status LED
Active LED
Analog to Digital Converter
Digital Input or Output
11 DIO7 Input / Output Digital Input or Output
12 RXD Input UART Data
13 TXD Output UART Data
14 RTS Output UART Request to Send
15 CTS Input UART Clear to Send
16 DIO5 Input / Output Digital Input or Output
17 DIO4 Input / Output Digital Input or Output
18 DIO3 Input / Output Digital Input or Output
19 DC 3.3V - Power supply 3.3V
EZBee series Manual / Ver. 1.0
9
Repeat Turning ON during 1 second and OFF during 1 second
2.3
2.3 EZBee
2.3 2.3
EZBee M100 Dimension
EZBee EZBee
M100 Dimension
M100 Dimension M100 Dimension
Dimension
*
2.4
2.4 EZBee
EZBee M100 LED
2.4 2.4
EZBee EZBee
ACT LED
(blue colour)
STA LED
(orange colour)
※ Please refer Appendix for how to use EZBee M100.
※ EZBee M100- S (MMCX Type) has a connection point for an external
M100 LED Display
M100 LED M100 LED
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
Display
Display Display
LED display
antenna.
EZBee series Manual / Ver. 1.0
10
3333 EZBee
EZBee S100
EZBee EZBee
EZBee S100 is designed to communic ate with other devices based on
IEEE 802.5.4 specification without installing any serial c able. Two EZBee
S100 serial adaptors are connected to each other immediately when power
is supplied. If 38,400 baud rate is set for stable transmission, a pair of
S100 is able to connect without any extra setting.
S100
S100 S100
3.1 Specification of EZBee S100
General Specifications
Voltage DC 4.5V~DC 5.5V (mini usb type jack or DSUB 9 pin)
Hardware interface RS-232, RS-422, RS-485
LED display On/Off, current status
Operating environment Operating temperature: -25~70 º C
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Physical properties Dimension: 31mm(w) x 15mm(H) x 60mm(L)
Weight: 16g
EZBee series Manual / Ver. 1.0
11
3.2
3.2 Configuration of
Configuration of EZBee
3.2 3.2
Configuration of Configuration of
Configuration method for a serial adaptor can be divided for RS- 232
and RS- 422/ 485 communication mode.
The baud rate of each communication mode is set by only DIP switches
on the EZBee S100.
3.2.1
3.2.1 RS
3.2.1 3.2.1
RS---- 232
232 communication mode
RS RS
1 Selection switch for 232 or 422/ 485 is pushed to the 232 side.
2 Flow control method and baud rate for serial communication are set
communication mode
232 232
communication mode communication mode
EZBee S100
EZBee EZBee
S100
S100 S100
by DIP switc hes.
3 EZBee S100 is c onnected to the serial port of a PC or DTE.
4 A mini USB cable protruded from a PC USB port or DC adaptor
should be connected to the mini USB port on EZBee S100 for
power supply.
3.2.2
3.2.2 RS
3.2.2 3.2.2
RS---- 422/ 485 communica
422/ 485 communicati
RS RS
422/ 485 communica 422/ 485 communica
1 Selection switch for 232 or 422/ 485 is pushed to the 422/ 485 side.
2 The 422 or 485 mode is selected by DIP switches.
3 The baud rate for serial communication is set by DIP switches.
4 A mini USB cable protruded from a PC USB port or DC adaptor
tion mode
on mode
titi
on mode on mode
should be connected to the mini USB port on EZBee S100 for
power supply.
EZBee series Manual / Ver. 1.0
12
3.3
3.3 Dip switch setting
3.3 3.3
Dip switch setting
Dip switch setting Dip switch setting
ON
►►►►
DIP1 mode setting
2 3 1
4
RS-232 mode RS-422/485 mode
DIP1 ON
DIP1 OFF
►►►►
Baud rate setting
Hardware Flow Control ON RS-422
Hardware Flow Control OFF RS-485
Baud rate DIP2 DIP3 DIP4
38400 bps OFF OFF OFF
2400 bps OFF OFF ON
9600 bps OFF ON OFF
19200 bps OFF ON ON
38400 bps ON OFF OFF
57600 bps ON OFF ON
115K bps ON ON OFF
38400 bps ON ON ON
EZBee series Manual / Ver. 1.0
13
- Repeat Turning ON during 1 second and OFF during 1 second
9 8 7 6
9 8 7 6 9 8 7 6
9 8 7 6
► DSUB 9 Pin Definition
5
5 4
5 5
4 3
3 2
4 4
3 3
2 1111
2 2
Pin Number RS-232 RS-422 RS-485
1
2
3
4
5
6
7
8
9
3.4
3.4 EZBee
EZBee S100 LED
3.4 3.4
EZBee EZBee
ACT LED
(blue colour)
STA LED
(orange colour)
DCD
TXD RXD- TXD-/RXD-
RXD TXD-
DTS
GND
DTR
CTS RXD+
RTS TXD+ TXD+/RXD+
DC Input DC Input DC Input
S100 LED display
S100 LED S100 LED
display
display display
LED display
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
EZBee series Manual / Ver. 1.0
14
4444 EZBee
EZBee U100
EZBee EZBee
EZBee U100, a dongle type EZBee format, makes it easy monitor and
control the devices on a PC or hand- held device. In addition, it can be
utilized as a router for IEEE 802.15.4 network for extending communication
range or overcoming weak signal strength in certain area.
4.1
4.1 Specification of
4.1 4.1
Specification of EZBee
Specification of Specification of
U100
U100 U100
EZBee U100
EZBee EZBee
U100
U100 U100
General Specifications
Voltage DC 4.5V~DC 5.5V (mini usb type jack)
Hardware interface USB 2.0
LED display On/Off, current status
Identification on PC USB to Serial device
Operating environment Operating temperature: -25~70 º C
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Physical properties Dimension: 19.5mm(w) x 8.5mm(H) x 54mm(L)
Weight: 9g
EZBee series Manual / Ver. 1.0
15
4.2
4.2 Configuration of
Configuration of EZBee
4.2 4.2
Configuration of Configuration of
1 To use the EZBee U100 on a PC, a USB port connecting U100
should be set as a virtual conventional COM port in the PC.
2 For virtual COM port setting, the FTDI driver should be installed on
PC by running the CDM 2.04.06 on the enclosed CD.
EZBee U100
EZBee EZBee
U100
U100 U100
Suporting OS : Window, MAC, Linux
3 The FTDI driver is installed automatically as shown.
EZBee series Manual / Ver. 1.0
16
during 1 second and OFF during 1 second
4 After virtual COM port setting, please find the COM port number at
port (COM or LPT) of device manager.
4.3
4.3 EZBee
EZBee U100 LED
4.3 4.3
EZBee EZBee
ACT LED
(blue colour)
STA LED
(orange colour)
U100 LED display
U100 LED U100 LED
Flash when data are transmitted (Tx/Rx mode)
When the device is not joined in PAN
When the device is joined in PAN
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
display
display display
LED display
EZBee series Manual / Ver. 1.0
17
5555 EZBee
EZBee L100
EZBee EZBee
EZBee L100 ac ts as a bridge between the devices based on IEEE
802.5.4 network and conventional TCP/IP network. When sensor data are
collected through wireless network, EZBee L100 provides the sensor data
into the TCP/ IP network enables user to monitor the process.
L100
L100 L100
5.1
5.1 Specification of
5.1 5.1
Voltage DC 4.5V~DC 5.5V (mini usb type jack)
Ethernet Interface 10/100 Base-T Ethernet with RJ45 jack
LED display On/Off, current status
Network protocol HTTP, DHCP Client
Communication setting Web, Manager Program
Operating environment Operating temperature: 0~70 º C
Physical properties Dimension: 35mm(W) x 20.5mm(H) x 64.5mm(L)
Specification of EZBee
Specification of Specification of
EZBee L100
EZBee EZBee
General Specifications
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Weight: 30g
L100
L100 L100
EZBee series Manual / Ver. 1.0
18
5.2
5.2 Configuration of
Configuration of EZBee
5.2 5.2
Configuration of Configuration of
Firstly a LAN connector for TCP/IP network should be connected to a
LAN port prepared on EZBee L100. For the power supply, please connect a
mini USB cable protruded from a PC USB port or DC adaptor into the mini
USB port on EZBee L100.
EZBee L100
EZBee EZBee
L100
L100 L100
5.3
5.3 Network Setting
Network Setting
5.3 5.3
Network Setting Network Setting
Initial setting
IP 172.17.52.164
Netmask 0.0.0.0
Gateway 0.0.0.0
default password enus
5.3.1
5.3.1 Using web browser
5.3.1 5.3.1
Using web browser
Using web browser Using web browser
1 Connec t to http:/ / 172.17.52.164 on web browser. In this moment,
please check the IP and Netmask of the PC whether it can access
EZBee series Manual / Ver. 1.0
19
to default IP.
2
Type enus as the default password
3
After set your network IP at [ TCP/ IP configuration ] , reboot the
EZBee L100.
EZBee series Manual / Ver. 1.0
20
5.3.2
5.3.2 Using
5.3.2 5.3.2
Using EZBee
Using Using
EZBee manager
EZBee EZBee
manager program
manager manager
program
program program
The EZBee manager program is an utility program developed for easy
setting and management of a EZBee L100.
Useful function for setting : <scanning broadcasting device>
The useful function of the EZBee manager program is a scanning
broadcasting device. It searches and shows all list of EZBee L100
connecting to the same network of a user c omputer.
1 Click the button denoting [start search].
2 A list of all EZBee L100 connecting to the network is displayed when
the automatic scanning is over.
3 When you want to change the setting of one U100 among the list,
move the mouse point onto that EZBee L100 and just click the right
button of a mouse, then you can change the parameter from the
displaying menu.
EZBee series Manual / Ver. 1.0
21