Skip to content

Cyb3rn0id/Yet-Another-Dot-Matrix-Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Yet Another) Dot Matrix Clock

(Yet Another) Dot Matrix Clock

This is a simple clock + calendar + thermometer made using an ESP8266 NodeMCU and 8 dotmatrix led display. It have the possibility to publish temperature and humidity value over MQTT. I published the whole project on Hackster.

Libraries to be installed in Arduino IDE:

Components used

Amazon links are affiliated links:

Connections

Attach together 2 4x32 dot matrix displays: every display has a 5 pin-male header on the right side marked as DIN and 5 pads on the left side marked as DOUT:

Displays joined

The free male header will be connected to the NodeMCU. Here is a simplified schematic:

(Yet Another) Dot Matrix Clock Schematic

Display -> NodeMCU connections:

  • CLK -> D5
  • CS -> D8
  • DIN -> D7
  • GND -> GND
  • VCC - > VU (o VV o VUSB)

DHT22 -> NodeMCU connections:

  • PIN 1 (VCC) -> 3V3
  • PIN 2 (Data) -> D2
  • PIN 3 (NC) : not connected
  • PIN 4 (GND) : GND

Having DHT22 in front of you, pin 1 is on the left. Some DHT22, like the one I linked before, are shipped soldered on an adapter board having only 3 pins: follow the markings on the PCB

NodeMCU will be powered from USB port

Setup

Edit the file secret.h by writing your Wi-Fi SSID and Password: exact time will be taken from an NTP server. In case time can't be updated:

  • try to turn off and on the router
  • try to use a static IP

Edit yadm_clock.ino by commenting the row #define MQTT if you don't want to use an MQTT broker. If you want to use the MQTT broker for publishing data from the DHT22 sensor, then edit also the row const char* mqtt_topic="garage"; by writing your own Topic. If you, for example, use the topic garage, you'll have the umidity value on garage/humidity and the temperature value on garage/temperature.

Here is a video showing how YADM Clock works:

Video Orologio matrice

About

(Yet Another) Dot Matrix Clock

Topics

Resources

Stars

Watchers

Forks