Getting Started with the Internet of Things : Connecting Sensors and Microcontrollers to the Cloud

  • ISBN13:


  • ISBN10:


  • Format: Paperback
  • Copyright: 2011-06-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $24.99 Save up to $3.75
  • Buy New


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The eBook copy of this book is not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


The Internet of Things is the new generation of devices that serve as the Internet's interface to the physical world. Today's tiny microcontrollers, sensors, and actuators are powerful, inexpensive, and simple enough to code that anyone with basic programming skills can create a variety of fun, useful, and even profitable systems -- such as devices that detect and extinguish fires or automatically water plants when the soil becomes too dry. This hands-on introductory guide will quickly show you how it's done. You'll learn how to program embedded devices using the .NET Micro Framework and the Netduino Plus board, and then connect these devices to the Internet using Pachube, a cloud platform for sharing real-time sensor data. Getting Started with the Internet of Things briefly introduces the tools and then walks you though several techniques for using them, using a series of C# examples: Develop programs that demonstrate the use of simple outputs (actuators) and inputs (sensors) Build client programs that show how measurements can be pushed to an existing Web service Create server programs that provide Web services to clients on the Web Develop a program that is both client and server and runs in the cloud Get .NET classes and methods needed to implement all of the book's examples

Author Biography

Dr. Cuno Pfister, founder of Oberon microsystems, has been involved in a variety of industry projects, from building a power-plant monitoring system to creating a real-time Java operating system. He's interested in the very small meeting the very large, such as microcontrollers that talk to compute clouds in Web of Things applications.

Table of Contents

Prefacep. v
Introductionp. 1
Hello Worldp. 3
Setting Up the Development Environmentp. 3
Hello Worldp. 4
Building the Program in Visual Studiop. 5
Deploying to the Devicep. 6
Writing to Actuatorsp. 11
Blinking Ledp. 11
Reading from Sensorsp. 15
Light Switchp. 15
Voltage Readerp. 20
Device as HTTP Clientp. 27
The Internet of Thingsp. 29
HTTPp. 30
Push Versus Pullp. 34
Pachubep. 37
Hello Pachubep. 43
Setting Up the Network Configurationp. 43
Hello Pachubep. 48
What Netduino Said to Pachubep. 55
What Pachube Said to Netduinop. 57
Sending HTTP Requests-The Simple Wayp. 61
Simple Put Requestp. 61
Making Web Requestsp. 64
Sending HTTP Requests-The Efficient Wayp. 71
Efficient Put Requestp. 71
Hello Pachube (Sockets Version)p. 77
Pachube Clientp. 77
Device as HTTP Serverp. 83
Hello Webp. 85
Relaying Messages to and from the Netduinop. 85
Hello Webp. 87
Request Handlersp. 92
Hello Web Htmlp. 93
What You Should Know About Portsp. 94
Handling Sensor Requestsp. 97
From Sensor Readings to HTTP Resourcesp. 98
URIs of Measured Variablesp. 98
Voltage Monitorp. 99
What You Should Know About HTTP GETp. 103
Handling Actuator Requestsp. 105
From HTTP Resources to Controlling Thingsp. 106
URIs of Manipulated Variablesp. 106
Led Controllerp. 107
Test Client in C#p. 111
Embed a Java Script Test Client on the Netduinop. 114
What You Should Know About HTTP PUTp. 118
Going Parallelp. 121
Multithreadingp. 122
Parallel Blinkerp. 132
What You Should Know About Multithreadingp. 136
Where Can I Go from Here?p. 137
Recipes for Modifying a Serverp. 137
Server Versus Client? When to Push, When to Pull?p. 143
Taking a RESTp. 144
Communitiesp. 145
Other Hardwarep. 145
The Sky Is the Limitp. 148
Test Serverp. 149
NET Classes Used in the Examplesp. 153
Gsiot.Server Libraryp. 155
Indexp. 169
Table of Contents provided by Ingram. All Rights Reserved.

Rewards Program

Write a Review