Making the clock with a Canon Canola L1211 display unit
I would like to make the clock, since the work I have done until the other day has allowed me to display freely on the display unit.
For more information about the previous work, please see this article.
Programming
- Initial settings
- Connect to WiFi
- Connect to NTP server
- Launch the task
- Task to set the current time into the data buffer of the display table every 50ms
- Task for dynamically lighting the value of the data buffer on the display unit
- Task to generate data with scrolling numbers during WiFi connection
The above is the program. It's very simple, so I'll skip the explanation. c
Please enter the SSID and password of your home wireless LAN in the third and fourth lines of the program before compiling.
ESP32 has a lot of net-based libraries, so it is easy to make an NTP clock.
Schematic
This is just a circuit that connects the ESP32 to the driver circuit that I introduced the other day. I did not use the seventh digit because I wanted to put a space between the calendar and the time display.
We also use the DCDC converter NIxieDCDC.
Run!
The left five digits are the calendar showing the month and date, and the right six digits are the clock showing the hours, minutes, and seconds.
It's an indicator with a different atmosphere than LED or VDF. I can't help but stare at it in a daze.