ProBee-ZE20S User Guide Rev.1.10 ZigBee OEM Module ProBee-ZE20S User Guide Sena Technologies, Inc. Rev 1.
ProBee-ZE20S User Guide Rev.1.10 ProBee-ZE20S User Guide Firmware version PTv1.X Copyright Copyright 2011 ~ 2012, Sena Technologies, Inc. All rights reserved. Sena Technologies reserves the right to make changes and improvements to its product without providing notice. Trademark ProBee™ is a trademark of Sena Technologies, Inc. Windows® is a registered trademark of Microsoft Corporation. Ethernet® is a registered trademark of XEROX Corporation.
ProBee-ZE20S User Guide Rev.1.10 Revision Date Name Description V1.0.0 2011-08-22 HR Zo Initial Writing V1.0.1 2011-09-29 HR Zo Modification for ZE20S PTv1.4 - Adding AT+RSSI Command V1.0.2 2011-11.16 HR Zo Modification of errors at 6.1 Development Kit Contents V1.5 2012-02-21 Uin Burn Modification for ZE20S PTv1.
ProBee-ZE20S User Guide Rev.1.10 Contents 1 2 INTRODUCTION ..................................................................................................... 11 1.1 About This Document......................................................................................................................... 11 1.2 Overview ............................................................................................................................................. 11 GETTING STARTED ...................
ProBee-ZE20S User Guide Rev.1.10 3.6 4 DATA TRANSMISSION........................................................................................... 33 4.1 6 Command Mode .................................................................................................................................33 4.1.1 Unicast .........................................................................................................................................33 4.1.2 Multicast................................
ProBee-ZE20S User Guide Rev.1.10 6.4.4 6.5 Configuration Example #2: 1 Coordinator and 2 End-Devices .......................................................55 6.5.1 Coordinator Configuration ..........................................................................................................55 6.5.2 End-devices Configuration .........................................................................................................55 6.5.3 Turning on/off the LEDs ..................................
ProBee-ZE20S User Guide Rev.1.10 7.4.3 AT+EPID or AT+EI ......................................................................................................................68 7.4.4 AT+GROUPID or AT+GI .............................................................................................................68 7.4.5 AT+POWER or AT+PW ..............................................................................................................68 7.4.6 AT+STACK or AT+ZS ............................
ProBee-ZE20S User Guide Rev.1.10 7.10.1 AT+GPIO or AT+IO .....................................................................................................................75 7.10.2 AT+DIO ........................................................................................................................................76 7.10.3 AT+AI ...........................................................................................................................................76 7.10.
ProBee-ZE20S User Guide Rev.1.10 9.3.5 S35 ...............................................................................................................................................86 9.3.6 S36 ...............................................................................................................................................87 9.3.7 S37 ...............................................................................................................................................87 9.3.
ProBee-ZE20S User Guide Rev.1.10 14.1 FCC ...................................................................................................................................................100 14.2 CE ......................................................................................................................................................101 14.3 TELEC ............................................................................................................................................
ProBee-ZE20S User Guide Rev.1.10 1 Introduction 1.1 About This Document This document provides an introduction on configuration and operation of the ProBee-ZE20S ZigBee OEM module. This document assumes the user is using the ZE20S starter kit for evaluation hence the pictures and configuration examples shown in this document are all based on the ZE20S starter kit. This document does not provide full detail of the hardware specifications.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 2 Getting Started Creating a ZigBee network using the ZE20S modules consists of the following steps: Install the ZE20S module on the development board Create a ZigBee network by configuring a ZE20S module as the coordinator Configure ZE20S modules as routers. This step is optional since the coordinator works as a router too.
ProBee-ZE20S User Guide Rev.1.10 2.1.2 Antenna Installation The ZE20S starter kit includes the several antennas for evaluation purposes. You can try different antennas for testing purpose and select the appropriate antenna for the actual applications. Figure 2-2 shows how to install the RP-SMA dipole antenna to the ZE20S module. Figure 2-2 RP-SMA Dipole Antenna Installation 2.1.
ProBee-ZE20S User Guide Rev.1.10 2.1.4 Serial/USB Cable Installation After the ZE20S is securely installed on the development board, please connect the included serial cable between the development board and your computer so AT commands can be sent from the computer to the ZE20S module. The serial port of the development board is DB9 female as a DTE terminal, and the serial cable included is a cross-over cable for DTE-DTE connection. To use the serial port, the HOST (SW2) switch should be set to UART.
ProBee-ZE20S User Guide Rev.1.10 2.1.5 Powering Development Board Once all the installations are completed, please plug in the power connector using the included DC power adapter. The RS_PWR, USB_PWR and BATT_EN jumpers should be all OPEN to use the DC power adapter. Alternatively, the development board can be powered using batteries, or from the USB port or through the RS232 port pin 9. In these cases, the power source jumpers should be set accordingly.
ProBee-ZE20S User Guide Rev.1.10 2.2 Using Terminal Software for AT Commands Once the hardware installation is complete, the ZE20S unit is ready to communicate with the computer using the AT commands using a terminal emulation software. You can use any kind of terminal emulation software. This document assumes HyperTerminal is used. If you are using Windows Vista or 7, HyperTerminal is no longer included in the Windows so you need to download HyperTerminal from the Internet.
ProBee-ZE20S User Guide Rev.1.10 Figure 2-9 Testing AT Command on HyperTerminal 2.3 Using ProBee Manager for Configuration It is possible to set or get the configurations of the ZE20S using ProBee Manager. This PC utility helps that a user can configure several setting values of local node and remote node easily without a terminal program. It is possible to export current configuration and import it to other nodes. It is also possible to restore to factory default configuration.
ProBee-ZE20S User Guide Rev.1.10 Figure 2-11 ProBee Manager Main Window Clicking ‘Reboot’ button reboots the local node. Users can reload and refresh the recent configuration of the local node at ProBee manager by clicking ‘Reload’ button. ‘Configuration’ tab and ‘Firmware Update’ tab can help move to the ‘Configuration’ screen and the ‘Firmware Update’ screen. 2.3.2 Configuration The Configuration Pane appears when the ‘Configuration’ tab is selected.
ProBee-ZE20S User Guide Rev.1.10 in order not lose it moving to other properties. To apply changes, please reboot the device by clicking ‘Reboot’ button. The ‘Save’ button is disabled for read-only property. Figure 2-12 ProBee Manager Configuration Pane In Figure 2-12, the ‘Node Information’ category is selected and the ‘IEEE Address’ property is selected, so Its description is displayed. The ‘Save’ button is disabled because the ‘IEEE Address’ property is readonly.
ProBee-ZE20S User Guide Rev.1.10 Click the ‘Reboot’ button whose caption used to be ‘Restore to Factory Default’ to apply changes. To export the configuration, please follow the steps as below: Click the ‘Export’ button at the ‘Configuration Management’ section and the ‘Save As’ dialog pops up. Select the path and enter the file name to store the configuration at. Click the ‘Save’ button’ and the configuration is exported to the designated file.
ProBee-ZE20S User Guide Rev.1.10 To update firmware at local node, please follow the steps as below: Select a firmware file to update at the ‘Firmware Update’ section. The ‘Choose file in local PC’ button pops up the dialog where users can select the firmware file at local PC and the ‘Download from web server’ button helps users download the firmware from web server. Click the ‘Update’ button at the ‘Device Update’ section to update the local node.
ProBee-ZE20S User Guide Rev.1.10 3 ZigBee Network Configuration A ZigBee Network consists of a coordinator, routers and end-devices. A minimal ZigBee network consists of one coordinator and multiple end-devices which directly connect to the coordinator. For larger ZigBee networks, routers are required to provide redundant routings to form mesh networks. ZigBee Coordinator: The coordinator forms the root of the network tree and might bridge to other networks.
ProBee-ZE20S User Guide Rev.1.10 Configure the ZE20S node type as the coordinator Optionally, select the channel mask. Otherwise, the ZE20S will use the default channel mask. Optionally, set up the PAN ID and/or the extended PAN ID. Otherwise, the ZE20S will generate the PAN ID and/or the extended PAN ID automatically. 3.1.1 Permit joining when other router or end-device tries to join the ZigBee network.
ProBee-ZE20S User Guide Rev.1.10 25 Table 3-2 Channel Bitmask Channel 11 12 13 14 15 16 17 18 Bit mask 00000800 00001000 00002000 00004000 00008000 00010000 00020000 00040000 Channel 19 20 21 22 23 24 25 26 Bit mask 00080000 00100000 00200000 00400000 00800000 01000000 02000000 04000000 3.1.3 PAN ID Configuration for Coordinator Every ZigBee network should be assigned a PAN ID to identify the network.
ProBee-ZE20S User Guide Rev.1.10 The user can permit joining for a moment at need. The AT command to permit joining is AT+PERMIT=n or AT+PJ=n , where n is the duration to permit in seconds ranging 1~254 seconds. The user can also configure the ZE20S to permit joining when the digital input GPIO0 is active.
ProBee-ZE20S User Guide Rev.1.10 After the operation mode is selected, ATZ command should be performed to reset the unit to have the change applied. Example) AT+NODETYPE=2 # Select router mode OK # Response ATZ # Apply the change OK # Response 3.2.2 Channel Mask Configuration for Router When the ZE20S as a ZigBee router or a ZigBee end-device tries to join, it scans all the channels configured by channel mask to find the ZigBee network to join.
ProBee-ZE20S User Guide Rev.1.10 3.3 Setting up ZE20S as an End-Device An end-device is a leaf node which communicates only with its parent node and will not relay messages directly. To configure the ZE20S as a ZigBee end-device, please follow the steps below. Configure the ZE20S node type as an end-device Optionally, select the channel mask. Otherwise, the ZE20S will use the default channel mask. Optionally, set up the PAN ID and/or the extended PAN ID.
ProBee-ZE20S User Guide Rev.1.10 3.4 Setting up ZE20S as a Sleepy End-Device A sleepy end-device can turn off radio to save power. To configure the ZE20S as a ZigBee sleepy enddevice, please follow the steps below. Configure the ZE20S node as a sleepy end-device. Optionally, select the channel mask. Otherwise, the ZE20S will use the default channel mask. Optionally, set up the PAN ID and/or the extended PAN ID. Otherwise, the ZE20S will scan and join the ZigBee network found automatically.
ProBee-ZE20S User Guide Rev.1.10 ATS55=n, where n is rejoin timeout and the default is 10. When the connection to the parent node is broken for S55 in seconds, the child node tries to rejoin the current network. Parent Node S52 S53 Sleep S54 Wake-Up Sleep Sleepy End-Device Poll Request Data Exchange Figure 3-1 Sleep Interval and Wake-up Timing The sleepy end-device can also wake up from the sleep mode by GPIO0 interrupt or incoming serial data.
ProBee-ZE20S User Guide Rev.1.10 CCM (Unified/Simpler mode of operation) Trust Centers 3.5.1 Security Level In order to use security in the application, a user should set security level using the AT command below. Set 1 defines both Authentication and Encryption at the network layer. Set 0 defines no security. Disabling security in the application is not ZigBee compliant. All nodes in the network should have the same security level setup.
ProBee-ZE20S User Guide Rev.1.10 channel change. Other nodes in the network move to the designated channel by responding to the message. The frequency agility needs to be set up only for the coordinator. ATS71=n, where n is 0 = disabled, 1 = enabled.
ProBee-ZE20S User Guide Rev.1.10 4 Data Transmission The ZE20S supports three different types of data transmissions: unicast, multicast and broadcast. Unicast is to transmit data to a specific ZigBee device. Multicast is to transmit data to a group of ZigBee devices that are assigned a specific group ID. Broadcast is to transmit data to all ZigBee devices (or specific type of ZigBee nodes if specified) in the network. ZE20S has such operation modes as command mode and data mode.
ProBee-ZE20S User Guide Rev.1.10 Unicast transmission timeout = (transmission retries + 1) x (transmission timeout) Multicast and broadcast transmission timeout could be obtained by same way. 4.1.2 Multicast Multicast transmissions are sent from a source device to destination devices with the specific group ID. The group ID is assigned to the devices using the AT+GROUPID command. The AT command for the multicast transmissions is as below.
ProBee-ZE20S User Guide Rev.1.10 ATS36=n, where n is the radius. Note: ZigBee compliance rules prevents flooding of the network by limiting the network to a maximum of 9 broadcasts over 8 seconds. Attempts to submit additional broadcasts beyond this should result in the transmission error. This is approximately one broadcast per second. It is, however, recommended to broadcast one packet over 2 seconds for safe transmission.
ProBee-ZE20S User Guide Rev.1.10 ATS11= , where = 0 to hide incoming message, 1 to show incoming message. If user wants to display incoming message in command mode, S11 should be enabled. It is displayed by the form of +|. When displaying incoming messages in command mode, some characters are encoded in the same way with sending binary data as in Table 4-1.
ProBee-ZE20S User Guide Rev.1.10 AT commands used for the unicast data mode are as below. AT+DESTLA= or AT+DL= , where is 64-bit IEEE address of destination node for unicast data mode. Set the destination address which is used for ATD command or AT+ TRANSMITMODE=1. ATD Set unicast data mode to the preconfigured destination IEEE address without reset.
ProBee-ZE20S User Guide Rev.1.10 be “FFFFFFFFFFFFFFFF” and “FFFF”. AT+TRANSMITMODE=4 or AT+TM=4 Set the transmission mode to unicast to a sink node. The device should be reset to apply the mode.
ProBee-ZE20S User Guide Rev.1.10 AT+TRANSMITMODE=4 # Set transmission mode to sink node in the network OK # Response ATZ # Apply to change OK # Response Send unicast msg # Put the unicast message +++ # Leave data mode OK # Response 4.2.2 Multicast Data Mode Multicast data mode can be used for continuous data transmission to a particular group of multiple devices. Every ZE20S belongs to a certain group by predetermined group ID when forming or joining the network.
ProBee-ZE20S User Guide Rev.1.10 Set the transmission mode to multicast mode. The device should be reset to apply the mode. ATS36=n, where n is the radius. ATS37=n, where n is the number of hops through nonmembers. Set data relay and forwarding options. Please refer to the 9 S-Registers for more details. Note: ZigBee compliance rules prevents flooding of the network by limiting the network to a maximum of 9 broadcasts over 8 seconds.
ProBee-ZE20S User Guide Rev.1.10 Send multicast msg # Put the multicast message +++ # Leave data mode OK # Response 4.2.3 Broadcast Data Mode Broadcast data mode can be used for continuous data transmission to all devices in the current network. The destination address or group ID of the remote nodes is not necessary for broadcast data mode. The transmit range is determined by the S-register 35. Broadcast data mode can be entered using either ATB or AT+TRANSMITMODE=3.
ProBee-ZE20S User Guide Rev.1.10 the same rules.
ProBee-ZE20S User Guide Rev.1.10 5 Digital and Analog I/O 5.1 GPIO (General Purpose Inputs and Outputs) Configuration The ZE20S module has total 18 I/O pins. Among these pins, I/O pin 2 is assigned to factory reset only and the user can use the rest 17 pins for general purpose inputs and outputs. The I/O pin assignments are shown in Table 5-1. As shown in Table 5-1, some pins provide special functions built into the firmware. Table 5-2 describes the special functions tied to the specific pins.
ProBee-ZE20S User Guide Rev.1.10 Table 5-2 Special GPIO Pins Function GPIO# Type Description This input is dedicated for the factory reset button. If user wants to restore the ZE20S device settings to factory default, this input (falling Factory_reset / Bootloader edge, i.e. High to Low change) needs to be pressed for more than two - DI seconds. It will be applied after the input released again.
ProBee-ZE20S User Guide Rev.1.10 the digital I/O line values, the AT+DIO command can be used as below. Return value is a combination of 0 (Low) and 1 (High) if the pins are configured as digital I/O lines. If the pins are configured as analog inputs, the corresponding return values are shown as *. AT+DIO? or AT+DIO? , where is the specific IO number between ranges 0 ~ 16 to read AT+DIO command can also be used to set the digital output lines.
ProBee-ZE20S User Guide Rev.1.10 To get/set the I/O values of the remote devices, remote AT commands can be used as below. AT+REMOTE=, Example) AT+REMOTE=00019500000F3BA1,AT+DIO? 10001000111**0000 OK 5.2.2 Periodic Sampling The ZE20S can be configured to send its I/O status to a remote device at a periodic rate.
ProBee-ZE20S User Guide Rev.1.10 ++|. 5.2.3 Change Detection Sampling The ZE20S module can take an I/O sample and transmit it to a remote device immediately whenever a monitored digital I/O pin changes state. It is possible to configure it with periodic sampling simultaneously. To configure this way, please use the AT commands below: AT+DESTLA= , where is the long address of a remote node to send sampled GPIO values of local node.
ProBee-ZE20S User Guide Rev.1.10 6 Working with Development Kit The ZE20S development kit provides a quick and easy way to be familiar with the ZE20S and test its functionalities before you build your own PCB board to carry the ZE20S. It is always recommended to start with the ZE20S development kit before your own design. 6.1 Development Kit Contents The development kit consists of ZE20S modules and development boards to carry them.
ProBee-ZE20S User Guide Rev.1.10 Figure 6-1 Development Board Layout 6.3 Development Board Hardware Descriptions 6.3.1 Power There are four ways to supply power to the development board: 5V Power Adapter USB Port Batteries (AA 1.5V x 4) RS232 Port (5V through 9th Pin) The PWR_SEL(JP1) jumper MUST be configured properly according to the way to supply power. Table 61 shows jumper configuration. Table 6-1 Jumpers Configuration PWR_SEL 5V Power Adapter 6.3.
ProBee-ZE20S User Guide Rev.1.10 the ZE20S are connected with the RS232 port. To enable the RS232 port, the HOST (SW2) switch should be set to UART. In addition to the data communication via RS232 port, the RS232 port is capable of supplying power to the development board. In order to use this feature, supply 5V power via the 9 th pin of the DB9 socket. 6.3.3 USB Port The development board also has a USB interface for UART communication.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 Note: The LED On/Off switch (SW20) should be placed to LED_OFF. 6.3.9 Light Sensor The GPIO_12 of the ZE20S is routed to the light sensor. Approximately, the relationship between illumination and analog input is as follows: Illumination(Lux) = Volt(mV) * 0.25(Lux/mV) Note: The LED On/Off switch (SW20) should be placed to LED_OFF. 6.3.10 Terminal Block The development board has a terminal block for external analog inputs. Figure 6-2 shows the layout of the terminal block.
ProBee-ZE20S User Guide Rev.1.10 Figure 6-3 Example #1: 1 Coordinator, 1 Router and 1 End-Device 6.4.1 Coordinator Configuration Hardware configuration for the coordinator is as follows: Set the HOST switch to USB Close the USB_PWR jumper and open the RS_PWR and BATT_PWR jumpers. Connect a USB cable between a host computer and the coordinator The AT commands for the coordinator are as follows: AT+NODETYPE=1 OK AT+PANID=7772 OK ATS11=1 OK AT+LONGADDR 0001950000000001 OK ATZ OK 6.4.
ProBee-ZE20S User Guide Rev.1.10 AT+PANID=7772 OK ATS42=1 OK AT+DESTLA=0001950000000001 OK AT+GPIO=11111111111441111 OK ATZ OK 6.4.3 End-device Configuration Hardware configuration for the end-device is as follows: Set the ADC_2 and ADC_3 switch to TEMP_SENS and LIGHT_SENS The AT commands for coordinator configuration is as follows: AT+NODETYPE=4 OK AT+PANID=7772 OK ATS42=1 OK AT+DESTLA=0001950000000001 OK AT+GPIO=11111111111441111 OK ATZ OK 6.4.
ProBee-ZE20S User Guide Rev.1.10 6.5 Configuration Example #2: 1 Coordinator and 2 End-Devices Here is another example assuming different system configurations. This example can be described as follows: One ZE20S module acts as a coordinator and it is connected to a host computer via serial cable. Two ZE20S modules act as end-devices. Turn on/off the LEDs of the end-devices remotely through the coordinator Figure 6-4 Example #2: 1 Coordinator and 2 End-Devices 6.5.
ProBee-ZE20S User Guide Rev.1.10 AT+PANID=7772 OK AT+GPIO=33333333333333333 OK AT+LONGADDR 0001950000000003 OK ATZ OK 6.5.3 Turning on/off the LEDs The AT commands to control the LEDs are as follows: AT+REMOTE=0001950000000003,AT+DIO=00000000000000000 OK AT+REMOTE=0001950000000003,AT+DIO=11111111111111111 OK 6.6 Configuration Example #3: Light Sensor and Temperature Sensor Here is an example sampling light sensor data and temperature sensor data.
ProBee-ZE20S User Guide Rev.1.10 Close the USB_PWR jumper and open the RS_PWR and BATT_PWR jumpers. Connect a USB cable between a host computer and the coordinator The AT commands for the coordinator are as follows: AT+NODETYPE=1 # Set node type as Coordinator OK # Response AT+PANID=7772 # Set 16-bit PAN ID (7772) OK # Response 6.6.
ProBee-ZE20S User Guide Rev.1.10 #AT+GPIO11=4 (Set ADC_2 as Analog Input) #AT+GPIO12=4 (Set ADC_3 as Analog Input) OK 6.6.3 6.6.3.
ProBee-ZE20S User Guide Rev.1.10 AT+SHORTADDR? # Confirm Network Short Addreess of Router 9AD6 # Network Short Address OK # Response 6.6.4 Queried Sampling 6.6.4.1 Getting Analog Data at Router The AT commands for Getting Analog Data at Router: AT+AI? # Get all the analog data ****,****,2179,0DFE,****,**** # Analog Data # NA,NA,Termerature,Illumination,NA,NA # (Variable Register 0, 1 are set as they are not available) # Refer 6.6.
ProBee-ZE20S User Guide Rev.1.10 OK # Response AT+REMOTE=0001950000000212,AT+AI2? # Get router’s analog data for temperature from remote coordinator 218F # Router’s analog data for temperature (Refer to 6.6.7 Data # Conversion) OK # Response AT+REMOTE=9AD6,AT+AI3? # Get router’s analog data for illumination from remote coordinator 0D8D # Router’s analog data for illumination (Refer to 6.6.7 Data # Conversion) OK 6.6.5 # Response Periodic Sampling – Destination Node 6.6.5.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 6.6.6.
ProBee-ZE20S User Guide Rev.1.10 Examples show conversion of data at 6.6.6.3 Temperature / Illumination Data at Coordinator. # Conversion 1 (++0001950000000212|11100000000**0000|****,****,217F,0D19,****,****) [Temperature Conversion] Analog Data from Temperature Sensor: 217F (in hexadecimal) Analog Data from Temperature Sensor: 8575 (in decimal) Actual Voltage: Volt(mV) = 8575 * 0.1 = 857.5(mV) Temperature: Temperature(℃) = (857.5 – 600) * 0.1 = 25.
ProBee-ZE20S User Guide Rev.1.10 7 AT Command Reference 7.1 Command Line Format Each command line is composed of a prefix, body and terminator. Only “AT” can be used for the prefix. The body is a string of characters. The terminator is or .
ProBee-ZE20S User Guide Rev.1.10 7.2.4 ATE Description Echo(1) or No Echo(0). Execute ATE Response OK 7.2.5 ATM Enter the multicast mode. If there’s no argument after the command, it will connect to Description the preconfigured destination group ID(AT+DESTGROUPID). Every data is packetized at intervals of inter character timeout (S12). Execute ATM Response OK 7.2.6 ATM ATO Description Return to data mode. Execute ATO Response 7.2.
ProBee-ZE20S User Guide Rev.1.10 7.2.11 +++ Description Interrupt data mode. “+++” must be entered within 500ms. Execute +++ Response OK 7.3 Node Specific Information 7.3.1 AT+LONGADDR or AT+LA Get the 64-bit IEEE address. (EUI address, long address) The IEEE address is a Description unique device address assigned during manufacturing. This address is unique to each physical device. Execute Response 7.3.
ProBee-ZE20S User Guide Rev.1.10 7.3.5 AT+OPPANID or AT+OI Get the operating 16-bit PAN ID. If PAN ID is set specific value not 0s, operating PAN Description ID will equal designated PAN ID. A value of “FFFF” means the device is not joined a network. Execute Response 7.3.6 OK AT+OPEPID or AT+OE Description Execute Response 7.3.7 AT+OPPANID? Get the operating 64-bit extended PAN ID. A value of “FFFFFFFFFFFFFFFF” means the device is not joined a network.
ProBee-ZE20S User Guide Rev.1.10 Range 7.4.2 00000800 - 07FFF800 AT+PANID or AT+PI Get/Set the 16-bit PAN ID. If it is set to 0s at a coordinator, the coordinator will select a Description random 16-bit hexadecimal number as PAN ID. If it is set to 0s at a router/end-device, the router/end-device will try to join any existing network regardless of PAN ID. Execute Response AT+PANID? OK Default 0000 Range 0000 – FFFF 7.4.
ProBee-ZE20S User Guide Rev.1.10 7.4.6 AT+STACK or AT+ZS Description Execute Response Get/Set the ZigBee stack profile value. This value must be set the same on all devices that should join the same network. (0: Network specific, 1: ZigBee, 2: ZigBee Pro) AT+STACK? OK Default 0 Range 0-2 7.4.7 AT+STACK= OK or ERROR AT+NODENAME or AT+NN Description Execute Response Get/Set the node name.
ProBee-ZE20S User Guide Rev.1.10 7.5.3 AT+DSCAN or AT+DS Perform a scanning for existing nodes in the current network. A coordinator or router can have children nodes and they are presented by “CLDn”. It can be possible to place some conditions such as scan duration, node type and node name in order. The Description information of local node is presented by “*”. (CAUTION: A ProBee-Z*10 with PTv1.2 or earlier cannot receive the response of AT+DSCAN from any ProBee-Z*10 with PTv1.3 or later.
ProBee-ZE20S User Guide Rev.1.10 7.5.6 AT+PERMIT or AT+PJ Description Permit other nodes to join the network. (0~254s, 255=continuance) An end-device cannot perform it. Execute AT+PERMIT Response OK Range 0 - 255 7.5.7 AT+PERMIT= AT+LEAVE or AT+LV Description Leave the current network. Execute AT+LEAVE Response OK 7.6 End-device 7.6.1 AT+SLEEP or AT+SM Description Enter the sleep mode immediately if the node is a sleepy end-device.
ProBee-ZE20S User Guide Rev.1.10 7.7 Data Transmission and Reception 7.7.1 AT+DESTLA or AT+DL Description Get/Set the 64-bit destination IEEE address for unicast data transmission. Execute AT+DESTLA? Response OK Default 0000000000000000 Range 0000000000000000 - FFFFFFFFFFFFFFFF 7.7.2 AT+DESTLA= OK or ERROR AT+DESTGROUPID or AT+DG Description Get/Set the 16-bit destination Group ID for multicast data transmission.
ProBee-ZE20S User Guide Rev.1.10 Range 7.7.6 0-4 AT+UNICAST or AT+UC Description Send unicast message to specific node using long or short address of remote node. Up to 90 bytes (or 72 bytes when security enabled) are sent to the node at once. Execute AT+UNICAST=, Response OK 7.7.7 AT+MULTICAST or AT+MC Description Send multicast message to specific group. Every node belongs to the group after being booted up if it is designated to a group ID (AT+GROUPID).
ProBee-ZE20S User Guide Rev.1.10 Execute Response Default 7.8.3 AT+LINKKEY? AT+LINKKEY= OK or ERROR OK FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AT+NWKKEY or AT+NK Description Get/Set the 128-bit network key. (0 or 0s: generate random 128-bit number) Execute AT+NWKKEY? Response Default 7.8.4 AT+NWKKEY= OK or ERROR OK FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AT+UPDATEKEY or AT+UK Update the network key with a new generated key.
ProBee-ZE20S User Guide Rev.1.10 7.9.3 AT+PARITY or AT+UP Description Get/Set the serial parity setting on the module. Execute AT+PARITY? Response OK Default 0 Range 0-2 7.9.4 AT+PARITY= OK or ERROR AT+STOPBIT or AT+US Description Get/Set the serial stop bit setting on the module. Execute AT+STOPBIT? Response OK Default 1 Range 1-2 7.9.
ProBee-ZE20S User Guide Rev.1.10 5 Reserved for pin-specific alternate functionalities (See Table 5-2) 7.10.2 AT+DIO Get/Set the digital IO value individually or all at once. All GPIO pins can be used as Description digital IO and it is only possible to set 0 or 1. If there are some pins used analog input, they are displayed by “*”.
ProBee-ZE20S User Guide Rev.1.10 Execute AT+BOOTLOAD AT+BOOTLOAD=, Please start .ebl upload image ... or Response Bootloader menu Start cloning ... … Bootloader menu Serial upload complete … Bootload Complete! 7.11.
ProBee-ZE20S User Guide Rev.1.10 8 AT Command Examples 8.1 Network configuration 8.1.1 Coordinator AT+NODETYPE=1 # set node type (coordinator) OK # Response ATZ # Apply the change OK # Response 8.1.2 Router AT+NODETYPE=2 # set node type (router) OK # Response ATZ # Apply the change OK # Response 8.1.3 End-device AT+NODETYPE=3 # set node type (end-device) OK # Response ATZ # Apply the change OK # Response 8.1.
ProBee-ZE20S User Guide Rev.1.10 00019500002FDC15 OK # Response AT+REMOTE=1FEF,AT+LONGADDR # get 64-bit address of remote node (1FEF) 00019500002FDC15 OK # Response AT+DSCAN # get the information of other nodes in the network # (Response from ZE10 Node with PTv1.2 or earlier) ZC* |00019500002FDC40|0000|PTv1.0|ZE10|ZE10_COM3 ZR |00019500002FDC15|1FEF|PTv1.0|ZE10|ZE10_COM4 CLD0|00019500002FDC17 CLD1|00019500002FDC14 ZED |00019500002FDC17|7E34|PTv1.
ProBee-ZE20S User Guide Rev.1.10 AT+MULTICAST=0001,MSG03 OK # Response # send broadcast message(MSG04) to current network and the range is determined by S35. AT+BROADCAST=MSG04 OK 8.2.
ProBee-ZE20S User Guide Rev.1.10 AT+LINKKEY=5A46…21 # set the 128-bit trust center link key (5A46…21) ATZ # Apply the change OK # Response AT+NWKKEY=0 # set the 128-bit network key (random key) OK # Response AT+UPDATEKEY # update the changed network key OK # Response 8.
ProBee-ZE20S User Guide Rev.1.10 8.6 Firmware Upload 8.6.1 Local Node # enter the bootloader menu for uploading firmware. Note that UART of local node should be set to 115200-8-N-1-N. AT+BOOTLOAD Press ENTER... SENA ProBee Bootloader v1.0 1. Upload Firmware 2. Run 3. View Firmware info PROBEE > # press “1” and upload ebl file by X-modem begin upload CCCCCCCCCCCCC Serial upload complete 8.6.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 9.1 Display Options 9.1.1 S11 Description Execute Response Get/Set the display mode. It determines to display incoming message in command mode. ATS11? OK Default 1 Range 0-1 9.1.2 Get/Set the command echo mode. Execute ATS12? Response OK Default 1 Range 0–1 ATS12= OK S13 Description Get/Set the command responses mode. Execute ATS13? Response OK Default 1 Range 0-1 9.1.
ProBee-ZE20S User Guide Rev.1.10 9.2 Network Settings 9.2.1 S21 Description Execute Response Get/Set the inter character timeout in milliseconds. It determines to send data packet after this time. ATS21? OK Default 100 Range 0 - 10000 9.2.2 ATS21= OK S22 Get/Set the timeout to permit joining. It determines the time in seconds that the device Description will allow other devices to join to it when it starts network but an end-device cannot perform it.
ProBee-ZE20S User Guide Rev.1.10 9.3.2 S32 Get/Set the transmission retries. A sender tries to retransmit up to this value when Description transmission fails. (CAUTION: It is recommended to set the smallest value that the application can tolerate in broadcast/multicast data transmission.) Execute Response ATS32? OK Default 5 Range 0 – 99 9.3.3 ATS32= OK S33 Get/Set the transmission timeout in milliseconds.
ProBee-ZE20S User Guide Rev.1.10 2: send to all nodes in the network Execute Response ATS35? OK Default 2 Range 0–2 9.3.6 ATS35= OK S36 Get/Set the maximum number of hops the message will be relayed. The message will Description be delivered to all nodes within this number of hops of the sender. A value of zero is converted to maximum value(30). It is used to multicast/broadcast. Execute Response ATS36? OK Default 0 Range 0 – 30 9.3.
ProBee-ZE20S User Guide Rev.1.10 messages and won’t receive unicast or multicast messages. Execute Response ATS39? OK Default 0 Range 0-1 9.4 GPIO 9.4.1 S41 Description Execute Response OK Get/Set the GPIO pull up/down option. If GPIOs are set to DI(Digital Input), it is possible to pull-up or pull-down with this value. Pull-down = 0, Pull-up = 1. ATS41? OK Default 0 Range 0-1 9.4.
ProBee-ZE20S User Guide Rev.1.10 9.4.4 S44 Get/Set the GPIO change detection sampling mode. If it is enabled, a node sends GPIO values to a remote node based on preconfigured destination IEEE address Description immediately when the status of GPIO changes. A remote node can also be the sink node according to GPIO monitoring node (S43). If set to 0, GPIO change detection sampling is disabled. Execute Response ATS44? OK Default 0 Range 0–1 9.4.
ProBee-ZE20S User Guide Rev.1.10 Response OK Default 100 Range 0 - 10000 9.5.3 OK S53 Get/Set the sleep duration in quarter seconds. An end-device sleeps for this time and Description turns off radio every sleep cycle. If a node sleeps over poll timeout of parent node, the device will be removed from the child table. Execute Response ATS53? OK Default 8 Range 0 – 16711680 9.5.4 ATS53= OK S54 Get/Set the standby timeout in seconds.
ProBee-ZE20S User Guide Rev.1.10 device to poll more rapidly for a short time when receiving RF data. Execute Response ATS56? OK Default 5 Range 0 - 10000 9.6 Sink 9.6.1 S61 ATS56= OK Get/Set the sink node and the sink advertise period in seconds. When a node is Description defined as a sink, it can multicast its address to the rest of the network in this period. If set to 0, sink advertise is disabled.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 11 Connections 11.1 Serial Port Pin Outs ProBee-ZE20S starter kit is a DCE device compatible with the RS232 standard, a DB9 female interface.
ProBee-ZE20S User Guide Rev.1.10 11.2 Serial Wiring Diagram 11.2.1 To Host with DTE Interface 11.2.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.
ProBee-ZE20S User Guide Rev.1.10 13 Warranty 13.1 GENERAL WARRANTY POLICY Sena Technologies, Inc. (hereinafter referred to as SENA) warrants that the Product shall conform to and perform in accordance with published technical specifications and the accompanying written materials, and shall be free of defects in materials and workmanship, for the period of time herein indicated, such warranty period commencing upon receipt of the Product.
ProBee-ZE20S User Guide Rev.1.10 13.3 HARDWARE PRODUCT WARRANTY DETAILS WARRANTY PERIOD: SENA warranties embedded hardware Product for a period of one (1) year, and external hardware Product for a period of three (3) or five (5) years according to the Product type. WARRANTY PROCEDURE: Upon return of the hardware Product SENA will, at its option, repair or replace Product at no additional charge, freight prepaid, except as set forth below.
ProBee-ZE20S User Guide Rev.1.10 14 Regulatory Information 14.1 FCC FCC Rule: Part 15 Subpart C Section 15.247 FCCID: S7AIW01 FCC Compliance Statement This device complies with part 15 of the FCC Rules.
ProBee-ZE20S User Guide Rev.1.10 14.2 CE CE1177(!) We, Sena Technologies, Inc., declare that the product(s): ProBee-ZE20S ZigBee OEM Module to which this declaration relates is in conformity with the following standard(s) or other normative document(s) EN 60950-1 ETSI EN 301 489-1 ETSI EN 301 489-17 ETSI EN 300 328 Following the provisions of 14.
ProBee-ZE20S User Guide Rev.1.10 15 RF Information Radio Frequency Range 2.405~2.480GHz Number of Frequency Channel 16 channels Transmission Method DSSS (Direct Sequence Spread Spectrum) Modulation Method O-QPSK (Offset Quadrate Phase Shift Keying) Radio Output Power +8dBm Receiving Sensitivity -102dBm Power Supply DC3.