Showing posts with label esp8266 weather station. Show all posts
Showing posts with label esp8266 weather station. Show all posts

Sunday, March 5, 2017

ESP8266 Weather Station with Color TFTLCD


ESP8266 Weather Station with TFTLCD

In this project, we'll learn how to make a weather station using an ESP8266 WiFi Module and a 2.2" TFT LCD display. ( 240 x 320 65K)
This project pulls weather data using the Wunderground API. It displays the date, time, current weather conditionals, 4-day forecast and even moon phases.

Hardware

  1. ESP8266 WiFi Module ( ESP8266 DevKit or NodeMCU )
  2. TFT LCD 2.2 Inch  : TFT01-2.2SP from Electrofreak (SPI Bus )



Wiring Diagram

TFT LCD Pin VCC
TFT LCD Pin GND
TFT LCD Pin CS  to GPIO_5
TFT LCD Pin RST to RST
TFT LCD Pin DC to GPIO_2
TFT LCD Pin MOSI to GPIO_13
TFT LCD Pin CLK to GPIO_14
TFT LCD Pin LED to +3.3 V.
TFT LCD Pin MISO ( not use )

You can test TFTLCD first.see detail.
http://microcontrollerkits.blogspot.com/2015/11/esp8266-wifi-tftlcd.html



Source code

Original Code form squix78
https://github.com/squix78/esp8266-weather-station


Arduino Library
Weather Station Library
Adafruit ILI9341 Library
Adafruit GFX Library
WifiManager Library

Reference
https://learn.adafruit.com/wifi-weather-station-with-tft-display/overview
https://www.wunderground.com/weather/api



My Blog


My Website
email : info@softpowergroup.net   amphancm@gmail.com Tel . +6681-6452400

Facebook https://www.facebook.com/softpowergroup/