3D Clock
Placed onProgramming the wemos
Below you will find the program that should be placed on the wemos wifi module, which you can upload via the Arduino environment. If you don't know how to do this: https://opencircuit.be/Blog/Aan-de-slag-met-de-ESP8266 .
We also need the following libraries: NTPClient, WiFiUdp and Ticker. If you don't know how to install it, take a look here: https://www.arduino.cc/en/guide/Libraries
As you can read in the code, a web server is set up, so that you can, for example, link your clock to your home automation system. For example, you can only have the clock turn on when someone is in the room, or have it flash in the event of an alarm. The URLs with an action are:
Action | url |
ON | http://IP-Address/on |
OFF | http://IP-Address/off |
Instead of IP-Address, enter the IP address of the wemos.