Intro: How to Make Realtime Clock Using Arduino and TFT Display|Arduino Mega RTC With 3.5 Inch TFT Display
Introduction:- In this post I am going to make “Real time Clock “ using 3.5 inch TFT touch LCD, Arduino Mega 2560 and DS3231 RTC module….Before starting…check the video from my YouTube channel..
Step 1: Step-1 Watch the Video
Before start reading this post check out the video of this project on my YouTube channel. It gives you 75% information (Idea) about the project…
Step 2: Step-2:-Tools and Materials
For my project I am using 3.5 inch touch screen with ILI9481 Driver, Arduino Mega 2560 and a DS3231 RTC module. But you can use smaller or bigger screen and Arduino UNO instead of Mega. You can buy the materials from link below, if you bought any materials from below link I will get small commission..,,, Don’t worry you don’t have to pay more…….Here is the list of the materials..
5) 12V adapter
5) 12V adapter
5) 12V adapter
Step 3: Step-3:-Connection
Well my LCD is specially made for Arduino mega 2560/DUE so, it can slide directly into the arduino mega. So we don’t have to connect the each individually. But in case you’re using other LCD or Arduino UNO you can change the pin initialize in the arduino IDE software for mega it’s The “Real Time Clock” module is connected with the Arduino Mega through the I2C interface, so Connect SCL of the RTC module to the SCL of mega And SDA to SDA and connect Vcc of RTC to 5V pin of Arduino mega and GND to GND of arduino..I am using breadboard to make connection between the arduino and RTC…
Step 4: Step-4:- Upload the Sketch to Arduino
Before uploading the sketch to your arduino board, Download and include the UTFT and UTouch Library to your computer…Download and extract the zip file of the library and include it to your arduino library folder…make sure to restart the software (Arduino IDE) in case it is open during this process. Download the zip file and extract it you will find Arduino sketch including UTFT and UTouch library or you can download the library from link below (GitHub)…
Extract the Arduino sketch zip file and open it, select your bord type (like Arduino mega, UNO, Nano). Select the COM port and clicl on upload….after uploading the sketch the time and date will displayed on your screen including message (whatever you want to show on screen).. To set the date and time Click on SET button and the digit becomes red click up/down to set the time fot date it shows small dash(“-‘” this sign) below the date and you can change the date by clicking UP/DOWN on screen… Note:-If you are using cheap LCD module like mine, Then don’t expect good touch sensitivity from it..
If you found this post helpful then Please consider supporting me through my Patreon campaign or donate through PayPal. Even small amount can help a lot…and/or please Subscribe to my YouTube channel for more exiting projects in future…..if you have any confusion or suggestions for this project let me khow in the comment section below... Also connect with me through Twitter, Facebook.