Daylight Saving Time and other customizations of Squix78 ESP8266 Weather Station in Color. Uses ILI9341 TFT 240x320 display with SPI interface
Zurich Summer Time | Boston Daylight Saving Time | Sydney Daylight Saving Time |
---|---|---|
Zurich Standard time | Boston Standard Time | Sydney Standard Time |
---|---|---|
7-Seg silhoutte |
---|
- Replaced TimeClient with built-in ESP8266 NTP client and timekeeping (lwip/sntp Espressif sdk library)
- Selectable NTP servers in settings.h
- Added automatic Daylight Saving Time adjust using simpleDSTadjust library
- https://github.com/neptune2/simpleDSTadjust
- DST rules and timezone settings customizable in settings.h
- See https://www.timeanddate.com/time/change/ for DST rules
- Special version of ArialRoundedMtBold_36 with Degree symbol added
- Used degree symbol in temperature display
- Changed Clock to retro 7-segment look with optional silhoutte background
- used DSEG7ClassicBold_44 font (from http://www.keshikan.net/fonts-e.html)
- Added Blinking colon to clock. 1 sec on , 1 sec off
- Added choice of 24 hour or 12 hour clock
- Slight adjustment to various fields (to fit 7-seg clock)
- various small fixes and bug workarounds
This code is made for an 240x320 65K ILI9341 display with code running on an ESP8266. You can buy such a display here: http://www.banggood.com/2_2-Inch-Serial-TFT-SPI-Screen-p-912854.html
- Arduino IDE with ESP8266 platform installed
- Weather Station Library or through Library Manager
- Adafruit ILI9341 or through Library Manager
- Adafruit GFX or through Library Manager
- WifiManager
You also need to get an API key for the Wunderground data: https://www.wunderground.com/
See settings.h for pin configurations
ILI9341 | Wemos D1R2 |
---|---|
MISO | - |
LED | 3V3 |
SCK | SCLK/D5 |
MOSI | MOSI/D7 |
DC/RS | D3 |
RESET | RST |
CS | D2 |
GND | GND |
VCC | 3V3 |