The 22.8.25 code update
adds
multiple gifs to the gallery and plays them randomly every day;
a new smartConfig network configuration is added, using the WeChat applet to configure the network;
a new touch button function is added to clear wifi information (press and hold for more than 8s to pop up a confirmation dialog box) to facilitate reconfiguration of the network;

note that when compiling the program, please register yourself to know the weather, and cover your private key in the picture below. The pinyin part behind is the city. If the font library is not comprehensive, please add it yourself!
Introduction:
This project uses 74HC595D and ULN2803AG to realize the main Nixie tube control. The rest consists of: DS1302 clock module, boost boost module, lithium battery charge and discharge management, esp32-wroom development board, and some Zener diodes, current limiting resistors, and triodes. It consists of:

main functions:
four-digit Nixie tube time display;
real-time network update of weather and date (know weather API), screen always on;
Nixie tube backlight (red and yellow LED) that is automatically turned on according to the ambient light source;
The Nixie tube is started according to the touch control and goes out within 5s-60s (to ensure the life of the Nixie tube). The touch switch and the power switch are the two toggle switches in the picture. You can also touch the toggle switch directly. Turn the button on the right. The sub-switch enters the always-on mode, and it lights up temporarily when touched;

esp32 enters sleep mode (light-sleep) between 23:00-6:30, and can be woken up for a while by touching, and then continues to sleep;

the basic principle
is that 74HC595D is a serial converter A parallel chip with a latch, using a microcontroller to transmit serial data to it, a total of 40 bits (4 Nixie tubes, 10 control terminals each), and its latch read and write enable and output are controlled through esp32 Enable, Arduino comes with shiftout command. The ULN2803 Darlington array is controlled on and off by 74HC595D. The cathode of the Nixie tube is connected to the output end of the Darlington tube. Pay attention to its maximum withstand voltage. You need to install a 51V Zener diode on the com port to prevent the chip from burning due to voltage fluctuations. !
Screen part reference: https://did321.github.io/2021/07/28/ESP32-TFT-%E5%88%86%E5%85%89%E6%A3%B1%E9%95%9C%E5 %AE%9E%E7%8E%B0%E9%80%8F%E6%98%8E%E5%B0%8F%E7%94%B5%E8%A7%86/