Thursday, July 4, 2019

Interfacing Arduino MEGA with 3.2 inch TFT display



In this post I am going to discuss about interfacing an Arduino MEGA with a 3.2 inch color TFT display. We will be discussing both hardware connections and software requirement to successfully complete the interface.

Pre-requisites

(1) Arduino MEGA with USB cable
(2) TFT display. I am using one from the link below.

https://www.amazon.in/Robocraze-320X480-Color-Display-Modul/dp/B077T9X2VQ?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=_k_EAIaIQobChMI_9TDqJSb4wIVRAwrCh2TmAoLEAQYByABEgKf6vD_BwE_k_&gclid=EAIaIQobChMI_9TDqJSb4wIVRAwrCh2TmAoLEAQYByABEgKf6vD_BwE


(3) Power supply for Arduino

(4) Library file for TFT display. For IL9341 driver, the library from link below worked for me. I hope they work for most of the drivers.
https://github.com/Bodmer/TFT_HX8357

(5) Jumper wires (Male to Female termination). You can find them here.
https://www.amazon.in/Electrobot-Jumper-Wires-120-Pieces/dp/B071VQLQQQ/ref=pd_sim_328_5/262-0718414-5292569?_encoding=UTF8&pd_rd_i=B071VQLQQQ&pd_rd_r=ec3986de-9e3c-11e9-b4b8-2f2e1d937197&pd_rd_w=IOUIG&pd_rd_wg=qirB8&pf_rd_p=3ba80840-2950-4d64-ba61-c68a14bd0939&pf_rd_r=2YFMXD30JCRRMSRDTHHM&psc=1&refRID=2YFMXD30JCRRMSRDTHHM


Steps

(1) Make the hardware connection between Arduino and TFT display.

Use jumpers wire as shown below. This make the connection between TFT and arduino easier.


(3) Install the library file from the link below:

https://github.com/Bodmer/TFT_HX8357

(2) Insert the Arduino MEGA into the USB port of PC/laptop.

(3) Upload an example program from the library file into the arduino. If you see some output, you are good to go.


Happy Duinoing.



No comments:

Post a Comment

Convert presurre and temperature in different units

  Unit Converter Pressure and Temperature Unit Converter Pressure Converter Temperature Converter ...