background image

Exploring XBees and XCTU 

 

Introduction

Is your project being dragged down by wires? Looking for an easy transition 
to wireless communication? If you want reliable, low-cost, bi-directional 
communication at moderate speeds XBee may be the solution for you!

XBees are hugely popular wireless transceivers for a number of reasons. 
They’re 

flexible

– they send and receive data over a serial port, which 

means they’re compatible with both computers and microcontrollers (like 
Arduino). And they’re highly 

configurable

– you can have meshed 

networks with dozens of XBees, or just a pair swapping data. You can use 
them to remotely control your robot, or arrange them all over your house to 
monitor temperatures or lighting conditions in every room.

Covered In This Tutorial

The pair of XBees alone won’t get you very far. In most cases you’ll want a 
separate module to interface with the XBee. You can use an XBee Shield to 
connect an XBee to your Arduino. Or you can use an XBee Explorer to 
connect an XBee to your computer.

The focus of this tutorial is to explain how to use an 

XBee Explorer

with an 

XBee. There are a variety of Explorer boards, all designed to achieve the 
same purpose: to create a communication gateway between your computer 
and the XBee.

Page 1 of 16

Содержание Explorer Dongle

Страница 1: ...networks with dozens of XBees or just a pair swapping data You can use them to remotely control your robot or arrange them all over your house to monitor temperatures or lighting conditions in every r...

Страница 2: ...omputer with X CTU installed The latest version of X CTU is available for both Mac and Windows Suggested Reading This tutorial builds on some lower level electronics concepts If you re not familiar wi...

Страница 3: ...rd compatible headers So if you want to make use of the XBee s extended functionality you can solder some header pins into those or even just solder some wire XBee Explorer USB Dongle The XBee Explore...

Страница 4: ...ed to your computer it probably won t be your last there is some driver installation to get out of the way We ve written a tutorial detailing How to Install FTDI Drivers tutorial So go ahead and plug...

Страница 5: ...e headers don t fit your purpose you can alternatively solder in female headers to plug jumper wires into or even just bare wire Just make sure you don t solder anything into the top side of the board...

Страница 6: ...window also allows you to specify more specific serial characteristics like baud rate data bits and stop bits Assuming this is the first time you ve used your XBee you can leave those settings alone S...

Страница 7: ...et up You can certainly perform this test with both XBees connected to the same computer as well just make sure you select the correct port number when you re adding the second XBee If you add a secon...

Страница 8: ...ted to If you have two XBees connected to your computer you can switch between each radio s console by selecting the device on the left First open a serial connection on each device by clicking the co...

Страница 9: ...Bee communicates over Most XBee s operate on the 2 4GHz 802 15 4 band and the channel further calibrates the operating frequency within that band You can usually leave the channel setting alone or at...

Страница 10: ...lue like 894B Type your 16 bit network ID into the white text box next to PAN ID MY Address MY Your next job is to create addresses for each XBee in your network These values should be unique to each...

Страница 11: ...rom one XBee to the other via the console As long as the addresses and PAN ID s match up you should have the same success as last time While it may seem like a lot of work to get right back to where y...

Страница 12: ...e is hiding it s because the baud rate has been altered A quick fix for this is to select all possible baud rates in the discovery window then click Finish The discovery process works a lot like the a...

Страница 13: ...reset your XBee If your Explorer has a reset button simply press it when prompted otherwise see the Reset section below During recovery if XCTU can find your XBee it will It ll also update the firmwa...

Страница 14: ...er settings should all be compatible Try communicating over the console again Resetting Old Pre Reset Button Explorers When it s having trouble communicating with an XBee XCTU may present you with a n...

Страница 15: ...vantage of the XBee s unique abilities check out this guide XBee Wireless Class Materials Check out our teaching materials for the XBee class we lead every once in a while Going Further With XBee and...

Страница 16: ...ot is our popular Arduino based robot platform Once you get it rolling you can take it a step further by controlling it with an XBee Page 16 of 16 6 24 2015 https learn sparkfun com tutorials explorin...

Отзывы: