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)

Summary


Let's see what the major takeaways of this chapter are:

  • We started the project by building the robot from the different components, such as the robot base, the DC motors, the ultrasonic sensor, and the different Arduino boards.

  • Then, we built a simple sketch to test the DC motors and the ultrasonic distance sensor.

  • The next step was to build two Arduino sketches to control the robot remotely: one for the Arduino Uno board and one for the Yún board.

  • At the end of the project, we built a simple web interface to control the robot remotely. The interface is composed of several buttons to make the robot move around, and one field that continuously displays the measurement that comes from the ultrasonic sensor mounted in front of the robot.

Let's now see what else you can do to improve this project. You can, for example, use the ultrasonic sensor data to make the robot act accordingly, for instance, to avoid hitting into walls.

Finally, you can also add many hardware components to the robot...