Skip to content

gcassarino/esp8266-weather-station-nokia5110

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp8266 weather station for Nokia 5110 LCD

esp8266 weather station for Nokia 5110 monochrome LCD display using Daniel Eichhorn's (squix78) library.

This code uses the Adafruit GFX libraries and its PCD8544 library to drive the Nokia display. I wrote a modified version of Daniel's esp8266-oled-ssd1306's Ui Library (OLEDDisplayUi) - a version adapted to work with the Adafruit driver - removing some parts related to the active / inactive frame indicator images (setActiveSymbol / setInactiveSymbol) as I did not need it. For more information, see https://github.com/squix78/esp8266-oled-ssd1306#ui-library-oleddisplayui

The following information are displayed:

  • Time and date
  • Current weather and today forecast details
  • Forecasts over a 3 day period after today
  • Moon details: phase, rise/fall time, luminosity, age
  • Sun and wind details: sun rise/fall time, wind speed and direction

In place of the images with the weather icons I used a font with other weather icons (see credits below). Fonts icons can be edited with any font editor. I inserted the project file created with Birdfont in another repository.

Getting Started

This project was tested on a Wemos D1 mini clone, please refer to this scheme for wiring connections

Fritzing scheme

Todo

The date and time are obtained using the WundergroundClient module from the library because - at the time of writing - the library did not support DST.The WundergroundClient already returns the correct DST from the country defined in the code. Add dst suppport, see: https://github.com/ThingPulse/esp8266-weather-station/blob/master/examples/WeatherStationDemo/WeatherStationDemo.ino

Installing

This code is a PlatformIO project, open the project from PlatformIO.

Authors

  • Daniel Eichhorn - squix78 - Initial work
  • Gianluca Cassarino - this adaptation for Nokia 5110 LCD display

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments/Credits