Sei sulla pagina 1di 29

XBee ZigBee SMT RF Module Development Kit Getting Started Guide

90002013_C 6/18/2012

2012DigiInternationalInc. Allrightsreserved. Digi,DigiInternational,theDigilogo,theDigiwebsite,aDigiInternationalCompany,XBee,andDigiXBeeare trademarksorregisteredtrademarksofDigiInternational,Inc.intheUnitedStatesandothercountries worldwide.Allothertrademarksarethepropertyoftheirrespectiveowners. Allothertrademarksmentionedinthisdocumentarethepropertyoftheirrespectiveowners. Informationinthisdocumentissubjecttochangewithoutnoticeanddoesnotrepresentacommitmentonthe partofDigiInternational. Digiprovidesthisdocumentasis,withoutwarrantyofanykind,eitherexpressedorimplied,including,butnot limitedto,theimpliedwarrantiesoffitnessormerchantabilityforaparticularpurpose.Digimaymake improvementsand/orchangesinthismanualorintheproduct(s)and/ortheprogram(s)describedinthismanual atanytime. Thisdocumentcouldincludetechnicalinaccuraciesortypographicalerrors.Changesareperiodicallymadetothe informationherein;thesechangesmaybeincorporatedinneweditionsofthepublication.

2012DigiInternational,Inc.

Table of Contents
Using this Guide............................................................................................................ 5
Conventions used in this Guide .............................................................................. 5 Contact Information................................................................................................. 5

Introduction .................................................................................................................... 6
Goals of the Kit ....................................................................................................... 6 Requirements of the Kit .......................................................................................... 6

..........................................................................................6 Additional Documentation .....................................................................................6


System Requirements

Part 1: Set up your XBee ZB SMT RF Module Development Kit....................... 7


Identify Kit Components.......................................................................................... 7 Assemble your Development Kit ............................................................................ 8

Part 2: Download and Install X-CTU Software....................................................... 9


Installing USB Drivers ............................................................................................. 9 Installing X-CTU Software ...................................................................................... 9

Part 3: Test Communications Link and Establish a Mesh Network............... 10


Configure the Modules .......................................................................................... 10 Perform a Range Test .......................................................................................... 17 Establish a Mesh Network .................................................................................... 21

Part 4: Over-The-Air Configuration ........................................................................ 22


Configure Remote Modules .................................................................................. 22

Part 5: XBee ZB SMT Design Considerations ..................................................... 24


Software Design Considerations .......................................................................... 24 Hardware Design Considerations ......................................................................... 25

Part 6: Managing the Network ................................................................................. 26


Digi Gateways ....................................................................................................... 26 To the Cloud! Make the most of your data. .......................................................... 27

2012DigiInternational,Inc.

XBe eZB S MT RF Mo du le Development Ki t G e t t i n g Sta rtedG uide

To the Cloud! Take control of your device network. ............................................. 27

Appendix A: Troubleshooting .................................................................................28


Resetting the XBee ZB SMT RF Module.............................................................. 28 Why are the Modules no longer communicating with one another? .................... 28

Appendix B: ZigBee Functionality .........................................................................29


ZigBee Nodes ....................................................................................................... 29

2012DigiInternational,Inc..

Using this Guide


Conventions used in this Guide
Thisiconindicatesastepthathasthepotentialtobetroublesome. Furtherinformationregardingitemsmarkedwiththissymbolcanbe foundinAppendixA:Troubleshootingonpage28.

Thisiconindicatesahint,orconceptthatislearned.

Thisiconindicatesthatagoalofthekithasbeencompleted.

Thisiconindicatesawarningofthepotentialforconfusionordanger.

Contact Information
FormoreinformationaboutyourDigiproducts,orforcustomerserviceandtechnicalsupport,contact DigiInternational. ToContactDigiInternational DigiInternational Mail WorldHeadquarters 11001BrenRoadEast Minnetonka,MN55343 Phone 8:00AM5:00PM(U.S.MountainTime) OnlineSupport Email 18667659885tollfreeUSAandCanada 18017659885Worldwide http://www.digi.com/support/eservice/login.jsp rfexperts@digi.com Use

