Introduction: Displaying Time on a LCD TFT Screen With Arduino UNO
In this article, I will show you how to get the time on a LCD TFT screen with Arduino!
Read this tutorial or watch the youtube video :)
Step 1: Project Materials
Arduino UNO
Click here for the DealExtreme productlink
TFT 1.17 inch LCD screen (A000096 Arduino)
Click here for the DealExtreme productlink
Some wires
Step 2: Wiring Diagram
5V (LCD) - 5V Arduino
MISO (LCD) - Pin 12 Arduino
SCK (LCD) - Pin 13 Arduino
MOSI (LCD) - Pin 11 Arduino
LCD CS (LCD) - Pin 10 Arduino
SD CS (LCD) - Pin 4 Arduino
D/C (LCD) - Pin 9 Arduino
RESET (LCD) - Pin 8 Arduino
BL (LCD) - 5V Arduino
GND (LCD) - GND Arduino
Step 3: Arduino Code
Download the sketch & upload it to your Arduino.
You can adjust the start time by change the parameters as shown below.
int hh = 00; //Set start time for hours
int H = 00; //Set start time for minutes
int N = 00; //Set start time for seconds
Attachments
Step 4: Endresult
The time is now displayed on the LCD screen. (Picture)
Or watch the video for the endresult :)
Other projects with the 1.17 inch LCD screen & Arduino
Displaying an Image on a LCD screen & Arduino
https://www.instructables.com/id/Displaying-an-Imag...
Displaying Time & Temperature on a LCD screen & Arduino
https://www.instructables.com/id/Temperature-Alarm-...
Controlling your high voltaged Fan with an TFT/LCD screen & Arduino
https://www.instructables.com/id/Controlling-Your-H...