xbee module wireless communication

HI , May I ask a question about xbee module wireless communication ? It has confused me for two weeks . The boards are two uno and two xbee shield V3 . I want two build comunication between two xbee modules .The key is that I don’t know want king of mode I should use .coordinator API , router AT , or other ways ? my xbee module is series 2 ,XB24-B .
I find that one can’t get datas from the other xbee module .Here is a picture of xbee module configuration :
what’s the matter with it ?

qwf.jpg

"Here is a picture of how I have configured one of the XBees. I'm not going to show you the configuration for the other one, nor tell you how they are connected to the Arduinos, nor show you any of the code, but I want you to tell me what is wrong."

Did I paraphrase your post correctly?

Hi Fortware, I will be a bit off topic from your question because I'm not very familiar with XBee's and probably am not looking forward being familiar with them. As a beginner, I don't like them for two simple reasons:

  • They are expensive, at least $20-25 each and if you would want to create a communication link between two XBees then that would cost you around $50!
  • They are relatively hard to configure (I assume you have a problem with this too)

By guessing that you are not an expert (so am I), what I would like to suggest is starting out with a RX link Receivers and Transmitters that could be found on SparkFun or eBay. They have a much slower data transmission rate (max. of 4800bps) but at least they are easy to use. Plus, you can extend the antena by placing a wire and by doing so you could achieve and incredible communicating range. When I tested them out I was expecting less from them, but then I thought they are awesome! And I think they are good for beginners.

https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz for around $4.00) https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) for around $5.00

http://www.ebay.com/itm/315Mhz-WL-RF-transmitter-and-receiver-link-kit-for-Arduino-ARM-MCU-/370776247168?pt=LH_DefaultDomain_0&hash=item5653fc8b80 Ebay Just $1.50 a pair!

Good luck!

mixania: https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz for around $4.00) https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) for around $5.00

http://www.ebay.com/itm/315Mhz-WL-RF-transmitter-and-receiver-link-kit-for-Arduino-ARM-MCU-/370776247168?pt=LH_DefaultDomain_0&hash=item5653fc8b80 Ebay Just $1.50 a pair!

but can these modules handle serial communication? In particular 31250 baud rate (midi)?

See my blog post, Simple XBee ZB (Series 2) P2P Communications

Fairly easy IMHO. Indeed XBees are complicated in that there are a lot of settings. I highly recommend spending some time in the Product Manual before hooking them up and blindly fiddling with dozens of settings in X-CTU. In most cases, only a very few settings will actually need changing. In other words, there are lots of ways to do it wrong.

Looks to me like the wrong modem type is selected (XB24-B). It should be XB24-ZB for regular XBee-ZB modules (f.k.a. Series 2). But we really would like to know the Digi part number of the model you are working with (e.g. XB24-Z7WIT-004), so add that to the additional information that is needed.

Also IMHO, if you use even half of the capabilities of these modules, they are a downright bargain. Best price I've found for the low power XBee-ZB modules is $17, either direct from Digi, or from Mouser.

I am sorry I ignore the picture of connection of the two xbee radio .as following : , I use an usb cable to connect it with my pc
Then I configure the two module as following: .After that I edit the code , the one (named A) is :

void setup()
{
   Serial.begin(9600);
}
void loop()
{
   Serial.println(random(2,200));
   delay(1000);
}

and the other(named B) is :

void setup()
{
   Serial.begin(9600);
}

void loop()
{
  if(Serial.available())
 {
      Serial.println(Serial.read());
  }
}

In order to see datas , I open the Arduino IDE serial monitor . It shows nothing ,as follows:
why it is that ? I want to build communication between the two modules and it can send or receive datas , nomatter it is point-to-point , point-to-multipoint or peer-to-peer topologies .