ESP8266 Weather Station
$7.99
Minimum price
$7.99
Suggested price

ESP8266 Weather Station

Getting Started Guide

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 60 Day 100% Happiness Guarantee

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

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. 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) and EPUB (for phones, tablets and Kindle). 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

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub