Weather Forecast Screen with LCD ILI9341 on ESP8266.
Thank you so much for very useful library!
On Arduino IDE,
- Sketch
- Include library
- Install Zip library
- Specify the following zip-ed libraries.
$ git clone https://github.com/PaulStoffregen/Time.git Time
$ cd Time
$ git archive HEAD --output=../Time.zip
$ git clone https://github.com/exabugs/sketchLibraryNTP NTP
$ cd NTP
$ git archive HEAD --output=../NTP.zip
https://github.com/adafruit/Adafruit-GFX-Library
https://github.com/adafruit/Adafruit_ILI9341
Go https://www.openweathermap.org/ and signup to get API Key(appId).
http://openweathermap.org/help/city_list.txt
Please access to ESP8266's Mac Address with "1234567890" and open browser at 192.168.4.1 to configure them.
And please restart your device!
ESP8266 | ILI9341 |
---|---|
GPIO4 | LCD DC/RS |
GPIO5 | LCD RESET + LCD_EN (LED) |
GPIO12 | LCD HSPI_MISO |
GPIO13 | LCD HSPI_MOSI |
GPIO14 | LCD HSPI_CLK |
GPIO15 | LCD HSPI_CS |
#define TFT_CS 15
#define TFT_RST 5
#define TFT_DC 4