ITDB02-2.2S/zh-cn

From ITEAD Wiki
Revision as of 02:39, 21 July 2014 by ITead (Talk | contribs)

Jump to: navigation, search

概述

IM140714001 6.jpg

ITDB02-2.2S 是一个2.2inch SPI TFT LCD屏幕模块,分辨率为320X240,262K种颜色。LCD模块的控制芯片为ILI9341,它的接口是SPI的,需要6根线(SCK,MISO,MOSI,CS,D/C,RST)来控制。而且,这个模块还包含了micro SD卡接口。

购买 ITDB02-2.2S

特色

  • 兼容3.3/5V操作电平
  • 自带micro SD卡接口
  • 支持IO口或PMW来控制背光


规格

PCB 尺寸 41mm X 68mm X 1.6mm
电源电压 5V DC
控制芯片 ILI9341
分辨率 320*240
LED数目 4 LEDs

电气特性

参数 最小值 经典值 最大值 单位
电源电压 4.5 5 5.5 VDC
最高输入电压 (目标电压 = 3.3V) 3 3.3 3.6 V
最高输入电压 (目标电压 = 5V) 4.5 5 5.5 V
最低输入电压 -0.3 0 0.5 V
消耗电流 - 40 80 mA

硬件图

IM140714001pic1.jpg IM140714001pic2.jpg IM140714001pic3.jpg

引脚图

Pin Type* Description
VCC P 5V Power supply pin
GND G Ground
SCK I SPI SCK
MISO O SPI MISO
MOSI I SPI MOSI
CS I Chip Select for TFT
D/C I Command or parameter select
RST I RESET signal for TFT
LEDA* I Backlight control pin
SD_CS I Chip Select for SD
  • Type: P--Power supply; G--Ground; I--Input; O--Output.
  • LEDA: When LEDA is set as high electronic level, the backlight turns on. When it's set as low electronic level, the backlight turns off.

Instruction

Display the image from micro SD card

  • copy the image woof.bmp from the directory Adafruit_ILI9340\examples\spitftbitmap to your SD card, then plug the card into the SD card slot on ITDB02-2.2S LCD module
  • Use arduino IDE to open spitftbitmap.ino in the directory Adafruit_ILI9340\examples\spitftbitmap then upload it to UNO main board. Select 5V electronic level in the 2.2S LCD module, then use dupont lines to connect UNO and LCD module according to the table as below:
2.2S pins UNO pins
VCC 5V
GND GND
SCK D13
MISO D12
MOSI D11
CS D10
D/C D9
RST D8
LEDA 5V/3V3
SD_CS D4
  • Power UNO main board, a picture of dog showed on the display.

Control LEDA backlight via PWM pins

  • Use arduino IDE to open the demo 0.1Basics\Fade, then upload it into UNO
  • Connect ITDB02-2.2S module to UNO according to the table as below:
2.2S pins UNO pins
VCC 5V
GND GND
LEDA D9
  • Power UNO main board, you will see the backlight of display turn form dark to light circularly.

IM140714001in2.gif

Download

Schematic--File:sch_ITDB02-2.2S.pdf

Useful Link

https://github.com/adafruit/Adafruit_ILI9340