Beginning Sensor Networks with Arduino and Raspberry Pi will teach you how to build sensor networks with Arduino, Raspberry Pi, and XBee radio modules, and will even show you how to turn your Raspberry Pi into a MySQL server to store your sensor data!
First you'll learn about the different types of sensor networks, including how to build a simple XBee network. Then you'll walk through building an Arduino-based temperature sensor and data collector, followed by building a Raspberry Pi-based sensor node.
Then you'll learn different ways to store sensor data, including writing to an SD card, sending data to the cloud, and even setting up a Raspberry Pi MySQL server to host your data. Finally you'll learn how to put it all together: connecting your Arduino sensor node to your new Raspberry Pi database server, to keep track of the temperature data collected with your Arduino sensor node!
If you want to see how well Arduino and Raspberry Pi can get along, especially to create a sensor network, then Beginning Sensor Networks with Arduino and Raspberry Pi is just the book you need.
What you’ll learn
- How to build sensor nodes with both Arduino and Raspberry Pi!
- What is XBee?
- What methods you have for storing sensor data
- How you can host your data on the Raspberry Pi
- How to get started with the Arduino Database Connector
- How to build database enabled sensor networks
Who this book is for
Electronics enthusiasts, Arduino and Raspberry Pi fans, and anyone who wants hands-on experience seeing how these two amazing platforms, Arduino and Raspberry Pi, can work together.
Table of Contents
Ch. 1: Introduction to Sensor Networks
Types of Nodes
Ch. 2: Tiny Talking Modules: An Intro to Xbee
Building a Simple XBee Network
Ch. 3: Arduino-based Sensor Nodes
How to Host Sensors with Arduino
Building an Arduino Temperature Sensor
Project: Using an Arduino as A Data Collector for XBee Sensor Nodes
Ch. 4: Raspberry Pi-based Sensor Nodes
How to Host Sensors with Raspberry Pi
Project: Build a Raspberry Sensor Node
Ch. 5: Where to Put It All: Storing Sensor Data
Local Storage Methods
Writing Data to a SD Card
Sending Data to the Cloud
Example: Writing Data to Pachube
Storing Sensor Data to a Database
Project: Writing Data to a Data Aggregator
Ch. 6: Turning your Pi into a Database Server
Configuring Your Raspberry Pi for Installing MySQL
Getting Started with MySQL
Project: Building a Raspberry Pi MySQL Server
Ch. 7: MySQL and Arduino: United at Last!
How To Get MySQL Connector/Arduino
Building Database Sketches
Project: Building an Arduino MySQL Client
Ch. 8: Building Your Network: Arduino Client + Raspberry Pi Server
Connecting Arduino Nodes to the Raspberry Pi Database Server
Considerations for Sensor Network Databases
Project: Monitoring Room Temperature
Ch. 9: Putting It All Together
Planning Sensor Networks
Choosing Sensor Nodes
Project: Home Temperature Monitoring
Unless otherwise noted above, most orders ship within 1 to 2 days. We will promptly notify you if there is a stock problem with any items on your order and provide you with an estimated delivery date. If you have a firm need by date, please provide such information in the comment section at checkout.
Page Count (est.): 300
Pub Date: 11/20/2013