Solder pins (D1-D4 of Seeed Studio XIAO ESP32C6) to the input of driver board directly.
Solder wires from 5V and GND to the driver board.
The other type of ESP32-based board could be used also, but the port mapping in the source code should be changed.
The case model is only for XIAO ESP32C6. The excess motor cable can be stored in the case also.
Software
Install "WiFiManager" library by tzapu to your Arduino IDE using library manager. It is necessary for configuring WiFi connection using your smartphones.
Just search with keyword "wifimanager" in library manager, and click "install".
Compile and flash the demo-xiao.ino (below) to your microcontroller using Arduino IDE, and confirm that the digit shows time from 12:00 to 11:59 sequentially.
Then compile and Flash the clock-xiao.ino (below), the clock code with WiFi sync.
The WiFi configuration can be performed by your smartphone.
Connect to the WiFi station named "Hybrid Clock"
Configuration window may open. If not, please access to http://192.168.4.1 by your web browser.
Select your WiFi access point (2.4GHz only) and enter password.
Tap "Save" and all set!
Analog Clock Priority Mode
This mode shows precise time (1minute resolution) on analog clock. Instead, the alignment of digital clock is cluttered. The image above is an example showing 10:24 in analog clock priority mode.
To turn on this mode, change the definition of PRIORITY_ANALOG (line 12 in the source code) from false to true.