Home

ZigBee OEM Module ProBee

image

Contents

1. Execute ATS35 lt CR gt ATS35 lt value gt lt CR gt Response Cena OK lt CR gt OK lt CR gt Default 2 Range 0 2 9 3 6 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 ATS36 lt CR gt ATS36 lt value gt lt CR gt Response Be OK lt CR gt OK lt CR gt Default 0 Range 0 30 9 3 7 S37 Se Get Set the number of hops that the message will be forwarded by devices that are not Description ee members of the group A value of zero 7 or greater is treated as infinite Execute ATS37 lt CR gt ATS37 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 0 Range 0 7 9 3 8 S38 EEN Get Set the receive message mode If it is enabled a local node will receive multicast Description or broadcast messages from itself Execute ATS38 lt CR gt ATS38 lt value gt lt CR gt Response e OK lt CR gt OK lt CR gt Default 0 Range 0 1 9 3 9 39 Get Set the receive mode If S39 is enabled a local node will only receive the same Description type of messages with its transmission mode For example if local node s transmission mode is broadcast mode AT TM 3 it will receive only broadcast ProBee ZE20S User G
2. Pin NAME Default Function Direction Description 1 GND Ground 2 Factory Reset Factory Reset IN Digital I O Factory reset input Active low 3 GPIO_0 Permit Joining IN OUT Digital I O Permit joining input 4 GPIO_1 UART_DTR IN OUT Digital UO UART_DTR 5 GPIO_2 UART_DSR IN OUT Digital 1 0 UART_DSR 6 GPIO_3 UART_CTS IN OUT Digital I O UART_CTS 7 GPIO_4 UART_RTS IN OUT Digital UO UART_RTS 8 GPIO_5 DIO_5 IN OUT Digital I O 9 GPIO_6 DIO_6 IN OUT Digital I O 10 GPIO_7 DIO_7 IN OUT Digital I O 11 GPIO_8 DIO_8 IN OUT Digital I O 12 VCC IN Power supply 3 3V 13 GND Ground 14 VCC Power supply 3 3V 15 JTCK IN JTAG clock input from debugger 16 JTDO OUT JTAG data output to debugger 17 JTDI IN JTAG data input from debugger 18 JTMS IN JTAG mode select from debugger 19 JRST IN JTAG reset input from debugger 20 GND Ground 21 GND Ground 22 RESET IN H W_ Reset Active low 23 GPIO_16 Status LED IN OUT Digital I O Status LED 24 GPIO_15 Power LED IN OUT Digital I O Power LED 25 UART_RXD UART_RXD IN UART Data Input 26 UART_TXD UART_TXD OUT UART Data Output 27 GPIO_14 DIO_14 IN OUT Digital UO ADC_5 28 GPIO_13 DIO_13 IN OUT Digital UO ADC_4 29 GPIO_12 DIO_12 IN OUT Digital UO ADC_3 30 GPIO_11 DIO_11 IN OUT Digital UO ADC_2 31 GPIO_10 DIO_10 IN OUT Digital UO ADC_1 32 GPIO_9 DIO_9 IN OUT Digital I O ADC_0 33 GND Ground
3. 6 00 L 3 3 2 00 5 5 0 S 0 om 0 O A 33 fe a S ua a 3 2 ja a fal lu SJ 9 H l a a a 2 00 E E 280 O000aaaa sl N een EE A 0 50 2 00 T 4 00 Figure 12 3 ProBee ZE20SDC ProBee ZE20S User Guide Rev 1 10 1 RAIS e 5 00 E 2 10 50 3 50 7 00 gt 4 00 1 70 6 00 U 2 00 a a alo a al a j JE Bol l gn D 18 lt S a a E sz O a acl a a a a a a 23 SS sch a o 5 S O O O O E 1 80 2 00 1 00 2 00 4 00 0 50 Figure 12 2 ProBee ZE20SDS ProBee ZE20S User Guide Rev 1 10 1 31 60 Pad 1 2x1 2 R 0 7 m ri x o a E e Ei N 2 00mm pitch x 33 Pad 1 2x1 2 RO oo ma O aN 2 00 3 30 18 60 1 25 E EE EEN L 30 1 00 T A k 1 20 T Figure 12 4 ProBee ZE20SSU Figure 12 5 ProBee ZE20SSC ProBee ZE20S User Guide Rev 1 10 1 RSS 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
4. NOTE GPIO_ 14 is driven low at pin reset or power on reset the module will boot up in bootloader ProBee ZE20S User Guide Rev 1 10 1 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 Figure 11 1 Pin layout ofthe DB 9 female connector Table 11 1 Pin assignment ofthe DB 9 female connector Ping signal Direction Description Elo EECH 2 to Output Transmitted Data Received Data ET Ready to send BESSE Ts eo Ts om oe vce rot CN ProBee ZE20S User Guide Rev 1 10 1 11 2 Serial Wiring Diagram 11 2 1 To Host with DTE Interface DTE Host System DCE ProBee ZE 1 2 11 2 2 To Host with DCE Interface DCE Host System DCE ProBee ZE DCD 1 TXD 2 RXD 12 Mechanical Drawings 5 40 3 40 6 00 O O 2 00 5 o 5 5 Fa 3 3 2 o zej 9 S EE 3 2y ja a Sa lu a E 2 D a s l lu N S a 2 00 5 a a _ 2 80 2 aUaaada 1 10 1 10 S ha 10 ei SR 1 25 5 il 1 80 2 00 L I 00 kam 2 00 T 4 00 Figure 12 1 ProBee ZE20SDU 6 00 9 00 6 00 0 30 o
5. Description Get the 16 bit Node ID of the parent node Execute AT PARENTSA lt CR gt lt node ID gt lt CR gt Response OK lt CR gt 7 6 4 AT CHILDTABLE or AT CT Description Get the child table composed of the end devices Execute AT CHILDTABLE lt CR gt lt node type gt lt IEEE address gt lt node ID gt Response List of the child nodes OK lt CR gt ProBee ZE20S User Guide Rev 1 10 1 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 lt CR gt AT DESTLA lt value gt lt CR gt Response O OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0000000000000000 Range 0000000000000000 FFFFFFFFFFFFFFFF 7 7 2 AT DESTGROUPID or AT DG Description Get Set the 16 bit destination Group ID for multicast data transmission Execute AT DESTGROUPID lt CR gt AT DESTGROUPID lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0000 Range 0000 FFFF 7 7 3 AT SINKINFO or AT SI Get the long and short addresses of sink node If there is no sink node in the network Description l the addresses will be FFFFFFFFFFFFFFFF and FFFF Execute AT SINKINFO lt CR gt lt IEEE address gt lt nodelD gt lt CR gt Respons
6. 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 Broadcast transmission failure also causes retransmission which is affected by transmission timeout S33 and transmission retries S32 Because frequent retransmissions may cause to break the broadcast limitation it is recommended to set more than 1000 for transmission timeout S33 and set as small as possible for transmission retries S32 Multicast data transmission is implemented on top of the network broadcast mechanism so it is subject to the same rules 4 1 4 Sending Binary Data Because some characters like carriage return line feed and back space collides with AT commands in command mode and back slash is used for control character for binary encoding they cannot be transmitted as they are The characters out of range between 0x20 Space and 0x7E in hexadecimal are not expressed at the AT commands for transmitting data In order to transmit these characters in command mode these characters must be encoded in a command line The examples of special characters encoding are shown in Table 4 1 Table 4 1 Examples of Special Character
7. Figure 2 3 ZE20S Installation on the Development Board ProBee ZE20S User Guide Rev 1 10 1 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 Figure 2 4 Serial Cable Installation In case the serial port is not available for the computer you can use the USB port of the development board instead In this case the internal USB RS232 converter of the development board will convert the USB signal to the RS232 signal and vice versa To use the USB port the HOST SW2 switch should be set to USB and the software driver for the USB in the CD should be installed on the computer For the USB driver installation please refer to the section 2 1 6 rc Figure 2 5 USB Cable Installation ProBee ZE20S User Guide Rev 1 10 1 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 fro
8. Response Set ADC 2 and ADC_3 as Analog Input OR ProBee ZE20S User Guide Rev 1 10 1 6 6 3 Applying 6 6 3 1 Applying and Confirm of Coordinator The AT commands for Applying and Confirm of Coordinator 6 6 3 2 Applying and Confirm of Router The AT commands for Applying and Confirm of Coordinator ProBee ZE20S User Guide Rev 1 10 1 6 6 4 Queried Sampling 6 6 4 1 Getting Analog Data at Router The AT commands for Getting Analog Data at Router 6 6 4 2 Getting Analog Data at Coordinator The AT commands for Getting Analog Data at Coordinator ProBee ZE20S User Guide Rev 1 10 1 BJ 6 6 5 Periodic Sampling Destination Node 6 6 5 1 Coordinator Configuration The AT commands for Coordinator Configuration 6 6 5 2 Router Configuration The AT commands for Router Configuration 6 6 5 3 Temperature Illumination Data at Coordinator The AT commands for Sampling Temperature Illumination at Coordinator ProBee ZE20S User Guide Rev 1 10 1 e Data displayed at coordinator every second e Data format lt EEE address gt lt GPIO value gt lt Analog Input Data gt e Refer to 6 6 7 Data Conversion about how to convert to analog data to temperature and illumination 6 6 6 Periodic Sampling Sink Node 6 6 6 1 Coordinator Configuration The AT commands for Coordinator Configuration 6 6 6 2 Router Configuration The AT commands for Router Configuration ProBee ZE20S User Guide Rev 1 1
9. 600 0 1 27 68 C Illumination Conversion Analog Data from Illumination Sensor 007A in hexadecimal Analog Data from Illumination Sensor 122 in decimal Actual Voltage Volt mV 122 0 1 12 2 mV Illumination Illumination Lux 12 2 0 25 3 05 Lux ProBee ZE20S User Guide Rev 1 10 1 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 lt CR gt or lt NL gt A command can be one of the followings e Read a configuration parameter AT lt Command gt lt CR gt e Do something AT lt Command gt lt CR gt e Write a configuration parameter AT lt Command gt lt Parameter 1 gt lt Parameter 2 gt lt Parameter 3 gt lt CR gt Commands denoted with a character are extended AT commands S registers are supported Multiple commands in the same command line are not supported 7 2 Standard AT Commands 7 2 1 AT Description Check the state of the connection between host and ProBee device Execute AT lt CR gt Response OK lt CR gt 7 2 2 ATB D oti Enter the broadcast data mode Every data is packetized at intervals of inter character escription E timeout S21 and transmit range is determined by broadcast range S35 Execute ATB lt CR gt Response OK lt CR gt 7 2 3 ATD Enter the un
10. Accidents falls objects striking the SENA product Operating the Product in environments that exceed SENA s temperature and humidity specifications Power fluctuations high voltage discharges Improper grounding incorrect cabling Misuse negligence by the customer or any other third party Failure to install or operate the product s in accordance to their SENA User Manual Failure caused by improper or inadequate maintenance by the customer or any other third party Floods lightning earthquakes Water spills Replacement of parts due to normal wear and tear Hardware has been altered in any way Product that has been exposed to repair attempts by a third party without SENA s written consent Hardware hosting modified SENA Software or non SENA Software unless modifications have been approved by Sena Battery component capacity degradation due to usage aging and with some chemistry lack of maintenance 13 4 SOFTWARE PRODUCT WARRANTY DETAILS WARRANTY PERIOD SENA warranties software Product for a period of one 1 year WARRANTY COVERAGE SENA warranty will be limited to providing a software bug fix or a software patch at a reasonable time after the user notifies SENA of software non conformance 13 5 THIRD PARTY SOFTWARE PRODUCT WARRANTY DETAILS The warranty policy of the third party software is conformed to the policy of the corresponding vendor ProBee ZE20S User Guide Rev 1 10 1 14 Re
11. ProBee ZE20S User Guide Rev 1 10 1 ED 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 ATS44 lt CR gt ATS44 lt value gt lt CR gt Response i as OK lt CR gt OK lt CR gt Default 0 Range 0 1 9 4 5 S45 Get Set the GPIO remote control mode If any GPIO pin is set to digital input a node can control the I O status of a remote node if the I O pin of the remote node is set to Description digital output It is possible to use when GPIO monitoring is enabled GPIO monitoring period S42 gt 0 or GPIO change detection sampling is enabled GPIO change detection sampling mode S44 1 Execute ATS45 lt CR gt ATS45 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 0 Range 0 1 9 5 End Device 9 5 1 51 Get Set the poll timeout for a parent node in seconds If an end device or a sleepy Description end device does not send a poll request to its parent coordinator or router within the poll timeout the end device is removed from the child table Execute ATS51 lt CR gt ATS51 lt value gt lt
12. ROCA Eeer EE 101 ProBee ZE20S User Guide Rev 1 10 1 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 Please refer to the ProBee ZE20S data sheet for further references on the hardware design 1 2 Overview The ProBee ZE20S is an all in one ZigBee OEM module with integrated ZigBee core and radio antenna circuits together with high level software library Using the ZE20S OEM manufacturers can easily and cost effectively integrate ZigBee functionality into target products in timely manner The ZE20S OEM module is designed to meet specific requirements of low cost and low power wireless applications such as Home Automation Smart Energy Health care Building Automation and Telecom Services by adopting the ZigBee technology The ZE20S is based on the Ember EM357 ZigBee core and certified ZigBee Alliance based on ZigBee 2007 and ZigBee Pro stack Despite of its low cost and low power consumptions the ZE20S provides high performance and robust data transfer capability for wide range of applications The ZE20S can transfer data at up to 250 kbps and reach up to 300 m 0 19 miles outdoor lin
13. 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 5 Modification of the ATS11 and flow control default value Adding ATS71 Register for Frequency Agility Modification of Key Features about power and current Modification of default function at Pin Assign ment Table Modification of Working Distance Modification of Overview V1 6 2012 08 20 Uin Burn Modification of Mechanical Drawings Modification of ATS55 information Modification of some mistypes V1 7 2013 04 09 Uin Burn Modification of Analog GPIO information Modification of Permit Join and Factory Reset button information Changes rising edge to falling edge V1 7 1 2013 07 17 Uin Burn Modification for GPIO_ 14 pin information V1 8 2013 08 28 Uin Burn Modification for ATS36 input range Modification for Multicast information Modification for Factory_reset button informa tion V1 9 2013 10 31 Uin Burn Fixed mistype AT AlO to AT Al in 5 2 1 Modification for Multicast information V1 10 2014 02 14 Um Bum Modification for 11 1 Serial Port Pin Outs Modification for Analog GPIO retum value range in 5 2 1 and 6 6 7 1 Modification for 4 1 1 Unicast V1 10 1 2014 03 21 Uin Burn Modification for some typographical errors S12 to 21 in section 7 2 2 7 2 3 and 7 2 5 ProBee ZE20S User Guide Rev 1 10 1 Contents 1 INTRODUCTION 0 0 ae cian
14. Description Perform a scanning for existing nodes in the current network A coordinator or router can have children nodes and they are presented by CLDr It can be possible to place some conditions such as scan duration node type and node name in order The 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 It cannot receive from any ProBee Z 20 either In this case it is recommended to upgrade PTv1 2 to the latest version Execute AT DSCAN lt CR gt or AT DSCAN lt scan duration gt lt CR gt or AT DSCAN lt scan duration gt lt node type gt lt CR gt or AT DSCAN lt scan duration gt lt node type gt lt node name gt lt CR gt Response lt node type gt lt IEEE address gt lt node ID gt lt version gt lt product name gt lt node name gt List of the existing nodes and information OK lt CR gt Range Scan duration 1 10 Node type 0 4 Zero indicates all node types 7 5 4 AT RSSI or AT RS Get RSSI and LQI information respectively for the delivery of the recent packet across the last hot of the incoming route The LQI value ranges from O to 255 with the maximum value representing the best possible link quality The RSSI value ranges Description f from approximately 100 to 127 with each value representing the energy level in dBm at
15. EICH EE UE e TEE 85 9 3 1 A aa eee eels 85 9 3 2 dee 86 933 SOS isa dees Se a eo eee ee sss 86 E E cei lied dees es ees el EE 86 ProBee ZE20S User Guide Rev 1 10 1 B 93 5 SBD EE 86 EE 87 DIS SII A AS pe Pee eer eee 87 DDO Ee E 87 DE Ee E 87 ga Te EE 88 o III ee 88 A EE 88 CO EG SES EE 88 Oga SAI ee ee e 89 945 OT 89 9 9 gt e ER 89 GOT SO A pees oi es eile 89 95 2 SOD O EE AE 89 Ee e ee eee 90 A EE 90 nee ee ee 90 ORSA Ee ee Eed 90 96 gt ASIN eta O A e a ee e e e E e 91 De SOT Bata ca aoe e rada 91 90 25 tee ee ads 91 97 Frequency Agilty EE 91 EE 91 WW EE TE EC 92 11 CONNECTION Sisi its rai i 94 NW Ce de BCEE 94 112 Serial Wiring Diag rant cojin aora 95 11 2 1 To Host with DTE Interface oooooniicincinniinninnnnm nenas 95 11 2 2 To Host with DCE Interface 95 12 MECHANICAL DRAWINGS EE teen ee ae eee EEN EEEEEREEE REENEN 96 13 WARRAN NR EEN 98 13 1 GENERAL WARRANTY POLICE 98 13 2 LIMITATION OF LIABILITY eccceccesceeeceeceeececeeceeeeeeeeeeeeeeceaecaeeeaeeaeesaeseaeseeeeeeseeesaeesaeeeaeeeaeeeeeeaeees 98 13 3 HARDWARE PRODUCT WARRANTY DETAILS nsnnsesnesnnsneeneseeestnrtrrnntneteresttnrtntnntnrtnrenrnnnnnn nnen 99 13 4 SOFTWARE PRODUCT WARRANTY DEIAN S A 99 13 5 THIRD PARTY SOFTWARE PRODUCT WARRANTY DETAILS 99 14 REGULATORY INFORMATION c ccoocccccccccocnocnncnnannnn cn na cn ncnnnnnnnnnnnnn aa 100 ProBee ZE20S User Guide Rev 1 10 1 1441 Elia ota 100 e e O 101 Ta NEE 101 TA
16. PAN ID the user needs to make sure that there is no ZigBee network using the same PAN ID If the PAN ID is already used by another ZigBee network the PAN ID is unavailable and the user should choose a new PAN ID In order to avoid this PAN ID auto generation is strongly recommended The user can also assign the 64 bit extended PAN ID to the ZE20S using the AT command below If the extended PAN ID is 0000000000000000 the ZE20S uses its IEEE address as the extended PAN ID The extended PAN ID cannot be shared with other ZigBee networks either AT EPID xxx xxx or AT El XxX XxX where xxx xxx is EPID to use For example 0123456789ABCDEF Default setting is 000 000 3 1 4 Permit Joining When a router or an end device tries to join the ZigBee network there should be at least one coordinator or router which is permitting joining If there is no router in the ZigBee network yet the coordinator should permit joining The ZE20S provides three ways to permit joining are as follows e Permanently permitting by configuration e Transiently permitting by AT command e Transiently permitting by digital input signal If joining is permanently permitted any device can join anytime Since this will allow even an unidentified device to join the network anytime this mode should be selected with extra caution The AT command to permit joining permanently is as follows AT PERMIT 255 or AT PJ 255 ProBee ZE20S User Guide Rev 1 10 1 The us
17. S52 poll period is usually configured as around 100 ms ATS54 n where n is standby timeout in seconds and the default is 5 If there is no RF data or serial data for S54 seconds the sleepy end device goes to sleep mode again If any serial or RF data is sent or received the timer will reset and the sleepy end device waits for another S54 seconds before it goes to sleep mode again ProBee ZE20S User Guide Rev 1 10 1 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 Sleep Wake Up Slee Sleepy End Device A gt Poll Request gt Data Exchange Figure 3 1 Sleep Interval and Wake up Timing The sleepy end device can also wake up from the sleep mode by GPIOO interrupt or incoming serial data Once it wakes up it also polls with the parent node at S52 interval and goes into sleep mode after S54 time elapses after the last data exchange Note If the sleepy end device wakes up by incoming serial data the integrity of the first incoming byte is not guaranteed It is strongly recommended to wake up the sleepy end device by using GPIOO first before sending the serial data or use higher level serial data protocol to check the data integrity 3 5 ZigBee Security Security is a major concern in the ZigBee architecture Although ZigBee uses the basic security elements in IEEE 802 15 4 e g AES
18. UNICAST lt node_id gt lt MSG gt lt CR gt or AT UC lt node_id gt lt MSG gt lt CR gt where lt node_id gt 16 bit or 64 bit address lt MSG gt data to transmit The maximum payload of the message is 90 bytes or 72 bytes under security enabled If the message length exceeds the maximum payload the message cannot transmit and the error message will be presented The AT command to get the maximum payload is as below AT MAXPAYLOAD lt CR gt or AT MP lt CR gt After unicast transmission timeout the source device present an error message Unicast transmission timeout can be set using the AT commands below Please refer to the 9 S Registers for more details ATS32 n where n is the transmission retries ATS33 n where n is the transmission timeout ProBee ZE20S User Guide Rev 1 10 1 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 AT MULTICAS T lt group_id gt lt MSG gt lt CR gt or AT MC lt group_id gt lt MSG gt lt CR gt where lt group_id gt group ID lt MSG gt data to transmit The data transmission range can be set using the AT commands below Plea
19. ce ta ce on eed adc ececie tee cncteeeene ete nanna 11 1 1 About This Document one ita 11 EC OE EE 11 2 GETTING STARTED lt a 13 2 1 Hardware Installation eee ce ceeecseeneeeneeeeeeaeeeeeeeeeeeeeeeesaeesaeseaeseaeeaesaaeeaeseeeseeesaeesaesnaseaeeeeeaeee 13 2 1 1 Development Board Layout 13 2 1 2 Antenna Installation ooom nooninininnnin ninininin 14 2 1 3 Module Installation on the Development Goar 14 2 1 4 Seria USB Cable jnstallaton 15 2 1 5 Powering Development Doan 16 2 1 6 USB Driver nstalloaton nenen 16 2 2 Using Terminal Software for AT Commande 17 2 3 Using ProBee Manager for Confiouraton 18 2 3 1 Serial Port Open 18 232 CONJUNTO atioi 19 23 3 Fiimware Upda le aa a tin lets 21 3 ZIGBEE NETWORK CONFIGURATION se EEEEEEER KEREN 23 3 1 Setting Up ZE2Z0S as a Coordinator 23 3 1 1 Node Type Selection for Coordinator 24 3 1 2 Channel Mask Configuration for Coordinator secsecceccecne cee eeeeeteeeeeeeeaneaecnecneeeeceneeeesaeeaeeateas 24 3 1 3 PAN ID Configuration for Coordinator 0 ecsecsecseeteetecneenecneceeeeeceaesaesaeeaesateaecaecneceeceeeeeesaeeaeeateas 25 3 1 4 POLITE JOUNING EE 25 3 2 Setting Up ZEZOS as a ROULEM eee eecceccnccneeeeeeeeeeeeeeeeeeaeeaeeaeeaecnecaeeeeeeeesaesaesaesaesaeeaeenecaeseeeeeeeesaees 26 3 2 1 Node Type Selection for bouter rr 26 3 2 2 Channel Mask Configuration for Router 27 3 23 PAN ID Configuration for ROULCS 0 1 csccsccsecstestesteeteenececneceeceeceeesaesaesaesaeeaee
20. configured to send its I O status to a remote device at a periodic rate To configure this way please use the AT commands below AT DESTLA lt IEEE address gt lt CR gt or AT DL lt EEE address gt lt CR gt Where lt IEEE address gt is the long address of a remote node to send sampled GPIO values of local node ATS42 lt value gt lt CR gt where lt value gt is the GPIO sampling period in seconds If set to 0 GPIO monitoring is disabled ATS43 lt value gt lt CR gt where lt value gt is the GPIO monitoring node If set to 0 the monitoring node is selected by AT DESTLA If set to is 1 the sink node is set as the monitoring node A device can be a sink node by setting S register 61 The sink node multicasts its address to the other devices in the destination group in the network according to the value of S register 61 which is called advertising ATZ lt CR gt Reset the device to apply the changes The ZE20S can be configured to display periodic sampling data coming from the other nodes To enable this feature please use the AT command below ATS11 lt value gt lt CR gt where lt value gt determines whether incoming message will be presented or not If a user wants to display incoming message in command mode S11 should be enabled If this feature is enabled incoming message will display in the form of ProBee ZE20S User Guide Rev 1 10 1 lt EEE address gt lt GPIO value gt lt CR gt 5 2 3 Change Dete
21. device contains just enough functionality to talk to the parent node which is either the coordinator or a router It cannot relay data from other devices e ZigBee Sleepy End Device The sleepy end device is the same with normal end device except it can stay in the sleep mode much longer This relationship allows the end device to sleep significant amount of the time and achieve the long battery life The ZE20S can be configured to work either as a coordinator a router an end device or a sleepy end device Once the operation mode of the ZE20S is selected corresponding parameters need to be set up appropriately This chapter explains how to configure the ZE20S operation mode and other parameters related to the ZigBee network itself Table 3 1 ZigBee Node Types Node Type Recommendation when to use ZE20S Coordinator It should be selected when it is first time to establish the network Router It is recommended when there is a network already and it needs to be expanded A router is suitable for fast and stable data transmissions and receptions End Device It is recommended when it doesn t need to expand the network anymore and there are enough nodes as parents An end device consumes less power than a router Sleepy End Device It is recommended when the data transmissions occur rarely and in very small quantities A sleepy end device can lose data if sleep duration is too long but it is possible to consume extremely low p
22. device is removed from the child table ATS56 n where n is poll period in seconds and the default is 5 End device polls the parent node at poll period defined by S56 periodically It is for the connection to the parent node and data transmission with other nodes in the network 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 Even though the end device needs to poll the parent node continuously it does not go into the sleep mode and it can send and receive messages any time unlike the sleepy end device ProBee ZE20S User Guide Rev 1 10 1 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 end device please follow the steps below e Configure the ZE20S node as a sleepy end device e Optionally select the channel mask Otherwise the ZE20S will use the default channel mask e Optionally set up the PAN ID and or the extended PAN ID Otherwise the ZE20S will scan and join the ZigBee network found automatically e Configure the settings for sleep interval Please refer to the section 3 2 Setting up ZE20S as a Router for the AT commands regarding the node type selection the channel mask configuration and the PAN ID Extended PAN ID configuration One of the unique features of the ZigBee device is its extreme low power co
23. extended PAN Description f Red Se ID If the node is a router or end device and the EPID is set to Ox it will try to join any existing network regardless of extended PAN ID Execute AT EPID lt CR gt AT EPID lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0000000000000000 Range 0000000000000000 FFFFFFFFFFFFFFFF 7 4 4 AT GROUPID or AT GI Description Get Set the 16 bit Group ID It is used for multicast data reception Execute AT GROUPID lt CR gt AT GROUPID lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0000 Range 0000 FFFF 7 4 5 AT POWER or AT PW Description Get Set the TX power at which the RF module transmits conducted power Execute AT POWER lt CR gt AT POWER lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 8 Range 43 8 ProBee ZE20S User Guide Rev 1 10 1 E 7 4 66 AT STACK or AT ZS Get Set the ZigBee stack profile value This value must be set the same on all devices Description SCH SR f that should join the same network 0 Network specific 1 ZigBee 2 ZigBee Pro Execute AT STACK lt CR gt AT STACK lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt D
24. for help RF Exposure Statement The equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled environment This device and its antenna must not be co located or operation in conjunction with any other antenna or transmitter Do not Any changes or modifications to the equipment not expressly approved by the party responsible for compliance could void user s authority to operate the equipment ProBee ZE20S User Guide Rev 1 10 1 14 2 CE CE1177 We Sena Technologies Inc declare that the product s e ProBee ZE20S ZigBee OEM Module to which this declaration relates is in conformity with the following standard s or other normative document s e EN 60950 1 e ETSI EN 301 489 1 e ETSI EN 301 489 17 e ETSI EN 300 328 Following the provisions of e EMC DIRECTIVE 1999 5 EC 14 3 TELEC Technical Regulations for Specified Radio Equipment Article 2 Section 1 19 Certification No e ProBee ZE20SDU 010WWBT0090 e ProBee ZE20SDS 010WWBT0091 e ProBee ZE20SDC 010WWBT0092 14 4 KCC Type Registration Certification No KCC CRM SNA IW01 Basic Model Number ProBee ZE20SDU Series Model Number ProBee ZE20SDS ProBee ZE20SDC ProBee ZE20SSU ProBee ZE20SSC 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 Outp
25. i 73 FB OOGUN PPC O o tests A E dns tns AE 73 78 1 AT SECURITY OF ATASE a e ea E E a aa 73 782 AT LINKKEY OFATHLK 22 c22 whch etcorcoleonstee sive nadccnat EE 73 7 8 3 AT NWEKKEY or AT HNK 00 csccecceeseceseeeeeeceeeneeaeeeaececneneneneesnensneceneeaneeseceeecanseaesaeeaeeasenansseeneranes 74 7 8 4 AT UPDATEKEY Or AT UK oociocicocicinicniinic nennen eneen 74 TO WAR EE 74 7 9 1 AT BAUDRATE or ATIUDR nennen eneee 74 T92 PIADATABIT O RATAUD a Ee 74 T93 ATEPARIFY RE EE 75 L94 AT STOPBIT OA S E 75 795 ARHFLOWCIR or A U oct ti te ee ee 75 lt GPIO aaa E E eaten 75 ProBee ZE20S User Guide Rev 1 10 1 EJE 710 1 ATEGPIO OFAT HO EE eos 75 AOL EEN 76 e E EE EE 76 7 10 4 AT SOURCELA Or AT SL Eeer 76 7 11 Fimware Upload and Helpoin neee tada pida liceos 76 7 11 1 AT BOOTLOAD or ATI 76 E e Te E 77 8 AT COMMAND EXAMPLES oir dni 78 8 1 Network Configuration sssssasasio aTa rr R 78 8 1 1 ele ETH 78 8 1 2 EE Ae 78 e E ele Be EE 78 8 14 Sleepy e EE 78 8 1 5 Specilying NENON EE 78 8 2 Data fransmiseion nn 79 8 2 1 Command Mod ococccicciiccicicicninicicn 79 8 2 2 Data Mode ee 80 8 32 SOCUIY EE 80 8 4 UART SOMOS EE 81 A O 81 8 6 Firmware Upload seiis da dia Aaaa i eid i aea 82 8 6 1 ee EE ER 8 0 2 Remote e EE ER Y SS RESGITER Sii io aa ias 83 91 Display Options io leido micas 84 9 1 1 A AO 84 OTZ EE 84 O EE 84 D T BE E NN 84 9 2 Network SetingS ici rara 85 9 2 1 e EE 85 EE 85 O2 id 85 93 R
26. is an example sampling light sensor data and temperature sensor data This example can be described as follows e One ZE20S module acts as a coordinator and it is connected to a host computer via serial cable e One ZE20S modules act as a router e Sampling light sensor data and temperature sensor data in many ways Analog Inputs Coordinator Router Figure 6 5 Example 3 Light Sensor and Temperature Sensor 6 6 1 Coordinator Configuration Hardware configuration for the coordinator is as follows e Setthe HOST switch to USB ProBee ZE20S User Guide Rev 1 10 1 e Close the USB_PWR jumper and open the RS_PWR and BATT_PWR jumpers e 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 2 Router Configuration Hardware configuration for the coordinator is as follows e Setthe ADC_2 and ADC_3 switch to TEMP_SENS and LIGHT_SENS EM357 Insight Port HW Reset Factory Reset Permit Joining Terminal Block Variable Registers Temperature Sensor Light Sensor Figure 6 6 Hardware Configuration The AT commands for the router are as follows AT NODETY PE 2 set node type as Router O A Response Set same 16 bit PAN ID 7772 as Coordinator A AT PANID 7772 AT GPIO 55555000000440055
27. is set to an end device it will blink periodically Please refer to 9 S Registers for S14 regarding the management of the LED status Power LED 15 DO If GPIO16 is set to 5 this output turns ON High when the device joins a network blinks when joining is permitted and turns OFF Low when leaves the network Please refer to 9 S Registers for S14 regarding the management of the LED status Status LED 16 DO 5 2 W OSampling The I O status can be monitored and controlled using the AT commands The UO status of remote device can be monitored and controlled using remote AT commands too The ZE20S can also be configured to sample the I O status and send to a remote device periodically 5 2 1 Queried Sampling The I O status can be monitored and controlled using the AT commands either locally or remotely To read ProBee ZE20S User Guide Rev 1 10 1 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 lt CR gt or AT DIO lt number gt lt CR gt where lt number gt is the specific IO number between ranges 0 16 to read AT DIO command can also be used to set the digital output lines AT DIO lt value gt lt CR gt or AT DIO lt number gt lt value gt lt CR gt where lt number gt is the specif
28. lt CR gt ATS11 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 1 Range 0 1 9 1 2 S12 Description Get Set the command echo mode Execute ATS12 lt CR gt ATS12 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 1 Range 0 1 9 1 3 13 Description Get Set the command responses mode Execute ATS13 lt CR gt ATS13 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 1 Range 0 1 9 1 4 S14 Get Set the LED mode It causes the LED operation if the device is ZE20S set GPIO15 16 to specific functionality Description 0 LEDs are always OFF regardless of configuration or status 1 LEDs are OFF when the node is under sleep status 2 LEDs always operate by the case Execute ATS14 lt CR gt ATS14 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 1 Range 0 2 9 2 Network Settings ProBee ZE20S User Guide Rev 1 10 1 9 2 1 21 BE Get Set the inter character timeout in milliseconds It determines to send data packet Description wae after this time Execute ATS21 lt CR gt ATS21 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 100 Range 0 10000 9 2 2 22 Get Set the timeout to permit joining It determines the time in s
29. lt node ID gt lt CR gt lt IEEE address gt lt CR gt Response OK lt CR gt OK lt CR gt 7 3 4 AT OPCH or AT OC Get the operating channel number used for transmitting and receiving between RF Description modules Uses 802 15 4 channel numbers A value of O means the device has not joined a PAN and is not operating on any channel Execute AT OPCH lt CR gt GE lt value gt lt CR gt OK lt CR gt ProBee ZE20S User Guide Rev 1 10 1 7 3 5 AT OPPANID or AT Ol Get the operating 16 bit PAN ID If PAN ID is set specific value not Os operating PAN Description ID will equal designated PAN ID A value of FFFF means the device is not joined a network Execute AT OPPANID lt CR gt lt value gt lt CR gt Response OK lt CR gt 7 3 6 AT OPEPID or AT OE SES Get the operating 64 bit extended PAN ID A value of FFFFFFFFFFFFFFFF means iption p the device is not joined a network Execute AT OPEPID lt CR gt lt value gt lt CR gt Response OK lt CR gt 7 3 7 AT VERSION or AT VR Description Get firmware version of the module The firmware version returns a form of PTvx x Execute AT VERSION lt CR gt lt value gt lt CR gt Response OK lt CR gt 7 3 8 AT PRODUCTNAME or AT PN Get the product name It can be used to distinguish among different hardware Description platforms Execute AT PRODUCTNAME lt CR gt lt value gt
30. parity setting on the module Execute AT PARITY lt CR gt AT PARITY lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0 Range 0 2 7 9 4 AT STOPBIT or AT US Description Get Set the serial stop bit setting on the module Execute AT STOPBIT lt CR gt AT STOPBIT lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 1 Range 1 2 7 9 5 AT FLOWCTRL or AT UF Description Get Set flow control status 0 none 1 software 2 hardware flow control Execute AT FLOWCTRL lt CR gt AT FLOWCTRL lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0 Range 0 2 7 10 GPIO 7 10 1 AT GPIO or AT I0 D oti Get Set the configuration status of GPIO individually or all at once Only GPIO9 14 can escription E be set 0 5 others are available 0 3 and 5 E i AT GPIO lt CR gt or AT GPIO lt values gt lt CR gt or xecute AT GPIO lt number gt lt CR gt AT GPIO lt number gt lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 55555000000000055 GPIO9 14 0 5 the others 0 3 and 5 O Disabled unmonitored digital input 1 Digital input monitored Range im 2 Digital output default low 3 Digital output default high 4 Analog input sing
31. string and use AT TRANSMITMODE O and reset the device to apply the setting permanently ProBee ZE20S User Guide Rev 1 10 1 AT commands used for the unicast data mode are as below AT DESTLA lt value gt or AT DL lt value gt where lt value gt 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 lt CR gt Set unicast data mode to the preconfigured destination IEEE address without reset ATD lt value gt lt CR gt Set unicast data mode to lt value gt device and lt value gt can be either 16 bit node ID or 64 bit IEEE address of remote node AT TRANSMITMODE 1 lt CR gt or AT TM 1 lt CR gt Set the transmission mode to unicast to a destination IEEE address The device should be reset to apply the transmission mode The unicast to sink node data mode is a kind of unicast data mode where data are not transmitted to the designated destination device but to sink node A device can be a sink node by setting S register 61 The sink node multicasts its address to the other devices in the destination group in the network according to the value of S register 61 which is called advertising The other devices in the network store the address of the sink node The devices in the unicast to sink node data mode transmits data to the sink node The unicast to sink node data mode is useful for a device to gather data from many devices be
32. timeout If it is enabled an end device tries to rejoin the current mescrnton network when contact with the network has been lost for setting value in seconds The most common usage case is when an end device can no longer communicate with its parent and wishes to find a new one A value of zero dont try to rejoin Execute ATS55 lt CR gt ATS55 lt value gt lt CR gt Response SE OK lt CR gt OK lt CR gt Default 10 Range 0 10000 9 5 6 S56 Description Get Set the end device poll period in seconds Adaptive polling may allow the end ProBee ZE20S User Guide Rev 1 10 1 device to poll more rapidly for a short time when receiving RF data Execute ATS56 lt CR gt ATS56 lt value gt lt CR gt Response as OK lt CR gt OK lt CR gt Default 5 Range 0 10000 9 6 Sink 9 6 1 S61 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 Execute ATS61 lt CR gt ATS61 lt value gt lt CR gt Response O OK lt CR gt OK lt CR gt Default 0 Range 0 10000 9 6 2 S62 Get Set the period to send Many to One Route Request Many to One Route Request Description MTOR creates routes from every node in the network back to this node It is useful when this node acts as a sink node Exec
33. 0 1 6 6 6 3 Temperature Illumination Data at Coordinator The AT commands for Sampling Temperature Illumination at Coordinator 0001950000000212 11 1000000000000 sre wees ZIT OCDE He PRES 0001 950000000212 LLULOOCOOOO OOOO ER 0001950000000212 11100000000 0000 ene eres ZIT ODL en eres Data changes after covering sensors with fingers 0001950000000212 LLLOUOOOOOO COOO az ss 2240 O00 TA Here ees 0001950000000212 111000000007 C000 Es a 2208 0078 y Mrs eres 0001950000000212 11 1000000000000 se sis 2301 COAG 5570508 Bee e Refer to 6 6 7 Data Conversion about how to convert to analog data to temperature and illumination 6 6 7 Data Conversion 6 6 7 1 Analog Data Format Analog data from temperature sensor and illumination sensor are a combination of 16 bit hexadecimal integer between 0 2EE0 0 1200 0mV which unit value corresponds to 0 1 mv 6 6 7 2 Conversion of Analog Data e Conversion of Analog Data to Actual Voltage If the Value is between 0 7FFF Voltage mV Value 0 1 If the Value is between 8000 FFFF Voltage mV Value 65536 0 1 e Conversion of Actual Voltage to Temperature Temperature C Volt mV 600 mV 0 1 C mV e Conversion of Actual Voltage to Illumination Illumination Lux Volt mV 0 25 Lux mV 6 6 7 3 Examples 0001 950000000212 111 0000000000010 ai asis 2 OCIDIS ETS es ese es COOLDS OOOCOOOZL2 LLLOOCOO
34. 00 OO oo o USB oo oo one BATT Oo 00 oo OO oO oO Ste D DC5V 6 3 2 RS232 Port The development board has an RS232 interface for UART communication The UART_TXD UART_RXD UART_DSR GPIO_1 UART_DTR GPIO_2 UART_CTS GPIO_3 and UART_RTS GPIO_4 pins of ProBee ZE20S User Guide Rev 1 10 1 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 pin of the DB9 socket 6 3 3 USB Port The development board also has a USB interface for UART communication To use the USB port the HOST SW2 switch should be set to USB and the software driver should be installed on the host computer The installation CD contains the software 6 3 4 ZE20S GPIO Interface The development board s external GPIO interfaces as well as functional buttons such as factory default reset switches are internally routed to the ZE20S GPIO pins Table 6 2 summarizes the development board s interfaces and their corresponding GPIO pin numbers of the ZE20S Table 6 2 Development Board GPIO Interface Allocation ZE20S Serr Pin Number Name Description 2 Factory Reset Factory Default Reset Switch SW8 3 GPIO_0 Permit Joining Switch SW9 4 GPIO_1 UART DTR Output 5 GPI
35. 20 Space and Ox7E in hexadecimal are encoded 42 Data Mode If the data is too long to send using the command mode Data Mode can be used instead Once the ZE20S enters a Data Mode session the ZE20S can send data continuously to a specific node or current network until the data mode is escaped The data is packetized and transmitted at every inter character timeout This data link to the designated device is maintained until the escape command is entered To return to the last data mode after the ZE20S is escaped by use the AT command as below ATO lt CR gt 4 2 1 Unicast Data Mode Unicast data mode can be used for continuous data transmission to a particular node Unicast data mode can be entered using either ATD or AT TRANSMITMODE 1 or 4 ATD command is the command for entering the unicast data mode AT TRANSMITMODE 1 is used to set the data transmission mode to unicast to destination long address and AT TRANSMITMODE 4 to unicast to sink node If ATD command is used the device will enter the unicast data mode immediately and keep it until escaped using or reset by ATZ If the device is reset it will not enter the unicast data mode but command mode in this case On the other hand if AT TRANSMITMODE 1 or 4 is used to enter the unicast data mode the device enters the unicast data mode again whenever the device is reset To disable the unicast data mode escape the data mode first by using
36. C Send broadcast message to the all nodes joining the network Transmission range is Description determined by broadcast range S35 Execute AT BROADCAST lt data gt lt CR gt Response OK lt CR gt 7 7 9 AT REMOTE or AT RC Get Set the configuration values of remote node using long or short address Description t AT REMOTE lt CR gt shows the list of available commands Execute AT REMOTE lt addr gt lt cmd gt lt CR gt AT REMOT E lt addr gt lt cmd gt lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt 7 8 Security 7 8 1 AT SECURITY or AT SE SCH Get Set the security status 0 turning security off 1 on Every node must be under Description i the same security level in the network Execute AT SECURITY lt CR gt AT SECURITY lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0 Range 0 1 7 8 2 AT LINKKEY or AT LK Description Get Set the 128 bit link key 0 or Os generate 128 bit random number ProBee ZE20S User Guide Rev 1 10 1 Execute AT LINKKEY lt CR gt AT LINKKEY lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7 8 3 AT NWKKEY or AT NK Description Get Set the 128 bi
37. CR gt Response oe OK lt CR gt OK lt CR gt Default 60 Range 0 4177920 9 5 2 52 Description Get Set the sleepy end device poll period in milliseconds Adaptive polling may allow the sleepy end device to poll more rapidly for a short time when receiving RF data Execute ATS52 lt CR gt ATS52 lt value gt lt CR gt ProBee ZE20S User Guide Rev 1 10 1 ROIS lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 100 Range 0 10000 9 5 3 53 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 ATS53 lt CR gt ATS53 lt value gt lt CR gt Response SE OK lt CR gt OK lt CR gt Default 8 Range 0 16711680 9 5 4 S54 Get Set the standby timeout in seconds When an end device wakes up and polls with Description the parent node the node will wait for another data from the ZigBee network or from the serial port for S54 before it goes to sleep mode again If any serial or RF data is sent or received the timer will reset and wait for next again Execute ATS54 lt CR gt ATS54 lt value gt lt CR gt Response een OK lt CR gt OK lt CR gt Default 5 Range 0 10000 9 5 5 S55 Get Set the rejoin
38. IT see EEEEERER KEREN 48 6 1 Development Kit Contents esnssnsneeneeneseesretnsttsnttestttnttnstntnstatattattnnnntnstntntentnnnnnnn tamane nn Enen nen nnen 48 6 2 Development Board Features cccccccccsecceecceceeeceeceeceeeeeaeeeaeeceeeceaaeecaeeesaeescaeeseeeseaaeeseeeesieeseeeseaes 48 6 3 Development Board Hardware Descriptions sssessnssnsssnesnesneetessrnssntrnsrnnsnnntnnsnnnnnnnnnnnnnnnnnnnnsnn nnne 49 6 3 1 el EE 49 E ES EE 49 0 33 USB Pol en A eee ee 50 6 3 4 ZE20S GPIO Jnierface rn 50 6 3 5 LEDS CRI2 9 E 51 6 3 6 Button Switches GWT0 7 l rra 51 6 3 7 Variable Resistors VR1 WRZ2L eannan 51 6 3 8 Temperature SONSOF aci iia e be eee ee 51 6 amp 9 SS A EES 52 6 3 10 Terminal Block sas 52 6 4 Configuration Example 1 1 Coordinator 1 Router and 1 End Device s sssssssseeseernernenereeeene 52 6 4 1 Coordinator CONTIgUratiON nescrise eie A AOE A E EENE EENE ALEEA EAR 53 6 4 2 Rouler COMMQUIALION EE 53 6 4 3 End device Congal oN rrisin ea aiT a E AREE ENE E EAA RA ASEE AAAA TE 54 ProBee ZE20S User Guide Rev 1 10 1 BJ 6 4 4 Monitoring th S NSOlSiiic elsec Atta aseni iia 54 6 5 Configuration Example 2 1 Coordinator and 2 End Devices coococccccnnninnnncnonnonnconcrncrncnncancnnnas 55 6 5 1 Coordinator CONTIgUratiON siros nrnsr asor rier innata Enn ni EON AAAA REES AARAA 55 6 5 2 End devices Configuration 00 eeeeseeeeceeceeeeceeseeceectesteaeeaeeaeseesenseeseaesaeeateaseateaeeaecaesee
39. KKE Y xxx xxx or AT NK xxx xxx where xxx xxx is 128 bit hexadecimal network key Default is FFF FF 3 5 4 Update Key A trust center can update the Network Key to help minimize the risk associated with a particular instance of the network key being compromised Key updates are broadcast by the trust center throughout the network encrypted using the current network key Devices that hear the broadcast will not immediately use the key but simply store it Later a key switch is broadcast by the trust center to tell all nodes to start using the new key At a minimum the trust center should allow adequate time for the broadcast of the new key to propagate throughout the network before switching AT UPDATEKEY lt CR gt or AT UK lt CR gt 3 6 Frequency Agility Frequency Agility refers to the function to shift operating channel to avoid interference If frequency agility function of coordinator is enabled the coordinator plays a role in network manager It monitors communication failures decides to changes the operating channel and send message to indicate the ProBee ZE20S User Guide Rev 1 10 1 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 O disabled 1 enabled ProBee ZE20S User Guide Rev 1 10 1 4 Data Transmission The ZE20S supports three different types of data transmissions u
40. N ID and or the extended PAN ID Otherwise the ZE20S will scan and join the ZigBee network found automatically e Configure the poll timeout and the poll period Please refer to the section 3 2 Setting up ZE20S as a Router for the AT commands regarding the node type selection the channel mask configuration and the PAN ID Extended PAN ID configuration When an end device joins the network the power LED blinks periodically if GPIO15 is set to specific functionality The end device belongs to a parent node which is either the coordinator or a router and the parent node registers the end device to its internal child table for message relaying This table is maintained as long as the end device polls the parent node periodically within the poll timeout value of the parent node If the end device does not poll for the poll timeout value of the parent node the parent node removes the end device from its child table and does not relay the message any more Hence the poll period of the end device should be equal or shorter than the poll timeout of the parent node to avoid accidental removal of the end device from the parent node s child table The ZE20S poll interval can be configured by setting the S registers using the AT commands as below ATS51 n where n is poll timeout in seconds and the default is 60 This value is for a parent node If an end device does not send a poll request to its parent coordinator or router within the poll timeout the end
41. OOO OOO tse sesos DA TIE VAAD p SS ES a eset es 0001500000007 1211 1000000000000 set sesos 2 Aer ODS es we ees Conversion 1 Data changes after covering sensors with fingers 0001950000000212 11100000000 OOOO ess sus 2240 OWA Hem mete ns Conversion 2 0001 3550000000212 LLLOOWWOOOO DO se se ZE OO VS ees wes DO ISO LLUGOOOOOOO ss OOOO se ee 2 SHO OOANG es ees ProBee ZE20S User Guide Rev 1 10 1 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 C 857 5 600 0 1 25 75 C Illumination Conversion Analog Data from Illumination Sensor 0D19 in hexadecimal Analog Data from Illumination Sensor 3353 in decimal Actual Voltage Volt mV 3353 0 1 335 3 mV Illumination Illumination Lux 335 3 0 25 85 83 Lux Conversion 2 0001950000000212 11100000000 0000 2240 007A Temperature Conversion Analog Data from Temperature Sensor 2240 in hexadecimal Analog Data from Temperature Sensor 8768 in decimal Actual Voltage Volt mV 8768 0 1 876 8 mV Temperature Temperature C 876 8
42. OT LIMITED TO DIRECT INDIRECT INCIDENTAL SPECIAL OR CONSEQUENTIAL DAMAGES WHETHER IN AN ACTION IN CONTRACT OR TORT INCLUDING NEGLIGENCE AND STRICT LIABILITY SUCH AS BUT NOT LIMITED TO LOSS OF ANTICIPATED PROFITS OR BENEFITS RESULTING FROM OR ARISING OUT OF OR IN CONNECTION WITH THE USE OF FURNISHING OF EQUIPMENT PARTS OR SERVICES HEREUNDER OR THE PERFORMANCE USE OR INABILITY TO USE THE SAME EVEN IF SENA OR ITS DEALER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES IN NO EVENT WILL SENA OR ITS DEALERS TOTAL LIABILITY EXCEED THE PRICE PAID FOR THE PRODUCT ProBee ZE20S User Guide Rev 1 10 1 ROS 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 Repair parts and replacement Product will be furnished on an exchange basis and will be either reconditioned or new All replaced Product and parts become the property of SENA If SENA determines that the Product is not under warranty it will at the Customers option repair the Product using current SENA standard rates for parts and labor and return the Product at no charge in or out of warranty WARRANTY EXCLUSIONS Damages caused by
43. OURCELA lt CR gt AT SOURCELA lt value gt lt CR gt Response een OK lt CR gt or ERROR lt CR gt OK lt CR gt Default FFFFFFFFFFFFFFFF Range 0000000000000000 FFFFFFFFFFFFFFFF 7 11 Firmware Upload and Help 7 11 1 AT BOOTLOAD or AT BL Start bootloader to upload firmware blank local 1 passthru The device leaves the AT command line and enters the bootloader menu for uploading Description new ProBee firmware There s no restrict to use local upload but a sleepy end device cannot upload to remote node over the air The current UART should be set 115200bps 8 data bits no parity 1 stop bit and none flow control ProBee ZE20S User Guide Rev 1 10 1 Execute AT BOOTLOAD lt CR gt AT BOOTLOAD lt number gt lt IEEE gt lt CR gt Please start ebl upload image lt CR gt or Bootloader menu Start cloning lt CR gt Response Bootloader menu Serial upload complete Bootload Complete 7 11 2 AT HELP or AT HP Description Show all the available commands Execute AT HELP lt CR gt Available AT Commands Response OK lt CR gt ProBee ZE20S User Guide Rev 1 10 1 8 AT Command Examples 8 1 Network configuration 8 1 1 Coordinator 8 1 2 Router 8 1 3 End device 8 1 4 Sleepy End device 8 1 5 Specifying Network ProBee ZE20S User Guide Rev 1 10 1 8 2 Data Transmission 8 2 1 Command Mode ProBee ZE20S User Guide Rev 1 10 1 EOS 8 2 2 Data Mo
44. O_2 UART DSR Input 6 GPIO_3 UART CTS Input 7 GPIO_4 UART RTS Output 22 HAN Reset Hardware Reset Switch 23 GPIO_16 Digital Output with LED CR19 Display Active High Digital Input with Button Switch SW17 Active Low or Active High 24 GPIO_15 Digital Output with LED CR18 Display Active High Digital Input with Button Switch SW16 Active Low or Active High 25 UART_RXD UART Data Input 26 UART_TXD UART Data Output 27 GPIO_14 Digital Output with LED CR17 Display Active High Digital Input with Button Switch SW15 Active Low or Active High 28 GPIO_13 Digital Output with LED CR16 Display Active High Digital Input with Button Switch SW14 Active Low or Active High 29 GPIO_12 Digital Output with LED CR15 Display Active High Digital Input with Button Switch SW13 Active Low or Active High Analog Input with Light Sensor U7 ProBee ZE20S User Guide Rev 1 10 1 30 GPIO_11 Digital Output with LED CR14 Display Active High Digital Input with Button Switch SW12 Active Low or Active High Analog Input with Temperature Sensor U6 31 GPIO_10 Digital Output with LED CR13 Display Active High Digital Input with Button Switch SW11 Active Low or Active High Analog Input with Variable Register VR2 32 GPIO_9 Digital Output with LED CR12 Display Active High Digital Input with Button Switch SW10 Active Low or Active High Analog Input with Variable Register VR1 NOTE GPIO_ 14 is driven low a
45. ProBee ZE20S User Guide Rev 1 10 1 ZigBee OEM Module ProBee ZE20S User Guide Sena Technologies Inc Rev 1 10 1 ProBee ZE20S User Guide Rev 1 10 1 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 Ethemet is a registered trademark of XEROX Corporation Notice to Users When a system failure may cause serious consequences protecting life and property against such consequences with a backup system or safety device is essential The user agrees that protection against consequences resulting from system failure is the user s responsibility This device is not approved for life support or medical systems Changes or modifications to this device not explicitly approved by Sena Technologies will void the user s authority to operate this device Technical Support Sena Technologies Inc 210 Yangjae dong Seocho gu Seoul 137 130 Korea Tel 82 2 576 7362 Fax 82 2 573 7710 Email support sena com Website http www sena com ProBee ZE20S User Guide Rev 1 10 1 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
46. 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 Table 5 1 Default I O Pin Assignments Pin Number GPIO Number Special Functions Al Enable 2 Factory reset Bootloader SW_0 x 3 0 Permit joining Wake up SW_1 A A 1 UART_DTR Xx 5 2 UART_DSR Xx 6 3 UART_CTS Xx 7 4 UART_RTS Xx 8 5 Xx 9 6 Xx 10 7 Xx 11 8 Xx 32 9 O Al_0 31 10 O Al_1 30 11 O Al_2 29 12 O Al_3 28 13 O Al_4 27 14 O ALS 24 15 Power LED LED_0 Xx 23 16 Status LED LED_1 Xx The AT command below can be used to change the GPIO settings AT GPIO lt values gt lt CR gt or AT GPIO lt number gt lt value gt lt CR gt where lt values gt is a number between 0 5 as explained below O Disabled unmonitored digital input Digital input monitored Digital output default low Digital output default high Analog input single ended only valid for GPIO9 14 DA DHS a Reserved for pin specific alternate functionalities See Table 5 2 ProBee ZE20S User Guide Rev 1 10 1 Table 5 2 Special GPIO Pins Function GPIO Type Description This input is ded
47. aecaecneeeeceeesaeeaeeaeeatens 27 3 2 4 Permit JONI A 27 3 3 Setting up ZE20S as an End Device sersrcnccninicsininiererenri A a 28 3 4 Setting up ZE20S as a Sleepy End Device 2 ceececeeeeeeeeeeceececeeeeeeeeeaeeaesaesaeeaeeaeeaeeaecneeneeeeetaees 29 35 ZIGBOO SOCUMMY EE 30 3917 GOUN Level EE 31 202 EE 31 3 9 3 E e EE 31 30 4 Update RV ici A A TEE EEEa 31 ProBee ZE20S User Guide Rev 1 10 1 3 6 Frequency Agility coccion de 31 4 DATA TRANSMISSION occccccccccccccccconononinnncnnnnnnnnnnnnnnnnnnnnnnnn conca 33 NA 33 4 1 1 MIC ASE secs ATAN 33 TDs AUC OSE aes aa acess ee a a 34 413 BIOS iii nt Bee sh chanel ga es eee 34 4 1 4 Sending Binary Dal2 ooionionninininininnnninnnnnon nanais ASANA ESANAREN RESE SEARES ASAA ASAREE RENEE 35 4 1 5 Display INCOMING Message oomoiciiiininninninnninonconcn 35 42 Daa Mode TN 36 4 2 1 Unicast Data M0de a 36 4 2 2 M ltic st Date Mode ciennes eo lees 39 4 2 3 Broadcast Data Mode AEN 41 5 DIGITAL AND ANALOG UO vis eegeteu tuktugeeuegsege b aeberbakgeeredessegEk rge eege eEEegEehe ennnen nenne 43 5 1 GPIO General Purpose Inputs and Outputs Configuration ecceccecceceeeeeeeeteeeeeeeeneeneeneeeeeeeeeaees 43 52 MO le Une BEE A4 5 2 1 Queried Sampling ocoonociiniiniininninmiinioiai unanenn anene 44 5 2 2 Periode Sampimg 46 5 2 3 Change Detection Sampling oooiiinnniiniiinijjnjjjjjnnjnnsasnsnommsr rn 47 5 24 GPIO Remote COMMON ee 47 6 WORKING WITH DEVELOPMENT A
48. also supports to update the firmware of remote nodes which join the network where local node is Because a sleepy end device often enters sleep mode to update remote node from a sleepy end device may not work To update firmware at remote node please follow the steps as below O Selecta firmware file e Click the Search button that scans the remote nodes joining the network where local node belongs Select the remote nodes to update in the remote nodes list e Click the Update button at the Remote Device Update section ProBee ZE20S User Guide Rev 1 10 1 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 e ZigBee Coordinator The coordinator forms the root of the network tree and might bridge to other networks There is exactly one ZigBee coordinator in each network since the coordinator starts the ZigBee network itself It also stores information about the network including acting as the Trust Center amp repository for security keys e ZigBee Router The routers are able to route messages between other devices Since the coordinator provides the routing functionality too the routers are optional to form a ZigBee network e ZigBee End Device The end
49. and Thread 2 e 12cm U FL to RPSMA Cable Right Hand Thread 1 e Development Boards 3 e DC Power Adapters 3 e RS232 Serial Cable 3 e USB Cable 3 6 2 Development Board Features The development board is designed to provide convenient access to the ZE20S interface pins The development board provides external interfaces as below Also Figure 6 1 shows the layout of those interfaces of the development board e RS232 Interface e USB Interface e 3Pre defined Digital Inputs Hardware Reset Factory Default Reset Permit Joining e 8 User Configurable Digital Input Buttons e 8 Digital Outputs with LEDs Active High e A Analog Inputs e Temperature Sensor e Light Sensor 6 3 6 3 1 ProBee ZE20S User Guide Rev 1 10 1 EM357 HW Reset Factory Reset Permit Joining DOUT Switch d Sei Gei SH 1 a8 ca dae Ce A7 Terminal Block Temperature Light Sensor Sensor Figure 6 1 Development Board Layout Variable Registers Development Board Hardware Descriptions 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 9 Pin The PWR_SEL JP1 jumper MUST be configured properly according to the way to supply power Table 6 1 shows jumper configuration Table 6 1 Jumpers Configuration 5V Power Adapter Batteries USB Port RS232 Port DB9 al
50. as a router e Optionally select the channel mask Otherwise the ZE20S will use the default channel mask e Optionally set up the PAN ID and or the extended PAN ID Otherwise the ZE20S will scan and join the ZigBee network found automatically e Permit joining when other router or end device tries to join the ZigBee network 3 2 1 Node Type Selection for Router The ZE20S module can be configured as a ZigBee router by the AT command as below AT NODETYPE n or AT NT n where n is O none 1 coordinator 2 router 3 end device 4 sleepy end device ProBee ZE20S User Guide Rev 1 10 1 After the operation mode is selected ATZ command should be performed to reset the unit to have the change applied Example AT NODETYPE 2 lt CR gt Select router mode OK lt CR gt Response ATZ lt CR gt Apply the change OK lt CR gt 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 The channel mask of router or end device should include the channel on which the coordinator is operating On the assumption that the coordinator of the network to join is operating on channel 12 the router or end device trying to join should have a channel mask of which 12 bit is 1 3 2 3 PAN ID Configuration for Router The PAN ID of a ZigBee router or a ZigBee end device should be the same with
51. ata mode Response 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 Multicast data mode can be entered using either ATM or AT TRANSMITMODE 2 If ATM command is used the device will enter the multicast data mode immediately and keep it until escaped using or reset by ATZ If the device is reset it will not enter the multicast data mode but command mode in this case On the other hand if AT TRANSMITMODE 2 is used to enter the multicast data mode the device enters the multicast data mode again whenever the device is reset To disable the multicast data mode escape the data mode first by using string and use AT TRANSMITMODE 0 and reset the device to apply the setting permanently AT commands used for the multicast data mode are as below AT GROUPID lt value gt or AT G lt value gt where lt value gt is 16 bit group ID for multicast data mode Set Group ID of the device The device will receive the multicast data sent to this Group ID AT DESTGROUPID lt value gt or AT DG lt value gt where lt value gt is 16 bit destination group ID for multicast data mode Set destination Group ID of the device ATM lt CR gt Set multicast data mode to preconfigured destination group ID without reset ATM lt value gt lt CR gt Set multicast data
52. c source node for changing the status of digital output pin If this address is set to FFFFFFFFFFFFFFFF a local node allows that any node can control the GPIO status ATS45 lt value gt lt CR gt Set GPIO remote control mode If lt value gt is set to 0 GPIO control is disabled Note This function applies to only digital I O ProBee ZE20S User Guide Rev 1 10 1 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 The development board provides RS232 and USB interface to interface with computers and or your target devices It provides terminals for digital inputs outputs and analog inputs too It also provides on off switches and LEDs to simulate and verify digital inputs outputs In addition it has temperature and light sensor so you can test more practical applications Below is the list of the items included in the package e ProBee ZE20S ZigBee OEM Module wi Chip Antenna ProBee ZE20SDC 1 e ProBee ZE20S ZigBee OEM Module w U FL Connector ProBee ZE20SDU 1 e ProBee ZE20S ZigBee OEM Module w RPSMA Connector ProBee ZE20SDS 1 e 3 dBi Dipole Antenna RP SMA Plug Right h
53. can be used at other devices by importing them The configuration of remote node can be exported and imported by checking the Remote Device Setting check box Users can reset to factory default by clicking the Restore to Factory Default at the Configuration Management section 2 3 3 Firmware Update Configuration Firmware Update Message Firmware File File location Choose file in local PC Download from web server Local Device Update Update Type IEEE Address Version ModelType NodeName Progress Remote Device Update 2 i Search Ja ca Update Figure 2 13 ProBee Manager Firmware Update Pane The Firmware Update Pane appears when the Firmware Update tab is selected The Message section displays informative message about the progress of updating firmware ProBee ZE20S User Guide Rev 1 10 1 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 e Click the Update button at the Device Update section to update the local node The progress rate is expressed at the Local Device Update section and informative messages are shown at Message section ProBee Manager
54. cause every device comes to know the destination device by setting the destination device as sink node instead of describing the destination device to every device Every device also comes to know the new destination device by changing the sink node in the network AT commands used for the unicast to sink node data mode are as below ATS61 lt value gt lt CR gt where lt value gt 0 not sink node lt value gt gt O sink node to advertise its address to the devices in the destination group AT DESTGROUPID every lt value gt second AT DESTGROUPID lt value gt or AT DG lt value gt where lt value gt is 16 bit destination group ID to which sink node advertises its address Set destination Group ID of the device AT SINKINFO lt CR gt or AT SI lt CR gt Get the long and short addresses of sink node If there is no sink node in the network the addresses will ProBee ZE20S User Guide Rev 1 10 1 be FFFFFFFFFFFFFFFF and FFFF AT TRANSMITMODE 4 lt CR gt or AT TM 4 lt CR gt Set the transmission mode to unicast to a sink node The device should be reset to apply the mode Example AT TRANSMITMODE 4 lt CR gt OK lt CR gt ATZ lt CR gt OK lt CR gt Send unicast msg FAF OK lt CR gt 4 2 2 Multicast Data Mode SHE He ode ode ode de e ProBee ZE20S User Guide Rev 1 10 1 Set transmission mode to sink node in the network Response Apply to change Response Put the unicast message Leave d
55. ction 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 lt IEEE address gt lt CR gt Where lt IEEE address gt is the long address of a remote node to send sampled GPIO values of local node ATS43 lt value gt lt CR gt where lt value gt is the GPIO monitoring node If set to 0 the monitoring node is selected by AT DESTLA If set to is 1 the sink node is set as the monitoring node ATS44 lt value gt lt CR gt Set GPIO change detection sampling mode If lt value gt is set to 0 GPIO sampling is disabled ATZ lt CR gt Reset the device to apply the changes Note This function applies to only digital I O 5 2 4 GPIO Remote Control The ZE20S module supports that a local node can change the digital output status by switching digital input pins of a remote node To use this function it should be possible for the local node to monitor the GPIO status of the remote node GPIO monitoring period S42 gt 0 or to detect the GPIO change of the remote node GPIO change detection sampling mode S44 1 To configure this way please use the AT commands below AT SOURCELA lt IEEE address gt lt CR gt or AT SL lt EEE address gt lt CR gt where lt IEEE address gt is the long address of a specifi
56. d it sends temperature sensor light sensor and digital inputs to the coordinator every second ProBee ZE20S User Guide Rev 1 10 1 Router eg 8 Analog and E Digital Inputs Analog and EN Digital Inputs Coordinator End device 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 e Setthe HOST switch to USB e Close the USB_PWR jumper and open the RS_PWR and BATT_PWR jumpers e Connect a USB cable between a host computer and the coordinator The AT commands for the coordinator are as follows T NODETYBE 1 A A O AT PANID 7772 OK A O A T LONGADDR 0001950000000001 OK ATZ OK 6 4 2 Router Configuration Hardware configuration for the coordinator is as follows e Setthe ADC_2 and ADC_3 switch to TEMP_SENS and LIGHT_SENS The AT commands for the router are as follows AT NODETYPE 2 OK ProBee ZE20S User Guide Rev 1 10 1 6 4 3 End device Configuration Hardware configuration for the end device is as follows e Setthe ADC_2 and ADC_3 switch to TEMP_SENS and LIGHT_SENS The AT commands for coordinator configuration is as follows 6 4 4 Monitoring the Sensors Once the configurations are done and the system is running the terminal computer connected to the coordinator will print out the incoming data as follows ProBee ZE20S User Guide Rev 1 10 1 6 5 Configuration Example 2 1 Coordinat
57. de 8 3 Security ProBee ZE20S User Guide Rev 1 10 1 8 4 UART Settings 8 5 GPIO ProBee ZE20S User Guide Rev 1 10 1 8 6 Firmware Upload 8 6 1 Local Node 8 6 2 Remote Node ProBee ZE20S User Guide Rev 1 10 1 9 S Registers Register number Descriptions 11 Display incoming message in command mode 12 Display command echo 13 Display command responses 14 Manage LED status 21 Inter character timeout 22 Permit joining timeout 23 TX power mode 31 Enable application ACK 32 Transmission retries 33 Transmission timeout 34 Indirect transmission timeout 35 Broadcast range 36 Number of hops for multicast broadcast 37 Number of hops of nonmembers for multicast 38 Receive local message for multicast broadcast 39 Receive message by own data mode 41 GPIO pull up 42 GPIO monitoring period 43 GPIO monitoring node 44 GPIO change detection sampling 45 GPIO remote control 51 Poll timeout for a parent node 52 Poll period for a sleepy end device 53 Sleep duration 54 Standby timeout 55 Rejoin timeout 56 Poll period for an end device 61 Sink advertise period 62 Many to one route request period 71 Enable Frequency agility 9 1 Display Options ProBee ZE20S User Guide Rev 1 10 1 9 1 1 S11 en Get Set the display mode lt determines to display incoming message in command Description mode Execute ATS11
58. e OK lt CR gt 7 7 4 AT MAXPAYLOAD or AT MP GE Get the maximum size of the payload that the Application Support sub layer will ipti E accept The size depends on the security level in use Execute AT MAXPAYLOAD lt CR gt lt value gt lt CR gt Response OK lt CR gt 7 7 5 AT TRASNSMITMODE or AT TM Get Set the data transmission mode This mode is maintained after rebooting 0 Description none 1 unicast to destination long address 2 multicast to destination group ID 3 broadcast to all nodes 4 unicast to sink node Execute AT TRANSMITMODE lt CR gt AT TRANSMITMODE lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0 ProBee ZE20S User Guide Rev 1 10 1 Range 0 4 7 7 6 AT UNICAST or AT UC Send unicast message to specific node using long or short address of remote node Description S Up to 90 bytes or 72 bytes when security enabled are sent to the node at once Execute AT UNICAST lt IEEE gt lt data gt lt CR gt AT UNICAST lt nodelD gt lt data gt lt CR gt Response OK lt CR gt 7 7 7 AT MULTICAST or AT MC Eon 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 Execute AT MULTICAST lt groupID gt lt data gt lt CR gt Response OK lt CR gt 7 7 8 AT BROADCAST or AT B
59. e Rev 1 10 1 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 To use external analog inputs instead of the variable resistors temperature sensor or light sensor the ADC_0 SW4 ADC_1 SW5 ADC_2 SW6 or ADC_3 SW7 should be placed on EXT_0 EXT_1 EXT_2 or EXT_3 Reserved ADCO ADC1 ADC2 ADC3 669990069099 Ap GND An GND AG GND A GND Figure 6 2 Terminal Block for External Anlalog Inputs Note The LED On Off switch SW20 should be placed to LED_OFF 6 4 Configuration Example 1 1 Coordinator 1 Router and 1 End Device Here is the example configuration to help to start with the ZE20S and the development kit The goal of this example is to provide hardware configuration and AT commands for the scenario as below e One ZE20S module acts as a coordinator and it is connected to a host computer via USB cable e One ZE20S module acts as a router and it sends temperature sensor light sensor and digital inputs to the coordinator every second e One ZE20S module acts as a sleepy end device an
60. e of sight Key Features e Integrated 2 4GHz IEEE 802 15 4 2003 compliant transceiver e ZigBee 2007 ZigBee Pro stack e ZigBee core Ember EM357 e Transmit Power 8dBm Boost mode e Receiver Sensitivity 102dBm 1 BER Boost mode e Supply Voltage 2 1 3 6 VDC e TX Current 45mA 3 3V max e RX Current 31mA 3 3V max e Sleep Current lt 1uA e Working Distance 300 m 0 19 miles 3 3V 5dBi Dipole Antenna e Various Antenna Connector Options Dipole 1 3 5dBi U FL RPSMA Chip e UART Signals Support VART_TXD RXD RTS CTS DTR DSR e 6Analog Inputs e 17 Digital Inputs Outputs ProBee ZE20S User Guide Rev 1 10 1 e RoHS Compliant Applications e Advanced Metering Infrastructure e Home Area Networks HAN e Neighborhood Area Networks NAN e Home Automation e Advanced lighting entertainment and climate control systems e Service based monitoring security and awareness systems e Commercial Building Automation e Climate amp lighting control systems e Industrial and Domestic Applications ProBee ZE20S User Guide Rev 1 10 1 2 Getting Started Creating a ZigBee network using the ZE20S modules consists of the following steps e Install the ZE20S module on the development board e Create a ZigBee network by configuring a ZE20S module as the coordinator e Configure ZE20S modules as routers This step is optional since the coordinator works as a router too e Configure ZE20S modules as end devices e Transmit data betwee
61. econds that the device Description will allow other devices to join to it when it starts network but an end device cannot perform it If set to 255 the device will always permit joining Execute ATS22 lt CR gt ATS22 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 255 Range O 255 9 2 3 23 D ioti Get Set the power boost mode of the module If enabled boost mode improves escription E sensitivity and increases output power improving the link margin and range Execute ATS23 lt CR gt ATS23 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 0 Range 0 1 9 3 Data Transmissions 9 3 1 31 Get Set the application ACK mode If it is enabled a sender node retransmits data Description packet when it fails to receive ACK from receiver node This value must be set same on the source and destination node for data transmission Execute ATS31 lt CR gt ATS31 lt value gt lt CR gt Response vena She OK lt CR gt OK lt CR gt Default 1 Range 0 1 ProBee ZE20S User Guide Rev 1 10 1 EJ 9 3 2 32 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 transmissio
62. efault 0 Range 0 2 7 4 7 AT NODENAME or AT NN Get Set the node name It can be used to make a clear distinction role or functionality Description of local node from others Execute AT NODENAME lt CR gt AT NODENAME lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default ProBee ZE Range Up to 16 characters 7 5 Network Formation and Join 7 5 1 AT ASCAN or AT AS a Perform a scanning for existing network It can take up to 5 seconds CAUTION It is Description i possible to cause a link error if a node is a parent of an end device Execute AT ASCAN lt CR gt AT ASCAN lt channel mask gt lt CR gt lt channel gt lt PAN ID gt lt EPID gt lt joinable gt lt stack profile gt Response List of the existing networks OK lt CR gt 7 5 2 AT ESCAN or AT ES Perform a scanning for energy level of all channels It can be used to avoid interference It can take up to 5 seconds The RSSI energy level ranges from Description i approximately 100 to 127 in dBm CAUTION It is possible to cause a link error if a node is a parent of an end device Execute AT ESCAN lt CR gt AT ESCAN lt channel mask gt lt CR gt lt channel gt lt RSSI gt Response List of the RSSI for each channel OK lt CR gt ProBee ZE20S User Guide Rev 1 10 1 7 5 3 AT DSCAN or AT DS
63. encryption amp CCM security modes the ZE20S increases the security level with e 128 bit AES encryption algorithms e Strong NIST approved security e Defined Key Types Link Network e Defined Key setup and maintenance ProBee ZE20S User Guide Rev 1 10 1 e CCM Unified Simpler mode of operation e 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 The security level is configured using the AT command below AT SECURITY n or AT SE n where n is encryption level O disable 1 enable 3 5 2 Link Key The trust center normally coordinator in network requests link key before a device is trying to join network If link key the device has is wrong joining process will be denied Hence all nodes in the network should have the same link key setup before joining the network AT LINKKEY xxx xxx or AT LK Xxx xxx where xxx xxx is 128 bit hexadecimal trust center link key Default is FFF FF 3 5 3 Network Key It is the network wide key used to secure transmissions at the Network Layer The network key encrypts all transmissions at the Network Layer The network key only needs to be set up for the coordinator AT NWE
64. er can permit joining fora 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 GPIOO is active The AT command to enable this functionality is as follows AT GPIOO 5 or AT 100 5 When the ZE20S detects falling edge of the GPIOO the ZE20S permits joining for the duration that is configured in S register 22 S22 The AT command to change the duration is as follows ATS22 n where n is the duration to permit in seconds ranging 1 254 seconds Default is 255 S22 value determines the time that the device will allow other devices to join to it If set to 255 the device will always permit other nodes joining If the user reboots the coordinator or a router the device allows other nodes to join the network for the period defined by S register 22 Note When a device that has joined a network reboots the device is able to join the network regardless of permitting But after the device has joined other network rejoining the previous network should be permitted by the coordinator or a router 3 2 Setting up ZE20S as a Router A router is a full function routing device that relays messages and can act as a parent to other nodes These devices must be always powered on To configure the ZE20S as a ZigBee router please follow the steps below e Configure the ZE20S node type
65. et the node Execute ATZ lt CR gt Response OK lt CR gt 7 2 10 AT amp F Description Factory reset Execute AT amp F lt CR gt Response OK lt CR gt ProBee ZE20S User Guide Rev 1 10 1 BJ 7 2 11 Description Interrupt data mode must be entered within 500ms Execute Response OK lt CR gt 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 AT LONGADDR lt CR gt Response lt IEEE address gt lt CR gt OK lt CR gt 7 3 2 AT SHORTADDR or AT SA Get the 16 bit Node ID network address short address The node ID of 0000 is reserved for the coordinator All other devices receive a randomly generated address Description from the coordinator or router device that allows the join This value can change if an address conflict is detected where two devices are found to have the same address or a device leaves the network and later joins Execute AT SHORTADDR lt CR gt Response lt node ID gt lt CR gt OK lt CR gt 7 3 3 AT ADDRDISCOVERY or AT AD Description Get the corresponding address of a node whose long or short address is known Execute AT ADDRDISCOVERY lt IEEE gt lt CR gt AT ADDRDISCOVERY lt nodelD gt lt CR gt
66. g Put the multicast message Leave data mode OK lt CR gt Response ATM0001 lt CR gt Enter the multicast mode using 16 bit group ID OK lt CR gt Response Send multicast msg Put the multicast message Leave data mode OK lt CR gt Response AT DESTGROUPID 0001 lt CR gt Set the destination group ID OK lt CR gt Response AT TRANSMITMODE 2 lt CR gt Set transmission mode to destination group ID OK lt CR gt Response ATZ lt CR gt Apply to change OK lt CR gt Response ProBee ZE20S User Guide Rev 1 10 1 Send multicast msg Put the multicast message Leave data mode OK lt CR gt 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 If ATB command is used the device will enter the broadcast data mode immediately and keep it until escaped using or reset by ATZ If the device is reset it will not enter the broadcast data mode but command mode in this case On the other hand if AT TRANSMITMODE 3 is used to enter the broadcast data mode the device enters the broadcast data mode again whenever the device is reset To disable the broadcast data mode escape the data mode fir
67. g interference with other wireless devices The user is able to specify the channels to use with the AT command as below AT CHMASK n or AT CM n where n channel mask to use Default OxO7FFF800 This value has a 32 bit hexadecimal unsigned integer Each bit represents whether a channel will be used or not For example to use a channel between 12 and 15 the 12 13 14 and 15 bits of the channel mask should be 1 and all other bits should be 0 The default setting is Ox7FFF800 which means that all the channels from 11 to 26 can be used The ZE20S supports only the channels between 11 and 26 so 0 10 bits and 27 31 bits should be 0 Table 3 2 shows the bit mask for each channel ProBee ZE20S User Guide Rev 1 10 1 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 If the PAN ID is 0000 the ZE20S will generate a random 16 bit PAN ID to start the ZigBee network Otherwise the user can enter the PAN ID using the AT command as below AT PANID xxxx or AT Pl xxxx where xxxx is PAN ID to use For example 12AB Default setting is 0000 When choosing a
68. gulatory Information 14 1 FCC FCC Rule Part 15 Subpart C Section 15 247 FCCID S7AIWO1 FCC Compliance Statement This device complies with part 15 of the FCC Rules Operation is subject to the following two conditions 1 This device may not cause harmful interference and 2 This device must accept any interference received Including interference that may cause undesired operation Information to User This equipment has been tested and found to comply with limits for a Class B digital device Pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generate uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by on or more of the following measures e Reorient or relocate the receiving antenna e Increase the separation between the equipment and receiver Connect the equipment into an outlet a circuit different form that to which the receiver is connected e Consult the dealer or an experienced radio TV technician
69. i 67 1 30 AT OPEPID OATES Det NEESS Ged 67 TST AJHVERSION OPATAEVR cocina e ee ed NEE 67 7 3 8 AT PRODUCTNAME or AT PN oococoninicnninicnccc rr 67 7 4 Network Specific Parameters s nssesneseesnennsteretnsttrtnttntntnstnttnttnttnnntnstantnnnntEnnnnnnr Ennan Enn Ennn en mEnE 67 TAT AT CHMASK Or AT EMi ii ele 67 4 2 ATIPANID O AMP aii 68 ProBee ZE20S User Guide Rev 1 10 1 C43 AT EPID OFAT EN ii vee Been ein ves dpe ee eh eed ane 68 1 4 4 AT GROUPID OF ATA GI EE 68 7 4 5 AT POWER OF RE ta 68 4 6 ATHSTACK OATES A ek cee eee eee 69 7 4 7 AT NODENAME or AT NN ococicocicicncnicciccc nennen eneen 69 Z AE DE EES EENS 69 Lol PTH OR 69 E52 EE 69 L53 ATADOS CAN OATES a in eee eee 70 75 4 ATERSSIOLATERS eege a 70 1 99 AT NODETYPE GA ATENT aio 70 1 0 6 AT PERMIT Or ATP az 71 Ge DE Ne EE 71 TO ue Ee EE 71 7 61 ATHSLEEP OF ATESM EE 71 7 6 2 AT PARENTLA OF ATHPE 0 een 71 7 6 3 ATPAREN TSA or AT PS aa atras 71 7 6 4 AT GHILDTABLE r ATCT rare aeea aa eae a a ae aae a a aa ea 71 7 7 Data Transmission and Hecepnton 72 7 7 4 AT DESTLA Or AT 72 7 7 2 AT DESTGROUPID or AT 72 7 7 3 AT SINKINFO or AT SI iiiciniciciniciici 72 7 7 4 AT MAXPAYLOAD or AT MP iinne aa e a E E EA EEEE EN EEEE 72 7 7 5 AT TRASNSMITMODE or AT TM oooicoccncicnonconccc 72 GE SE e Ee RRE EE 73 ELL ATRMUETICAS Tor TEE stier aa be debacle A gehen ii 73 1 1 8 AT BROADCAST Of ATABC iii ii teresa tosses 73 AG ATHREMOTE OrAT ERO 0
70. ic IO number between ranges O 16 to read and the lt values gt is a combination of 0 or 1 0 Low 1 High The analog input values can be read using the AT Al command Return value is a combination of 16 bit hexadecimal integer between 0 2EE0 0 1200 0mV which unit value corresponds to 0 1mv To convert the hexadecimal value to the actual voltage please use the formula below If the pins are configured as digital I Os the corresponding return values are shown as AT AIl lt CR gt or AT Al lt number gt lt CR gt where lt number gt is the specific IO number between ranges 0 5 to read If the Value is between 0 7FFF Voltage mV Value 0 1 If the Value is between 8000 FFFF Voltage mV Value 65536 0 1 Example AT DIO lt CR gt 10001000111 0000 SS DO 0 4 E 9 10 aze ON GPO is 12 are Eet erte as analog inputs OK AT DIO0 0 lt CR gt OK IMA ADIL B lt CIR 00001000111 0000 oe DIO 4 8 9 10 are ON GPIO 12 ace commigueed as analog inputs OK AT AI lt CR gt PETS TERS LEI ISS e AI 2 3 are used GPIO11 12 The others are configured as DIO OK ProBee ZE20S User Guide Rev 1 10 1 To get set the I O values of the remote devices remote AT commands can be used as below AT REMOTE lt node ID or IEEE address of a remote node gt lt AT command gt lt CR gt Example AT REMOTE 00019500000F3BA1 AT DIO lt CR gt 10001000111 0000 OK 5 2 2 Periodic Sampling The ZE20S can be
71. icast data mode to specific node If there s no argument after the Description command it will connect to the preconfigured destination IEEE address AT DESTLA Every data is packetized at intervals of inter character timeout S21 Execute ATD lt CR gt ATD lt nodelD gt lt CR gt ATD lt IEEE gt lt CR gt Response OK lt CR gt or ERROR lt CR gt ProBee ZE20S User Guide Rev 1 10 1 7 2 4 ATE Description Echo 1 or No Echo 0 Execute ATE lt number gt lt CR gt Response OK lt CR gt 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 S21 Execute ATM lt CR gt ATM lt groupID gt lt CR gt Response OK lt CR gt 7 2 6 ATO Description Return to data mode Execute ATO lt CR gt Response 7 2 7 ATR Description Response 1 or No Response 0 Execute ATR lt number gt lt CR gt Response OK lt CR gt 7 2 8 ATS Description Get Set the S registers Execute ATS lt CR gt ATS lt number gt lt CR gt ATS lt number gt lt value gt lt CR gt List of the S register and lt value gt lt CR gt Response Se OK lt CR gt or ERROR lt CR gt description OK lt CR gt 7 2 9 ATZ Description Res
72. icated for the factory reset button If user wants to restore the ZE20S device settings to factory default this input falling edge i e High to Low change needs to be pressed for more than two Factory_reset DI seconds It will be applied after the input released again If this input is Bootloader pressed while the ZE20S starts the local node enters bootloader menu and it is possible to upload the firmware Factory reset button is not available when the ZE20S device is sleeping This input falling edge i e High to Low change is used to permit joining or interrupt sleeping This function is activated when GPIOO is Ee set to 5 The functions depend on the node type of the ZE20S If the Permit_joining Wak 0 DI node is set to coordinator or router this input works to permit other ake u E nodes joining for Permit joining timeout S register 22 value If the node is set to sleepy end device it is used for wake up signal when the node is sleeping This input is used for UART CTS if GPIO1 is set to 5 It should be UART_CTS 1 DI l enabled when CTS flow control is used This output is used for UART RTS if GPIO2 is set to 5 It should be UART_RTS 2 DO 7 enabled when RTS flow control is used UART_DTR 3 DO This output is used for UART DTR if GPIO3 is set to 5 UATR_DSR 4 DI This input is used for UART DSR if GPIO4 is set to 5 If GPIO15 is set to 5 this output turns ON High when power is supplied If the node
73. ing will be displayed on the screen ProBee ZE20S User Guide Rev 1 10 1 ProBee HyperTerminal File Edit View Call Transfer Help Dae 33m Connected 0 02 52 Auto detect 2400 8 N 1 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 It provides users with functions to upgrade firmware of not only local node but also remote node 2 3 1 Serial Port Open E ProBee Manager Serial Port Serial line Baud rate Data bits Parity Stop bits Flow control comi y 9600 8 y None y I z None Figure 2 10 ProBee Manager Serial Port Open To connect to local node through serial port please follow the steps as below Set Serial Port properties corresponding to the UART configuration of local node Click Open button ProBee manager displays the main window like Figure 2 11 after connecting to local node ProBee ZE20S User Guide Rev 1 10 1 E ProBee Manager Serial Port Serial line Baud rate Data bits Parity Stop bits Flow control coms gt 9600 gt 8 None lf label Device Infomation P
74. is displayed The Save button is disabled because the IEEE Address property is read only The configurations of the remote nodes joining the network where the local node belongs can be modified too Because a sleepy end device often enters sleep mode to remote configuration from a sleepy end device may not work To connect to local node through serial port please follow the steps as below e Click the button at Remote Configuration section Scan the remote nodes joining the network and select the remote node to configure that results in displaying the remote node in the Address edit box Check the Remote Device Setting check box and the caption of the Restore to Factory Default button at the Configuration Management section becomes Reboot that makes the remote node reboot and configuration of the selected node is displayed e Select and modify the property e Click the Save button ProBee ZE20S User Guide Rev 1 10 1 e 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 e Click the Export button at the Configuration Management section and the Save As dialog pops up e Select the path and enter the file name to store the configuration at e Click the Save button and the configuration is exported to the designated file Exported file
75. le ended only valid for GPIO3 6 ProBee ZE20S User Guide Rev 1 10 1 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 oe AT DIO lt CR gt or AT DIO lt values gt lt CR gt or AT DIO lt number gt lt CR gt AT DIO lt number gt lt value gt lt CR gt Response ene OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 00000000000000000 Range 00000000000000000 11111111111111111 7 10 3 AT Al Get the analog input value individually or all at once GPIO9 14 are possible to set Description ADC and it s read only If there are some pins used digital lO they are displayed by Execute AT AI lt CR gt AT Al lt number gt lt CR gt lt value gt lt value gt lt value gt lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt 7 10 4 AT SOURCELA or AT SL Get Set the 64 bit source IEEE address for GPIO remote control It is possible to limit on the implementation of this functionality by setting specific address If set to default Description value FFFFFFFFFFFFFFFF the node allows that any node can control the GPIO status Execute AT S
76. lt CR gt Response OK lt CR gt ZA Network Specific Parameters 7 4 1 AT CHMASK or AT CM Get Set the channel mask to use Bits set as 1 indicate that this particular channel can be used Bits set as 0 indicate that this particular channel should not be used For Description example a channel mask value of 0x00000001 indicates that only channel O should be used Valid channels range from 11 to 26 inclusive 16 channels are available This translates to a channel mask value of Ox07FFF800 Execute AT CHMASK lt CR gt AT CHMASK lt value gt lt CR gt Response A OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 07FFF800 ProBee ZE20S User Guide Rev 1 10 1 EJ Range 00000800 07FFF800 7 4 2 AT PANID or AT Ab Get Set the 16 bit PAN ID If it is set to Os at a coordinator the coordinator will select a Description random 16 bit hexadecimal number as PAN ID If it is set to Os at a router end device the router end device will try to join any existing network regardless of PAN ID Execute AT PANID lt CR gt AT PANID lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0000 Range 0000 FFFF 7 4 3 AT EPID or AT El Get Set the 64 bit extended PAN ID If the node is a coordinator and the EPID is set to Os it will create new extended PAN ID using its 64 bit IEEE address as
77. m the USB port or through the RS232 port pin 9 In these cases the power source jumpers should be set accordingly For details about the power source jumper settings please refer to the section 6 3 1 Power Kr Figure 2 6 Plugging DC Power Adapter 2 1 6 USB Driver Installation In case the USB interface is used for the communication between the development board and the computer the corresponding software driver needs to be installed on the computer Windows XP and later versions already include the USB driver When Windows asks for the location of the USB driver you can select the option to install the software automatically as shown in Figure 2 7 You can also choose to install the driver from the CD included if the driver is not installed correctly for some reason Found New Hardware Wizard Found New Hardware Wizard This wizard helps you install software for This wizard helps you install software for FT232R USB UART USB Serial Port y If your hardware came with an installation CD 5 If your hardware came with an installation CD lt gt or floppy disk insert it now lt gt or floppy disk insert it now What do you want the wizard to do What do you want the wizard to do Install the software automatically Recommended Install the software automatically Recommended O Install from a list or specific location Advanced O Install from a list or specific location Advanced Click Next to continue Click Ne
78. mode to lt value gt group ID and lt value gt can be 16 bit ID AT TRANSMITMODE 2 lt CR gt or AT TM 2 lt CR gt ProBee ZE20S User Guide Rev 1 10 1 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 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 Broadcast transmission failure also causes retransmission which is affected by transmission timeout S33 and transmission retries S32 Because frequent retransmissions may cause to break the broadcast limitation it is recommended to set more than 1000 for transmission timeout S33 and set as small as possible for transmission retries S32 Multicast data transmission is implemented on top of the network broadcast mechanism so it is subject to the same rules Example AT DESTGROUPID 0001 lt CR gt Set the destination group ID OK lt CR gt Response ATM lt CR gt Enter the multicast mode using destination group ID OK lt CR gt Response Send multicast ms
79. n Execute ATS32 lt CR gt ATS32 lt value gt lt CR gt Response ee OK lt CR gt OK lt CR gt Default 5 Range 0 99 9 3 3 33 Get Set the transmission timeout in milliseconds A sender retransmits data packet Description after this time when transmission fails CAUTION It is recommended to set this value more than 1000 in broadcast multicast data transmission Execute ATS33 lt CR gt ATS33 lt value gt lt CR gt Response See OK lt CR gt OK lt CR gt Default 500 Range 0 10000 9 3 4 S34 Description Get Set the indirect transmission timeout in milliseconds It is the maximum amount of time that the MAC will hold a message for indirect transmission to a child Execute ATS34 lt CR gt ATS34 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 3000 Range 0 30000 9 3 5 S35 Get Set the broadcast range ZigBee specifies three different broadcast addresses that reach different collections of nodes Broadcasts are normally sent only to routers Broadcasts can also be forwarded to end devices either all of them or only those that SEN do not sleep Broadcasting to sleepy end devices is both significantly more resource Description intensive and significantly less reliable than broadcasting to routers 0 send to all routers 1 send to all non sleepy nodes ProBee ZE20S User Guide Rev 1 10 1 2 send to all nodes in the network
80. n ZE20S devices This chapter describes how to install the ZE20S modules on to the development boards and how to use terminal software programs to access the ZE20S modules using AT commands for configurations and operations The rest of the steps including ZigBee network creation coordinator router end device configurations and data transmissions are described in the following chapters The more detailed information on the starter kit and the configuration examples are also provided in the later chapter 2 1 Hardware Installation 2 1 1 Development Board Layout Figure 2 1 shows the layout of the development board The development board provides the interface between the ZE20S and the external serial port or USB port together with input output terminals for convenient tests EM357 Insight Port Permit Joining Variable Temperature Registers Sensor Figure 2 1 Development Board Layout ProBee ZE20S User Guide Rev 1 10 1 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 3 Module Installation on the Development Board Once the antenna is installed on the ZE20S module the ZE20S module can be installed on the development board
81. nicast 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 Data can be transmitted at each operation mode as below e Command mode Because this mode is for entering commands to set and manage a ZE20S as many data as allowed are transmitted at a time by using AT command e Data mode Because this mode is for transmitting data it is possible to send data consecutively changes the operation mode from the data mode to command mode 4 1 Command Mode 4 1 1 Unicast Unicast transmissions are sent from a source device to a destination device The destination device can be any ZigBee device in the ZigBee network To specify the destination device the ZigBee address of the destination device should be known There are two different ZigBee addresses assigned to each ZigBee device The 64 bit address is a unique device address assigned during manufacturing The 64 bit address is also called IEEE address or extended address The 16 bit address is assigned to the device when it joins a ZigBee network The ZE20S can send unicast messages based on either 16 bit address or 64 bit address The AT command for the unicast transmissions is as below AT
82. nsumption which is mainly achieved by its efficient sleep and wake up mechanism While ZigBee coordinator and routers are required to be in operation all the time ZigBee sleepy end devices can be configured to be in the sleep mode most of the time and only wake up at pre configured time interval for data transmission before it goes into the sleep mode again The ZE20S sleep interval can be configured by setting the S registers using the AT commands as below ATS51 n where n is poll timeout in seconds and the default is 60 This value is for a parent node If a sleepy end device does not send a poll request to its parent coordinator or router within the poll timeout the sleepy end device is removed from the child table Unlike the non sleepy end device sleepy end device does not use S56 as the poll period Instead it uses S53 as the sleep duration which works similar to the poll period except it goes to sleep mode ATS53 n where n is sleep duration in quarter seconds and the default is 8 The ZE20S sleeps for sleep duration and turns off radio ATS52 n where n is poll period in milliseconds and the default is 100 Sleepy end device wakes up from the sleep mode if S53 timer expires or GPIOO interrupt is generated or serial data is received Once the sleepy end device wakes up it polls the parent node at poll period defined by S52 until it goes to sleep mode again Since the sleepy end device exchanges data with the parent node only by polling
83. or and 2 End Devices Here is another example assuming different system configurations This example can be described as follows e One ZE20S module acts as a coordinator and it is connected to a host computer via serial cable e Two ZE20S modules act as end devices e Tur on off the LEDs of the end devices remotely through the coordinator End device Host Computer vi Serial Cable eee ans Turn on off the LEDs Coordinator End device Figure 6 4 Example 2 1 Coordinator and 2 End Devices 6 5 1 Coordinator Configuration Hardware configuration for the coordinator is as follows e Setthe HOST switch to UART e Connect a serial cable between a host computer and the coordinator The AT commands for coordinator configuration is as follows T NODETYBE 1 A PANID 7772 a O EPRORE isl ey E al N 6 5 2 End devices Configuration Hardware configuration for the coordinator is as follows e Setthe GPIO_OUT switch to LED_ON The AT commands for the end devices are as follows AT NODETYPE 4 OK ProBee ZE20S User Guide Rev 1 10 1 T PANID 7772 A PER LO SISSIIIIIIISIO ISIS A T LONGADDR 001950000000003 o o gt 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
84. ower as low as 2UA 3 1 Setting up ZE20S as a Coordinator A coordinator relays messages and can act as a parent to other nodes Every personal area network PAN must be started by a node acting as the coordinator In general this device is always powered on To set up the ZE20S to work as the coordinator please follow the steps as below ProBee ZE20S User Guide Rev 1 10 1 e Configure the ZE20S node type as the coordinator e Optionally select the channel mask Otherwise the ZE20S will use the default channel mask e 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 e Permit joining when other router or end device tries to join the ZigBee network 3 1 1 Node Type Selection for Coordinator The ZE20S module can be configured as a ZigBee coordinator by the AT command as below AT NODETYPE n or AT NT n where n is O none 1 coordinator 2 router 3 end device 4 sleepy end device After the operation mode is selected ATZ command should be performed to reset the unit to have the change applied Example AT NODETYPE 1 lt CR gt Set node type as the coordinator OK lt CR gt Response ATZ lt CR gt Apply the change OK lt CR gt Response 3 1 2 Channel Mask Configuration for Coordinator When the ZigBee coordinator starts it scans predefined frequency channels to find the best frequency channel to use without causin
85. roduct Name ZE208 EUI address 0D0195ABCDEFO102 SE Node Name ProBee ZE FAN Rey PTw1 3 Reload Configuration Firmware Update Remote Configuration Product Name EUI address Address FW Rev IEEE Address l Remode Device Setting Node Information MS IEEE Address 0001 95ABCDEF0102 Node ID Operating Channel Save b Operating PAN ID Get the 64 bit IEEE address b Operating EPID EUI address long address Version The IEEE address is a unique Product Name device address assigned during Network Settings manufacturing This address is Data Mode Settings unique to each physical device Power Management Settings Security Settings GPIO Settings UART Settings Configuration Management Export Import Restore to Factory Default 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 To change configuration users need to find and modify the property and then apply changes The properties are categorized according to the function Selecting a category unfolds or folds the prope
86. rty list The name the current value and the description of the property are shown at the right of the configuration pane by selecting a property in the property list It is possible to edit and save the current value of editable property Whenever property is modified it is necessary to save the change by clicking the Save button ProBee ZE20S User Guide Rev 1 10 1 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 Configuration Firmware Update Remote Configuration l Remode Device Setting poduri ame EUI address Address o F W Rev n IEEE Address Node Information IEEE Address 000195ABCDEF0102 b Node ID a Operating Channel Save b Operating PAN ID Get the 64 bit IEEE address Operating EPID EUI address long address Version The IEEE address is a unique Product Name device address assigned during manufacturing This address is Network Settings unique to each physical device Data Mode Settings b Power Management Settings sb Security Settings GPIO Settings b UART Settings HH EE EE EE Configuration Management Export Import Restore to Factory Default Figure 2 12 ProBee Manager Configuration Pane In Figure 2 12 the Node Infomation category is selected and the IEEE Address property is selected so Its description
87. s Encoding HEX Abbreviation Glyph Encoded Description 00 NULL 100 Null character oD CR oD Carriage return DA LF VOA Line feed 08 BS 108 Backspace 09 HT 109 Horizontal Tab 7F DEL 7F Delete 5C 5C Control character for binary encoding For example when sending abc lt CR gt with AT BROADCAST command the command should be as follows AT BROADCAST abc 0D lt CR gt 4 1 5 Display Incoming Message 11 register determines whether incoming message will be shown or not in the command mode In the data mode on the other hand incoming data is always displayed To change the S11 register please use the AT command as below ProBee ZE20S User Guide Rev 1 10 1 ATS11 lt value gt lt CR gt where lt value gt 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 lt EEE address gt lt MSG gt lt CR gt When displaying incoming messages in command mode some characters are encoded in the same way with sending binary data as in Table 4 1 For example when receiving abc lt CR gt from 0001950000000001 the displaying message is as follows 0001950000000001 abc OD lt CR gt Note In PTv1 2 or earlier version only the characters mentioned at Table 4 1 are encode In PTv1 3 or later version back slash W and the characters out of range between 0x
88. se refer to the 9 S Registers for more details ATS36 n where n is the radius ATS37 n where n is the number of hops through nonmembers 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 Broadcast transmission failure also causes retransmission which is affected by transmission timeout S33 and transmission retries S32 Because frequent retransmissions may cause to break the broadcast limitation it is recommended to set more than 1000 for transmission timeout S33 and set as small as possible for transmission retries S32 Multicast data transmission is implemented on top of the network broadcast mechanism so it is subject to the same rules 4 1 3 Broadcast Broadcast transmissions are sent from a source device to all devices in the ZigBee network The AT command for the broadcast transmissions is as below AT BROADCAST lt MSG gt lt CR gt or AT BC lt MSG gt lt CR gt where lt MSG gt data to transmit The user can also specify the transmission range by changing the S35 register value as below Please refer to the 9 S Registers for more details ATS35 n where n is the broadcast range ProBee ZE20S User Guide Rev 1 10 1
89. seneeeteaeeaeeateas 55 6 5 3 Turning ON off the LEDS oioniiniinninnionicnonionaicc ENERE EREEREER SAAREEN 56 6 6 Configuration Example 3 Light Sensor and Temperature Sensor ooocccicoocicocinnncocnonococnnnnnnnnnnnos 56 6 6 1 Coordinator CONTIgUratiON rrsan arnee TN S A SEOANE E E ESERE 56 6 6 2 Rouler Con gurao asiarra aani eR E AAAA Ain E O E EA ERES 57 S oe o AA II ee lett eee 58 6 6 4 e RE EE 59 6 6 5 Periodic Sampling Destination Node 60 6 6 6 Periodic Sampling Sink NOU uu scccecseccececessetseceeeeeeeeesaeseeceeseaeeaeeaeeaseateaseaecaeseeseeserseaeeaeeateas 61 6 6 7 Data CONVeISION coi A alavatiiininiliaiaiaiataiay 62 7 AT COMMAND REFERENCE oo c c 22 ccceccnccncccsesecstenteenectnnensstece secdestasccstaedsteesencce 64 7 1 Command Line Format ceeceeeeeeceecesceneceeceeeeeeeeeeesaeeaesaeeaeeaeenecnecaeeeeeeeesaesaesaesaesaeeaeeaesesneeeeeeeesaees 64 2 Standard AT Commands inicias id a 64 Lo PUD NN 64 Ee 64 Y E 64 EE 65 LaS EE e e ee eee OR 65 NS O A te aguas e e ee ee ee te east at tei a 65 EE 65 LAO A EE ee EE 65 C29 E 65 E240 AT E ci a added aa laa 65 E240 d EE 66 7 3 Node Specific Information cceccceccecececececececeeseeceeeaeceaeceeeeeeceeecaeecaecaeseaeeaaeseaecaeseeeseeeeaeeeeeseeeaes 66 7 3 1 AT LONGADDR or ATHLA cioionininincnicincii rr 66 7 3 2 AT SHORTADDR or AT A 66 7 33 AT ADDRDISCOVERY or ATLAUD rr 66 7 34 AT OPCH or ATO rr 66 130 AMOPPANID OTA TAO Lucro eee a
90. 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 This warranty is limited to the repair and or replacement at SENA s discretion of defective or non conforming Product and SENA shall not be responsible for the failure of the Product to perform specified functions or any other non conformance caused by or attributable to a any misapplication or misuse of the Product b failure of Customer to adhere to any of SENA s specifications or instructions c neglect of abuse of or accident to the Product or d any associated or complementary equipment or software not furnished by SENA Limited warranty service may be obtained by delivering the Product to SENA or to the international distributor it was purchased through and providing proof of purchase or receipt date Customer agrees to insure the Product or assume the risk of loss or damage in transit to prepay shipping charges to SENA and to use the original shipping container or equivalent 13 2 LIMITATION OF LIABILITY EXCEPT AS EXPRESSLY PROVIDED HEREIN SENA MAKES NO WARRANTY OF ANY KIND EXPRESSED OR IMPLIED WITH RESPECT TO ANY EQUIPMENT PARTS OR SERVICES PROVIDED PURSUANT TO THIS AGREEMENT INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE NEITHER SENA NOR ITS DEALER SHALL BE LIABLE FOR ANY OTHER DAMAGES INCLUDING BUT N
91. st by using string and use AT TRANSMITMODE O0 and reset the device to apply the setting permanently AT commands used for the broadcast data mode are as below ATB lt CR gt Set broadcast data mode AT TRANSMITMODE 3 lt CR gt or AT TM 3 lt CR gt Set the transmission mode to broadcast It should be reset to apply the mode ATS35 n where n is the broadcast range ATS36 n where n is the radius Set data transmission range Please refer to the chapter 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 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 Broadcast transmission failure also causes retransmission which is affected by transmission timeout S33 and transmission retries S32 Because frequent retransmissions may cause to break the broadcast limitation it is recommended to set more than 1000 for transmission timeout S33 and set as small as possible for transmission retries S32 Multicast data transmission is implemented on top of the network broadcast mechanism so it is subject to ProBee ZE20S User Guide Rev 1 10 1 the same rules Example ProBee ZE20S User Guide Rev 1 10 1 5 Digital and Analog I O 5 1 GPIO General
92. t network key 0 or Os generate random 128 bit number Execute AT NWKKEY lt CR gt AT NWKKEY lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7 8 4 AT UPDATEKEY or AT UK Update the network key with a new generated key possible only for coordinator It is Description applied after 30s later because sending too quickly may cause a sleepy end device to miss the alternate encryption key and only get the switch key message which means it will be unable to change to the new network key Execute AT UPDATEKEY lt CR gt Response OK lt CR gt or ERROR lt CR gt 7 9 UART 7 9 1 AT BAUDRATE or AT UB Get Set the serial port speed for communication between the module serial port and Description host Execute AT BAUDRATE lt CR gt AT BAUDRATE lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 9600 Range 300 230400 7 9 2 AT DATABIT or AT UD Description Get Set the serial data bit setting on the module Execute AT DATABIT lt CR gt AT DATABIT lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 8 Range 7 8 7 9 3 AT PARITY or AT UP ProBee ZE20S User Guide Rev 1 10 1 Description Get Set the serial
93. t pin reset or power on reset the module will boot up in bootloader 6 3 5 LEDs CR12 19 The development board has 8 LEDs for digital output To enable the LEDs the GPIO_OUT SW20 switch should be set to LED_ON The LEDs are turned on when the related GPIO pins of the ZE20S are high Note The ADC_0 3 switches SW4 7 should be placed to EXT_0 3 6 3 6 Button Switches SW10 17 The development board has 8 button switches for digital input The switches can be configured as active high or active low with the GPIO_IN SW19 switch Note The ADC_0 3 switches SW4 7 should be placed to EXT_0O 3 Note The LED On Off switch SW20 should be placed to LED_OFF Note If the GPIO_IN SW19 is set to Active High GPIO pull up down option should be set to Pull Down ATS41 0 If the GPIO_IN SW19 is set to Active Low GPIO pull up down option should be set to Pull Up ATS41 1 6 3 7 Variable Resistors VR1 VR2 There are two variable resistors for analog inputs on the development board The analog inputs can be read with the GPIO_9 and GPIO_10 To enable the variable resistors the ADC_0 and ADC_1 switches should be placed to VR_0 and VR_1 Note The LED On Off switch SW20 should be placed to LED_OFF 6 3 8 Temperature Sensor The GPIO_11 of the ZE20S is routed to the temperature sensor The relationship between temperature and analog input is as follows Temperature C Volt mV 600 mV 0 1 C mV ProBee ZE20S User Guid
94. the PAN ID of the ZigBee coordinator If the coordinator is using a randomly generated PAN ID the user can get the operating PAN ID by running the AT command below on the coordinator AT OPPANID or A TO If the PAN ID of a ZigBee router or a ZigBee end device is 0000 the PAN ID is ignored After checking the PAN ID the ZE20S trying to join compares the extended PAN ID to make sure whether the network is the right network to join If the extended PAN ID is the same with its configured extended PAN ID it will try to join the network Otherwise it will try to find another network The user can get the operating extended PAN ID by running the AT command below on the coordinator AT OPEPID or AT OE If the extended PAN ID of a ZigBee router or a ZigBee end device is 0000000000000000 the extended PAN ID is ignored 3 2 4 Permit Joining The ZigBee router is configured and works the same way with the coordinator to permit joining of other nodes Please refer to the section 3 1 4 Permit Joining for the configuration ProBee ZE20S User Guide Rev 1 10 1 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 e Configure the ZE20S node type as an end device e Optionally select the channel mask Otherwise the ZE20S will use the default channel mask e Optionally set up the PA
95. the radio s receiver The sender of the recent packet and the parent are also displayed Execute AT RSSI lt CR gt Sender lt node ID gt Parent FFFF RSSI lt RSSI value gt LQI lt LQI value gt lt CR gt Response OK lt CR gt 7 5 5 AT NODETYPE or AT NT Get Set the node type 0 none 1 coordinator 2 router 3 end device 4 sleepy end Description device Execute AT NODETYPE lt CR gt AT NODET YPE lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt or ERROR lt CR gt OK lt CR gt Default 0 Range 0 4 ProBee ZE20S User Guide Rev 1 10 1 7 5 6 AT PERMIT or AT PJ Permit other nodes to join the network 0 254s 255 continuance An end device Description l cannot perform it Execute AT PERMIT lt CR gt AT PERMIT lt value gt lt CR gt Response OK lt CR gt Range O 255 7 5 7 AT LEAVE or AT LV Description Leave the current network Execute AT LEAVE lt CR gt Response OK lt CR gt 7 6 End device 7 6 1 AT SLEEP or AT SM Description Enter the sleep mode immediately ifthe node is a sleepy end device Execute AT SLEEP lt CR gt Response OK lt CR gt 7 6 2 AT PARENTLA or AT PL Description Get the 64 bit IEEE address of the parent node Execute AT PARENTLA lt CR gt lt IEEE address gt lt CR gt Response OK lt CR gt 7 6 3 AT PARENTSA or AT PS
96. uide Rev 1 10 1 messages and won t receive unicast or multicast messages Execute ATS39 lt CR gt ATS39 lt value gt lt CR gt Response ts OK lt CR gt OK lt CR gt Default 0 Range 0 1 HA GPIO 9 4 1 S41 Description 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 Execute ATS41 lt CR gt ATS41 lt value gt lt CR gt Response Eeer OK lt CR gt OK lt CR gt Default 0 Range 0 1 9 4 2 S42 Get Set the GPIO monitoring period in seconds If it is enabled a node sends GPIO values to a remote node based on preconfigured destination IEEE address periodically Description and it is possible to monitor the GPIO status at the remote node A remote node can also be the sink node according to GPIO monitoring node S43 If set to 0 GPIO monitoring is disabled Execute ATS42 lt CR gt ATS42 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 0 Range 0 10000 9 4 3 S43 Get Set the GPIO monitoring node If S43 is 0 the monitoring node is selected by Description AT DESTLA or AT DL command If S43 is 1 the sink node is set as the monitoring node Execute ATS43 lt CR gt ATS43 lt value gt lt CR gt lt value gt lt CR gt Response OK lt CR gt OK lt CR gt Default 0 Range 0 10000
97. ut Power 8dBm Receiving Sensitivity 102dBm Power Supply DC3 3V ProBee ZE20S User Guide Rev 1 10 1
98. ute ATS62 lt CR gt ATS62 lt value gt lt CR gt Response Seer OK lt CR gt OK lt CR gt Default 0 Range 0 10000 9 7 Frequency Agility 9 7 1 S71 Get Set the Frequency agility function If it is enabled in coordinator mode node will Description automatically shift operating channel to one of channel masks when its unicasts fail more than threshold Execute ATS71 lt CR gt ATS71 lt value gt lt CR gt Response RE OK lt CR gt OK lt CR gt Default 0 Range 0 1 ProBee ZE20S User Guide Rev 1 10 1 10 Pin Assignments NO Pin Assignment Pin Assignment NO 1 GND E a GND 33 2 PC_S FACTORY_RST a E PB_5 ADC0 GPIO9 32 3 PC_6 GPIOO E Lal PB_6 ADCI GPIO10 31 4 PC_7 DTR GPIO1 E W PB_7 ADC2 GPIO11 30 5 PA_7 DSR GPIO2 a a PC_VADC3 GPIO12 29 6 PB 3 CTS GPIO3 EI Dei PA_4 ADC4 GPIO13 28 7 PB_4 RTS GPIO4 a E PA_5 ADC5 GPIO14 27 8 PA_0 MOSI GPIOS a E PB_VTXD 26 9 PA_1 MISO GPIO6 BD E PB_2 RXD 25 10 PA_2 SCLK GPIO7 E a PB_0 GPIO15 24 11 PA_3 nSSEL GPIO8 a E PA_6 GPIO16 23 12 VCC E BW RESET 22 13 GND a a GND 21 17 PC_3 JTDI 18 PC_4 JTMS 19 PC amer 20 GND 16 PC_2 JTDO 114 vec 15 JTCK Figure 10 1 Pin Assignments ProBee ZE20S User Guide Rev 1 10 1 Table 10 1 Pin Assignments Table
99. xt to continue lt Back Next gt Cancel Figure 2 7 USB Driver Installation ProBee ZE20S User Guide Rev 1 10 1 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 For more details on HyperTerminal please refer to Microsoft web page Once the HyperTerminal is installed launch HyperTerminal and select the serial port that is connected to the ZE20S development board and enter the serial settings to use The default serial settings of the ZE20S are 9600 bps 8 data bit none parity 1 stop bit none flow control COM1 Properties Port Settings Bits per second Data bits Parity Stop bits Flow control None Restore Defaults Figure 2 8 HyperTerminal Serial Settings To display the AT commands that are being typed you need to enable the local echo option on the HyperTerminal To enable this option Go to File gt Properties gt Settings gt ASCIl setup and select the Echo typed characters locally option To verify the connection type AT and press the Enter key If the AT command is accepted by the ZE20S OK str

Download Pdf Manuals

image

Related Search

Related Contents

GUIDE REMPLISSAGE hp 950 noire et coul - ink    Programme et revue été 2015 - Club Alpin Français d`Annecy  Amano TCX-85 Operation Manual  AR CONDICIONADO  Sanyo AVL-279 Flat Panel Television User Manual  T'nB CARHOLD1 holder  Samsung SC-152L Manual de Usuario  Untitled - Lidl Service Website  BEST Range Hoods IS23 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file