Digi XBee Getting Started Manual

Category
Networking
Type
Getting Started Manual

Digi XBee

Digi XBee is a wireless module that provides long range, low-power communication for embedded devices. It is designed to be easy to use and integrate, and it supports a variety of network topologies, including point-to-point, point-to-multipoint, and mesh networks.

Digi XBee modules are available in a variety of form factors and with a variety of features, so you can choose the module that best meets your needs. All Digi XBee modules support the Digi XBee API, which provides a common interface for programming and configuring Digi XBee modules.

Digi XBee modules are used in a wide variety of applications, including:

Digi XBee

Digi XBee is a wireless module that provides long range, low-power communication for embedded devices. It is designed to be easy to use and integrate, and it supports a variety of network topologies, including point-to-point, point-to-multipoint, and mesh networks.

Digi XBee modules are available in a variety of form factors and with a variety of features, so you can choose the module that best meets your needs. All Digi XBee modules support the Digi XBee API, which provides a common interface for programming and configuring Digi XBee modules.

Digi XBee modules are used in a wide variety of applications, including:

XBee Wi-Fi Development Kit
Getting Started Guide
90002133_A
6/17/2011
©2011DigiInternational,Inc. 2
©2011DigiInternationalInc.
Allrightsreserved.
Digi,DigiInternational,theDigilogo,theDigiwebsite,aDigiInternationalCompany,XBee,andDigiXBeeare
trademarksorregisteredtrademarksofDigiInternational,Inc.intheUnitedStatesandothercountries
worldwide.Allothertrademarksarethepropertyoftheirrespectiveowners.
Allothertr ademarksmentionedinthisdocumentarethepropertyoftheirrespectiveowners.
Informationinthisdocumentissubjecttochangewithoutnoticeanddoesnotrepresentacommitmentonthe
partofDigiInternational.
Digiprovidesthisdocument“asis,withoutwarrantyofanykind,eitherexpressedorimplied,including,butnot
limitedto,theimpliedwarrantiesoffitnessormerchantabilityforaparticularpurpose.Digimaymake
improvementsand/orchange sinthismanualorintheproduct(s)and/ortheprogram(s)describedinthismanual
atanytime.
Thisdocumentcouldincludetechnicalinaccuraciesortypographicalerrors.Changesareperiodicallymadetothe
informationherein;thesechangesmaybeincorporatedinneweditionsofthepublication.
©2011DigiInternational,Inc.. 3
Table of Contents
Using this Guide............................................................................................................ 4
Conventions used in this Guide.............................................................................. 4
Contact Information................................................................................................. 4
Introduction.................................................................................................................... 5
Goals of the Kit ....................................................................................................... 5
Requirements of the Kit.......................................................................................... 5
System Requirements ..........................................................................................5
Additional Requirements ......................................................................................5
Part 1: Set up your XBee Wi-Fi Development Kit................................................. 6
Identify Kit Components.......................................................................................... 6
Assemble your XBee Wi-Fi Development Kit......................................................... 7
Part 2: Download and Install X-CTU Software....................................................... 8
Installing USB Drivers............................................................................................. 8
Installing X-CTU Software ...................................................................................... 8
Part 3: Establish an 802.11 bgn Network Connection......................................... 9
Starting the X-CTU Software.................................................................................. 9
Running the X-CTU Software............................................................................... 10
Part 4: Put the XBee Module into Deep Sleep Mode ......................................... 18
Further Information ............................................................................................... 22
Appendix A: Troubleshooting .................................................................................23
Resetting the XBee Wi-Fi Module........................................................................ 23
Appendix B: Possible Access Point/Router Connection Issues...................25
©2011DigiInternational,Inc.. 4
Using this Guide
Conventions used in this Guide
Contact Information
FormoreinformationaboutyourDigiproducts,orforcustomerserviceandtechnicalsupport,contact
DigiInternational.
Thisiconindicatesastepthathasthepotentialtobetroublesome.
Furtherinformationregardingitemsmarkedwiththissymbolcanbe
foundin
AppendixA”orAppendixB”.
Thisiconindicatesahint,orconceptthatislearned.
Thisiconindicatesthatagoalofthekithasbeencompleted.
Thisiconindicatesawarningofthepotentialforconfusionordanger.
ToContactDigiInternationalby: Use
Mail
DigiInternational
WorldHeadquarters
11001BrenRoadEast
Minnetonka,MN55343
Phone
8:00AM‐5:00PM(U.S.MountainTime)
18667659885tollfreeUSAandCanada
18017659885Worldwide
OnlineSupport
http://www.digi.com/support/eservice/
login.jsp
Email rfe[email protected]
©2011DigiInternational,Inc.. 5
Introduction
ThankyouforpurchasinganXBeeWiFiDevelopmentKit.Thiskitisdesignedtomakeiteasytosetupan
XBeeWiFinetwork,senddatafromoneXBeetotheother,andadjusttheXBeesettings.Beforeyoustart
workingwiththekit,let'scoversomebasics.
Goals of the Kit
Asyougothroughthestepsinthiskit,youwill:
Requirements of the Kit
System Requirements
Toinstallthesoftwarementionedinthisguide,youwillneedaPCrunningMicrosoftWindows
2000,XP,VistaorWindows7.
Additional Requirements
Thisguideassumestheuseofan802.11bgnaccesspointorwirelessrouter(notprovided)with
WPA,orWPA2withPSKandDHCPenabled.TheXBeeWiFidoesnotsupportWEPorenterprise
encryption.
Further,thisguideassumesbothmodulesar econnectedtothesameaccesspointorrouter.
WhileitispossibletoconnecttheXBeeWiFitodifferentaccesspointsorrouters,itisbeyond
thescopeofthisguide.Forinformationoncommunicationacrossaccess pointsseetheUser's
Manual.
1.SetupyourXBeeWiFiDevelopmentKit.
2.DownloadandinstallXCTUconfigurationsoftware.
3.UseXCTUtoestablishan802.11bgnnetworkconnectionbetween
theXBeeWiFimodulesusinganaccesspointorwirelessrouter.
4.PuttheXBeeWiFimoduleintodeepsleepmode.
©2011DigiInternational,Inc.. 6
Part 1:
Set up your XBee Wi-Fi Development Kit
Identify Kit Components
Carefullyunpackandverifythecontentsofyourkit.Yourkitshouldincludethefollowing:
2 - XBee Interface Boards
XBee Wi-Fi PCB
Antenna Module
U.FL Antenna
XBee Wi-Fi
U.FL Module
2 - USB Cables
©2011DigiInternational,Inc.. 7
XBee WiFi Development Kit Getting Started Guide
Assemble your XBee Wi-Fi Development Kit
AssemblethekitbyplacingoneXBeeWiFimoduleoneachoftheXBeeUSBDevelopmentBoardsas
showninthediagrambelow.ConnecttheU.FLantennatotheU.FLXBeeasshown.ConnecttheUSB
cabletotheXBeeUSBDevelopmentBoard;itwillbeattachedtothecomputer
inalaterstep.
Notes:
1.TheantennaisonlyinstalledonU.FLmodules.ThePCBantennamodulecomesequipped
withanantennaalreadyonthemodule.
2.ModulesareinstalledbyaligningpinsandpressingintotheXBeeUSBDevelopmentBoard
socket.
3.ModulescanberemovedfromtheXBeeUSBDevelopmentBoardsocketbycarefully
applyingupwardpressuretothemodule.
4.Thepowersupplyjackisonthelowerleftcorneroftheboard.Itisnotrequiredforthis
module.ThisguideassumestheboardispoweredbyaUSBcableconnectedtothe
computer.
YouhavejustcompletedGoal#1‐settingupyourXBee
WiFiDevelopmentKit.
or
©2011DigiInternational,Inc.. 8
Part 2: Download and Install X-CTU Software
ForproperkitconfigurationandoperationXCTUsoftware(version5.15orlater)mustbedownloaded
andinstalled.AcopyofXCTUsoftwareandUSBdrivers willneedtobeoneachcomputerusedin
conjunctionwiththisguide.
Installing USB Drivers
TheXBeeUSBinterfaceboardisa"plugandplay"devicethatshouldbedetectedbythePC
automatically.IfyouareusingWindows7orVista,theUSBdriversshouldautomaticallyinstallanda
notificationwillappearinthelowerrightportionofyourscreenindicatingsuccessorfailure.If
theUSB
driversfailtoinstall,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.TheUSBinterfaceboardmaynowbeconnectedtothecomputer.
Installing X-CTU Software
1.DownloadXCTUatwww.digi.com/xctu.
2.Browsetothefoldertowhichyousavedtheaboveinstallfile.
3.DoubleclickontheinstallerfileandfollowtheXCTUSetupWizard.
4.WhenaskedifyouwouldliketocheckDigi'sweb siteforfirmwareupdates,clickYes.
5.Afterthefirmwareupdatesarecomplete,clickClose.Updatesmaytak eafewminutes,pleasebe
patient.
6.StartXCTUbydoubleclickingontheXCTUicononyourdesktop,orbyselectingStart>Programs
>Digi>XCTU.
TheXCTUsoftwareisnowreadytobeused.
YouhavejustcompletedGoal#2‐downloadingandinstalling
theXCTUconfigurationsoftware.
©2011DigiInternational,Inc.. 9
Part 3: Establish an 802.11 bgn Network
Connection
Twotypesofnetworkconnectionareavailable.Thefirstisadhocwhereatwomodulenetworkis
establishedwithouttheaidofanaccesspointorrouter.Thismodeisnotdiscussedinthisguide.Further
informationonadhocnetworksisavailableintheUser'sManual.Thesecondtype
ofnetworkiscreated
usinganaccesspointorrouter.Thebasicsofthistypeofconnectionwillbecoveredinthissection.
Starting the X-CTU Software
1.ConnecttheXBeeUSBDevelopmentBoardUSBcabletothecomputer.
2.GotothefilewhereyousavedtheXCTUsoftware.
3.DoubleclickonXCTU.exetostarttheprogram.
©2011DigiInternational,Inc.. 10
XBee WiFi Development Kit Getting Started Guide
Running the X-CTU Software
1.UnderthePCSettingstab,selectthePCserialCOMportthatwillbeused(USBSerialPort(COM4)
inthiscase.TheUSBportswillbelabeledas“USBSerialPortandareassignedanumberbasedon
yourPC'ssettings.
2.SetthefollowingvaluesintheComPortSetupsectionofXCTU:
BaudRate: 9600
FlowControl: None
DataBits: 8
Parity: None
StopBits: 1
Note:TheXCTUbaudratemustmatchthemodule'sBDparameterforproper
communication.Themoduledefaultis9600baud.
©2011DigiInternational,Inc.. 11
XBee WiFi Development Kit Getting Started Guide
3.SelecttheXCTU ModemConfigurationtab,andthenclickRead.
ThiswillcauseXCTUtodisplaytheavailablesettingsforthemodule.
4.Tofindtheavailableaccesspointsandrouterswithinthemodule’srange,scrolltothetopofthe
settingslistandclickonActiveScan.ThenclickontheScanbuttonthatwillappear.
©2011DigiInternational,Inc.. 12
XBee WiFi Development Kit Getting Started Guide
5.ThiswillcausetheXBeetoscanforavailableaccesspointsandroutersintheareaandbringupthe
Scanwindow,shownbelow:

TheSecuritysectionshowsthetypeofsecurityusedbyeachnetworklisted.Receiver
SignalStrengthIndicator(RSSI(dBm))isameasureofthepowerlevelreceivedatthe
module.Thehigherthenumber,themorepowerisreceivedfromthatnetwork.
ClickingtheCancelbuttonwillclosethewindow.ClickingtheScanbuttonwithintheScan
windowwillcausetheXBeetorescanforallavailableaccesspointsandrouters.The
SecurityKeysectionisforenteringthesecuritykeyoftheaccesspointorrouterselected,
ifrequired.
©2011DigiInternational,Inc.. 13
XBee WiFi Development Kit Getting Started Guide
6.LocatethenetworkyouwouldlikeyourXBeeWiFimoduletojoinandclickontheSSIDwithinthe
scanwindow.YouwillnoticethattheSecurityKeysectionisgrayedoutifthenetwork’ssecurityis
"open".Ifthenetworkisusingasecuritykey ,enterthatkey
itintotheSecurityKeytextbox.Little
boxcharactersmayappearnexttoeachSSID.Pleasedisregardthesecharacters.
7.Onceyouhaveselectedanetwork,clickontheSelectAPbutton.ThisconnectstheXBeeWiFito
thenetwork.TheInfowindow(shownbelow)willbedisplayed;thiswindowtellsyouhowlongit
tooktoconnecttoyourspecifiednetwork.
Warning:TheXBeeWiFimodulewillnotconnecttoaccesspointsorroutersthatuse
WEPorEnterprisesecurity.TheaccesspointorrouterneedstobeconfiguredforDHCP
forthepurposesofthisguide.
Note:IfyourXBeeWiFimoduledoesnotjointheaccesspoint,pleasereferto
"AppendixB:PossibleAccessPoint/RouterConnectionIssues".
©2011DigiInternational,Inc.. 14
XBee WiFi Development Kit Getting Started Guide
8.ClicktheOKbutton.Thiswillcloseboththeinfoandscanwindows.
9.ConnecttheotherXBeeInterfaceBoardUSBcabletothecomputerandrepeatsteps1through8
forthesecondmodule.YoucaneitheropenmultipleXCTUwindowsonthesamecomputeroruse
asepar a tecomputerforeachmodule.
10.WithintheAddressingfolderyouwillfindtheModuleIPAddressline.ThisistheIPaddress
assignedbytheaccesspointorrouter.
Note:TheIPaddresswillbedynamicallyassignedbytheaccesspointorrouter.
Thiscantakeafewsecondstocomplete.
Warning:Forthepurposesofthisguide,itisrequiredthatbothmodulesjointhesame
accesspoint.
©2011DigiInternational,Inc.. 15
XBee WiFi Development Kit Getting Started Guide
11.AlsowithintheAddressingfolderyouwillfindtheDestinationIPAddress.Clickonthisaddressto
displayaSetbutton.
12.ClickontheSetbuttontodisplaytheSetStringwindow.
Note:IftheModuleIPAddresslistedis0.0.0.0,clicktheReadbuttonandtheIP address
willbedisplayed.ItmaytakeafewsecondsfortheaccesspointorroutertoassignanIP
addresstotheXBeeWiFimodule.
©2011DigiInternational,Inc.. 16
XBee WiFi Development Kit Getting Started Guide
13.EntertheModuleIPAddressfrommodule2intomodule1'sDestinationIPAddress,andthe
ModuleIPAddressformodule1intomodule2'sDestinationIPAddress.
14.ClicktheWritebutton(nexttotheReadbutton).Thiswillsav ethesettingstothemodule.
Note:TorestorethefactoryoriginalsettingsclicktheRestorebutton(nexttotheWrite
button).Thiswillplacethemoduleintheoriginalsettingsandallowyoutoconnecttoa
newnetwork.
©2011DigiInternational,Inc.. 17
XBee WiFi Development Kit Getting Started Guide
15.SelecttheTerminaltabforeachmodule,clickanywherewithinthewhitewindow,andtypeany
charactersthatyouwouldliketheXBeeWiFimoduletotransmit.
Note:Typedcharactersinthewindowofonemodulewillbetransmittedtotheother
moduleanddisplayedinthatmodulesXCTUscreen.Characterstransmittedaredisplayed
inbluetextandcharactersreceivedaredisplayedinredText.
YouhavejustcompletedGoal#3‐usingXCTUtoestablishan
802.11bgnnetworkconnectionbetweentheXBeemodules,
usingaccesspointsorawirelessrouter.
©2011DigiInternational,Inc.. 18
Part 4:
Put the XBee Module into Deep Sleep Mode
Twotypesofsleepareavailableonthemodule;thefirstisassociatedsleep.Inassociatedsleepmodethe
modulewillremembertheconnectiontothelastaccesspointorrouteritwasconnectedto.Formore
informationonassociatedsleepseetheUser'sManual.
Thesecondtypeofsleepisdeepsleep;deepsleepmodewillcompletelypowerdowntheWiFiportion
ofthemodule.DeepsleepisthelowestcurrentmodefortheXBeeWiFimodule.
ToenterdeepsleepandwakeuptheXBeeWiFimoduleperformthefollowingsteps:
1.MakesuretheXCTUTerminaltabisselected.
©2011DigiInternational,Inc.. 19
XBee WiFi Development Kit Getting Started Guide
2.EnterATcommandmodebytyping+++inthetextwindow.ThemodulewillrespondwitharedOK
asshownbelow:
©2011DigiInternational,Inc.. 20
XBee WiFi Development Kit Getting Started Guide
3.Typeatsm1andpresstheEnterkeytoenablethedeepsleepmode.
Note:ATSM1isanATcommandspecifyingsleepmode1.Additionalinformationon
sleepmodeisavailableintheProductManual.
Warning:Thiscommandneedstobeenteredwithina fewsecondsortheXBeeWiFiwill
automaticallyexitcommandmodeandyouwillneedtogobacktoStep2.Thedefault
commandmodetimeoutis10seconds.
Note:Youcanexitthecommandmodebytypingatcnandpressing theEnterkey .
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25

Digi XBee Getting Started Manual

Category
Networking
Type
Getting Started Manual

Digi XBee

Digi XBee is a wireless module that provides long range, low-power communication for embedded devices. It is designed to be easy to use and integrate, and it supports a variety of network topologies, including point-to-point, point-to-multipoint, and mesh networks.

Digi XBee modules are available in a variety of form factors and with a variety of features, so you can choose the module that best meets your needs. All Digi XBee modules support the Digi XBee API, which provides a common interface for programming and configuring Digi XBee modules.

Digi XBee modules are used in a wide variety of applications, including:

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI