ESP8266 Weather Station
ESP8266 Weather Station
$5.00
Minimum price
$5.00
Suggested price
ESP8266 Weather Station

This book is 95% complete

Last updated on 2018-09-11

About the Book

The ESP8266 is a programmable chip similar to the Arduino microcontrollers but it can be easily connected to a WiFi network. This guide helps you to get started with your first Internet-of-Things (IoT) project: a crisp OLED display shows weather information on several side-scrolling screens. In a first part the guide covers which hardware components to use, which software to install and how to configure the demo code to display weather information for your city. Summaries at the end of each chapter help to understand what has been accomplished. Info boxes explain important expressions and technologies to beginners.

In the second part of the book three more projects are introduced: a plane spotting tool which fetches information from the internet about the planes that are above your head, a world clock which displays times in various timezones together with beautiful icons. Do you want to measure temperature and humidity outside your house? The ClimateNode project explains how to do that.

About the Author

Daniel Eichhorn
Daniel Eichhorn

Daniel Eichhorn was born 1978 in Switzerland and works as a Software Engineer in Zurich, Switzerland. Learning and reading has always been an important part in his live and so it was only logical that he would start writing and creating books eventually. Daniel is an expert in Java and large scale transaction systems. In the last years he has returned to his childhood hobby and enjoys now creating and blogging about IoT projects evolving around the ESP8266 chip.

Table of Contents

  • Introduction
  • Required Hardware
    • ESP8266 Module
    • OLED Display
    • Wires & Cables
  • Tool Setup
    • Download and Install the Serial Driver
    • The Arduino IDE
    • Install the ESP8266 tool chain
    • Testing the Setup: WiFi Scanner
    • Trouble Shooting
    • Summary
  • ESP8266 Programming Basics
    • Preparation
    • The Arduino Sketch
    • Hello World: The serial console
    • Input/Output: GPIO pins
    • Interrupts
    • Measuring analog signals
    • WiFi
    • HTTP
  • Using External Components
    • Preparation
    • Connecting the Display
    • Displays, Drivers and Protocols
    • Driver Initialization
    • Basic Drawing Operations
    • Hello World
    • More Drawing Methods
    • The DHT Sensor
    • Wiring the Sensor
    • Installing the Libraries
    • Using the Sensor
  • The ESP8266 WeatherStation
    • Installing the libraries
    • Open the Weather Station Example
    • Getting the OpenWeatherMap API Key
    • Configuring the Weather Station
    • Connecting the Hardware
    • First Run
    • Summary
  • The WeatherStation Code Explained
    • The JSON Streaming Parser
    • Conclusion
  • Collecting and Displaying Local Data
    • The Climate Node Setup
    • Thingspeak Setup
    • Programming the Climate Node
    • Displaying the data on the WeatherStation
  • More Projects
    • The ESP8266 PlaneSpotter
    • The ESP8266 WorldClock

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub