Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 9 months ago.
Point to Point communication between two Xbee
Hello everyone
I have some questions about communication with Xbee, let me introduce my devices first.
What I have now: Two mbed LPC1768, Two mbed application board, Two Xbee S2. I have conneted all this models together so I got 2 same devices.
Now I want to use the tempure sensor on one mbed application board to measure the tempurature, then use the Xbee to transform this data to another mbed and show the value on the LCD on mbed application board. The plot is shown as below:
I have some problems about how to use the two Xbee to communicate point to point
Please give me some informaion about the code or some links about Xbee communication
Many thanks for anyone who may help!
1 Answer
10 years, 9 months ago.
Hi Ziwei, check this tutorials, maybe this will help you:
- http://myfunnyelectronics.blogspot.in/2014/01/communication-between-two-xbee-radios.html
- http://xbee.wikispaces.com/Point+to+Point+Xbee+Set+up
Greetings
for this type of communication you have to use one xbee as coordinator in API mode at receiver end.configure other xbee as router in AT mode at transmitter end. enable analog ip on Tx xbee..Tx xbee will digitize the analog ip and send it over as frames.You can read the these data frames at Rx end using Serial communication. Visit http://www.youtube.com/watch?v=rnBx2yqKn_E and http://www.youtube.com/watch?v=jh-GIaghIjw links...
posted by Dhananjay Joshi 10 Oct 2014