3.2" TFT LCD With SD and Touch For Arduino
3.2" TFT LCD With SD and Touch For Arduino
3.2" TFT LCD With SD and Touch For Arduino
QUICK SPECS:
Brief Description
Included Items:
screen
The Arduino libraries needed to use this display can
-TFT shield for Arduino Mega Getting Started:
be downloaded as a single package at:
with adjustable backlight potenti- Congratulations on your purchase of the SainSMART 3.2” TFT
https://www.dropbox.com/s/
ometer with touch screen and SD reader for Arduino Mega.. These
egguwqx49qr143i/3_2_LCD_Libraries.zip?dl=0
items have been paired to provide you with a working solution
Additional Notes: Arduino Mega board. Use caution when inserting and removing
- ITDB02_Touch
-This item is not suitable for the modules to prevent damage to the interface pins. The LCD
ITDB02_Touch is the legacy version of Henning Karlsen’s
the Arduino UNO due to the will function when the Arduino is powered from either the USB
UTouch library. The UTouch library does not function
number of I/O pins required interface or external power adapter.
properly with the touch controller used on the 3.2” TFT.
for operation
Next, you will need to download and install the needed libraries
-UTFT_SDRaw
-Because of the voltage, logic found in the list to the right. While not mandatory, these librar-
UTFT_SDRaw is an alternative to Henning Karlsen’s
levels, and shield require- ies will allow to you get up and running with your LCD quickly
UTFT_TinyFAT and allows the loading of raw bitmap
ments this item is not suitable and provide an easy way to interface to the hardware through
images to the LCD from the SD card. It uses the standard
for use on the Arduino DUE the Arduino IDE.
SdFat Arduino library for card access.
LCD_RS, LCD_WR, LCD data flow control lines
LCD_RD, LCD_CS, LEARNING SERVICES
LCD_RST Not sure what steps to take
DB0—DB15 (D37‐D30, D22‐ LCD 16‐bit parallel
D29) data interface
LCD_RS (D38), LCD_WR (D39), LCD data flow control
LCD_RD (3.3V), LCD_CS (D40), lines
LCD_RST (D41)
sainLABS
engineering
Assembling the shield and LCD to the Mega:
Begin by carefully star ng the rear
connector of the TFT shield onto
the Arduino Mega. Go slowly and
Need Accessories?
ensure that all pins are inserted
Visit http://sainsmart.com for all
correctly and are straight.
of your maker needs!
INVENTOR PORTAL
Press down on the shield to seat
Do you have a great new idea
all three connectors fully onto the
but don’t know where to turn? At
Arduino Mega. Check to ensure all
SainLABS, we offer services to pins are seated fully.
help inventors get products to
Finished! Your LCD is now ready to
use.
ported displays, see the UTFT documenta on). This will allow UTFT to correctly communicate with
this LCD. INVENTOR PORTAL
31 UTFT myGLCD(SSD1289,38,39,40,41); Do you have a great new idea
more information.
and ensure that your libraries are The configura on of the example sketch from the download link on page 1 should be correct
properly installed. for this type of display. Lines 22 and 23 declare the display model and touch pins for UTFT and
ITDB02_Touch. Lines 37 and 40 set the correct display and touch orienta on so that the LCD
and touch panel are in sync.
Extending the program
22 UTFT myGLCD(SSD1289, 38, 39, 40, 41);
Once you can use the buttons in
23 ITDB02_Touch myTouch(6, 5, 4, 3, 2); TIP: If you do not see
the demo sketch, read through
line numbers in the
the ITDB02_Touch documenta- ————— IDE— click File, then
tion to learn how to take touch choose Preferences. Be
37 myGLCD.InitLCD(LANDSCAPE);
sure that ‘display line
input from your new project.
————— numbers’ is checked.
sainLABS
engineering
Reading from SD: UTFT_SDRaw example
NOTE: SD card access can be achieved with the standard SDFat Arduino library alone.
UTFT_SDRaw allows an easy way to also load bitmap images directly to the LCD from SD card.
Images must be in ‘565’ .raw format. The UTFT library includes an image converter in the ‘Tools’
folder within the library. Images must be uploaded to a FAT forma ed SD card prior to inser ng
SdRaw example sketch
into the LCD card slot.
This example will ensure that all
sainLABS
engineering