2012DigiInternational,Inc.

Introduction
ThankyouforpurchasinganXBeeZigBeeSMTRFModuleDevelopmentKit.Thiskitisdesignedtomake iteasytosetupanXBeemeshnetworkusingtheZigBeeprotocol,senddatafromoneXBeetoanother, andadjusttheXBeesettings.Beforeyoustartworkingwiththekit,let'scoversomebasics.

Goals of the Kit


Asyougothroughthestepsinthiskit,youwill: 1.SetupyourXBeeZBSMTRFModuleDevelopmentKit. 2.DownloadandinstallXCTUconfigurationsoftware. 3.Testcommunicationslinkandestablishameshnetwork. 4.Setupovertheairconfiguration. 5.ExploreSMTdesignconfigurations. 6.Managethenetwork.

Requirements of the Kit


System Requirements
Toinstallthesoftwarementionedinthisguide,youwillneedaPCrunningMicrosoftWindows 2000,XP,VistaorWindows7.

Additional Documentation
Formoreinformationaboutthesoftware,APIoperations,ATcommandmodes,ortheform factorpleaserefertotheXBeeZBSMTRFModuleProductManualavailableontheDigiSupport website. FormoreinformationonconfiguringandusingtheXCTUutility,pleaserefertotheXCTU Configuration&TestUtilitySoftwareUsersGuide.

2012DigiInternational,Inc.

Part 1: Set up your XBee ZB SMT RF Module Development Kit


Identify Kit Components
Carefullyunpackandverifythecontentsofyourkit.Yourkitshouldincludethefollowing:

XBee Interface Board (4)

Antenna (2)

XBee/XBee-PRO PCB Module (2)

XBee/XBee-PRO U.FL Module (2)

USB Cable (2)

Power Supply (2)

Power Adapters (2) International only

2012DigiInternational,Inc.

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Assemble your Development Kit


ToassembleyourDevelopmentKit,performthefollowingsteps: 1.InstallthemodulesontheXBeeInterfaceBoards(XBIB)byliningthepinsupwiththeheadersand pressingthemodulesintoplace. 2.Attachthedipoleantennastothemodules. 3.ConnectthefirstXBIBtoyourcomputerusingaUSBcable.Thisfirstdevicewillbedesignatedas yourcoordinator. 4.Connecttheremainingmodulesandinterfaceboards,andsetthemasidefornow. YouarenowreadytoruntheXCTUsoftware.

YouhavejustcompletedGoal#1settingupyour XBeeZBSMTRFModuleDevelopmentKit.

2012DigiInternational,Inc.

Part 2: Download and Install X-CTU Software


Forproperkitconfigurationandoperation,XCTUsoftware(version5.15orlater)mustbedownloaded andinstalled.AcopyofXCTUsoftwareandUSBdriverswillneedtobeinstalledoneachcomputerused inconjunctionwiththisguide.

Installing USB Drivers


TheXBeeUSBinterfaceboardisa"plugandplay"devicethatshouldbedetectedbythePC automatically.IfyouareusingWindows7orVista,theUSBdriversshouldautomaticallyinstallanda notificationwillappearinthelowerrightportionofyourscreenindicatingsuccessorfailure. IftheUSBdriversfailtoinstall,pleasefollowtheUSBdriverinstallationinstructionsfoundhere: http://www.digi.com/support/kbase/kbaseresultdetl.jsp?id=3214. IfyouareusingWindows2000orXP,downloadandinstallthedriverasperthefollowingdirections. ToinstalltheUSBdriver: 1.Downloadthedriversetupfileat: http://ftp1.digi.com/support/driver/FTDI_Windows_Driver_Setup.exe. 2.Doubleclickonthesetupfile.Awindowwillpopupduringinstallationandautomaticallyclose whentheprocessiscomplete.

