XBee S1 Скачать руководство пользователя страница 3

Serial Terminal Basics

This tutorial will show you how to communicate with your serial devices using a variety of terminal emulator applications.

Favorited Favorite 

33

Hexadecimal

How to interpret hex numbers, and how to convert them to/from decimal and binary.

Favorited Favorite 

25

Selecting an Explorer

Compatibility with XBee 3's

 Overall, SparkFun boards designed with the XBee footprint are hardware compatible with XBee Series 3

modules. They modules are drop-in replacements for Series 1 and Series 2 with a few exceptions. Below are two of those exceptions
taken out of the migration guide and hardware reference manual.

VREF

 - VREF (pin 14) on the XBee Series 1 is not supported by the XBee 3 hardware. As indicated in the hardware reference

manual, you should not connect to this pin on boards labeled with VREF.

Brownout

 - If your XBee 3 experiences any voltage brownouts or supply dips when powering up, your XBee may not start up as

expected. The hardware reference manual indicates that:

Parts with an early revision of the microcontroller unit (MCU) may experience an issue recovering from brownouts under
rare conditions.

To remedy the issue, you must power cycle the XBee Series 3 module. One method is to remove the XBee while the board is
powered. Then reinsert the module back carefully into the sockets. Otherwise, you can perform a hardware reset by toggling the
XBee 3's reset pin. To automate this, during startup, you can solder a wire between the reset pin and the 3.3V I/O pin of a
microcontroller Toggling the reset pin with a minimum of 50ns-100ns will reset the XBee Series 3. As an example, check out this

Arduino example code for the XBee Series 3 on the wireless joystick

.

 

For more detailed information regarding the differences, check out the XBee 3 Documentation.

Migration Guide
Hardware Reference Manual

Special Considerations for XBee XSC Modules!

 For those using an XBee XSC series, the pinout is slightly different in the XBee family.

Pin 6 on the XBee XSC series uses it as a configuration pin (

as stated on page 96 of the datasheet

), instead of having an RSSI pin on pin

6 like most XBees. For standard serial UART pass-through uses, this module can be mounted to one of our XBee Explorer boards with a
small adjustment. For the explorer's, locate the RSSI jumper on the back, and 

cut the trace between the pads

 with a hobby knife. For the

XBee shield, simply disconnect the resistor or LED next to the RSSI pin using a soldering iron.

The first step to communicating with your XBee is picking an interface board that allows you to. XBee Explorers act as a gateway between
your computer and your XBee. There are a few to pick from, each offering their own, key differences. Here's a quick overview of each:

XBee Explorer USB

The 

XBee Explorer USB

 is the most popular of the Explorers. It's equipped with a mini-B USB connector, so you'll need the 

proper USB

cable

 to connect it to your computer.

Page 3 of 24

Содержание S1

Страница 1: ...ble 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 reflexible they send and recei...

Страница 2: ...ur computer and an XBee They re used to configure your XBee and pass data to and from your computer Depending on which explorer you have you may also need a matchingmini B USB or serial cables At leas...

Страница 3: ...toggling the XBee 3 s reset pin To automate this during startup you can solder a wire between the reset pin and the 3 3V I O pin of a microcontroller Toggling the reset pin with a minimum of 50ns 100n...

Страница 4: ...ou ever need to debug your XBee RX TX RSSI signal strength indicator and a power indicator This board also breaks out each of the XBee s I O pins to a pair of breadboard compatible headers So if you w...

Страница 5: ...r USB Dongle The XBee Explorer Dongle is an extension of the Explorer In fact the only real difference between this and its predecessor is the USB connector The Dongle can be connected directly to you...

Страница 6: ...hren but still shares most of the same features There are RX and TX LEDs reset button break out pins and a voltage regulator One additional feature that the Serial Explorer has is an On Off switch on...

Страница 7: ...ugh current for the XBee you are using Wall Adapter Power Supply 9VDC 650mA TOL 00298 12 Retired Favorited Favorite 23 Wish List Wall Adapter Power Supply 12VDC 600mA TOL 09442 13 Retired Favorited Fa...

Страница 8: ...e next pages How to Install FTDI Drivers June 4 2013 How to install drivers for the FTDI Basic on Windows Mac OS X and Linux Favorited Favorite 8 Basic Assembly Plug In an XBee Time to assemble the XB...

Страница 9: ...O line passing can be found in the XBee s user manual Starting With X CTU X CTU is free software provided by Digi the manufacturer of XBee which we use toconfigure and manage XBees and test XBee netw...

Страница 10: ...dows users should look for the entry that says USB Serial Port and Mac users should look for something like usbserial XXXXXXXX if you re using a USB XBee board If you re using a Serial Explorer instea...

Страница 11: ...shows an XBee Series 1 connected to the XCTU As you can see by scrolling down the right half there area lot of configuration settings available We ll get to some of those later For now though verify t...

Страница 12: ...Series 2 firmware For the scope of this tutorial we will be using the Digi XBee3 802 15 4 TH function set You will then select the firmware version In this case it is2002 When ready click the Update b...

Страница 13: ...gain To test communication between your XBee s you ll need to connect your second XBee to a computer as well That means doing the Add device dance one more time if you have not already If you have ano...

Страница 14: ...ft The configuration values shown are for the highlighted XBee If you re ever unsure which XBee is which try to match up theMAC numbers These numbers are printed on a sticker on the bottom side of you...

Страница 15: ...t s connected 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 click...

Страница 16: ...e Passing For simplicity we will be using a pair of XBee Series 1 or XBee Series 3 configured with the 802 15 4 protocol set in transparent mode to replace a wired serial UART connection Transparent M...

Страница 17: ...Bee 2 can send data to XBee 1 But if XBee 2 has a MY address of 0x5201 and XBee 1 has a destination address of 0x5200 then XBee 1 cannot send data to XBee 2 In this case only one way communication is...

Страница 18: ...to 0 and DL to the destination s MY address is usually easier Here s an example for setting up the ID DH DL and MY values for a pair of XBees Setting Acronym XBee Node1 XBee Node 2 Channel CH C C PAN...

Страница 19: ...e Add Device process is being followed by a window like this There are two options we recommend discovery or recovery Discovery The Discover radio devices tool is an extension of Add devices Open the...

Страница 20: ...er discovery process Click every checkbox and you might be waiting upwards of an hour for your XBee to be discovered permutations If you re not having any luck with discovery the next step is recovery...

Страница 21: ...each other try resetting them both to the default values In the config tab click the Load default firmware settings icon not sure how to describe that icon Thenclick Yes to confirm that you want to re...

Страница 22: ...Short them together for about a second and then remove the wire If you ve done it within the time window provided by XCTU it should proceed to the next step If not give it another try it takes some p...

Страница 23: ...no Favorited Favorite 10 What are you going to make Need some inspiration Check out these related tutorials XBee WiFi Hookup Guide Take the next step with XBees using the XBee WiFi These modules allow...

Страница 24: ...ee RPi November 9 2017 Favorited Favorite 0 Enginursday Prototype Capacitive Touch Dance Floor with a Teensy and XBees August 30 2018 Favorited Favorite 2 learn sparkfun com CC BY SA 3 0 SparkFun Elec...

Отзывы: