Hi all,
I'm not sure if this topic is appropriate for the arduino forum, please let me know if it isn't. I have an issue with configuring the xbees using the sparkfun explorer USB.
I have two xbee pro 900 XSCs. One is connected to the sparkfun xbee shield, and one is connected to the usb explorer. Both have the sparkfun rpsma duck antenna 900/1800MHz Dual Frequency Duck Antenna - RP-SMA - WRL-09143 - SparkFun Electronics. I uploaded a simple sketch to echo a signal from one xbee to the other, and to serially print the information to a com port. It works! (kind of) The network is echoing a signal I send, however it comes back as gibberish, which suggests an issue with their configuration. The com ports are set to 9600 baud, the serial port is set to 9600 baud.
I have attempted to configure the xbees following the jeremy blum tutorial Tutorial 9 for Arduino: Wireless Communication – JeremyBlum.com, my problem is that everything I type in after "+++" shows up as an error.
B/C this isn't a coding problem I am unsure of how to fix this issue. Does anyone have any recommendations on how to go about investigating this problem?
Without repeating all the s.o.s., I'll just say, if you're using an Arduino board with 328 chip,
you cannot connect both the XBee to pins 0,1 and do USB debugging at the same time,
because the signals will conflict.
I haven't configured the XSC modules, only the Series 1 [2.4Ghz] ones. The Series 1 come
from the factory [or at least they used to] set to talk to one another at 9600 bps without
any configuring.
If you're just getting garbage after "+++", they your hardware interface is not correct.
What is "usb explorer". What XBee module/shield do you have connected, and to which
computer [PC or Arduino], when you are trying to do the config?
Which Arduino board are you using?
I have my own board, and am not using XBee shields. One trick you can do, if the h.w.
is appropriate, is to hold the Arduino chip in reset [jumper pins 5,6 on the ICSP hdr], and
then "cross-connect" the XBee to the TX,RX header pins, so the USB port is talking straight
to the XBee, and bypassing the Arduino chip. Then, you can use "+++" from your PC to
configure the XBee.
I've not used the USB explorer, however it should be a snap to use. Did you
"You will need to manually enable the pull-up on the 900MHz series" ?
Did you install the FTDI drivers?
Then you should get the X-CTU program from digi.com, and use that to configure the XBees. It has some good error detection built in, and will often tell you exactly what the problem is.
I tried connecting the pullup to the 3.3V connection and Din, it didnt seem to work. I connected it to the 5V connection and Din, and my com port wouldn't recognize the device.
Given the various things you've said, receiving "gibberish" sounds like incorrect baudrate
setting, the other thing sounds like FTDI drivers may not be installed.
I've installed x-ctu. It works fine, thanks PaulS. I have configured the xbees, and they seem to be working fine individually, but they still are not communicating properly. I have a pullup resistor connected between Din and 3.3V on the USB explorer. on the arduino shield, the switch is set to uart, and I've uploaded this sketch. The shield was not plugged in when the sketch was uploaded.
The shields power led and DI05 LED stay lit when powered. When I send an "echo", the recieve and xmit LEDS on the shield flash. On the USB explorer, the xmit lights, but the receive LED never lights. If these are both configured properly, would this suggest that something is going in the shield such that it is transmitting a different signal than the signal it receives?