Hi! I have a project in mind, but I've never done anything an XBee before, and I'd like some advice.
I want to place temperature sensors in several places in a building, collect measurements from them every few minutes, and report the values to a web service.
I was thinking something like XBee + temp sensors reporting to a rasperry pi which handles the web reporting.
I might want up to 3 temp sensors. Max range from the base station might be 100 feet. (Could be closer if necessary.)
1. How can I read the output of a simple temp sensor and broadcast it via XBee?
2. Can a raspberry pi communicate directly with an xbee, or do i need an arduino or other intermediary device between them?
I'm looking for both architecture advice and suggested components.
thanks,
alex
advice for first xbee project
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: advice for first xbee project
With an analog sensor such as the TMP36, you can just connect it to one of the analog inputs of the XBee.1. How can I read the output of a simple temp sensor and broadcast it via XBee?
You need another XBee to act as a receiver. The Pi would communicate with that via serial.2. Can a raspberry pi communicate directly with an xbee, or do i need an arduino or other intermediary device between them?
There is an excellent book on the topic of wireless sensor networks using XBees here: http://www.adafruit.com/products/963
-
- Posts: 5
- Joined: Mon Oct 08, 2012 1:41 pm
Re: advice for first xbee project
Thanks for the book reference. I'll check into it.
Any particular models I should look at? Does XBee have distinct sender & receiver models, or can any XBee act in either role?adafruit_support_bill wrote: You need another XBee to act as a receiver. The Pi would communicate with that via serial.
- adafruit_support_bill
- Posts: 88097
- Joined: Sat Feb 07, 2009 10:11 am
Re: advice for first xbee project
Any XBee can act in either role. The Series 1 XBees are the simplest to configure. There are several different antenna and power options depending on the range you need.
-
- Posts: 5
- Joined: Mon Oct 08, 2012 1:41 pm
Re: advice for first xbee project
Thanks again. That's a huge help!
Please be positive and constructive with your questions and comments.