ESP8266 Internet of Things Cookbook

Exploring the low cost WiFi module

ESP8266 Internet of Things Cookbook

This ebook is included in a Mapt subscription
Marco Schwartz

Exploring the low cost WiFi module
$0.00
$31.99
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787288102
Paperback268 pages

Book Description

The ESP8266 Wi-Fi Module is a self contained System on Chip (SOC) with an integrated TCP/IP protocol stack and can give any microcontroller access to your Wi-Fi network. It is capable of either hosting an application or offloading all Wi-Fi networking functions from another application processor.

This book contains practical recipes that will help you master all ESP8266 functionalities. You will start by configuring and customizing the chip in line with your requirements. Then you will focus on core topics such as on-board processing, sensors, GPIOs, programming, networking, integration with external components, and so on. We will also teach you how to leverage Arduino using the ESP8266 and you'll learn about its libraries, file system, OTA updates, and so on. The book also provide recipes on web servers, testing, connecting with the cloud, and troubleshooting techniques. Programming aspects include MicroPython and how to leverage it to get started with the ESP8266. Towards the end, we will use these concepts and create an interesting project (IOT).

By the end of the book, readers will be proficient enough to use the ESP8266 board efficiently.

Table of Contents

Chapter 1: Configuring the ESP8266
Introduction
Setting up the Arduino development environment for the ESP8266
Choosing an ESP8266 board
Required additional components
Uploading your first sketch to the ESP8266
Connecting the ESP8266 to your local Wi-Fi network
Connecting the ESP8266 to a cloud server
Troubleshooting basic ESP8266 issues
Chapter 2: Your First ESP8266 Projects
Introduction
Functionalities of the ESP8266
Reading digital signals
Reading analog signals
Controlling an LED
Dimming an LED
Controlling a servo motor
Measuring data from a digital sensor
Controlling an OLED screen
Troubleshooting basic ESP8266 issues
Chapter 3: More ESP8266 Functions
Introduction
Discovering the advanced functions of the ESP8266
Using libraries on the ESP8266
Discovering the filesystem of the ESP8266
Storing data in the ESP8266 filesystem
Discovering the over the air update of the ESP8266 (OTA)
Programming your ESP8266 OTA
Troubleshooting basic ESP8266 issues
Chapter 4: Using MicroPython on the ESP8266
Introduction
Introduction to MicroPython on the ESP8266
Discovering the MicroPython language
Getting started with MicroPython on the ESP8266
Controlling pins using MicroPython
Reading data from a sensor using MicroPython
Sending data to the cloud using MicroPython
Troubleshooting common MicroPython issues
Chapter 5: Cloud Data Monitoring
Introduction
Internet of Things platforms for the ESP8266
Connecting sensors to your ESP8266 board
Posting the sensor data online
Retrieving your online data
Securing your online data
Monitoring sensor data from a cloud dashboard
Creating automated alerts based on the measured data
Monitoring several ESP8266 modules at once
Troubleshooting common issues with web services
Chapter 6: Interacting with Web Services
Introduction
Discovering the Temboo platform
Tweeting data from the ESP8266 board
Posting updates on Facebook
Storing data on Google Drive
Automation with IFTTT
Sending push notifications
Sending e-mail notifications
Sending text message notifications
Troubleshooting common issues with web services
Chapter 7: Machine to Machine Interactions
Introduction
Types of IoT interactions
Basic local machine to machine interactions
Cloud machine to machine interaction
Automated M2M with IFTTT
M2M alarm system
Automated light control
Automated gardening controller
Troubleshooting common issues with web services

What You Will Learn

  • Measure data from a digital temperature and humidity sensor using the ESP8266
  • Explore advanced ESP8266 functionalities
  • Control devices from anywhere in the world using MicroPython
  • Troubleshoot issues with cloud data monitoring
  • Tweet data from the Arduino board
  • Build a cloud-connected power-switch with the ESP8266
  • Create an ESP8266 robot controlled from the cloud

Authors

Table of Contents

Chapter 1: Configuring the ESP8266
Introduction
Setting up the Arduino development environment for the ESP8266
Choosing an ESP8266 board
Required additional components
Uploading your first sketch to the ESP8266
Connecting the ESP8266 to your local Wi-Fi network
Connecting the ESP8266 to a cloud server
Troubleshooting basic ESP8266 issues
Chapter 2: Your First ESP8266 Projects
Introduction
Functionalities of the ESP8266
Reading digital signals
Reading analog signals
Controlling an LED
Dimming an LED
Controlling a servo motor
Measuring data from a digital sensor
Controlling an OLED screen
Troubleshooting basic ESP8266 issues
Chapter 3: More ESP8266 Functions
Introduction
Discovering the advanced functions of the ESP8266
Using libraries on the ESP8266
Discovering the filesystem of the ESP8266
Storing data in the ESP8266 filesystem
Discovering the over the air update of the ESP8266 (OTA)
Programming your ESP8266 OTA
Troubleshooting basic ESP8266 issues
Chapter 4: Using MicroPython on the ESP8266
Introduction
Introduction to MicroPython on the ESP8266
Discovering the MicroPython language
Getting started with MicroPython on the ESP8266
Controlling pins using MicroPython
Reading data from a sensor using MicroPython
Sending data to the cloud using MicroPython
Troubleshooting common MicroPython issues
Chapter 5: Cloud Data Monitoring
Introduction
Internet of Things platforms for the ESP8266
Connecting sensors to your ESP8266 board
Posting the sensor data online
Retrieving your online data
Securing your online data
Monitoring sensor data from a cloud dashboard
Creating automated alerts based on the measured data
Monitoring several ESP8266 modules at once
Troubleshooting common issues with web services
Chapter 6: Interacting with Web Services
Introduction
Discovering the Temboo platform
Tweeting data from the ESP8266 board
Posting updates on Facebook
Storing data on Google Drive
Automation with IFTTT
Sending push notifications
Sending e-mail notifications
Sending text message notifications
Troubleshooting common issues with web services
Chapter 7: Machine to Machine Interactions
Introduction
Types of IoT interactions
Basic local machine to machine interactions
Cloud machine to machine interaction
Automated M2M with IFTTT
M2M alarm system
Automated light control
Automated gardening controller
Troubleshooting common issues with web services

Book Details

ISBN 139781787288102
Paperback268 pages
Read More

Read More Reviews