Pg
1
How to Check the Micro Controller of 2.4” TFT Touch
Display using Arduino Mega
Pg
2
Pg
3
Digital Photo Frame (DPF)
Video terminals
Instrumentation
GPS
2.4” TFT Touch Display
2.4" Touch LCD TFT display
SPFD5408 controller with built in video RAM buffer
240×320 resolution, 18-bit (262,000) colour
8 bit digital interface, plus 4 control lines
Uses digital pins 5-13 and analog 0-3. That means you can
use digital pins 2, 3 and analog 4 and 5. Pin 12 is available if
not using the microSD
Works with any library available.
5V compatible! Use with 3.3V or 5V logic
On-board 3.3V 300mA LDO regulator
4 white LED backlight. On by default but you can connect the
transistor to a digital pin for backlight control
On-board Micro-SD card electric circuit
Typical Applications
2 Specifications
Pg
4
Arduino Mega
The MEGA 2560 is designed for more complex projects.
With 54 digital I/O pins, 16 analog inputs and a larger
space for your sketch it is the recommended board for 3D
printers and robotics projects. This gives your projects
plenty of room and opportunities.
Pg
5
Microcontroller ATmega2560
Operating Voltage 5V
Input Voltage
(recommended)
7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB of which 8 KB used by bootloader
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16 MHz
LED_BUILTIN 13
Length 101.52 mm
Width 53.3 mm
Weight 37 g
Pg
6
Arduino Mega 2560 with USB Cable – 1
2.4” inch TFT Display -1
9v Battery with DC jack – 1
Hardware Required
Pg
7
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download:
https://www.arduino.cc/en/Main/Software
SWIFT Library by smoke and wires: https://github.com/Smoke-And-Wires/TFT-Shield-Example-
Code
AdaFruit GFX Library https://github.com/adafruit/Adafruit-GFX-Library
Software Required
Library Required
Pg
8
To make the circuit you need to attach 2.4” TFT screen on
above the Arduino Mega 2560 as given in the instruction
below
2.4” TFT SCREEN ARDUINO MEGA 2560
J3
LCD_RD A0
LCD_WR A1
LCD_RS A2
Circuit Connection
Pg
9
LCD_CS A3
LCD_RST A4
A5
J4
VIN
GND GND
GND
5V 5V
3V3 3.3V
RESET
J2
RX0
TX0
LCD_D2 2
LCD_D3 3
LCD_D4 4
LCD_D5 5
LCD_D6 6
Pg
10
LCD_D7 7
J1
LCD_D0 8
LCD_D1 9
SD_SS 10
SD_D1 11
SD_D0 12
SD_SCK 13
Pg
11
Click to see the code: https://goo.gl/WT53T7
Here we connect the arduino mega and putt TFT on it
and upload the code it will shows display that which micro
controller based TFT result shown on serial monitor.
Code
Working
Pg
12
10