Instruction/ maintenance manual of the product ZB2430 AeroComm
Go to page of 62
V ERSION 2.0.
Technical Support: Phone: 800.492.2320 E-mail: wireless.support@lairdtec h.com Web: www.aerocomm.com/ Sales: Phone: 800.492.2320 E-mail: wireless.sales@lairdtech.
Document Information Copyright © 2008 AeroComm, Inc. All rights reserved. The information contained in this manual and the accompanyi ng software p rograms are copy righted and all rights are reserved by AeroComm, Inc.
Revision History Revision Description Version 1.0 7/21/06 - Initial Release Version Version 1.1 7/25/06 - Updated Pin defi nitions, corrected sta tus request command to display 0x00 as firm ware version, updated CC 08, CC 21 and EEPROM byte write com mands.
Contents ZB2430 TRANSCEIVER MODULE 1 ZB2430 Features 1 Overview 1 SPECIFICATIONS 2 Pin Definitions 4 HARDWARE INTERFACE 6 Pin Definitions 6 Generic I/O 6 RXD and TXD 6 Test/Sleep Int. 6 UP_Reset 6 Command/Data 6 In Range 6 RTS Handshaking* 6 CTS Handshaking 7 Sleep Ind.
www .aerocomm.com ZB2430 T RANSCEIVER M ODULE 1 AeroComm’s ZB2430 module is based on the IEEE 802.15. 4 wireless communication standard and the robust ZigBe e networking protocol and is one of the most powerful ZigBee compliant solutions on the market today.
www .aerocomm.com S PECIFICATIONS 2 Table 1: ZB2430 Specifications General Interface Connector SMT or Pluggable Antenna Chip antenna (p/n Laird MAF95029) or U.FL connector Serial Interface Data Rate Baud rates from 110 bps to 115,200 bps. Non-standard baud rat es are also suppor ted.
3 ZB2430 User’ s Manual - v1.6 SPECIFICATIONS www .aerocomm.com Certifications FCC Part 15.247 ZB2430-D: KQL-ZB2430D ZB2430-Q :KQL-ZB24 30-100 Industry Canada (IC) ZB2430-D : 2268C-Z B2430D ZB2430-Q :2268C-ZB2 430 CE ZB2430-D :Approved ZB2430-Q :Pending 1.
SPECIFICATIONS 4 PIN DEFINITIONS The ZB2430 has a simple interface that allows OEM Host co mm unications with the transceiver. Table 2 below shows the connector pin numbers and associated functions.
5 ZB2430 User’ s Manual - v1.6 SPECIFICATIONS www .aerocomm.com 18 12 O CTS Clear to Se nd - Active Low whe n the transceiver is rea dy to accept data for transmission. High when input buffer is filling. Contin ing to send data when CTS is high can cause buffer overflow and the loss of data.
www .aerocomm.com H ARDWARE I NTERFACE 3 PIN DEFINITIONS Generic I/O Both GIn and GOn pins serve as generic input/output pins. Reading and writing of these pins can be performed on- the-fly using CC Commands. RXD and TXD The ZB2430 accepts 3.3 VDC TTL level asynchronous serial data from the OEM Host via the RXD pin.
7 ZB2430 User’ s Manual - v1.6 HARDWARE INTERFACE www .aerocomm.com Note: Leaving RTS de-asserted for too long can cause data loss once the transceiver's recei ve buffer reaches capacity.
www .aerocomm.com T ERMS & D EFINITIONS 4 Ad-Hoc Network: A wireless network composed of communicating devices without preexisting infrastructure . Typically created in a spontaneous manner an d is self-organizing and self-ma intaining. Association: The process of joining a ZigBee PAN.
9 ZB2430 User’ s Manual - v1.6 T ERMS & DEFINITIONS www .aerocomm.com Maximu m Number of Chi ldren: The total number of children that can be associated with a single Network device. The current profile limit is 20; comprising of up to 6 Ro uters and 14 End Devices.
T ERMS & D EFINITI ONS 10 Route Request (RREQ): A ZigBee command used to discover paths through the network over which messages may be relayed. Routing Table: A table in which the Coordinator or Router(s) store information required to participate in the routing of data packets throughout the network.
www .aerocomm.com T HEORY OF O PERATION 5 IEEE 802.15.4 & ZI GBEE OVERVIEW The ZB2430 uses the ZigBee protocol stack, a netw ork layer protocol which uses small, l ow power digital transceivers based on the IEEE 802.15.4 hardware standard. The 802.
THEORY OF OPERATION 12 CREATING A NETWORK The IEEE 802.15.4 MAC provides support for two wireless network top ologies: star and mesh. The management of these networks is performed by the ZigBee layer. All device s, r egardless of topology, participate in t he network using their unique 16-bit address a ssigned by the Coordinator.
13 ZB2430 User’ s Manual - v1.6 THEORY OF OPERATION www .aerocomm.com Figure 1: ZigBee Network Topologies PARENT/CHILD RELATIONSHIP ZigBee uses a parent/child relationship between network de vices. The network begins with the Coor dinator as the first device on the network.
THEORY OF OPERATION 14 Figure 2: Parent/Child Relationship NETWORK LIMITATIONS The ZigBee network structure and ultimate size are specified by Stack profil es. The Stack profiles define the maximum number of Lay ers, maximum number of Children per Pare nt, & maximum number of Routers that can be Children.
15 ZB2430 User’ s Manual - v1.6 THEORY OF OPERATION www .aerocomm.com Figure 3: Network Depth Maximum Nu mber of Chi ldren pe r Parent The Maximum Number of Children specifies the total number of Children that can be conne cted directly to a parent device on the current Networ k.
THEORY OF OPERATION 16 64-bit MAC ad dress The 64-bit MAC address consists of a 40-bit Organizat ionally Uniq ue Identifier (OUI) and a 24-bit address programmed by the ma nufacturer.
17 ZB2430 User’ s Manual - v1.6 THEORY OF OPERATION www .aerocomm.com Figure 4: ZigBee AODV Figure 5: ZigBee Route Reque st.
THEORY OF OPERATION 18 One of two things will happen when Nodes 1 and 2 receive the RREQ from Node 0: • If a route is known or if they are the destinat ion radio, they can send a Route Reply (RREP) back to Node 0. • If they do not know the route and are also not the destination radio, they will rebroadcast the RREQ to their neighbors.
19 ZB2430 User’ s Manual - v1.6 THEORY OF OPERATION www .aerocomm.com Table 4: Broadcast Add resses Broadcast Address Destination Group 0xFFFF All devices in PAN 0xFFFE Reserved 0xFFFD All non-sleeping devices when RXOn- WhenIdle = True 0xFFFC All Routers and Coordinator 0xFFF8 - 0x FFFB Reserved ENGINEER’S TIP Sending a Broadcast packet.
www .aerocomm.com S ERIAL I NTERFACE 6 The ZB2430 transceiver module interfaces to the OEM Ho st vi a an asynchronous 3. 3V serial UART interface; allowing the module to be easily integrated in to any 3.3V system without requiring an y level transla tion.
21 ZB2430 User’ s Manual - v1.6 SERIAL INTERFACE www .aerocomm.com SERIAL INTERFACE BAUD RATE In order for the OEM Host and a transceiver to communicate over the serial interface they need to have the same serial data rate. This value de termines the baud rate used for communicating over the serial interface to a tr ansceiver.
SERIAL INTERFACE 22 INTERFACE TIMEOUT / RF PACKET SIZE Interface Timeout – Interface Time out specifie s a maximum b yte gap between consecutive bytes. Whe n that byte gap is exceeded, the bytes in the transmit buffer are proc essed as a complete packet.
23 ZB2430 User’ s Manual - v1.6 SERIAL INTERFACE www .aerocomm.com RXD Data Buffer an d CTS A s d a t a i s s e n t f r o m t h e O E M H o s t t o t h e r a d i o o v e r t h e s e r i a l i n t e r f a c e , i t i s s t o r e d i n t h e Z B 2 4 3 0 ’ s b u f f e r u n t i l t h e radio is ready to transmit the data packet.
SERIAL INTERFACE 24 NETWORKING PAN ID - PAN ID (EEPROM address 0x79) is a 16-bit field and is similar to a password or network number and helps differentiate collocated networks. A transceive r will not be associated with a networ k unless its PAN ID and Channel Number match that of the Coordina tor.
25 ZB2430 User’ s Manual - v1.6 SERIAL INTERFACE www .aerocomm.com The example shown in Figure 8 below enables all 2.4GHz channels for possible use by selecting 0x07FFF800 as the Channel Mask. The Channel Mask enables you to allow all or to exclude specific channels from selection.
SERIAL INTERFACE 26 POWER DOWN MODES Power down modes allow the ZB2430 to operate at minimum current co nsumption while not in use. The ZB2430 provides two such modes (End Devices only).
27 ZB2430 User’ s Manual - v1.6 SERIAL INTERFACE www .aerocomm.com ENGINEER’S TIP Transmitting and Receiving data with a sleeping End Device. • Data sent to the radio over the U ART while it is sleeping will be lost. If the mo dule wakes while receiving data over the UART, it will only see the data received since waking up.
www .aerocomm.com C ONFIGURING THE ZB2430 7 The ZB2430 can be configured using the CC Configuration Co mmands. These commands can be issued using either Hardware or Software Configuration. To use Hardware Configuration, the Command /Data pin of a transceiver must be asserted Low.
29 ZB2430 User’ s Manual - v1.6 CONFIGURING THE ZB2430 www .aerocomm.com AT COMMANDS The AT Command mode implemented in the ZB2430 creates a virtual version of the Command /Data pin.
CONFIGURING THE ZB2430 30 Discover NWK Ad dress <0xCC> <0x8D> <MAC [2-0]> <Data> <0xCC> <NWK H i> <NWK Lo> <Data [n-0]> Discover IEEE Address <0xCC&g.
31 ZB2430 User’ s Manual - v1.6 CONFIGURING THE ZB2430 www .aerocomm.com COMMAND DESCRIPTIONS Enter AT Command Mode Prior to sending t his comm and, th e OE M Host must ensure that the transceive r’s RF transmit buffer is emp ty. This can be acco mplished by waiting up to one second be tween the last packet and the AT command.
CONFIGURING THE ZB2430 32 Read Destination Addre ss The OEM Host issues this command to the transce iver to read the Destination Addre ss. Command: <0xCC> < 0x11> Number o f bytes re turne.
33 ZB2430 User’ s Manual - v1.6 CONFIGURING THE ZB2430 www .aerocomm.com Read Digital Input The OEM Host is sues this command to read the s tate of GI0 input pins.
CONFIGURING THE ZB2430 34 The OEM Host issu es this command to adju st the maximum outp ut power. Command: <0xCC> < 0x25> <Max Pwr> Number of Bytes Returned: 2 Response: 0x CC <Ma.
35 ZB2430 User’ s Manual - v1.6 CONFIGURING THE ZB2430 www .aerocomm.com The OEM Host issues this comman d to discover the 64-bit IEEE address of a r emote radio. Note: This command is valid only fo r Coordinators and/or Router devices. This command wi ll not issue a respons e if the requested address is unable to be located in the netw ork.
CONFIGURING THE ZB2430 36 Upon receiving this command, a transceiver will respond with the desired data fro m the addresses re quested by the OEM Hos t.
www .aerocomm.com EEPROM P ARAMETERS 8 The OEM Host can p rogram various parameters that are stored in EEPROM and become active a fter a power-on reset. The table below gives the locations and descriptions of the par ameters that can be read/written by the OEM Host.
EEPROM PARAMETERS 38 Baud Rate 0x 42 1 0x00 - 0x08, 0x E3 0x06 0x00: 1200 0x01: 2400 0x02: 4800 0x03: 9600 0x04: 19200 0x05: 31250 0x06: 38400 0x07: 57600 0x08: 115200 0xE3: Enable Custom Baud rate Note: If any value ofther than 0x00-0x08 or 0x E3 is used, the radio will def ault to 9600 baud.
39 ZB2430 User’ s Manual - v1.6 EEPROM PARAMETERS www .aerocomm.com Stale Limit 0x4F 1 0x01-0xFF 0x32 Specif ies amount of time to keep a radio in the Radio Table without having received a packet from that particular ra dio. Prevents retr ies from being interpreted as ne w packets.
EEPROM PARAMETERS 40 MAC ID 0x80 8 0x00 - 0xFF Factory programmed 8 byte unique IEEE MAC address. Note: This addres s is write protect ed and can- not be modi fied. Part Number 0x90 16 0x00 - 0xFF Provides part number information. EEPROM byte 0x95 can be read t o determine device type (C, R, or E).
www .aerocomm.com API O PERATION 9 API Operation is a powerful alternative to the default Transparent operation of the ZB2430 and provides dynamic packet routing and packet accounting abilities to the OEM Host without requiring extensive prog ramming by the OEM Host.
API OPERATION 42 *Note: Send Data Co mplete may report a fail ure though the packet arrived due to t iming issues. It will never report successful though unless the packet absolutely arrived. Figure 13: Send Data Co mplete packet format API Receive Pa cket By default, the source MAC is not included in the received data string sent to the OEM Host.
www .aerocomm.com ZB2430 A DDRESSING 10 Every ZB2430 transceiver module has a unique static 64- bit MAC address that is p rogrammed at the factory. Upon joining the network, the device is assigned a 16-bit NWK Ad dress. The NWK address onl y changes on initial power-up and when a NV Reset command is issued to the radio.
ZB2430 ADDRESSING 44 8. Wait for command r esponse: ................. .................... ............. 0xCC 0x44 0x41 0x5 4 9. Send data to device Figure 16: ZigBee Addressing by MAC - Node 0 to Node 2 N ex t, as su me tha t N od e 1 ne eds to se n d a me ss ag e t o N od e 2 , w hi ch is a ls o o ut of it ’s ra nge .
www .aerocomm.com A DVANCED N ETWORK C OMMANDS 11 Some applications may require a more e xtensive knowledge of the Network a nd its current configuration. For this reason, the ZB2430 includes several advanced comm ands which can be issued anytim e the radio is in Command m o d e .
ADVANCED NETWORK COMMANDS 46 Figure 18: Read Neighbor Table Res ponse 0x00: Success 0x01: Fai l Stat us ( Byt e 4) Dat a Requ est 0xCC S ta r t D e lim ite r 0x88 C o m m an d Id e ntifier 1 Byte Leng.
47 ZB2430 User’ s Manual - v1.6 ADVANCED NETWORK COMMANDS www .aerocomm.com Read Route Table ZigBee Coordinators and Routers maintain a routing table in memory which is used to establish a route to a particular destination device. Note: This command is not valid for End Devices.
ADVANCED NETWORK COMMANDS 48 Figure 20: Read Route Table Respons e 0x00: Success 0x01: Fai l Stat us ( Byt e 4) Dat a Requ est 0xCC S ta r t D e lim ite r 0x89 C o m m a n d Id e n tifier 1 Byte Lengt.
49 ZB2430 User’ s Manual - v1.6 ADVANCED NETWORK COMMANDS www .aerocomm.com Perform Scan ZigBee Coordinators and Routers can manually scan selected channels for RF activity and other ZigBee devices/PAN ID’s, etc. Note: This command not valid for End Devices.
ADVANCED NETWORK COMMANDS 50 Figure 22: Perform Scan Res ponse Data Request 0xCC Start Delimiter 0x8B Command Identifier 1 Byte Length 0x00: Energ y detect scan 0x01: Activ e scan Scan Type (Byte 6 ) .
51 ZB2430 User’ s Manual - v1.6 ADVANCED NETWORK COMMANDS www .aerocomm.com Read R adio Ta ble Th e R a di o T a bl e, s to re d in NV R AM , c o nt ai n s i nf or m at i on ab o ut an y p a re nt o r c hi l dr en i t i s a s so ci a te d w i th .
ADVANCED NETWORK COMMANDS 52 Figure 24: Read Radio Table Resp onse 0x00: S ucces s S t at us ( B yt e 4) Da t a R equest 0xC C S t a r t D e lim ite r 0x8C C o m m a n d Id e n tifi e r 1 B yt e Lengt.
www .aerocomm.com D IMENSIONS 12 ZB2430 MECHANICAL Figure 25: ZB2430 Mecha nical Drawing Notes: All dimensions are +/- .005 inches PC Board Material is 0.031 thick FR4 Board edge connections are 1/2 of 0.031 plated holes 0.015 0.205 0.837 1.350 0.000 0.
www .aerocomm.com O RDERING I NFORMATION 13 PRODUCT PART NUMBERS.
www .aerocomm.com C OMPLIANCY I NFORMATION 14 AGENCY IDENTIFICATION NUMBERS Agency compliancy is a very important r equirement for an y product developmen t. Aerocomm is in the proce ss of obtaining modular approval for its ZB2430 product family so that the OEM only needs to meet a few requirements to use that approval.
COMPLIANCY INFORMATION 56 Mobile - Mobile defines equipment where the user will be 20 cm o r greater from the t ransmitting equipment. The antenna must be mounted in such a way that it cannot be moved closer to the user wi th respect to the equipme nt, although the equipment may be moved.
57 ZB2430 User’ s Manual - v1.6 COMPLIANCY INFORMATION www .aerocomm.com.
An important point after buying a device AeroComm ZB2430 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought AeroComm ZB2430 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data AeroComm ZB2430 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, AeroComm ZB2430 you will learn all the available features of the product, as well as information on its operation. The information that you get AeroComm ZB2430 will certainly help you make a decision on the purchase.
If you already are a holder of AeroComm ZB2430, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime AeroComm ZB2430.
However, one of the most important roles played by the user manual is to help in solving problems with AeroComm ZB2430. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device AeroComm ZB2430 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center