Good morning all, I have recently bought two xbee series 1 modules as a way to learn the module, since I haven’t used them before. Anyway, I got one USB connector (USB-TTL converter) and am connecting the other xbee through an arduino UNO which I’m using as a USB-TTL converter (by pulling the reset to ground). Here are both of my modules in the xctu environment.
https://i.imgur.com/NlogXAk.png
Ok, so now onto the problem. From what I’ve read, these modules are by default in a mode called “Transparent mode” which means that whatever I send to the input of one module (DIN) should simply be received at the output of the second module (DOUT). A simple way to test this should be to open up communication in XCTU and type something into the console. So that’s what I did.
I open up serial connections with both modules, and then type into the module connected to COM4.
https://i.imgur.com/3lO00Aw.png
Then I look at the module connected to COM7.
https://i.imgur.com/InmsaX4.png
As it is evident by my awesome handwriting… Nothing gets received here. Both modules are currently in their default factory settings, so they should communicate with each other. Here’s a screenshot of the configuration of one, the other is exactly the same.
https://i.imgur.com/oeO1qCy.png
Alright, so I’ve been struggling with this since last night. Here is a list of things I’ve tried.
- Switching the xbees around (the one on COM4, goes onto COM7 and vice versa)
- By shorting out the Rx-Tx lines and Tx-Rx lines from my arduino to the USB-TTL converter and then opening both ports in teraterm, I was able to communicate between them, meaning there is no problem in the actual circuitry.
- Tried restoring both xbees to factory settings.
- Tried giving both xbees a unique PANID, and then setting up destination addresses such that they are only able to communicate with each other.
- Tried updating firmware on both xbees (which was already the newest version, but I still did the update)
- Tried recovering both xbees with their firmware (XB24 - 802.15.4 - 10ef) which simple updated the firmware again
- Tried offering my soul to the devil in exchange for him to make the xbees work :p
As of yet, I have had no success in making these two dinky things communicate with each other. I thought I'd pick you gent's brains about this problem, and hopefully I'll be able to find a solution.
Edit: Here is the configuration information on both the xbees (http://pastebin.com/Ec6ajQr5)
I did only a quick read, but offer this (I’m quite experienced with XBee S1)
XBee 3.3V TX/RX, not 5V.
Don’t forget GND
Mind the TX/RX cross-over when connecting XBee to microprocessor, and naming: TX as output of same board, not the other end.
Use XCTU to set and save PAN ID: default is OK as long as all XBees have same.
channel CH, same on both
DH, DL: the 16 bit address of the opposite XBee, if fixed and there’s only a pair. Perhaps setup for one to be #0, and the other #1.
Of course, don’t make both the same DH, DL.
Both as end point, end device. No association required.
MAC mode: Digi with ACKs
Let me know if you need more help.