HARDWARE REQUIRED
LIBRARY REQUIRED
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
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
SPECIFICATIONS
2.4" LCD Touch Display
- 2.4" Touch LCD TFT display
- SPFD5408 controller with built in the video RAM buffer
- 240×320 resolution, 18-bit (262,000) color
- 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
- Onboard 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
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.
PIN DESCRIPTION
Arduino Mega 2560
CIRCUIT CONNECTION
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 |
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 |
LCD_D7 |
7 |
J1 | |
LCD_D0 |
8 |
LCD_D1 |
9 |
SD_SS |
10 |
SD_D1 |
11 |
SD_D0 |
12 |
SD_SCK |
13 |
CODE
CLICK TO DOWNLOAD THIS :
https://drive.google.com/open?id=1rPgmvTtLR-EBiaziJpt819L2cJT4H7XH
WORKING
Here we connect the Arduino mega and putt TFT on it and upload the code it will show display that which microcontroller based TFT result shown on the serial monitor.