Skip to content

Customized ESP8266 Weather Station in Color w/ Daylight Saving Time using ILI9341 TFT 240x320 display

Notifications You must be signed in to change notification settings

neptune2/esp8266-weather-station-color-DST

 
 

Repository files navigation

esp8266-weather-station-color-DST

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 CEST Boston Sydney AEDT
Zurich Standard time Boston Standard Time Sydney Standard Time
Zurich CET Boston EST Sydney AEST
7-Seg silhoutte
silhoutte

Specific customizations include:

  • 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

Hardware Requirements

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

Software Requirements/ Libraries

Additional required library for automatic Daylight Saving Time adjust

You also need to get an API key for the Wunderground data: https://www.wunderground.com/

Wemos D1R2 Wiring

Wemos

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

About

Customized ESP8266 Weather Station in Color w/ Daylight Saving Time using ILI9341 TFT 240x320 display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 71.5%
  • C++ 14.7%
  • Other 13.8%