Chapter 2. Collecting Sensor Data

In the previous chapter, you connected your XBee modules to your computer and sent a bit of data between them. In this chapter, you will take a few more steps and put your Arduino boards in control of the XBee modules. You will even send over some measured temperature and humidity data, creating your very first actual wireless sensor network.

You will build towards this step by step. The first step is to find out how to make an Arduino and XBee module talk to each other. Then you will send a simple Hello, world! message from one Arduino to another and finally replace that message with some actual live sensor data.

To follow the examples, the following components are recommended:

Get Building Wireless Sensor Networks Using Arduino now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.