AHHA-Tech EZBee S100 User manual

EZBee series Manual / Ver. 1.0
--------------------------------------------------------------------------------------------------------------------------
E
EZ
ZB
Be
ee
e
s
se
er
ri
ie
es
s
M
Ma
an
nu
ua
al
l
2008. 11.
AHHA-Tech

EZBee series Manual / Ver. 1.0
--------------------------------------------------------------------------------------------------------------------------
2
CONTENTS
CONTENTSCONTENTS
CONTENTS
Contents ............................................................................................................................................................................ 2
1. Products Overview ............................................................................................................................................... 6
2. EZBee M100 ............................................................................................................................................................... 8
2.1. Specificaion of EZBee M100 .................................................................................................................... 8
2.2. EZBee M100 PI 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

3
5. EZBee L100 .................................................................................................................................................................. 18
5.1. Specificaion of EZBee L100 .................................................................................................................. 18
5.2. Configuration of EZBee L100 ............................................................................................................... 19
5.3. etwork 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. otification 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. PA ID setting ............................................................................................................................... 30
7.2.3. Modem ID setting ........................................................................................................................ 31
7.2.4. Group ID setting ........................................................................................................................... 32

4
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. etwork 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 etwork ................................................................................................................................. 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. PA 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_U ICAST_MSG ........................................................................................................... 48

5
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
8.3.11. EBI_TYPE_ESCAPE ....................................................................................................................... 52
Appendix
How to use EZBee M100 53

EZBee series Manual / Ver. 1.0
6
1.
1.1.
1. Products Overview
Products OverviewProducts Overview
Products Overview
EZBee
TM
formats include OEM modules (M100), industrial serial
adapters (S100), USB type serial adapters (U100), and internet access
points (L100) for supporting various customers who need to get wireless
solutions in industrial automation, medical automation, building automation,
information technology, retail/ POS and so on.
The EZBee
TM
series is a 2.4GHz ISM band transceiver, based on the
Chipcon CC2420 chip for IEEE 802.15.4. The EZBee
TM
series supports
various AT- style command line interfaces for allowing customers to quickly
build mesh networks requiring lower power consumption without skillful
wireless RF engineering and complex software engineering. It also
provides 2 ADC ports and 8 I/ O ports for enabling customers to
conveniently design own embedding systems.
The EZBee
TM
series implements three different data transmission
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 packets can be configured by

EZBee series Manual / Ver. 1.0 7
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
Number of Channels 16 direct sequence channels (selectable by
software)
Addressing Options PAN ID, Channel, Addresses
EZB
EZBEZB
EZB-
--
-S100,
S100, S100,
S100, EZB
EZBEZB
EZB-
--
-U100
U100U100
U100
and
andand
and
EZB
EZBEZB
EZB-
--
-L100
L100L100
L100
comply
complycomply
comply
with part 15 of the FCC R les. Operation is
with part 15 of the FCC R les. Operation is with part 15 of the FCC R les. Operation is
with part 15 of the FCC R les. Operation is
s bject to
s bject tos bject to
s bject to
the following two conditions:
the following two conditions: the following two conditions:
the following two conditions:
(1) This device may not ca se harmf l interference, and
(1) This device may not ca se harmf l interference, and (1) This device may not ca se harmf l interference, and
(1) This device may not ca se harmf l interference, and
(2) this device m st accept any interference received, incl ding
(2) this device m st accept any interference received, incl ding(2) this device m st accept any interference received, incl ding
(2) this device m st accept any interference received, incl ding
interference that may
interference that may interference that may
interference that may
ca se ndesired operation.
ca se ndesired operation.ca se ndesired operation.
ca se ndesired operation.

EZBee series Manual / Ver. 1.0 8
2. EZBee M100
EZBee M100 based on IEEE 802.5.4 specification, is designed for an
embedded solution to provide stable wireless communication with low
power consumption.
2.1 Specification of
2.1 Specification of2.1 Specification of
2.1 Specification of EZBee
EZBeeEZBee
EZBee
M100
M100M100
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 9
2.2
2.22.2
2.2 EZBee
EZBeeEZBee
EZBee
M100 PIN Assignments
M100 PIN AssignmentsM100 PIN Assignments
M100 PIN Assignments
PIN Name Direction Description
1 G D - Power Ground
2 DIO0 Input / Output Digital Input or Output
3 DIO1 Input / Output Digital Input or Output
4 DIO2 Input / Output Digital Input or Output
5 STA Output Status LED
6 RU Output Active LED
7 nRST Input RESET, Low Active
8 ADC1 Input Analog to Digital Converter
9 ADC2 Input Analog to Digital Converter
10 DIO6 Input / Output 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 10
2.3
2.32.3
2.3 EZBee
EZBeeEZBee
EZBee
M100 Dimension
M100 DimensionM100 Dimension
M100 Dimension
Dimension
*
2.4
2.42.4
2.4 EZBee
EZBeeEZBee
EZBee
M100 LED
M100 LEDM100 LED
M100 LED Display
DisplayDisplay
Display
LED display
ACT LED
(blue colour)
Flash when data are transmitted (Tx/Rx mode)
STA LED
(orange colour)
When the device is not joined in PAN
-
Repeat Turning ON during 1 second and OFF during 1 second
When the device is joined in PAN
-
In
ASCII MODE
:
ON contin
u
ously
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
OFF
during
0.5 second
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
※Please refer Appendix for how to use EZBee M100.
※EZBee M100- S (MMCX Type) has a connection point for an external
antenna.

