Arduino Flappy Bird Game Using TFT LCD by Push Button Tutorial

by mybotic in Circuits > Arduino

9134 Views, 25 Favorites, 0 Comments

Arduino Flappy Bird Game Using TFT LCD by Push Button Tutorial

FJRDS8GJ34PGLNV.LARGE.jpg

Description:

The 3.5 "display module for easy adaptability and flexibility of library had long been a reliable basis for tender color.16-bit color TFT screen and 3.5 "in size. It works as a touch screen to incorporate a capacitive sensor, which allows us to control it by touching with the finger directly on it and has a resolution of 480 × 320 pixels, relatively high for its size. Uses the ILI9481 driver.

Features:
Screen Size: 3.5 "

Pixel: 480x320

Color code: 262K

Display Size: 51mm x 77.5mm

Touch: Yes

Connection: Arduino Mega Shield (Mega / Due size)

SD card support: ... 128GB 16MB

Chipset: ILI9481 (R61581, CTE32HR)

Viewing Angle: Wide

Control: individual or UTFT library

Power supply voltage: 3.3V and 5V

UTFT supportBacklight: permanent, internal control

Size (mm): 97.5 * 64mm * 15mm (shield)

Project Planning

ArduinoMega.jpg
tft1.jpg
mcu-friend-35-colour-tft-touch-screen.jpg

For this tutorial, we just using a simple hardware where there is no need to use breadboard and any other components. No need of wiring.

You just need to have:

  1. 3.5" Arduino TFT LCD Touchscreen Module
  2. USB cable type A male to B male
  3. Arduino Mega 2560
  4. Push Button

**Please download the UFTF

Downloads

Pin Connection

19820822_1547358928649377_625550864_o.jpg
mcu-friend-35-colour-tft-touch-screen.jpg
SKU074519-SKU166920-2.jpg
19724017_1547358848649385_1312731429_o.jpg
Picture1.png

Connect your arduino with the 3.5" Arduino TFT LCD Touchscreen Module and two (2) buttons which are Start Button and Reset Button. Make sure that all pins are fit into its port.

Insert Coding

Picture1.png
Capture.PNG
  1. Download the test code and open it by using Arduino software or IDE.
  2. Make sure that you have choose the right board and the corresponding port. (In this tutorial, Arduino Mega 2560 is used)
  3. Then, upload the test code into your Arduino Mega 2560.

**For in case, if your display is mirrored, you may follow the instruction below:

Documents>Arduino>Libraries>UFTF>tft_drivers>ili9481(for 3.5'' TFT LCD)>edit initlcd.h and change

LCD_Write_COM(0x3A);

LCD_Write_DATA(0x55);

Result

Picture2.png

After uploading completely, you can start to play with favourite flappy bird game.

Enjoy!

Video

Arduino Flappy Bird Game Using TFT LCD by Push Button Tutorial

Enjoy watch the tutorial!