AHHA-Tech EZBee S100 Manual

Ezbee series
Table of Contents

Advertisement

Quick Links

EZBee series Manual / Ver. 1.0
--------------------------------------------------------------------------------------------------------------------------
E
Z
B
e
e
s
e
r
i
e
s
M
a
n
u
a
l
E
Z
B
e
e
s
e
r
i
e
s
M
a
n
u
a
l
2008. 11.
AHHA-Tech

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EZBee S100 and is the answer not in the manual?

Questions and answers

Summary of Contents for AHHA-Tech EZBee S100

  • Page 1 EZBee series Manual / Ver. 1.0 -------------------------------------------------------------------------------------------------------------------------- 2008. 11. AHHA-Tech...
  • Page 2: Table Of Contents

    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.
  • Page 3 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.
  • Page 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. Network message transmission ......................35 7.3.1. Data transmission in ASCII mode ..................35 7.3.2. Data transmission in Bypass mode ..................37 7.4.
  • Page 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...
  • Page 6: Products Overview

    1. 1. 1. 1. Products Overview Products Overview Products Overview Products Overview EZBee 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.
  • Page 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 is summarized as follows:...
  • Page 8: Ezbee M100

    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 EZBee 2.1 Specification of EZBee M100 M100 2.1 Specification of 2.1 Specification of EZBee EZBee M100...
  • Page 9: Ezbee M100 Pin Assignments

    EZBee EZBee EZBee EZBee M100 PIN Assignments M100 PIN Assignments M100 PIN Assignments M100 PIN Assignments Name Direction Description Power Ground Input / Output DIO0 Digital Input or Output Input / Output DIO1 Digital Input or Output Input / Output DIO2 Digital Input or Output Output...
  • Page 10: Ezbee M100 Dimension

    EZBee EZBee EZBee EZBee M100 Dimension M100 Dimension M100 Dimension M100 Dimension Dimension 2.4 EZBee EZBee M100 LED M100 LED Display Display EZBee EZBee M100 LED M100 LED Display Display LED display ACT LED Flash when data are transmitted (Tx/Rx mode) (blue colour) STA LED When the device is not joined in PAN...
  • Page 11: Ezbee S100

    EZBee EZBee S100 S100 S100 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.
  • Page 12: Configuration Of Ezbee S100

    Flow control method and baud rate for serial communication are set by DIP switches. EZBee S100 is connected to the serial port of a PC or DTE. 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.
  • Page 13: Dip Switch Setting

    Dip switch setting Dip switch setting Dip 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 ►...
  • Page 14: Ezbee S100 Led Display

    RXD- TXD-/RXD- TXD- RXD+ TXD+ TXD+/RXD+ DC Input DC Input DC Input 3.4 EZBee EZBee EZBee S100 LED EZBee S100 LED S100 LED S100 LED display display display display LED display ACT LED Flash when data are transmitted (Tx/Rx mode)
  • Page 15: Ezbee U100

    4 4 4 4 EZBee EZBee EZBee EZBee U100 U100 U100 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.
  • Page 16: Configuration Of Ezbee U100

    4.2 Configuration of Configuration of Configuration of EZBee Configuration of EZBee EZBee EZBee U100 U100 U100 U100 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. For virtual COM port setting, the FTDI driver should be installed on PC by running the CDM 2.04.06 on the enclosed CD.
  • Page 17: Ezbee U100 Led Display

    After virtual COM port setting, please find the COM port number at port (COM or LPT) of device manager. 4.3 EZBee EZBee EZBee U100 LED EZBee U100 LED U100 LED U100 LED display display display display LED display ACT LED Flash when data are transmitted (Tx/Rx mode) (blue colour) STA LED...
  • Page 18: Ezbee L100

    5 5 5 5 EZBee EZBee EZBee EZBee L100 L100 L100 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.
  • Page 19: Configuration Of Ezbee L100

    5.2 Configuration of Configuration of Configuration of EZBee Configuration of EZBee EZBee EZBee L100 L100 L100 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.
  • Page 20 to default IP. Type enus as the default password After set your network IP at [ TCP/ IP configuration ] , reboot the EZBee L100. EZBee series Manual / Ver. 1.0...
  • Page 21: Using Ezbee Manager Program

    5.3.2 5.3.2 Using 5.3.2 5.3.2 Using Using Using EZBee EZBee EZBee EZBee manager manager manager manager program 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.
  • Page 22: Menu Related To Communication Of Ezbee L100

    5.4 Menu related to communication of Menu related to communication of Menu related to communication of EZBee Menu related to communication of EZBee EZBee L100 EZBee L100 L100 L100 Status Monitoring Shows current status of the EZBee L100 Port configuration Set operation of the EZBee L100 - Active connection : EZBEE L100 acts as a client of TCP/IP network, and tries to...
  • Page 23: Communication Modes Of Ezbee L100

    Configuration 5.5 Communication modes of Communication modes of Communication modes of EZBee Communication modes of EZBee EZBee L100 EZBee L100 L100 L100 EZBee- L100 supports the TCP/ IP socket programming. It can be assigned as a client or server according to each ports and handles data as unit of packet.
  • Page 24: At Command

    6. AT AT Command Command Command Command The EZBee formats support various AT commands for controlling the modem. Customers can configure the desired characteristics of a specific network using the rich AT commands 6.1 Reference table for 6.1 Reference table for AT 6.1 Reference table for 6.1 Reference table for AT Commands...
  • Page 25: Notification Message

    =<Modem ID> +PID Get/Set PAN ID 0~16383 4911 +GID Get/Set Group ID 1~255 Get/Set Network auto start/Join +PMJ System Permit join ?/=<0/1> +SA? System Show 16-bit short address None System Access GPIO ?/=<Value> +IOD System Access GPIO direction ?/=<Value> +ADC? System Query ADC value <ch1>,<ch2>...
  • Page 26: Result Message

    6.3 Result message Result message Result message Result message Every modem of EZBee formats returns a resulting message after executing the AT command as following: Message Description Denotes execution of AT command is success ERROR Means an undefined AT command or un-allowed parameter is inputted FAIL Display an internal error is generated during execution of AT command NO_MEM...
  • Page 27: Description Of At Commands

    7 7 7 7 Description of Description of Description of Description of AT AT commands commands commands commands Serial communication interface Serial communication interface Serial communication interface Serial communication interface 7.1.1 7.1.1 Serial port setting 7.1.1 7.1.1 Serial port setting Serial port setting Serial port setting EZBee formats support a standard serial communication port (RS-...
  • Page 28: Echo Mode Setting

    The possible values for each parameter are summarized as: Parameter value description 2400, 9600, 19200, 38400, baud Baudrate possible to use 57600, 115200 No Hardware follow control flow Use hardware follow control When a very high baudrate is set, the data transmitted can be lost because the I/ O buffer size of EZBee is 128 byte each.
  • Page 29: Channel Setting

    EZBee EZBee EZBee EZBee Modem setting Modem setting Modem setting Modem setting In order to communicate using the EZBees, each EZBees should be joined in PAN (personal area network). All EZBees in a specific PAN should have an identical channel ID and PAN ID. If the channel IDs are identical but different PAN IDs, then the EZBee belongs to other PAN.
  • Page 30: Pan Id Setting

    of routers should be changed as that of coordinator. When you select a channel number, check the overlapping with other wireless devices in the vicinity of the EZBee to avoid interference between channels. The frequency of each channel is assigned as following. Channel Frequency Channel...
  • Page 31: Modem Id Setting

    If the EZBee is already joined in PAN using AT&PS command, it should be rebooted after setting a PAN ID for the effectiveness of PAN ID setting. 7.2.3 7.2.3 7.2.3 7.2.3 Modem Modem Modem Modem ID setting ID setting ID setting ID setting Each modem embedded in EZBee formats has the own 64bit address, called as an extended address, and it is used to identify a specific modem...
  • Page 32: Group Id Setting

    If the characteristics of a coordinator is changed or the other modem is assigned as a coordinator in PAN already established, all modems in a PAN should be reset to erase network states using ‘ ATNZ ATNZ’ and rebooted. ATNZ ATNZ In case of the ID command for a remote modem ‘...
  • Page 33: Receiver Id Setting For Bypass Mode

    When the group ID command for a remote modem is conducted successfully, the following return message is returned. Message Description $GID@<DstID>=<GroupID> Group ID < GroupID> setting in a remote modem <DstID> 7.2.5 7.2.5 7.2.5 7.2.5 Receiver ID setting for Bypass mode Receiver ID setting for Bypass mode Receiver ID setting for Bypass mode Receiver ID setting for Bypass mode...
  • Page 34: Starting Ezbee Network

    Command Parameter Result Description 0 or 1 AT+AS? None Show a current automatic start mode Cancel a automatic start mode AT+AS= Activate a automatic start mode 7.2.7 7.2.7 Starting Starting EZBee EZBee network network 7.2.7 7.2.7 Starting Starting EZBee EZBee network network In case of setting a modem for the first time or turning a automatic...
  • Page 35: Network Message Transmission

    7.3 Network message transmission Network message transmission Network message transmission Network message transmission The EZBee formats support 3 different communication mode including ASCII mode, Bypass mode and EBI mode for data transmission. 7.3.1 7.3.1 Data transmission in Data transmission in ASCII ASCII mode mode 7.3.1...
  • Page 36 In here, <transID> means the transaction ID which is generated by a modem automatically after finishing the transmission, thereby every transmission generates different transaction IDs. <result> shows the result of data transmission. If transmission is succeeded, it shows as 1, if failed, number except 1. Besides, if a modem is not joined in the PAN yet, or the format of transmission message is wrong, following error messages may be returned.
  • Page 37: Data Transmission In Bypass Mode

    mode. A modem 1 sends a message (0x13F7E53) to a modem 2. modem 2 received data from a sender having the ID=1, the short- address=0x0001. The receiving sensitivity is 134 and the received message is 0x13F7E536. While, a modem 2 sends the message(0x55AA7038) to a modem 1. The received data by a modem 1 is shown as 0x55AA7038 with a receiving sensitivity 120.
  • Page 38 Command Parameter Result Description OK/ERROR/FA Convert from ASCII mode to IL/NO_MEM <space><DstID> Bypass mode /NWK_STOP Read a receiver ID of the Bypass <DstID> mode AT+DST Set a receiver ID of the Bypass =<DstID> OK /ERROR mode Convert from Bypass mode to None ASCII mode In Bypass mode, all data are transmitted to the assigned receiving...
  • Page 39 It is not necessary the receiver and sender have been set as same communication mode. The communication mode is selected according to the operating environment. If a sender is set as Bypass mode and a receiver as ASCII mode, and the sender sends a long message, the receiver can receive the message as divided length of messages due to the size of internal buffer or transmission delay.
  • Page 40: Reading A Short-Address

    Reading a Reading a Reading a Reading a Short Short Short Short- - - - address address address address A 16 bit short- address assigned during the process of joining in the PAN can be obtained by utilizing following AT commands. A short- address is mainly used in practical communication instead of an extended address.
  • Page 41: Resetting A Modem

    Command Parameter Result Description Read an extended address of a AT+EA? None <extended address> current modem. OK/ERROR/NWK Read an extended address of a AT+EA@ <DstID>? _STOP remote modem having <DstID> In case of a remote modem, it returns a following message when a message transmission is succeeded.
  • Page 42: Reading A Modem Version

    Reading a modem version Reading a modem version Reading a modem version Reading a modem version It is checked the firmware version of a modem using following AT command. Command Command Command Command Parameter Parameter Parameter Parameter Result Result Result Result Description Description...
  • Page 43: Gpio Direction Setting

    7.10.1 7.10.1 7.10.1 7.10.1 GPIO GPIO GPIO GPIO direction setting direction setting direction setting direction setting The GPIO direction of a local or remote modem can be set by utilizing following AT commands. Command Parameter Result Description Read the GPIO direction of a AT+IOD? None <direction value>...
  • Page 44: Gpio Control

    7.10.2 7.10.2 7.10.2 7.10.2 GPIO GPIO GPIO GPIO control control control control For control or monitor GPIO of a local or remote modem, following AT commands are utilized. Command Parameter Result Description Read the GPIO status value of a local AT+IO? None <value>...
  • Page 45: Adc Reading

    7.10.3 7.10.3 7.10.3 7.10.3 ADC reading reading reading reading The status value of a local or remote modem can be checked by following AT commands. Command Parameter Result Description Read the ADC status value of a AT+ADC? None < CH1>,<CH2> local modem Read the ADC status value of a AT+ADC@...
  • Page 46: Pan Joining Allowance Setting

    Command Parameter Result Description 1 / 0 AT+RA? None Check the current allowance assigned Allow a remote control. AT+RA= Does not allow a remote control 7.12 7.12 PAN 7.12 7.12 PAN joining allowance setting joining allowance setting joining allowance setting joining allowance setting allowance for joining in PAN is selectable.
  • Page 47: Ebi Commands

    8 8 8 8 EBI EBI Commands Commands Commands Commands EBI mode overview mode overview mode overview mode overview To provide more flexible communication method in EZBee formats, the EBI (EZBee Binary Interface) communication mode is developed. In EBI mode, the receiving modem can be assigned. Furthermore, the data are transmitted to a specific group modems or to all modems in a PAN.
  • Page 48: Ebi Packet Type

    EBI packet type packet type packet type packet type The packet type and its meanings are summarized as following. Packet type(Mnemonic) CODE Meaning EBI_TYPE_UNICAST_ 0x10 Unicast message EBI_TYPE_GROUP_M 0x11 Group message EBI_TYPE_BROAD_M 0x12 Broadcast message EBI_TYPE_ACK 0x80 Response according to message transmission Set or check the GPIO status value of a local or EBI_TYPE_IO_REQ 0x20...
  • Page 49: Ebi_Type_Broad_Msg

    Direction send/receive Data length Variable data length sender/receiver modem group ID 8.3.3 8.3.3 8.3.3 8.3.3 EBI_TYPE_BROAD_MSG EBI_TYPE_BROAD_MSG EBI_TYPE_BROAD_MSG EBI_TYPE_BROAD_MSG Description Sending/receiving broadcast data in the PAN Direction send/receive Data length Variable data length Broadcast ID (0xFF) 8.3.4 8.3.4 8.3.4 8.3.4 EBI_TYPE_ACK EBI_TYPE_ACK EBI_TYPE_ACK...
  • Page 50: Ebi_Type_Io_Req

    EBI_TYPE_ACK packet always returns ‘ success’ for the broadcast or group message transmission. In unicast message transmission, if a short- address of a receiver modem ID does not exist, the data are transmitted as a broadcast message in order to fix the short- address problem. Accordingly, even the modem having identical modem ID with a receiver does not exist in the PAN, the transmission result can be returned as ‘...
  • Page 51: Ebi_Type_Iod_Req

    Data length and parameter: : : : Data length and parameter Data length and parameter Data length and parameter Value Description 0x00~0xFF Show the GPIO status value of a local or remote modem 8.3.7 8.3.7 8.3.7 8.3.7 EBI_TYPE_IOD_REQ EBI_TYPE_IOD_REQ EBI_TYPE_IOD_REQ EBI_TYPE_IOD_REQ Description Set a GPIO input/output mode, or request a current setting value of a...
  • Page 52: Ebi_Type_Adc_Req

    8.3.9 8.3.9 8.3.9 8.3.9 EBI_TYPE_ADC_REQ EBI_TYPE_ADC_REQ EBI_TYPE_ADC_REQ EBI_TYPE_ADC_REQ Description Request the ADC status value of a local or remote Direction send Data length A local or remote modem ID 8.3.10 8.3.10 EBI_TYPE_ADC_ACK EBI_TYPE_ADC_ACK 8.3.10 8.3.10 EBI_TYPE_ADC_ACK EBI_TYPE_ADC_ACK Description Response according to EBI_TYPE_ADC_REQ Direction receive Data length...
  • Page 53 Appendix Appendix Appendix Appendix How to use How to use EZBee How to use How to use EZBee EZBee EZBee M100 M100 M100 M100 1. 1. 1. 1. Setting Setting Serial Serial Port Port Setting Setting Serial Serial Port Port Install the ‘...
  • Page 54 2. 2. 2. 2. Start Start Start Start PAN PAN Network Network Network Network For starting a PAN, type the AT commands related to a module ID, PAN ID and channel number as shown in the following figure. The module ID should be 0 for a coordinator setting.
  • Page 55 3. 3. 3. 3. Joining the Joining the Joining the Joining the PAN After running another terminal emulator, set the serial port and EZBee M100 as shown in 1 and 2 steps above. Then, type the AT commands related to a module ID, PAN ID and channel number.
  • Page 56 coordinator. In this example, a short- address of EZBEE module is assigned as 0001 0001 0001(hexadecimal). 0001 Router Router Router Router Terminal Terminal Terminal Terminal Now, we call this terminal as a , and the EZBee M100 Router Router Module Module connected to the coordinator terminal as a Router...
  • Page 57 is returned. In here, Transaction ID ‘ 0’ is returned as shown in second line of above example. Furthermore, an event message related to the transmission result is displayed as “ “ “ “ $SND= $SND= $SND= $SND=<TransID>, , , , <Result>” ” ” ” ..<TransID>...
  • Page 58 where, <SrcID> is a sender ID, <SrcSaddr> is a short- address of sender, <LinkQuality> means a receiving sensitivity, and <Msg> means the received message having same ASCII Hexadecimal format as sending message In this example, <SrcID> is 0 0 0 0 , and it means a sender is a coordinator. <SrcSaddr>...
  • Page 59 When the command is completed successfully, the event message related to the message arrival is shown on a coordinator terminal. EZBee series Manual / Ver. 1.0...
  • Page 60 5. 5. 5. 5. Testing message transmission in Testing message transmission in Testing message transmission in Testing message transmission in Bypass Bypass Bypass mode Bypass mode mode mode 1) Enter “ “ “ “ ATD 1 ATD 1” ” ” ” command on a coordinator terminal, and “ “ “ “ ATD 0 ATD 0”...
  • Page 61 Next, enter “ “ “ “ AT+IO? AT+IO?” ” ” ” command in order to read the input value of a AT+IO? AT+IO? current I/ O ports. The return value is “ “ “ “ BF BF” ” ” ” , it is interpreted that DIO6 is 0 0 0 0 , the others are all 1 1 1 1 .
  • Page 62 The return value is changed to “ “ “ “ B7 B7” ” ” ” . It means the input of DIO3 is changed from 1 to 0. Now, enter “ “ “ “ AT+IOD=FF AT+IOD=FF AT+IOD=FF AT+IOD=FF” ” ” ” command on a coordinator terminal. GPIO I/ O direction is changed, thereby all ports acts as output ports.
  • Page 63 In this moment, enter “ “ “ “ AT+IO=00 AT+IO=00 AT+IO=00” ” ” ” command again. AT+IO=00 You can see that DIO0 and DIO1 LED in the coordinator module are turning ON. Using similar philosophy, the GPIO of a remote modem is able to set and control.
  • Page 64 Enter “ “ “ “ AT+IOD@1? AT+IOD@1? AT+IOD@1? ” ” ” ” command on a coordinator and read GPIO AT+IOD@1? input/ output status. When the command is completed successfully, the response message, “ “ “ “ $IOD@1=00 $IOD@1=00” ” ” ” is displayed, which means all GPIO of a router is set as $IOD@1=00 $IOD@1=00 inputs.
  • Page 65 Enter “ “ “ “ AT+IO@1? AT+IO@1?” ” ” ” on a coordinator terminal while the button of DIO3 AT+IO@1? AT+IO@1? is pushed. When the command is completed successfully, “ “ “ “ $IO@1=B7 $IO@1=B7 $IO@1=B7 $IO@1=B7” ” ” ” message is outputted, and it means the input value of DIO3 is changed to EZBee series Manual / Ver.
  • Page 66 7. 7. 7. 7. Testing ADC of Testing ADC of Testing ADC of Testing ADC of EZBee EZBee EZBee EZBee M100 M100 M100 M100 EZBee- M100 provides 2 channel ADC having 10- bit resolution and is possible to read the ADC value of a local or remote modem. Enter “...
  • Page 67 When the command is completed successfully, the result message such as “ “ “ “ $ADC@ $ADC@<SrcID>= = = = <CH1>, , , , <CH2>” ” ” ” is displayed. $ADC@ $ADC@ In here, <SrcID> is a remote modem ID, <CH1> and <CH2> means the ADC channel value of In this example, <SrcID>...
  • Page 68: Fcc Information

    FCC Information This device complies with Part 15 of the FCC Results. Operation is subject to the following two conditions : (1) This Device may not cause harmful interface, and (2) This Device must accept any interference received, including interference that may cause undesired operation.

This manual is also suitable for:

Ezbee m100Ezbee u100Ezbee l100

Table of Contents