Installing X-CTU Software


1.DownloadXCTUatwww.digi.com/xctu. 2.Browsetothefoldertowhichyousavedtheaboveinstallfile. 3.DoubleclickontheinstallerfileandfollowtheXCTUSetupWizard. 4.WhenaskedifyouwouldliketocheckDigi'swebsiteforfirmwareupdates,clickYes.Updatesmay takeafewminutes,pleasebepatient. 5.Afterthefirmwareupdatesarecomplete,clickClose. 6.StartXCTUbydoubleclickingontheXCTUicononyourdesktop,orbyselectingStart>Programs >Digi>XCTU. TheXCTUsoftwareisnowreadytobeused.

YouhavejustcompletedGoal#2downloadingandinstalling theXCTUconfigurationsoftware.

2012DigiInternational,Inc.

Part 3: Test Communications Link and Establish a Mesh Network


Configure the Modules
Eachnetworkrequiresoneandonlyonecoordinator.Formoreinformationonthefunctionofthe coordinator,seetheProductManualfortheXBeeZBSMTRFModule.Thefirstmodulewillbeconfigured asthecoordinator.Theremainingmoduleswillbeconfiguredasrouters. 1.ConnectanXBeeInterfaceBoard(withmoduleinstalled)toyourcomputer. 2.DoubleclicktheXCTUshortcutonyourdesktop. 3.UnderthePCSettingstab,selecttheserialCOMportassociatedwiththeinterfaceboardsyouhave justattachedtoyourcomputer.

4.Verifythatthebaudrateanddatasettingsmatchtheinternalsettingsofthedevices:

BaudRate:9600 FlowControl:NONE DataBits:8 Parity:NONE StopBits:1

2012DigiInternational,Inc.

10

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

5.ClicktheTest/Querybuttontoverifycommunicationwiththemodule.Apopupwillbedisplayed showingstatusandsomebasicinformationabouttheattachedmodule. 6.IntheXCTUModemConfigurationtab,clickRead.

XCTUdisplaystheavailablesettingsforthemodule.

7.Thefollowingprocedurewillsetonedeviceasthecoordinator.Performthisprocedureonthefirst modulethatwasconnectedtoyourcomputerduringkitassembly. a.ClickonCECoordinatorEnableandselect1Enabled. b.ClickonDLDestinationAddressLowandtypeinFFFF. c.ThenclicktheWritebutton. Note:ByassigningtheDLasFFFF,thisassignsthecoordinatortobroadcasttransmission.Unicast transmissionwillbecoveredlaterinthisguide.

2012DigiInternational,Inc.

11

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Usetheparameterwindowshownabovetodesignateonedeviceasthecoordinator. 8.(Optional)IfyouareworkinginanareawhereotherZigBeenetworksarerunning,itispossiblefor routermodulestojoinanunintendednetwork.Toavoidthissituation,youcansetasinglePANID forallofmodulesyouwishtobeonthesamenetwork.TosetthePANID: a.ClickonIDPANIDandenterahexnumber(forexample,A3inthefigurebelow). b.ThenclicktheWritebutton.

2012DigiInternational,Inc.

12

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Note:YoucansetmultipleparametersatonceandthenclicktheWritebuttontosavethemin themodule. 9.Configuretheremaining3modulesfollowingSteps18.EnsurethatCEissetto0onthese modules.Thesewillbedesignatedasrouter(noncoordinator)modules. a.ConnectroutermodulesinthenetworktothecomputerusingtheUSBcable(twoareincluded inthekit).Oncethenetworkisestablished,theredLEDneartheUSBconnectorontheUSB interfaceboardwillflash.Coordinatorswillflashatarateofaboutoncepersecond,androuters willflashatarateofabouttwicepersecond. b.OpenanXCTUwindowforeachmoduleconnectedtothecomputer,selecttheappropriate COMport,andgototheTerminaltab.USBinterfaceboardscanbeconnectedonebyonetothe networkandcomputersoyoucanidentifywhichmodulegoeswithwhichCOMport. Note:XCTUonlylooksforavailableCOMportsonstartup.IfyoupluginaUSBinterfaceboard afterstartingXCTU,itwillnotbedetectedunlessyoucloseandrestartXCTU. 10.Inthisconfiguration,theroutersaresetuptocommunicatewiththecoordinator.Usingthe Terminaltabasshownbelow,anytextenteredinthewindowofaroutermodulesterminalwill showupinthecoordinatorswindowasarepeatofthecharacter.Texttransmittedisshowninblue whiletextreceivedisshowninred.

