Go Down

Topic: Can a XBEE pro both send and receive serial data? (Read 1 time) previous topic - next topic

rep8

I am new to the wireless communication using arduinos. I have a project and wondering if a xbee pro module can both send and receive data to be interpreted between two arduinos?

PaulS

I've never used the Pro versions, but, they are just higher powered/longer range versions of the non-Pro models, so I can't imagine them not being able to send and receive.

BlueJakester

#2
Aug 22, 2012, 04:35 pm Last Edit: Aug 22, 2012, 04:37 pm by BlueJakester Reason: 1
I'm not certain about the Pro, but I did some testing with the Series 1 XBee last night and was able to send data both ways during the same session on a point-to-point connection. I was working with the SoftwareSerial library at the time. There is some example code on that page you could start with as a test.

Hope that helps.

Jake

giantsfan3

Yes, Xbee and Xbee Pro are completely equal and pin-compatible, except the transmission power/range (and thus the corresponding power consumption)

And yes, both Xbee and Xbee Pro can be used to both send and receive data. In the simplest scenario, they can be thought of just as direct replacements for RX and TX wire connections between two microcontrollers.

For learning in detail about Xbee modules, I suggest you read the following in the order you prefer (listed here in order of ease of reading):
1) The main page of xbee-arduino library: http://code.google.com/p/xbee-arduino/
2) The book "Building Wireless Sensor Networks with Zigbee, Xbee, Arduino, and Processing" by Rob Faludi: http://www.amazon.com/Building-Wireless-Sensor-Networks-Processing/dp/05968077322)
3) The PDF "Unofficial Xbee Cookbook" by John Foster: http://www.jsjf.demon.co.uk/xbee/xbee.pdf
4) The Xbee/Xbee-Pro datasheet (available from Digi website or Sparkfun, Adafruit, etc.)

Go Up