O'Reilly logo

Building Wireless Sensor Networks Using Arduino by Matthijs Kooijman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required