Time Display Using Custom Fonts
by letsmake Electronics in Circuits > Arduino
23 Views, 0 Favorites, 0 Comments
Time Display Using Custom Fonts
I was tired of squinting my eyes and seeing the time from a far away distance, so instead I made this, A time display using custom fonts.
Supplies
Node MCU
16 x 4 LCD display
4 female to female jumper wires
Watch the Video
The video gives you more context about the project.
Connections
Connect the node mcu to the 16 by 4 lcd display according to the above connection diagram
Install Esp 8266 Core to Arduino IDE
Go to files, click preferences, and paste the link in the additional boards manager URL
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Install NTP Client
In the library, search for NTP client and click install
Make a Few Changes to the Code
Enter your Wi-Fi name and password in the ssid 1 and password 1
If you have a secondary Wi-Fi network you can enter its Wi-Fi name and password in ssid 2 and password 2
The reason for this is that ESP 8266 does not have a built in RTC (Real Time Clock), so instead we are getting time from the internet and displaying it.
If you are using an ESP 32, the built in RTC clock will store the time and will display.
Set the UTC offset value in seconds in the timeoffset. Search for UTC offset and your country name to find your UTC time offset.
Downloads
Small Display Big Digits
For the custom fonts in this projects I have used, small display big digit project by upir
He has done an excellent job on how to create these fonts and how to use them in your project
Upload the Code
After uploading the code to the node mcu, it will connect to the Wi-Fi and will display the time.