LED Matrix Clock / Weather Forecaster
Project uses an Internet-connected ESP32, a 4-unit MAX7219 32x8 LED module, and multiple DHT11/22 sensors for inside/outside temperature and humidity.
This hardware/software combination implements a digital clock that never needs setting as it gets the current time and date by polling Network Time Protocol (NTP) servers on the Internet.
The clock's time is synchronized to NTP time every five minutes. Use of the TimeZone library means that Daylight Savings Time (DST) is automatically taken into consideration so no time change button is necessary. Clock can be set to 12 or 24 hour mode.
The 32x8 MAX7219 LED matrix display also supplies the current day, date, and the inside and/or outside air temperature and humidity at the clock site.
In addition, the program uses the Internet to obtain a one, two, or three day weather forecast for the chosen site.
The Internet connection status and error messages are shown on the LED display when required.
If the clock is moved to a different site and/or the router which is used to connect to the Internet is changed, the clock program data can be updated without recompiling the code by using a connection to any web browser.
The clock's time is synchronized to NTP time every five minutes. Use of the TimeZone library means that Daylight Savings Time (DST) is automatically taken into consideration so no time change button is necessary. Clock can be set to 12 or 24 hour mode.
The 32x8 MAX7219 LED matrix display also supplies the current day, date, and the inside and/or outside air temperature and humidity at the clock site.
In addition, the program uses the Internet to obtain a one, two, or three day weather forecast for the chosen site.
The Internet connection status and error messages are shown on the LED display when required.
If the clock is moved to a different site and/or the router which is used to connect to the Internet is changed, the clock program data can be updated without recompiling the code by using a connection to any web browser.
Discussion (0 comments)