The ESP module connects to the wifi network and fetch the current time from the NTP server. note that you need to change the GMT offset accordingly in order to get the local time of your place. There is 12 LEDs on the board which are connected to GPIO 5. In order to visualize time I choose different colors for HOUR, MINUTE and SECOND.
Buy electronic components with free shipping on utsource.net
After getting the time we need to divide Minute and Second by 5 because we have 12 leds and 60/5=12. The hour is in 24h format so we need to change that too.
Finally I set the colors for the LEDs according to the time. which can be change easily.
What diameter is the PCB? And how thick is the total board+esp+LEDs? I'm curious I can drop this straight into a pocket watch case!