WeatherGuy for ESP8266
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
eagle
.gitignore
Configuration.cpp
Configuration.h
LICENSE
Makefile
README.md
TFT.md
WifiWeatherGuy.ino
dbg.h
display.cpp
display.h

README.md

View this project on CADLAB.io.

WiFiWeatherGuy

WeatherGuy for ESP8266.

Schematic

Hardware

  • Wemos D1 Mini
  • ILI9163-based TFT display, see here

Software

Installation

  • Get a Wunderground API key
  • Edit data/config.json with your preferences
  • Edit TFT_eSPI/User_Setup_Select.h to include User_Setup.h
  • Edit TFT_eSPI/User_Setup.h:
#define ILI9163_DRIVER
#define TFT_WIDTH  128
#define TFT_HEIGHT 128
#define TFT_CS   PIN_D6  // Chip select control pin D8
#define TFT_DC   PIN_D8  // Data Command control pin
#define TFT_RST  -1  // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V
#define SPI_FREQUENCY  40000000 // Maximum to use SPIFFS
  • Upload the filesystem (Tools > ESP8266 Sketch Data Upload)
  • Upload the sketch

Note

The weather icons must be 24-bit bitmaps; convert from GIF as follows:

% convert foo.gif -type truecolor foo.bmp 

Credits

The Finished Article