waltr:
I’ll guess that the XBee interface you are using is the Serial port. There is nothing with this that should limit range.
Exactly which XBee modules are you using? The Firmware version is very good for module ID so post this.
Which antenna is on the XBee’s?
Is the antennas in the clear and not near any of the other circuits?
Is there any other RF device (WiFi, Bluetooth, etc) near either XBee? Does the R-Pi have a WiFi module?
Keep any of these RF devices at least a foot away from the XBee.
The XBee’s do have an RSSI register (received signal strength) that can be read. Write some code to read this register from each XBee. This can help determine which is not working but maybe not since it could be on the transmitter or receiver side.
There could also be an RF output power register in your XBees. Read the value to ensure this setting hasn’t been changed to a lower power.
Re-setup your first configuration and test to see if they still work as they first did. If they do still have good range then its the new setup that has an issue. If the range is greatly decreased running with the first setup then one or both of the XBees have a problem.
Lastly: The XBees are 3.3V devices and a Voltage greater than 3.6V on any pin can damage them. Did you ensure that you Slice of Pi (the R-Pi is 3.3V logic so is ok directly to the XBee) and the Arduino Pro are 3.3V logic level signals to the XBee? Is the Arduino Pro 5V or 3.3V?
The modules are the the XB24-Z7WIT-004, 2.4GHz, 2mW whip antenna. Both are running the latest firmware as of about 24 hours ago, I don’t have the firmware numbers off the top of my head because I’m not at home, but the model number should be sufficient to identify them.
The antennas are upright and clear of any other wiring or circuitry.
The R-Pi DOES have a Wi-Fi dongle attached, which with the initial setup would have been over a foot away, but is now only the distance of the length of the R-Pi away. I hadn’t considered this, but I can easily unplug it when I get home and test the transmission since I can see RSSI via an L.E.D on my adapter boards.
There IS an output power option on my modules, I’m not sure what it’s set to, currently (again, I’m not at home) but I can say that I have factory reset BOTH devices since it originally worked, so it’s possible this was lowered from what it was set to originally (I didn’t check what the setting was before, just that it existed).
As for the 3V3, I’m an Electronic Engineer, so I’ve got this one covered. The XBee on the Arduino board is running from a regulated source which I’ve measured at a steady 3.25V alongside a 3V3 Arduino Pro Mini. The Raspberry-Pi’s GPIO is 3V3 logic-level, the boards (slice of pi) power comes from the 3V3 pin on the Pi.
So, from your response, my first port of call will be to unplug the Wi-Fi transceiver from the RPi and see how this affects RX/TX, second, failing that, I’ll revert to the original setup on the R-Pi end (i.e. the XBee is on a breadboard at the end of a ribbon cable, about a foot from the RPi), then I’ll restore the Pi to the Slice of Pi and test the original setup arduino end, which was XBee only, via serial interface to my Android phone, and finally, to the complete original setup.
Before all that, I’ll check that the output power of both device is set to the max value supported (2mW).
Thanks, and I’ll get back to you soon as I have had a look.