3D Clock

Placed on

Programming 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:

Actionurl
ONhttp://IP-Address/on
OFFhttp://IP-Address/off

Instead of IP-Address, enter the IP address of the wemos.

De code:

Current Page 8. Computer programming 1. Introduction 2. Create the segments 3. Preparing the frame 4. The lighting for the segments 5. Make controller circuit board 6. Glue 7. Connect 8. Computer programming 9. Finish Posted by

Comments

Webwinkelkeur Kiyoh Trustpilot Opencircuit