Skip to content

ammerscm68/LED-Matrix-Rolling-Clock-with-ESP8266

Repository files navigation

LED-Matrix-Rolling-Clock-with-ESP8266

LED-Matrix-Rolling-Clock with ESP8266 (WEMOS D1 mini)

Pinout:

ESP8266 ----- Max7219
VCC ------------ VCC
GND ----------- GND
D6 ------------- CLK
D7 ------------- CS
D8 ------------- DIN

VCC = 5V

D1 = DHT11 / DHT22 - Sensor (Optional)
D2 = Passive Buzzer KY-006 (Optional)
D3 = Hardware Button to GND (Optional but recommended)
D5 = LED to GND - for Humity and Radioactivity Warning (Optional)


Settings in the Arduino IDE (Menu Item “Tools”)

For ESP8266 (Wemos/LOLIN D1 Mini)

grafik

Attention: All settings on the ESP8266 will be lost !!!

Installation:

When the Clock is switched on for the first time, an Access Point is started.

SSID:
LED-Matrix-Clock (English)
LED-Matrix-Uhr (German)
LED-Matrice-Horlog (French)

In the Captive Portal (standard IP: 192.168.4.1) where you can select your own WLAN.
The API-key and the City-ID of "OpenWeatherMap" can also be entered here. (Optional)
The API-Key for "NewsData" can also be entered here. (Optional)
The GMCMap.com History-ID and the GMT-Offset can also entered here. (Optional)
The up to 3 Owners of the Clock can also be entered here. (Optional)


Changing the WLAN password:

When a button installed is (pin D3 to ground) then here.
Press the button until the access point is started (10 times).
The button also serves to switch the display on and off at the same time.
Or changing over Webinterface right bottom of the root site.


Webinterface:

The watch also uses a web interface to make settings.
The call is made via the IP address of the clock or
"http://ledmatrixuhr.local" (German Version)
"http://ledmatrixclock.local" (English Version)
"http://ledmatricehorloge.local" (French Version)


GMCMap.com:

Example Setting in Captive Portal:
GMCMap.com - History-ID: 12345678
GMCMap.com - GMT-Offset: 2
(Web URL: www.gmcmap.com/historyData.asp?Param_ID=12345678&systemTimeZone=2)

Explanation of the "GMCMapMidnightAccessDelay" Function:
In the "gmc.ino" File, after downloading the Current Data, the
Current Date is compared with the last Date on the GMCMap
Website History of the Sensor. If the current Date does not
Match the last Date in the GMCMap History, the Clock Displays
an Error Message.In the worst case, this can happen after
Midnight, if there is no new GMCMap Data. With the
"GMCMapMidnightAccessDelay" Function, you can now Wait a
certain Number of Minutes until the next Values ​​are downloaded
from GMCMap Website in Order to avoid an accidental Error Message.

Example: The GMC-Sensor sends its Values ​​to the GMCMap.com
Website every 10 Minutes. In this Case, a Value of 30 for the
"GMCMapMidnightAccessDelay" Function would be useful.
This means that after 30 Minutes GMCMap Data will be downloaded again.
The Default Value is 30 Minutes.


Video:

YouTube Video: (German)
https://www.youtube.com/watch?v=6Jl69GYtSMw
YouTube Video: (English)
https://www.youtube.com/watch?v=ZmM3IA_AyQY


Software:

