Internet of Things with ESP8266
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

Buch teilen
  1. 226 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Internet of Things with ESP8266

Marco Schwartz

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

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.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Internet of Things with ESP8266 als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Internet of Things with ESP8266 von Marco Schwartz im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Hardware. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2016
ISBN
9781786468024
Auflage
1

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...

Inhaltsverzeichnis