View
249
Download
0
Category
Preview:
DESCRIPTION
Arduino TFT Forecast Weather Station With ESP8266
Citation preview
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Food Living Outside Play Technology Workshop
Arduino TFT Forecast Weather Station with ESP8266by tufantas on January 21, 2015
Table of Contents
Arduino TFT Forecast Weather Station with ESP8266 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Intro: Arduino TFT Forecast Weather Station with ESP8266 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 1: Materials: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Step 2: Connections : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Step 3: Lcd Brightness Control (If you want to skip this step!) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Step 4: Icon Files and Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Step 5: Sketch file modifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Intro: Arduino TFT Forecast Weather Station with ESP8266This project, builds on Wunderground weather forecast via the Internet.Specs:
1. 3 days weather forecast (Low&High temps, probably of precipitation, condition icons)2. Current weather conditions (Current temp, feelslike temp, humidity, pressure)3. Current wind directions & speed with analog gauge meter.
4. Indoor temperature with Dallas 18b20 Temperature sensor.
5. NTP time via Wunderground time server.
Step 1: Materials:1. Arduino Mega 2560,
2. 7" inch TFT display (I used this display Ebay Link )3. TFT/SD shield (I used this shield Ebay Link )4. ESP8266 Serial WiFi module,
5. Logic level converter or use voltage divider. ( Sparkfun Link )6. Dallas 18b20 one wire temperature sensor.
7. 40 pin Male to Female Ribbon cable (Ebay Link )8. For 7" LCD case. Maybe use this or another case. (Ebay Link )9. 256mb to 2gb(maximum) SD card for icon storage. (Must be FAT16 formatted).10. 9v or 12v power supply or usb cable for power connection.
11. Some wires and soldering iron.
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Step 2: Connections :Connections we make, as shown in picture. After making the connections, we are installing a TFT/SD shield.
I use voltage divider instead of logic level converter. But I would definitely recommend using logic level converter.
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Step 3: Lcd Brightness Control (If you want to skip this step!)CAUTION : May damage the TFT Screen. If you dont want to change the brightness, skip this step.
Remove the resistor of LED_A.
Connect cable as in the picture.
And connect Arduino pin 12 (must be connect PWM pin).
Step 4: Icon Files and LibrariesNecessary libraries :
Henning Karlsen UTFT Library - Link
Henning Karlsen TinyFat Library - Link
Henning Karlsen UTFT_TinyFat Library - Link
Time Library - Link
Timer Library - Link
OneWire Library - Link
Dallas Temperature Library - Link
ArduinoJson Library - Link
Unrar Icons.rar file and copy files to "SdCard" root folder.
File Downloads
Icons.rar (277 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Icons.rar']
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Step 5: Sketch file modificationsFirst of all edit sketch file for your information :
SSID "Your Ap Name" - For example SSID "Tufan_Home"
PASS "Your AP password" - For example PASS "1234567890"
LOCATION ID "Your location name" - For example LOCATION ID "England/London"
GMT Settings this line : "ntpTime = ((longConv) + 7200);" //7200 = +7200 secs = +2 Hour ;)If you have connected TFT Brightness PWM pin, uncomment this line --- //analogWrite(tftPwmPin, 250);Have fun!
Edit Note : (I have uploaded last updated files 28.01.2015)
File Downloads
ESP8266_Wunderground_2015_Metric.rar (25 KB)[NOTE: When saving, if you see .tmp as the file ext, rename it to 'ESP8266_Wunderground_2015_Metric.rar']
Related Instructables
ESP8266 miniTutorial byGreatScottLab
A newbie'sguide to setupESP8266 withArduino Mega2560 or Uno byshinteo
Use ESP8266 toInternet enabledAC Appliancesby shinteo
ESP8266 WiFirelay switch byEasyIoT
An inexpensiveIoT enablerusing ESP8266bygopinath.marappan
ESP8266 basedwebconfigurablewifi generalpurpose control(Part II) byHoracioBouzas
http://www.instructables.com/id/Arduino-TFT-Forecast-Weather-Station-with-ESP8266/
Advertisements
Comments3 comments Add Comment
ta1dr says: Feb 4, 2015. 6:42 AM REPLYGzel bir proje olmu? ba?ar?lar...
tufantas says: Feb 4, 2015. 8:38 AM REPLYTe?ekkr ederim.
EasyIoT says: Jan 29, 2015. 2:06 AM REPLYNice project. I'm building very similar project - ESP8266 touch screen thermostat with EasyIoT library, but your graphic display is nicer. I will look in yourcode to get some ideas :)
Recommended