Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Actually I am a new user of raspberry pi kit so make it clear with basics

share|improve this question

closed as too broad by Milliways, Ghanima, Steve Robillard Sep 30 '15 at 20:35

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
I suggest you start by searching the site for xbee and looking at any examples. If you have a problem let us know what it was and we may be able to help. – joan Sep 23 '15 at 8:26

For the hardware connection you can use an USB Xbee explorer.

Than you can just communicate with the Xbee module as a serial device. Meaning you can easily use the PySerial module in python.

Depending on your desired communication mode (API or AT) the exact approach differs and you should check the xbee documentation. If I remember correcty, in AT mode (limited to point to point) anything on the serial port is just send to the other point (provided that both the modules are configured correctly for AT mode, pointing to eachother).

This tutorial might help for API mode (for mesh networking): http://serdmanczyk.github.io/XBeeAPI-PythonArduino-Tutorial/

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.