A quick video about this project. I have since implemented a way to set timezone.
Thanks to the work of the Arduino and ESP8266 community, this cool clock is a surprisingly easy to build!
Although I've included links to where I bought my parts, these parts can be easily purchased from other vendors all around the world.
IMPORTANT:
First, let's put jumper wires on the ESP. Don't worry if your wire colors are different than mine. Which pair of pins are connected by each wire is what is important.
Do NOT connect the ESP to your PC YET. We need to complete all wiring before we power anything up.
We are using pins D0 through D8 and two GND.
We can skip the 3V pin because the ESP will be powered via the USB port.
We also skip the Transmit and Receive pins because we will communicate to the ESP via USB or WiFi.
Next, take the other end of the jumper wires we've just hooked up to the ESP and plug them into the matrix.
Again, the chart includes the colors of the wires that I used, but of course your colors might be different.
What is important is that you connect the ESP pins to the matrix as shown in the table.
The matrix is NOT symmetrical, there is a left/right, up/down. Please note the white arrows.
Connectors on my matrix are not labeled, so I've added a photo with labels. Your matrix might be slightly different. These resources discuss other board versions in great detail:
The display power cable were designed for screw terminals.
You could cut off the solder lug and strip the wire, but I opted to bend the prongs and use additional heat shrink tubing to ensure that there are no exposed metal. Whatever you do, make sure the wires make good contact, securely attached and insulated.
Obviously Red wire should be connected to (+) and Black wire to (-)
Plug the other end to the display, again noting polarity: Red goes to VCC and Black goes to GND.
If your cable is designed to simultaneously power two displays, it does not matter which one you connect to your one display. It is however VERY IMPORTANT that you do not reverse the red(+) and black(-)
If you haven't already, now is a good time to double check to make sure all the jumper wires are are connected to the correct pins (before we apply power).
Check polarity of the power cable AGAIN, make sure that PLUS and MINUS are NOT REVERSED!
Hey, we're done with wiring! But don't plug it in YET!
To upload the code to the ESP, you will need the Arduino software and a few libraries:
Follow installation instructions on the Arduino website.
Arduino has done so much for the maker community, so you should contribute to Arduino, but it is optional.
Click "Just download" to download without contributing.
Once installed, launch the Arduino IDE then:
IMPORTANT:
Notice that at the time of this writing, ArduinoJSON version 6.x beta does not work with Morph Clock. Doing so causes compile errors. Make sure you specify version 5.13.2 when you install/update ArduinoJSON.
Thanks to user lmirel for noticing this.
We also need ESP8266 support
The last thing to install is the device driver so our PC can talk to the ESP.
Download and install the driver for your computer from the bottom of the manufacturer's driver page.
If you need help, there is a nice tutorial on how to install Arduino Nano CH340 by samuel123abc. The same CH340/CH341 that is on the NodeMCU ESP is on the Arduino Nano clone.
We're almost there...
Troubleshooting:
if you get a JSON-related error when compiling, use JSON library version 5.13.2 instead of the latest version (6-beta) -- Thanks lmirel !
Once the upload is completed, you should see the word: "Connecting" on the display.
The ESP is trying to connect to your WiFi to fetch the current time. However, it doesn't know the password to your WiFi Access Point (AP) yet.
All that's left is to make a pretty case for it.
You no longer need the computer/phone. You can use any phone charger to power the ESP.
Please let me know if you see anything that I could improve on this instructable. I will do my best to answer questions too.
If you build this, please click the "I Made It" button and show off your version. Have fun making!
The wonderful people of the Internet have improved this project! Let me know if you've made improvements you'd like to share here. Thank you everyone!
Morphing Clock Remix by lmirel
https://github.com/lmirel/MorphingClockRemix
Date, Temperature, Relative Humidify by VincentD6714
https://drive.google.com/file/d/1TG8Y1IjAQaV7qGPWL...