Skip to content

adamkovesdi/esp-matrixclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dot matrix clock with weather and NTP

This is my dot matrix clock made with ESP8266 WiFi capable MCU. Accurate time signal is acquired from NTP and weather information is available through Openweathermap.org API.

esp-matrixclock

Features

  • 24 hour time display
  • NTP sync
  • Optional weather data from Openweathermap.org API
  • Outside temperature display
  • Wind speed display
  • Wind direction display
  • DST support (automatic change)
  • Over the Air (OTA) firmware upgrade capability
  • WifiManager Soft AP configuration interface

Prerequisites

  • ESP8266 board (recommended: NodeMCU/compatible see BOM)
  • MAX7219 based LED matrix display (order from China)
  • Openweathermap account (optional)
  • PlatformIO

Time display screen

esp-matrixclock

Weather display screen

Current weather is displayed 3 times per minute for 4 seconds.

esp-matrixclock

Build & Installation HOWTO

Hardware BOM

Wiring between NodeMCU and matrix board

NodeMCU 3.3V -> Matrix Vcc
NodeMCU GND  -> Matrix GND
NodeMCU D8   -> Matrix DIN
NodeMCU D7   -> Matrix CS
NodeMCU D6   -> Matrix CLK

Software installation

PlatformIO automatically downloads all required libraries, boards, and configures your environment.

Optional steps for weather info functionality

Uploading Firmware to ESP8266 module

PlatformIO serial

platformio run --target upload

PlatformIO OTA

platformio run -t upload --upload-port <IP address of ESP>

Wifi Configuration

  • Latest version of the Firmware uses the WifiManager library by tzapu to setup the clock

  • If no known WiFi AP is nearby, the clock starts the config portal

  • Connect to SSID: "MatrixAP"

  • Point your browser to 192.168.4.1

  • Follow instructions to configure your SSID, pass, API key and CityID

  • To manually force config AP mode, short D5 pin on NodeMCU to ground to enter

Obsolete config instructions for the serial version:

  • If the clock fails to connect to an AP it will ask for credentials
  • Run serial monitor (Arduino IDE) or minicom/putty, etc at 9600 bps
  • Type in your own Wifi credentials

Future plans

  • Dimmable display brightness (request)
  • Multiple NTP time-zone support
  • bugfix, testing

Special thanks

  • Vajk for beta testing & original HOWTO
  • William Moeur for NTP code

About

ESP8266 based dot matrix clock with weather

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published