Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Wireless Sensor Networks Using Arduino
  • Table Of Contents Toc
Building Wireless Sensor Networks Using Arduino

Building Wireless Sensor Networks Using Arduino

By : Matthijs Kooijman
4.2 (11)
close
close
Building Wireless Sensor Networks Using Arduino

Building Wireless Sensor Networks Using Arduino

4.2 (11)
By: Matthijs Kooijman

Overview of this book

Arduino has been established as the de facto standard microcontroller programming platform, being used for one-off do-it-yourself projects as well as prototypes for actual products. By providing a myriad of libraries, the Arduino community has made it very easy to interact with pretty much any piece of hardware out there. XBee offers a great range of low-power wireless solutions that are easy to work with, by taking all of the complexity of wireless (mesh) networking out of your hands and letting you focus on what to send without worrying about the how. Building wireless sensor networks is cost-effective as well as efficient as it will be done with Arduino support. The book starts with a brief introduction to various wireless protocols, concepts, and the XBee hardware that enables their use. Then the book expands to explain the Arduino boards to you, letting them read and send sensor data, collect that data centrally, and then even control your home from the Internet. Moving further more advanced topics such as interacting through the standard Zigbee Home Automation protocol, or making your application power-efficient are covered. By the end of the book, you will have all the tools needed to build complete, real-world solutions.
Table of Contents (8 chapters)
close
close

What you need for this book

To upload programs (sketches) to your Arduino boards, you will need the Arduino IDE, which can be downloaded from http://www.arduino.cc Version 1.6.5 was used in this book, but it is recommended to get the newest version. This book assumes you are already familiar with this program and know how to write and upload a sketch, which will not be covered in this book.

For configuring and interacting with XBee modules, you will need the XCTU program, which can be downloaded from http://www.digi.com/xctu. Version 6.2.0 was used in this book, but it is recommended to get the newest version. No prior experience with this program is needed; it will be introduced in detail.

The example sketches in this book use a number of Arduino libraries. These libraries are:

  • AltSoftSerial by Paul Stoffregen (version 1.3.0)
  • XBee-Arduino library by Andrew Rapp (version 0.6.0)
  • DHT sensor library by Adafruit (version 1.2.0)
  • Adafruit MQTT library by Adafruit (version 0.11.1)
  • Adafruit SleepyDog library by Adafruit (1.0.0)
  • Adafruit CC3000 library by Adafruit (version 1.0.3 optional)

In general, it is recommended you download the newest version of a library using the library manager in the Arduino IDE. However, if you run into problems because a library has made changes that are not backwards-compatible, it might be useful to test the exact same version of a library that was used when writing this book. These versions are shown above, but also included in the provided code bundle.

The introduction of each chapter indicates what hardware you will need for the examples in that chapter. This always lists the hardware required to build an example once, sometimes also sharing items between examples. If you want to expand your network to include multiple temperature sensors, window sensors, and so on, you will of course need multiples of some of the components listed.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Wireless Sensor Networks Using Arduino
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon