Internet of Things with ESP8266
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

Condividi libro
  1. 226 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Build amazing Internet of Things projects using the ESP8266 Wi-Fi chip

About This Book

  • Get to know the powerful and low cost ESP8266 and build interesting projects in the field of Internet of Things
  • Configure your ESP8266 to the cloud and explore the networkable modules that will be utilized in the IoT projects
  • This step-by-step guide teaches you the basics of IoT with ESP8266 and makes your life easier

Who This Book Is For

This book is for those who want to build powerful and inexpensive IoT projects using the ESP8266 WiFi chip, including those who are new to IoT, or those who already have experience with other platforms such as Arduino.

What You Will Learn

  • Control various devices from the cloud
  • Interact with web services, such as Twitter or Facebook
  • Make two ESP8266 boards communicate with each other via the cloud
  • Send notifications to users of the ESP8266, via email, text message, or push notifications
  • Build a physical device that indicates the current price of Bitcoin
  • Build a simple home automation system that can be controlled from the cloud
  • Create your own cloud platform to control ESP8266 devices

In Detail

The Internet of Things (IoT) is the network of objects such as physical things embedded with electronics, software, sensors, and connectivity, enabling data exchange. ESP8266 is a low cost WiFi microcontroller chip that has the ability to empower IoT and helps the exchange of information among various connected objects. ESP8266 consists of networkable microcontroller modules, and with this low cost chip, IoT is booming. This book will help deepen your knowledge of the ESP8266 WiFi chip platform and get you building exciting projects.

Kick-starting with an introduction to the ESP8266 chip, we will demonstrate how to build a simple LED using the ESP8266. You will then learn how to read, send, and monitor data from the cloud. Next, you'll see how to control your devices remotely from anywhere in the world. Furthermore, you'll get to know how to use the ESP8266 to interact with web services such as Twitter and Facebook. In order to make several ESP8266s interact and exchange data without the need for human intervention, you will be introduced to the concept of machine-to-machine communication.

The latter part of the book focuses more on projects, including a door lock controlled from the cloud, building a physical Bitcoin ticker, and doing wireless gardening. You'll learn how to build a cloud-based ESP8266 home automation system and a cloud-controlled ESP8266 robot. Finally, you'll discover how to build your own cloud platform to control ESP8266 devices.

With this book, you will be able to create and program Internet of Things projects using the ESP8266 WiFi chip.

Style and approach

This is a step-by-step guide that provides great IOT projects with ESP8266. All the key concepts are explained details with the help of examples and demonstrations of the projects.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Internet of Things with ESP8266 è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Internet of Things with ESP8266 di Marco Schwartz in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Hardware. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2016
ISBN
9781786468024
Edizione
1
Categoria
Hardware

Internet of Things with ESP8266


Table of Contents

Internet of Things with ESP8266
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with the ESP8266
How to choose your ESP8266 module
Hardware requirements
Hardware configuration
Installing the Arduino IDE for the ESP8266
Connecting your module to your Wi-Fi network
Summary
2. First Projects with the ESP8266
Controlling an LED
Reading data from a GPIO pin
Grabbing the content from a web page
Reading data from a digital sensor
Summary
3. Cloud Data Logging with the ESP8266
Hardware and software requirements
Hardware configuration
Testing the sensor
Logging data to Dweet.io
Displaying data using Freeboard.io
Summary
4. Control Devices from Anywhere
Hardware and software requirements
Configuring the ESP8266 module and controlling an LED
Controlling the LED from a cloud dashboard
Controlling the lamp from anywhere in the world
Summary
5. Interacting With Web Services
Hardware and software requirements
Getting weather data from Yahoo
Posting temperature and humidity data to Twitter
Creating a new Facebook post from the ESP8266
Summary
6. Machine-to-Machine Communications
Hardware and software requirements
Simple machine-to-machine communication
Building a light-activated relay
Summary
7. Sending Notifications from the ESP8266
Hardware and software requirements
Hardware configuration
Sending an e-mail notification
Sending data via text message
Receiving alerts via push notifications
Summary
8. Controlling a Door Lock from the Cloud
Hardware and software requirements
Configuring the hardware
Configuring the ESP8266 board
Controlling the lock from the cloud
Receiving notifications when the lock is opened
Summary
9. Building a Physical Bitcoin Ticker
What is Bitcoin?
Online Bitcoin services
Hardware and software requirements
Configuring the hardware
Testing the ticker
Adding alert LEDs to the ticker
Summary
10. Wireless Gardening with the ESP8266
Hardware and software requirements
Hardware configuration
Creating alerts to water your plant
Monitoring the temperature and humidity
Automating your gardening
Summary
11. Cloud-Based Home Automation System
Hardware and software requirements
Hardware configuration
Controlling your home from a dashboard
Creating a cloud alarm system
Automating your home
Summary
12. Cloud-Controlled ESP8266 Robot
Hardware and software requirements
Hardware configuration
Testing the motors
Connecting the robot to the cloud
Controlling the robot from a dashboard
Summary
13. Building Your Own Cloud Platform to Control ESP8266 Devices
Hardware and software requirements
Hardware configuration
Creating a cloud server
The aREST cloud server code
Deploying the server
Connecting the ESP8266 board to your cloud server
Summary
Index

Internet of Things with ESP8266

Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: July 2016
Production reference: 1260716
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78646-802-4
www.packtpub.com

Credits

Author
Marco Schwartz
Reviewer
Catalin Batrinu
Commissioning Editor
Pratik Shah
Acquisition Editor
Prachi Bisht
Content Development Editor
Mamta Walkar
Technical Editor
Naveenkumar Jain
Copy Editor
Sneha Singh
Project Coordinator
Kinjal Bari
Proofreader
Safis Editing
Indexer
Pratik Shirodkar
Graphics
Kirk D'Penha
Production Coordinator
Shantanu N. Zagade
Cover Work
Shantanu N. Zagade

About the Author

Marco Schwartz is an electrical engineer, an entrepreneur, and a blogger. He has a master's degree in electrical engineering and computer science from Supélec, France, and a master's degree in micro engineering from the Ecole Polytechnique Fédérale de Lausanne (EPFL) in Switzerland.
He has more than five years of experience working in the domain of electrical engineering. Marco's interests gravitate around electronics, home automation, the Arduino and Raspberry Pi platforms, open source hardware projects, and 3D printing.
He has several websites about Ardu...

Indice dei contenuti