2012DigiInternational,Inc.

13

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Note:Inthisconfiguration,thecoordinatorisbroadcastingitsdatatotherouters(thedestination addressof0xFFFFisthebroadcastaddress).Theroutersareunicastingtheirdatatothecoordinator (thedestinationaddressof0x00isthecoordinator).Youmightnoticethatifdataisrapidlyentered intotheterminalwindowofthecoordinator,therewillbealongdelaybeforeitreachesthe routers.ThisisbecausebroadcasttransmissionsinaZigBeenetworkrequirealargeamountof networkoverheadandarenotpracticalinmostsituations. Inthenextstep,wewillchangetheaddressingofthecoordinatortoUnicasttoaspecificrouter.

2012DigiInternational,Inc.

14

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

11.Inordertoaddresstoaspecificrouter,weneedtodeterminewhattheserialnumberofthe routeris: a.OpentheModemConfigurationtaboftherouterthatisconnectedtoyourPCandclickRead. b.MakeanoteoftheSH(SerialNumberHigh)andSL(SerialNumberLow).

Note:TheserialnumberisalsoprintedonthelabellocatedontheRFshieldoftheXBee module. 12.Wenowneedtoassignthisserialnumberasthedestinationaddressonthecoordinator: a.Onthecoordinator,opentheModemConfigurationtab,andclickontheDHDestination AddressHighparameterandentertheSHSerialNumberHighoftherouter. b.ClickontheDLDestinationAddressLowandentertheSLSerialNumberLowoftherouter. c.ThenclicktheWritebutton.

2012DigiInternational,Inc.

15

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Youcannowopentheterminaltabforbothmodulesasyoudidbeforetoverifythattheaddressingis assignedcorrectly. Thisrouterwillbeusedinthenextsectiontoperformarangetest.

2012DigiInternational,Inc.

16

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Perform a Range Test


1.Whilethecoordinatormoduleremainspluggedintothecomputer,applypowertotherouterwe addressedearlierusingapowersupplyinafixedlocation.Thismodulewillbedesignatedasyour remotemodule. Note:YouwillneedtohaveajumperatP8ontheloopbackheaderontheXBIB fortheremotemodule. EnsurethattheP8jumperisnotbridgingthetwopinstogetheronthebase module.ThiscouldcauseXCTUtostallifthejumperispopulatedandrequests aresenttothemodule.

(Un-Bridged)

(Bridged)

2.SelecttheRangeTesttab. 3.(Optional)ChecktheRSSIcheckboxtodisplaytheReceivedSignalStrengthIndicator.

2012DigiInternational,Inc.

17

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

4.ClickStarttobegintherangetest.

2012DigiInternational,Inc.

18

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

5.MonitorthelinkqualitybyreadingthePercentsectionontheRangeTesttab.Thissectiondisplays therunningpercentageofgoodpacketssenttothereceivingmoduleandloopedbacktothebase.

Asyourdistanceincreasesbeyondthemaximumrangeofthemodules,you willstartseeinggreaterpacketloss. 6.ClickStoptoendtherangetest.

2012DigiInternational,Inc.

19

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