New from Version 10.1.2
Version 10.1.1 is a internal beta
Added Valentine's Day to the Holidays even if it is not a Holiday, Many Hearts are Displayed
The Time Zone can now be changed in the Captive Portal.
The NTP Server issue should now be Resolved
New from Version 10.1.0
From this Version on you can set in the Captive Portal whether Midnight Ghosts should appear or not.
(Previously this could only be changed directly in the Sketch)
New from Version 10.0.9
Correction of a small Cosmetic defect that bothered me. Sorry
New from Version 10.0.8
Display of the Clock Status from the last Start in the Web Interface. (Example: WLAN failure)
Stabilization of the Web Interface
Major Bugfix with Notepad++ and the Compare Function
Version 10.0.5-10.0.7 are internal Versions
New from Version 10.0.4
Inserting the Function "GMCMapMidnightAccessDelay" - Explanation see above
BugFix
New from Version 10.0.3
Fix logic Error in "GMSMap.com" Function
New from Version 10.0.2
With corresponding OpenWeatherMap Data, the Clock now also shows the probability of Snowfall (Chance of Snow)
New from Version 10.0.1
New Major Version (Version 10.0.0 is a internal beta)
Add a new Function "gmcmap.com" - Download the current Radioactivity Values ​​at the selected Location.
[The Necessary Parameters can be set in the "Captive Portal" (see above)]
Display of the current WiFi Signal strength for better Location selection of the Clock
(On the Matrix Display [Alert] and on the Web Interface)
Automatic deactivation of Online Functions in case of very poor WiFi Signal strength
The maximum of 3 Owners of the Clock can now be changed at any Time in the "Captive Portal".
Optimization of the source Code
BugFix
New from Version 9.9.4
BugFix.
New from Version 9.9.3
BugFix.
New from Version 9.9.2
"NewsAPI.org" has stopped Service in Europe. In Search
after a new News Service I came across “NewsData.io”.
I have adapted the “News.ino” Module accordingly.
since “NewsData.io” only Outputs the Data via HTTPS, I had to
from <WiFiClient.h> to <WiFiClientSecure.h>.
unfortunately, this costs significantly more Memory (RAM).
The Settings of the Arduino IDE need to be Adjusted.
After this Setting, all Settings on the ESP8266 go lost.
The Corresponding Settings in the Arduino IDE are Shown (see above).
Other Minor Improvements have been added.
BugFix.
Version 9.8.6 - Version 9.9.1 are internal Versions.
New from Version 9.8.5
Corrected Logic Error in "GoMatrixAction()" function.
New from Version 9.8.4
Version 9.8.2 to 9.8.3 Internal Versions
Improvement of some Functions
Improving stability
Elimination of logic Errors
New from Version 9.8.1
If the DHT Sensor is defective and cannot be Replaced immediately, it is now possible to deactivate
the Sensor until it is Replaced so that the Values ​​are no longer displayed on the LED Matrix. (Sensor Calibration)
Integration of the "Pushover Messaging Service" in the Captiv Portal (Access Point).
The Clock sends a Message, Example to the Smartphone or Tablet, if the Airhumidity in the Room is too high or too low. (Optional)
New from Version 9.7.1
Version 9.5.6 to 9.7.0 Internal Versions
The current Weather and current News can now be viewed on the Website.
The Calibration (Offset) of the DHT Sensor can now be done live. (No longer via the Access Point)
Further optimization of the source code
Huge BugFix
New from Version 9.5.5
More Source code optimization
BugFix
New from Version 9.5.4
Source code optimization for more free memory
New from version 9.5.3
Internal version
New from Version 9.5.2
If OpenWeatherMap is activated, the outside temperature and outside air humidity are
now also displayed on the Website.
New from Version 9.5.1
Date and Calendar Week View improved
New from Version 9.5.0
The current date is now output with the current calendar week
BugFix
New from Version 9.4.1
Improvement of WIFI and NTP routine
New from Version 9.4.0
For the German and Austrian versions, the federal state can now be changed in the Captiv portal.
minor improvements
BugFix
New from Version 9.3.3
BugFix
New from Version 9.3.2
Switching the Temperature output of the US Version from Celsius to Fahrenheit
Add a Version for Ireland and Austria
BugFix
New from Version 9.3.1
Revision of the function "void Greetings_and_Holiday()"
Bug Fix
Add English (US) Version
New from Version 9.3.0
Bug Fix
New from Version 9.2.9
Split in German (de) and English (UK) Version
New from Version 9.2.8
Bug Fix
New from Version 9.2.7
minor improvements
New from Version 9.2.6
Bug Fix
New from Version 9.2.5
Actions (weather and news) changed from 5 minute interval to 3 minute interval
Bug Fix
New from Version 9.2.3
Bug Fix
Program compression
New from Version 9.2.2
Bug Fix
New from Version 9.2.1
Funtion "void greetings()" renamed in "void Greetings_and_Holiday()"
Function "void Greetings_and_Holiday()" supplemented by additional holidays
If you specify the german federal state, german non-federal holidays are also displayed
The german federal state is specified in the main file (.ino)
If no german federal state is specified, only german federal holidays are displayed
New from Version 9.1.0
Function "void loop" highly optimized
Bug Fix
New from Version 9.0.7
Bug Fix in the "Captive Portal" Modul
New from Version 9.0.6
Display of indoor and outdoor air humidity in the matrix display
Better distinction between indoor and outdoor temperatures
Better distinction between indoor and outdoor air humidity
Integration of an external LED to warn if the humidity is too high or too low
Optimization of some Void functions
Versions 9.0.0 - 9.0.5 are internal versions
---------------------------------------------
New from Version 8.1.5
Sound and Owner function improvement
New from Version 8.1.2
Small correction in the settings Site on Webinterface
New from Version 8.1.1
Look Clock Owner in the settings on Webinterface
New from Version 8.1.0
Status passive Buzzer look in the settings on Webinterface
New from Version 8.0.0
Add Display Check function. Button on the Webinterface
New from Version 7.2.0
improvement the "greetings()" function
New from Version 7.1.7
Bug Fix
New from Version 7.1.6
minor improvements
New from Version 7.1.5
minor improvements
New from Version 7.1.3/4
minor improvements
New from Version 7.1.2
At midnight display of ghosts (Optional set in sketch)
New from Version 7.1.0/1
Animation when starting and turning the clock off and on via the web interface
New from Version 7.0.9
Warning if humidity in the room is too low or too high.
New from Version 7.0.8
minor improvements
Selection of the temperature and humidity sensor type in the sketch (DHT11 or DHT22)
New from Version 7.0.5/6/7
Bug Fix
New from Version 7.0.4
Slightly improved startup sound (only if buzzer installed)
New from Version 7.0.2
Due to lack of memory, the entire software has been revised
Integration of a passive piezo buzzer. Activation via Captive Portal (Optional)
New from Version 6.1.6/7/8
bug fix
New from Version 6.1.5
Corrected logic errors and minor Website improvements
New from Version 6.1.4
Captive Portal and Webserver improvement (stabilized)
New from Version 6.1.3
Website "fine Tuning"
New from Version 6.1.0
Automatic saving of Websitesettings and bug fix
New from Version 6.0.9
little bug fix
New from Version 6.0.7/8
Website "fine Tuning"**
New from Version 6.0.6
Revised Captive Portal and minor improvements
New from Version 6.0.0
Webinterface completely revised
**New from Version 5.72 and 5.73:
bug fix
New from Version 5.71
improvement Modul "news.ino" and "myfunctions.ino"
New from Version 5.60
minor improvements
New from Version 5.56
bug fix
New from Version 5.54
Display of the AccessPoint IP-Address
New from Version 5.51
new Captive Portal (WiFi-Manager)
bug fix

New from Version 5.46
**Now with Arduino OTA.
Sketch updates without a USB cable over the network

New from Version 5.42
Improved webinterface
bug fix
The webinterface can now be reached with the DNS name "http://ledmatrixuhr.local"