Go Down

Topic: Setting XBee Profile using XCTU and NO XBee Shield (Read 2677 times) previous topic - next topic

robcole

Does anyone know of the circuit requirement that will allow me to connect an XBee modem directly to an Arduino UNO and set the XBee parameters using Digi's XCTU program.
I do not have a XBee Shield.
Is there a Sketch that will allow the UNO to mimic the Digi Development Boards?
Any help is much appreciated.

PaulS

Connect TX to RX. Connect RX to TX. Connect 3.3V to VIn. Connect the grounds. Remove the ATMega chip from the Arduino.

Even better, though, is to get one of these: http://www.sparkfun.com/products/8687
Life will be much easier if you can properly connect the XBee to the PC for programming.

dhunt

The XBee is a 3.3V device, so make sure you do some level shifting on the RX pin ( the arduino will send 5V unless you have a 3.3V arduino).

A low cost shield like this one http://www.seeedstudio.com/depot/xbee®-shield-p-419.html?cPath=132_134 will do the level shifting for you.

oric_dan


Everyone is correct. XBees are 3.3V devices, so you cannot connect directly to 5V Arduino boards.
You can use a voltage-divider to the XBee Din line [eg, 2.4K series, 4.7K to gnd]. The Dout line from the
XBee will probably drive the RX in to a 5V Arduino. Vdd *MUST* be 3.3V to the XBee.

If you've seen the following book, do NOT follow his schematics, as he everywheres connects 5V Arduino
lines directly to the XBee.

http://www.amazon.com/Building-Wireless-Sensor-Networks-ebook/dp/B004GTLFHI

Also, as mentioned, you can talk to an XBee using the Arduino board USB port, if you cross-connect
the Arduino header Rx/Tx pins to the XBee, and you remove or simply hold the Arduino in reset by
jumperng the Reset and ground lines in the ICSP header [pins 5,6].

You cannot re-flash the XBee chip but you can change the parameters such as baudrate by
using the +++ command as described in the XBee datasheet. You can use any terminal emulator,
and don't specifically need XCTU unless reflashing.

You don't actually have to change MY, DH, or DH on either XBee module, as 2 Xbees will communicate
fine with the same values [default "0"] in those registers.




Go Up