TheAdvancedtabprovidesyouwithmoreoptions.Ifyouarerunningtherangetestwithseveralmesh modulesactingasintermediaries,increasetheDatareceivetimeoutvaluetocompensateforadditional latency.

YouhavejustcompletedGoal#3performingarangetest.

2012DigiInternational,Inc.

20

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Establish a Mesh Network


Youhavealreadyestablishedapointtomultipointnetwork.Nowitistimetoextendthisnetworkby creatingaselfhealingmeshnetwork. 1.Restarttherangetest. 2.Movetheremotemodulefurtherawayfromthebasemoduleuntilthesignalislost. 3.Assembleanothermoduleandinterfaceboard. 4.Connectwithapowersupplyandplacethisdevicehalfwaybetweenthebaseandremote modules. Theintermediatemodulebridgesthegapbetweentheremoteandthebaseandreestablishes communication.Thenetwork"selfhealed"byredirectingcommunicationsassoonasapathwaybecame available.

YouhavejustcompletedGoal#4establishingamesh network.

2012DigiInternational,Inc.

21

Part 4: Over-The-Air Configuration


Configure Remote Modules
YoucanconfiguretheXBeemodulesovertheairusingXCTU.Tousethisfeature,thecoordinatormust beconfiguredforAPImode.FormoreinformationaboutAPImode,pleasereferencetheProductManual fortheXBeeZBSMTRFModule. 1.Onthebasemodule,gototheModemConfigurationtabinXCTU. 2.ClickReadandtheparametertypeswillappearinthewindow.

3.SetAP=1onyourbasemodulebyclickingontheAPcommandintheSerialInterfacingfolderin theModemConfigurationwindow. 4.ClicktheWritebutton. 5.Next,clickRemoteConfigurationinthemiddletopoftheModemConfigurationtab.TheNetwork windowwillappear.

2012DigiInternational,Inc.

22

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

6.ClickOpenComPortandDiscover;alistofnetworknodeswillappearonthescreen.

Byselectingaparticularnodefromthelist,youcaninteractwithitasifitwereconnectedtothePC directly.NowyoucanRead,Write,andRestoreparametersonthemainXCTUwindow,andthose changeswilloccurovertheairontheremotemoduleselectedintheNetworkwindow.Closethe Networkwindowwhenyouhavefinishedwithremoteconfiguration.

YouhavejustcompletedGoal#5overtheairconfiguration.

2012DigiInternational,Inc.

23

Part 5: XBee ZB SMT Design Considerations


