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.
- ESP8266 Module
- OLED Display
- Wires & Cables
- Download and Install the Serial Driver
- The Arduino IDE
- Install the ESP8266 tool chain
- Testing the Setup: WiFi Scanner
- Trouble Shooting
ESP8266 Programming Basics
- The Arduino Sketch
- Hello World: The serial console
- Input/Output: GPIO pins
- Measuring analog signals
Using External Components
- 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
The WeatherStation Code Explained
- The JSON Streaming Parser
Collecting and Displaying Local Data
- The Climate Node Setup
- Thingspeak Setup
- Programming the Climate Node
- Displaying the data on the WeatherStation
- 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.