ok i have to xbee shield attached to two different arduino board. im tying write a code such that if pin 8 of the arduino board A goes high the xbee A send a signal to Xbee B on arduino board B and the led pin3 on board be keeps blinking until pin 8 on arduino board a goes low.
needless to say i cant find any similar example or the syntax for talking to the xbee . pls help :(
I too am having trouble talking between 2 XBee shields!
Currently trying to talk through a terminal program (not the Arduino IDE terminal, because it isn't working, and not hyper terminal because I have vista). I am using the terminal that comes with BASIC STAMP (it was free on-line, so what the hey!).
More updates coming soon... if anyone has any code samples of this thing actually working, it would save me hours of agony since it seems no one has got this working yet...
if anyone has any code samples of this thing actually working, it would save me hours of agony since it seems no one has got this working yet...
Hey Mike-
You're actually in luck, there are lots of good examples of using the XBee with the Arduino - check out the book "Making Things Talk" for some good info, or google "arduino xbee" for tons of good links.
I have created a couple example programs that sound very similar to what
you are trying to do. Checkout the application hints section at http://tinyurl.com/5rfmrz
HI! I have two XBee shields for arduino but i can't put them communicating each other! One of them is the XB-24B( with ZNET 2,5) and the other one it's the XB-24BZ. I'm trying to do ZigBee Coordinator AT vs EndDevice AT. I'm using the X-CTU... If anyone could help me i will be great!!
First i give a Address destination high and low to the coordinator (high-0/ Low-FFFF to broadcast) and to the end device (high-0/low-0000). The Coordinator MY is 0 and the ENddevice MY is 1. These are the parameters to configure the addressing. Before that it's necessary to determine a PAN ID and put that ID in coordinator and in enddevice.
I think i'm doing correctly these steps. What i saw in your blog in my head is wrong but i'm not sure...
ok, what is your current arduino test setup?
Are you creating a chat program between the arduino ide serial monitor terminals?
What is the jumper configuration on your xbee shields?
I made a program to read the values of pin number 13 (http://arduino.cc/en/Tutorial/ADXL3xx) like this example. If i use the two XBee shields series 2 of the same modem type (XB-24B) i receive in the serial monitor in the arduino’s software the correct values, but when i change on of the XBee shields for the XB-24BZ (i have 2 shields of each type) they even comunicating each other.
Hi,
I have similar problem. my xbee send very slow data ( veryslow)
my set up is this
2 xbee (popular modules xbee 24 ) 1 chip antena and another wire antena
1 xbee lilypad ( not a arduino lylipad)
1 lilypad
1 usb explorer from sparkfun.
after serveral tutorial I was able to set the xbees to talk earch other 1 is a coordinator and 1 is a end device
using the x-ctu terminal sometimes I get serial data some times do not.
when I ger serial data is very , very slow.
the code in the arduino is set for the baud rate of the xbees.
the code basicaly does serialprint every 300 microseconds.