EZBee series Manual / Ver. 1.0 11
3
33
3 EZBee
EZBeeEZBee
EZBee
S100
S100S100
S100
EZBee S100 is designed to communicate with other devices based on
IEEE 802.5.4 specification without installing any serial cable. 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.
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 12
3.2
3.23.2
3.2 Configuration of
Configuration ofConfiguration of
Configuration of EZBee
EZBeeEZBee
EZBee
S100
S100S100
S100
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.13.2.1
3.2.1 RS
RSRS
RS-
--
- 232
232232
232
communication mode
communication modecommunication mode
communication mode
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
by DIP switches.
3 EZBee S100 is connected 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.23.2.2
3.2.2 RS
RSRS
RS-
--
- 422/ 485 communica
422/ 485 communica422/ 485 communica
422/ 485 communicati
titi
tion mode
on modeon mode
on mode
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
should be connected to the mini USB port on EZBee S100 for
power supply.

EZBee series Manual / Ver. 1.0 13
3.3
3.33.3
3.3 Dip switch setting
Dip switch settingDip switch setting
Dip switch setting
►
►►
►
DIP1 mode setting
RS-232 mode RS-422/485 mode
DIP1 ON Hardware Flow Control ON RS-422
DIP1 OFF Hardware Flow Control OFF RS-485
►
►►
►
Baud rate setting
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
ON
4
2 31

EZBee series Manual / Ver. 1.0 14
►DSUB 9 Pin Definition
Pin Number RS-232 RS-422 RS-485
1 DCD
2 TXD RXD- TXD-/RXD-
3 RXD TXD-
4 DTS
5 GND
6 DTR
7 CTS RXD+
8 RTS TXD+ TXD+/RXD+
9 DC Input DC Input DC Input
3.4
3.43.4
3.4 EZBee
EZBeeEZBee
EZBee
S100 LED
S100 LEDS100 LED
S100 LED display
displaydisplay
display
LED display
ACT LED
(blue colour)
Flash when data are transmitted (Tx/Rx mode)
STA LED
(orange colour)
When the device is not joined in PAN
-
Repeat Turning ON during 1 second and OFF during 1 second
When the device is joined in PAN
-
In
ASCII MODE
:
ON contin
u
ously
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
OFF
during
0.5 second
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second
5
5 5
5
4
4 4
4
3
3 3
3
2
2 2
2
1
11
1
9 8 7 6
9 8 7 6 9 8 7 6
9 8 7 6

EZBee series Manual / Ver. 1.0 15
4
44
4 EZBee
EZBeeEZBee
EZBee
U100
U100U100
U100
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.14.1
4.1
Specification of
Specification ofSpecification of
Specification of EZBee
EZBeeEZBee
EZBee
U100
U100U100
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 16
4.2
4.24.2
4.2 Configuration of
Configuration ofConfiguration of
Configuration of EZBee
EZBeeEZBee
EZBee
U100
U100U100
U100
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.
Suporting OS : Window, MAC, Linux
3 The FTDI driver is installed automatically as shown.

EZBee series Manual / Ver. 1.0 17
4 After virtual COM port setting, please find the COM port number at
port (COM or LPT) of device manager.
4.3
4.34.3
4.3 EZBee
EZBeeEZBee
EZBee
U100 LED
U100 LEDU100 LED
U100 LED display
displaydisplay
display
LED display
ACT LED
(blue colour)
Flash when data are transmitted (Tx/Rx mode)
STA LED
(orange colour)
When the device is not joined in PAN
-
Repeat Turning ON
during 1 second and OFF during 1 second
When the device is joined in PAN
-
In
ASCII MODE
:
ON contin
u
ously
- In EBI MODE : Repeat flashing twice every 0.5 second and turning
OFF
during
0.5 second
- In BYPASS MODE : Repeat Turning ON during 0.5 second and OFF
during 0.5 second

EZBee series Manual / Ver. 1.0 18
5
55
5 EZBee
EZBeeEZBee
EZBee
L100
L100L100
L100
EZBee L100 acts 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.
5.1
5.15.1
5.1
Specification of
Specification ofSpecification of
Specification of EZBee
EZBeeEZBee
EZBee
L100
L100L100
L100
General Specifications
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
Storage temperature: -25~70 º C
Humidity: 0 ~ 90% non-condensing
Physical properties Dimension: 35mm(W) x 20.5mm(H) x 64.5mm(L)
Weight: 30g

EZBee series Manual / Ver. 1.0 19
5.2
5.25.2
5.2 Configuration of
Configuration ofConfiguration of
Configuration of EZBee
EZBeeEZBee
EZBee
L100
L100L100
L100
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.
5.3
5.35.3
5.3 Network Setting
Network SettingNetwork 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.15.3.1
5.3.1 Using web browser
Using web browserUsing web browser
Using web browser
1 Connect 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 20
to default IP.
2
Type enus as the default password
3
After set your network IP at [ TCP/ IP configuration ] , reboot the
EZBee L100.
This manual suits for next models
3
Table of contents