Skip to Content
ESP8266 Internet of Things Cookbook
book

ESP8266 Internet of Things Cookbook

by Marco Schwartz
April 2017
Intermediate to advanced
268 pages
5h 36m
English
Packt Publishing
Content preview from ESP8266 Internet of Things Cookbook

Measuring data from a digital sensor

ESP8266 boards can be used to read and monitor data from both digital and analog sensors. To demonstrate this, we are going to measure data from a digital temperature and humidity sensor then display the data on the serial monitor.

Getting ready

In this tutorial, you will need an ESP8266 board, a USB cable, and a few other components, which include:

The DHT11 pin configuration is shown in the following diagram:

Getting ready

First mount the ESP8266 board and the DHT11 sensor onto the breadboard. Connect a 10 kΩ pull up ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things with ESP8266

Internet of Things with ESP8266

Marco Schwartz
ESP8266 Robotics Projects

ESP8266 Robotics Projects

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781787288102Supplemental Content