Software Design Considerations
Sofar,wehavebeentransmittingdatabetweenthemodulesinAT(transparent)mode.ATmodeonthe XBeeisbeneficialbecauseitisverysimpletosendandreceivedata.Inthisconfiguration,itactsas thoughyouhadconnectedthetwomoduleswithawire:whateverdatagoesintoonemodulecomesout oftheothertransparently. TheotheroperatingmodeisAPI.Thisisamuchmorepowerfulwayoftransmittingdataandremotely controllingthemodule.Ifyouperformedtheovertheairconfigurationearlierinthisguide,youhave alreadyperformedsomeoperationsusingAPI(RemoteATcommandsthroughXCTU. HereisanexampleofAPImodeinarealworldapplication: Auserhasinstalledthreesensorstomonitorhisfactoryequipment.Hewouldliketowirelesslygatherthe sensordatatoabasemoduleandbeabletoremotelycontrolarelaylocatedateachsensor.Ifhewereto useAT(transparent)mode,therewouldbenowaytodeterminewhichsensorsentwhatdata.Thedata fromthethreesensorswouldcomeoutofthebasemodulesUARTinajumbledmess. BysimplychangingthebasemoduletoAPImode,thedatathatissentbytheremotemoduleswillcome outoftheUARTinanAPIframe.Includedinthisframeisthesourceaddress,aswellasthesensordata, soitisveryeasytokeeptrackofeachsensor.Thisprocessworkssimilarlyforsendingdatabacktoa specificmodule.TheusercanalsosendaRemoteATcommandtotoggleapinononeofthesensor modules,allowinghimtoremotelycontroltherelay.

2012DigiInternational,Inc.

24

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

APImodeiscoveredindetailinSection9(APIOperation)ofthemanual.Wealsohaveausefultool availabletoaidinprototypingandtestingAPIframescalledDigiAPIFrameMaker.

Hardware Design Considerations


ItishighlyrecommendedtoreviewtheDesignNotessectionoftheXBeeZBSMTmanual.Thiswill provideyouwithboardlayoutconsiderations,powersupplydesign,andrecommendedpinconnections. TherearesomeadditionalrecommendationsforimplementingtheXBeeintoyourhardwaredesign. TheXBeeZBSMTmoduleisdesignedtobesolderedinplace.Thiscreatessomeuniquechallengesfor troubleshootingandreprogrammingtheXBee.Theprimarymeansofupdatingandconfiguringthe modulewillbeviaovertheairconfiguration,howevertherearesomefactorsthatwillcausethemodule tonotbeaccessibleinthisway(badfirmwareflash,unknownPANID,etc.)Reworkingthemoduleafterit hasbeeninstalledwillvoidthewarranty,soitisrecommendedtohaveaphysicalprogrammingheader installedonyourboard.ThisheaderwillallowyoutoaccessthenecessarypinsoftheXBeetoconfigure themoduleorperformarecoveryifneeded.NotethattwodevicescannotsharethesameUART connection,soifaprogrammingheaderisinstalledthereshouldbesomewaytoallowtheheader exclusiveaccesstotheXBee,eitherwithaphysicaljumperorsoftwaresolution.Therecommendedpin connectionsarelistedinthemanual. TheXBeeZBSMTmoduleis3.3vonly;itisnot5vtolerantonanypin.Applyingavoltagehigherthan3.3v willdamagethemoduleandvoidthewarranty. Youmayalsowanttoconsiderimplementingadualfootprintdesign.Thisfootprintgivesyouthe flexibilitytoimplementeitheranSMTorthroughholeXBee.Detailsonthisdualfootprintarein AppendixBofthemanual. ThereisaschematicavailableforourXBIBUinterfaceboard;thiscanbeusedasareferenceforhowto designaproperinterfacetotheXBee.

2012DigiInternational,Inc.

25

Part 6: Managing the Network


Digi Gateways
NowthatyouhaveanRFnetworkrunning,itisimportanttoknowhowtomanagethatnetwork.XCTU softwareandthevariousRFmodulefeaturesprovidegreattoolsforonsiteXBeeconfiguration,firmware upgrades,andnetworkdiagnostics.However,inmanycasesitisnecessarytobeabletoperformthese functionsfromaremotelocationviatheInternet.DigihassolvedthisproblembycreatingRFtoInternet gatewaystoallowremoteaccess,monitoringandcontrolofyourRFnetworkovertheInternet.

Inthediagramabove,aDigiConnectPortX2gatewayisusedtoconnectanRFnetwork(plusother peripherals)totheInternetviaeithertheEthernetportoracellularWANconnection.Notethatgateways areprogrammableandcanalsobeusedtorunlocalapplications,whichcanmonitor/controltheRF network,withorwithoutInternetconnectivity.

2012DigiInternational,Inc.

26

XBeeZBSMTRFModuleDevelopmentKitGettingStartedGuide

Seehttp://www.digi.com/products/wirelessroutersgateways/gateways/foranoverviewofDigi'ssuite ofgatewayproducts.AsimpleConnectPortX2ZigBeetoEthernetgatewaycostsaround$100andcan quicklyinternetenableyourZigBeenetwork.

To the Cloud! Make the most of your data.


Soyou'vecreatedanRFnetworkandconnectedittotheinternetwithaDigigateway.Nowwhat?The nextstepistodecidewhatyouwanttodowithallofthatvaluabledata.Askyourselfsomefundamental questions.Doesanapplicationneedtobedeveloped,oristhereanexistingapplicationthatwillbe utilized?Howshouldthedatabepresented?Whowillbeusingthisdata?Istheaudienceinternal, externalorboth?Whatevertheanswerstothesequestions,theiDigiDeviceCloudcanhelpyourealize yourvisionandmeetyourneedsfordatacapture. TheiDigiDeviceCloudisapubliccloudplatformasaservicethatallowsanyapplication,anywhere,to connectwithanything,anywhere.iDigitakescareoftheinfrastructure,scalabilityandsecurity,letting youfocusonwhatyoudobestdevelopingawesomeproductsandapplications.Getupandrunningwith iDigiforfreeandconnectyourdevicetoexplorewhatiDigicandoforyou.Simplygotowww.idigi.com andclickonGetStartedNowtosetupafreedemoaccount.

To the Cloud! Take control of your device network.


Picturethis.Youhaveanetworkofthousandsofdevicestomanage,manyofthemremote.Youneedto updatefirmware,editconfigurations,downloadsoftwareontothevariousdevicetypes,dealingwithIP addresses,firewalls,securityandserverreliability.Soundslikeamammothtask.TheiDigiManagerPro application,hostedontheiDigiDeviceCloud,meetsthischallengeheadon,allowingyoutoconnect, controlandmonitorthevastarrayofdevicesinyournetwork.Perfectforlargescaledeployments,you cangroupdevicesandscheduleoperations,makingdevicenetworkmanagementeasy.Takeatourof iDigiManagerProathttp://www.idigi.com/tour/andgetstartedforfree.

2012DigiInternational,Inc.

27

Appendix A: Troubleshooting
Resetting the XBee ZB SMT RF Module
EachXBeeUSBDevelopmentBoardhasaresetbutton(locatedasshownbelow):

Pressingthisbuttonpowercyclesthemodule,butwillnotclearanychangeswrittentothemodule.This isusefulifyouarehavingissuesaccessingtheCOMport.Thiswillalsoresetanyparametersthatwere changedbutnotwrittenintomemory.Ifyourmoduleissleeping,pressingtheresetbuttonwillwakeit temporarily. Note:TheremainingbuttonsareconnectedtovariousI/Olinesandarenot usedinthiskit.Seetheproductmanualformoredetailsrelatingtothis functionality.

Why are the Modules no longer communicating with one another?


NetworksettingsthatcancauselossofcommunicationincludeBaudRate(BD),Parity(NB),and EncryptionEnable(EE)amongothers.Checktoseeiftheseparametersaresetappropriately.Ifyouare unsureifyoursettingsareaffectingyourcommunication,youmightwanttotrysettingyourmodules backtotheirdefaultsettings.Todoso,gototheModemConfigurationtabinXCTUandclickRestore.

2012DigiInternational,Inc.

28

Appendix B: ZigBee Functionality


ZigBee Nodes
TheZigBeeProtocoldefinesthreetypesofnodes:Coordinators,Routers,andEndDevices,witha requirementofoneCoordinatorpernetwork.Whileallnodescansendandreceivedata,thereare differencesinthespecificrolestheyplay.

Coordinatorsarethemostcapableofthethreenodetypes.Thereisexactlyonecoordinatorineach networkanditisthedevicethatestablishesthenetworkoriginally.Itisabletostoreinformationabout thenetwork,includingsecuritykeys. Routersactasintermediatenodes,relayingdatafromotherdevices. EndDevicescanbelowpower/batterypowereddevices.Theyhavesufficientfunctionalitytotalkto theirparents(eitherthecoordinatororarouter)andcannotrelaydatafromotherdevices.Thisreduced functionalityallowsforthepotentialtoreducecost. ZigBeeofferstheseadvantages:

Openstandardwithinteroperabilitybetweenvendors Optionforlowercost,reducedfunctionendnodes

2012DigiInternational,Inc.

29

Potrebbero piacerti anche