Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Wireless Sensor Networks Using Arduino

You're reading from   Building Wireless Sensor Networks Using Arduino Leverage the powerful Arduino and XBee platforms to monitor and control your surroundings

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784395582
Length 192 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Matthijs Kooijman Matthijs Kooijman
Author Profile Icon Matthijs Kooijman
Matthijs Kooijman
Arrow right icon
View More author details
Toc

Collecting sensor data

Even though sending over Hello, world! is already pretty cool, it is not very useful yet. Instead of sending a fixed message, you will want to send some variable data, such as coming from a sensor.

In this section, you will connect a combined temperature and humidity sensor to the sending Arduino and have it send over its readings to the coordinator. The coordinator will then receive these readings and, for now, display them on the Serial console (later, you will see how to put the readings in pretty graphs, too!).

There are a lot of different sensors available that can be used with an Arduino. There is not a single unified way to wire up and talk to all sensors, but Arduino-specific instructions and tutorials can be found for a lot of hardware. A good source of inspiration are Arduino-oriented online shops such as http://www.sparkfun.com or http://www.adafruit.com. They stock all kinds of sensors and typically provide appropriate Arduino libraries and/or examples as...

You have been reading a chapter from
Building Wireless Sensor Networks Using Arduino
Published in: Oct 2015
Publisher:
ISBN-13: 9781784395582
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime