HomeEngineering Projects For YouESP32 RTC Millisecond clock display

ESP32 RTC Millisecond clock display

Comment errors or corrections found for this circuit, and get the chance to win big!

Clock is my fascination. I have made clocks of several variety & themes but I never made any clock which have millisecond display. The reason being the huge load of processing power which always falls short for the demand of fast changing display.

However, the first success came when I successfully could run the 3.5” ILI9488 TFT display on 8 bit mode with ESP32. On 8 bit mode it needs 12 GPIO pins to run the display and it is really very fast and there lies the success of this millisecond display clock.

The “3.5 inch TFT LCD Touch Screen Display Shield for Arduino Uno” is available at robu.in & electronicscomp.com for INR:1400 only.

- Advertisement -

Schematic

Although the TFT display fits very easily on an Arduino UNO but this millisecond display is not possible on Arduino UNO as it lacks the computing power.

The TFT ILI9488 pin connections detail is like this.

- Advertisement -
TFT Pin ESP32 Pin TFT Pin ESP32 Pin
3.3V 3.3V D5 4
Gnd Gnd D6 5
D0 7 D7 6
D1 8 CS 15
D2 1 DC 0 [keep empty]
D3 2 RST 14
D4 3 WR 17

 

Operation

The time is calculated from the RTC DS3231. This RTC have capability of measuring temperature as well which is also displayed on the TFT. The time duration between consecutive seconds is divided by 1000 to calculate the millisecond and displayed on the TFT. The simple line drawing is tricked to created thick line which is put into variable function.

Aftermath: The project is built up on a general purpose PCB. The power supply is a 5 volt smart phone power supply. The cost of the project is about INR:2000 [$25 USD]

Download Source Code

Somnath Bera, AGM, NTPC Limited
Somnath Bera, AGM, NTPC Limited
Somnath Bera is an Assistant General Manager (AGM) at NTPC Limited, bringing extensive industrial experience in thermal power systems along with strong expertise in electronics, IoT, AI, and embedded systems. His multidisciplinary background enables him to bridge large-scale industrial applications with modern digital technologies. Alongside his leadership role in the energy sector, Somnath is a prolific contributor to Electronics For You, where he shares practical, project-driven insights for engineers, makers, and technology enthusiasts. His work focuses on real-world implementations, combining hardware and software to create impactful solutions. He is also known for his hands-on demonstrations and tutorials, which simplify complex concepts and make advanced technologies accessible to both hobbyists and professionals. His contributions reflect a unique blend of deep technical knowledge, industry experience, and a strong commitment to knowledge sharing.

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics