You are previewing Internet of Things with Arduino Cookbook.
O'Reilly logo
Internet of Things with Arduino Cookbook

Book Description

Over 60 recipes will help you build smart IoT solutions and surprise yourself with captivating IoT projects you thought only existed in Bond movies

About This Book

  • This book offers key solutions and advice to address the hiccups faced when working on Arduino-based IoT projects in the real world

  • Take your existing skills and capabilities to the next level by building challenging IoT applications with ease.

  • Be the tech disruptor you always wanted to be with key recipes that help you solve Arduino IoT related problems smarter and faster.

  • Put IoT to work through recipes on building Arduino-based devices that take control of your home, health, and life!

  • Who This Book Is For

    This book is primarily for tech enthusiasts and early IoT adopters who would like to make the most of IoT and address the challenges encountered while developing IoT-based applications with Arduino. This book is also good for developers with basic electronics knowledge who need help to successfully build Arduino projects.

    What You Will Learn

  • Monitor several Arduino boards simultaneously

  • Tweet sensor data directly from your Arduino board

  • Post updates on your Facebook wall directly from your Arduino board

  • Create an automated access control with a fingerprint sensor

  • Control your entire home from a single dashboard

  • Make a GPS tracker that you can track in Google Maps

  • Build a live camera that streams directly from your robot

  • In Detail

    Arduino is a powerful and very versatile platform used by millions of people around the world to create DIY electronics projects. It can be connected to a wide variety of sensors and other components, making it the ideal platform to build amazing Internet of Things (IoT) projects on—the next wave in the era of computing.

    This book takes a recipe-based approach, giving you precise examples on how to build IoT projects of all types using the Arduino platform. You will come across projects from several fields, including the popular robotics and home automation domains. Along with being introduced to several forms of interactions within IoT, including projects that directly interact with well-known web services such as Twitter, Facebook, and Dropbox we will also focus on Machine-to-Machine (M2M) interactions, where Arduino projects interact without any human intervention. You will learn to build a few quick and easy-to-make fun projects that will really expand your horizons in the world of IoT and Arduino. Each chapter ends with a troubleshooting recipe that will help you overcome any problems faced while building these projects.

    By the end of this book, you will not only know how to build these projects, but also have the skills necessary to build your own IoT projects in the future.

    Style and approach

    This book takes a recipe-based approach, giving you precise examples on how to build IoT projects using the Arduino platform. You will learn to build fun and easy projects through a task-oriented approach.

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

    Table of Contents

    1. Internet of Things with Arduino Cookbook
      1. Table of Contents
      2. Internet of Things with Arduino Cookbook
      3. Credits
      4. About the Author
      5. About the Reviewer
      6. www.PacktPub.com
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Sections
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        5. Conventions
        6. Reader feedback
        7. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Connecting an Arduino to the Web
        1. Introduction
        2. Setting up the Arduino development environment
          1. How to do it…
          2. How it works...
          3. See also
        3. Options for Internet connectivity with Arduino
          1. How to do it…
            1. What to choose?
          2. There's more...
          3. See also
        4. Interacting with basic sensors
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Interacting with basic actuators
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Configuring your Arduino board for the IoT
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Grabbing the content from a web page
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Sending data to the cloud
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        9. Troubleshooting basic Arduino issues
          1. The board is not visible from the Arduino IDE
          2. The board doesn't connect to your Wi-Fi router
      9. 2. Cloud Data Monitoring
        1. Introduction
        2. Internet of Things platforms for Arduino
          1. Available platforms
          2. How it works...
          3. There's more...
          4. See also
        3. Connecting sensors to your Arduino board
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Posting the sensor data online
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Retrieving your online data
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Securing your online data
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Monitoring sensor data from a cloud dashboard
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Monitoring several Arduino boards at once
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        9. Troubleshooting issues with cloud data monitoring
      10. 3. Interacting with Web Services
        1. Introduction
        2. Discovering the Temboo platform
          1. Getting ready
          2. How it works...
          3. There's more...
          4. See also
        3. Tweeting from an Arduino board
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Posting updates on Facebook
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Automation with IFTTT
          1. Getting ready
          2. There's more...
          3. See also
        6. Sending push notifications
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Sending text message notifications
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Storing data on Google Drive
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        9. Troubleshooting issues with web services
          1. Updates
          2. No notifications are triggered
      11. 4. Machine-to-Machine Interactions
        1. Introduction
        2. Types of IoT interaction
          1. See also
        3. Basic local M2M interactions
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Cloud M2M with IFTTT
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. M2M alarm system
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Automated light controller
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Automated sprinkler controller
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Troubleshooting basic M2M issues
          1. Pushing the button doesn't do anything
          2. The pump/sprinkler doesn't get activated
      12. 5. Home Automation Projects
        1. Introduction
        2. Controlling your coffee machine from the cloud
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Dim LEDs from anywhere in the world
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Remote controlled garage door
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Controlling the access to your door remotely
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Cloud smoke detector
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Smart cloud thermostat
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Home automation dashboard in the cloud
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        9. Troubleshooting home automation project issues
          1. The smoke detector constantly sends alerts
          2. Dashboard
      13. 6. Fun Internet of Things Projects
        1. Introduction
        2. Making a simple Arduino clock
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Building a digital candle
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. A cloud-controlled digital candle
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Building a Bitcoin ticker with Arduino
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Assembling a GPS module
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        7. Building a simple GPS tracker
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Troubleshooting fun IoT project issues
          1. Nothing is displayed on the OLED screen
          2. I can't get my location using the GPS module
      14. 7. Mobile Robot Applications
        1. Introduction
        2. Choosing a robotic platform
          1. Choosing a platform
          2. There's more...
          3. See also
        3. Building a mobile robot
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Configuring your mobile robot
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Basic robot control
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Using distance sensors
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There is more...
          5. See also
        7. Controlling your robot from anywhere
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Troubleshooting basic robotic issues
          1. The motors of the robot don't react to any command
          2. The interface doesn't work
          3. The ultrasonic sensor returns incorrect readings
          4. The robot can't be accessed from the cloud dashboard
      15. Index