ESP8266 Internet of Things Cookbook

Exploring the low cost WiFi module
Preview in Mapt

ESP8266 Internet of Things Cookbook

Marco Schwartz

1 customer reviews
Exploring the low cost WiFi module
Mapt Subscription
FREE
$29.99/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$22.40
$39.99
$29.99p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


ESP8266 Internet of Things Cookbook Book Cover
ESP8266 Internet of Things Cookbook
$ 31.99
$ 22.40
Internet of Things with ESP8266 Book Cover
Internet of Things with ESP8266
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $28.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

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
From 1 reviews

Read More Reviews

Recommended for You

Internet of Things with ESP8266 Book Cover
Internet of Things with ESP8266
$ 31.99
$ 22.40
Internet of Things with Arduino Cookbook Book Cover
Internet of Things with Arduino Cookbook
$ 27.99
$ 19.60
Smarter Decisions – The Intersection of Internet of Things and Decision Science Book Cover
Smarter Decisions – The Intersection of Internet of Things and Decision Science
$ 35.99
$ 25.20
Internet of Things for Architects Book Cover
Internet of Things for Architects
$ 35.99
$ 25.20
Mastering Internet of Things Book Cover
Mastering Internet of Things
$ 31.99
$ 22.40
Learning Internet of Things with Thingworx [Video] Book Cover
Learning Internet of Things with Thingworx [Video]
$ 124.99
$ 106.25