Internet of Things with ESP8266
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

Partager le livre
  1. 226 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Internet of Things with ESP8266 est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Internet of Things with ESP8266 par Marco Schwartz en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Hardware. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2016
ISBN
9781786468024
Édition
1
Sous-sujet
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...

Table des matiĂšres