ESP8266 Weather Station: Getting Started Guide

ESP8266 Weather Station: Getting Started Guide

English | September 1, 2016 | ISBN: N/A | ASIN: B01LFX8Z5W | 65 Pages | EPUB | 1.36 MB

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 the first part of the book we cover how to setup the development environment. Summaries at the end of each chapter help to understand what has been accomplished. Info boxes explain important expressions and technologies to beginners.

New! In a second part, basic building blocks for programming the ESP8266 are explained: the structure of a Arduino sketch with the setup() and loop() functions, how to use the serial console, digitalRead and digitalWrite, interrupts and analogRead. Then we cover how to connect to a WiFi network and how to load data from a HTTP web server. Six exercises help to get practical experience with the topic: controlling the LED on the NodeMCU module, reading out the state of the FLASH button with interrupts, reading the current value of the supply voltage and accessing a web server over HTTPS and verifying its authenticity with a SHA1 fingerprint. The exercises and their solutions are available on Github: you start solving the tasks by filling in missing parts. Should you get stuck or you want to have a look at an alternative solution just open the solution sketch!

After this introduction in ESP8266 programming we get our first big project running: the ESP8266 WeatherStation! I explain step-by-step what you have to do to display the current weather in your area and a 3 day forecast.

In the last 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; and do you want to measure temperature and humidity outside your house? The ClimateNode project explains how to collect data from a second ESP8266, store it in the cloud and display it in an additional frame on your WeatherStation.

This book is for beginners and ambitious programmers alike, but a basic understanding of programming is certainly helpful. In order to get started the following hardware is recommended: a ESP8266 NodeMCU V1.0, several jumper wires, a USB cable, a SSD1306 0.96" OLED display and (optional) a DHT11 or DHT22 temperature/humidity sensor. These components are also available as Starter Kit in the Amazon US Store. Just search for "ESP8266 IoT Starter Kit with OLED display for Arduino IDE". If you live outside the US you can also buy the starter kit from the author on his site: blog.squix.org

Content:
Introduction

Required Hardware
ESP8266 ModuleOLED DisplayWires and Cables
Tool Setup
Download and Install the Serial DriverThe Arduino IDEInstall the ESP8266 tool chainOpen the Arduino IDESelecting the Correct BoardSetting the Correct PortTesting the Setup: WiFi ScannerSummary
ESP8266 Programming Basics
PreparationThe Arduino SketchHello World: The serial consoleInput/Output: GPIO pinsInterruptsMeasuring analog signalsWiFiHTTP
The ESP8266 WeatherStation
Installing the librariesOpen the Weather Station ExampleGetting the Wunderground API KeyConfiguring the Weather StationConnecting the HardwareFirst RunSummary
Collecting and Displaying Local Data
The Climate Node SetupThingspeak SetupProgramming the Climate NodeDisplaying the data on the WeatherStation

Download:

http://longfiles.com/oi1w10i5w1x5/B01LFX8Z5W.epub.html

[Fast Download] ESP8266 Weather Station: Getting Started Guide


Related eBooks:
The Ultimate Laptop Repairing Course: How to Repair Laptop
Solid State Electronic Devices
Principles of Modern Digital Design
Computational Electronics
Beginners guide to Computer Hardware
Analog and Digital Electronic Circuits
Modern VLSI Design: IP-Based Design (4th Edition)
Electrodes for Li-Ion Batteries: Materials, Mechanisms and Performance
Richard G. Carter, "Electromagnetism for Electronic Engineers ĘC Examples"
Chapters 3-4. Bias Currents and Voltage References: With Design Insight and Intuition (Power IC Desi
8051 Microcontrollers: Fundamental Concepts, Hardware, Software and Applications in Electronics
Principles of Electric Circuits: Conventional Current Version
Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.