Book Image

Internet of Things with the Arduino Yún

By : Marco Schwartz
Book Image

Internet of Things with the Arduino Yún

By: Marco Schwartz

Overview of this book

<p>Internet of Things (IoT) is currently a growing trend in the technology space, and the Arduino Yún is the perfect board to get started with building IoT projects. This book covers many of the powerful features of the Arduino Yún via four exciting projects. The first project is all about sending weather measurements data to a Google Docs spreadsheet for easy online visualization. The second one is about building an energy consumption meter and controlling devices remotely. The third focuses on the field of security, by helping you to build a camera that is triggered by motion and that uploads pictures automatically to Dropbox. Finally, the last project is in relation with the field of robotics, and focuses on building a robot that is controlled via Wi-Fi. <br /><br />The main focus of this book is to teach everything you need to know to build complex projects using the Arduino Yún, organized around the fields of home automation, security, and robotics.</p>
Table of Contents (11 chapters)

Getting started


Let's see what we are going to do in this project in more detail:

  • First, we are going to build the hardware part of the project with a typical USB camera, a PIR motion sensor, and one SD card.

  • Then, we will write some code to test all the hardware connections of the project. We'll check whether the motion sensor is working correctly and try to take a picture with the camera while it is connected to the Arduino Yún board.

  • After testing the hardware, we are going to build the first application, which captures pictures whenever some motion is detected and automatically stores these pictures on the SD card.

  • Right after building this simple local application, we are going to connect the project to the cloud. The project will do the same as in the earlier case, take pictures when some motion is detected, but this time the pictures will also be uploaded to your Dropbox folder. This way, the pictures can be seen in real time from anywhere, as you can log in to Dropbox from any web browser...