ESP8266 color display weather gadget
This project demonstrates a simple weather station using an Wemos D1 Mini (ESP8266) and a 1.3" color display. The setup requires only two main components and a few SPI connections.
Setup and code
Follow these steps to successfully upload the code without any error.
1.First download the arduino code from this drive link
2.Install ESP8266 board for Arduino IDE (Skip if already installed or follow this simple tutorial)
3.Install libraries.
i. TFT_eSPI
ii. NTPClient
iii. ArduinoJson
3: Edit pin definition from TFT_eSPI library (very important) and create your weather API
I provided the setup guideline pdf drive link
If you face any problems you can email me with subject "esp8266 weather" to abid.business01@gmail.com




Love this project. Took a little while to get going but I did. A couple of questions. Can the time be 24hr, am/pm? Can the temp be in Fahrenheit? I would assume both are API settings. Let me know. Thanks!
ReplyDeleteCorrection, Would like time in 12hr format with am/pm, Temp in Fahrenheit, and wind speed in mph.
DeleteI can provide you the updated code within 48hrs. Please send an email with the subject "esp8266 clock"
DeleteI searched the code and found the "Units" variable. Switched it to Imperial and changed the C to F on the temp and m/s to MPH on the wind speed.
Delete