Clock is my fascination. I’ve made clocks of a number of selection & themes however I by no means made any clock which have millisecond show. The reason is the large load of processing energy which all the time falls quick for the demand of quick altering show.
Nevertheless, the primary success got here after I efficiently may run the three.5” ILI9488 TFT show on 8 bit mode with ESP32. On 8 bit mode it wants 12 GPIO pins to run the show and it’s actually very quick and there lies the success of this millisecond show clock.
The “3.5 inch TFT LCD Touch Screen Display Shield for Arduino Uno” is on the market at robu.in & electronicscomp.com for INR:1400 solely.
Schematic
Though the TFT show suits very simply on an Arduino UNO however this millisecond show is just not potential on Arduino UNO because it lacks the computing energy.
The TFT ILI9488 pin connections element is like this.
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 functionality of measuring temperature as effectively which can also be displayed on the TFT. The time period between consecutive seconds is split by 1000 to calculate the millisecond and displayed on the TFT. The straightforward line drawing is tricked to created thick line which is put into variable perform.
Aftermath: The challenge is constructed up on a basic function PCB. The ability provide is a 5 volt sensible cellphone energy provide. The price of the challenge is about INR:2000 [$25 USD]