0%

Book Description

Employ the Intel Galileo board to design a world of smarter technology for your home

In Detail

This book starts by teaching you the essentials of the Intel Galileo board, its components, how to wire it, and how to use it safely. The book will teach you how to use and combine simple sensors to build more complex connected objects with the help of an Internet connection. You'll also learn how to control and read from your sensors by building a number of interesting projects. Finally, the book will familiarize you with the art of controlling your objects using mobile devices.

By the end of the book, you'll be able to understand the key concepts of the Internet of Things, and what a "Thing" truly is. This book will make you ready and also more aware of what you can do with a Galileo board, while inspiring you with more ideas to build your own home projects.

What You Will Learn

  • Understand the concept of the Internet of Things
  • Wire and power a Galileo board safely
  • Develop code using the Arduino IDE, Intel IoT Dev Kit, and Intel XDK environments
  • Build and start a Galileo board from a bootable image
  • Use the Internet to feed, control, and gather data from sensors
  • Create connected modules
  • Combine multiple sensors to build complex projects

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 files e-mailed directly to you.

Table of Contents

  1. Internet of Things with Intel Galileo
    1. Table of Contents
    2. Internet of Things with Intel Galileo
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Introducing Galileo
      1. The Internet of Things vision
      2. Introducing Intel Galileo
      3. Galileo Gen 2
      4. A comparison of Galileo with the most popular boards
      5. Summary
    9. 2. Rediscovering the Arduino IDE
      1. Setting up your board
      2. Downloading and installing the IDE
        1. Common issues and troubleshooting
      3. Updating the board firmware
      4. The Arduino IDE
      5. Running your first sketches
        1. Blinking an LED
        2. Fading an LED
        3. Using the serial port for debugging
      6. Methods and libraries
      7. Summary
    10. 3. Monitoring the Board Temperature
      1. Booting Galileo from an SD card
      2. Getting connected to the Internet
        1. Connecting through cable
        2. Connecting through Wi-Fi
          1. Scanning Wi-Fi networks
          2. Connecting to the Internet and testing the Wi-Fi connection
      3. Finding your board IP address
      4. Reading the board temperature
      5. Plotting your temperature data
        1. Creating temperature data samples
        2. Plotting a chart
      6. Summary
    11. 4. Creating a Motion Sensing Light
      1. Required equipment
      2. Controlling a lightbulb
      3. Controlling the relay using a motion sensor
      4. Detecting luminosity
      5. Using Galileo as a web server
      6. Summary
    12. 5. Intel IoT Developer Kit Tools
      1. Required equipment
      2. IoT Developer Kit components
      3. Building the image
      4. Booting from the IoT Developer Kit image
      5. Setting up the Wi-Fi access
      6. The MRAA library
        1. Node.js
        2. Python
        3. C++
      7. The UPM library
      8. Summary
    13. 6. Building an Irrigation System
      1. Required component
      2. Setting up Wyliodrin
      3. Using Wyliodrin to read from the sensors
        1. Wiring the sensors
        2. Reading from your sensors
      4. Controlling an irrigation system using sensorial data
        1. Making your sensor data available online
        2. Creating rules for actuation
      5. Summary
    14. 7. Creating Christmas Light Effects
      1. Required component
      2. Wiring the LED strip
      3. Controlling the LED strip
      4. Creating a real-time server
      5. Building the control page
      6. Building the YouTube player page
      7. Launching random LED animations
      8. Handling the events in the server
      9. Summary
    15. 8. The Intel XDK IoT Edition
      1. Introducing Intel XDK
      2. Creating and deploying an IoT project on Galileo
      3. Creating a companion app
      4. Summary
    16. 9. Developing an IoT Quiz
      1. Required component
      2. Creating the Galileo app
        1. Coordinating players
        2. The game engine
        3. Caching the results
        4. Using the LCD and buzzer
        5. External dependencies
      3. Creating the companion app
        1. Interface
        2. User handlers
        3. Game handlers
      4. Building the mobile app
      5. Running the game
      6. Summary
    17. 10. Integrating with Muzzley
      1. Wiring the circuit
      2. The Muzzley IoT ecosystem
        1. Creating a Muzzley app
        2. Creating the device integration profile
        3. Developing the Galileo bridge
        4. Developing the app interface
        5. Lighting up the entrance door
      3. Summary
    18. Index
18.190.156.80