Troubleshooting My XBee's

So Ive got an Xbee Series 1 on an Arduino using a Sparkfun Xbee Shield and another Xbee Series 1 on the Xbee Explorer. Im trying to just send some simple commands over serial to figure out how Xbee works. The program I have on my Arduino Uno just listens for a char over the serial, and when it gets that command, a buzzer sounds. Its a rather simple program, but I cant seem to get communication between the two Xbees to work. Ive setup both Xbees through XCTU and I know my code works because when I hook it up via USB, the Arduino posts some text through the serial. I also know my serial communication works, because Ive tested that before. Serial setup is 9600,8,1,none.

Any help please?

Nobody to answer this? Really?

Would you mind showing

  • the sketches for the Arduinos
  • the config of both XBees

Otherwise I would point you to row 42 where the error lies.

markfun:
Would you mind showing

  • the sketches for the Arduinos
  • the config of both XBees

Otherwise I would point you to row 42 where the error lies.

Thanks for responding to my post, but after nobody answered me, I turned to a friend of mine, and he helped me out. :wink: So now my Xbees are communicating. The problem that I was having is that the Sparkfun tutorial I followed to setting up Xbee communication isnt very good. I changed my DL and DH and those made communication stop working (which I didnt know that), but I when I set them both back to 0’s for each Xbee, I was able to transmit and receive packets. So really the tutorial on Bildr helped me set this up correctly (but I had to reset both of my Xbees, and start from scratch).

Arduino sketch is a simple turning an LED on and off via serial. It compiled and worked fine locally…so that wasnt the issue. It was just a matter of finding the right person to explain to me what settings to change to get it working.

Now if I want to setup multiple Xbees going at the same time and secure them, I have no idea how to do that. :?

Boradcast on Coordinator is DL 0xFFFFFF and sending to the Coordinator for all other devices is DL 0x000000.

If you want to address single XBees using API mode would be better though.

So what if I have two Xbees on the same PAN ID and Channel, then one that has a different channel, how would I get the coordinator to communicate with all of them?