EP-0062: Difference between revisions

From 52Pi Wiki
Jump to navigation Jump to search
Line 21: Line 21:
[[Image:TFT22_show01.jpg|left|thumb|300px]]
[[Image:TFT22_show01.jpg|left|thumb|300px]]
<br style="clear:both;">
<br style="clear:both;">
==Technical Details==
{|
|-
! align="center" scope="col" style="width: 40%" | type
! align="center" scope="col" | value
|-
| align="center" scope="row" |  product name
| align="center" | RPI_2.2'TFT Display Module
|-
| align="center" scope="row" | character number
| align="center" | 320×240
|-
|align="center" scope="row" | screen scale
| align="center" | 2.2'
|-
| align="center" scope="row" | refresh rate
| align="center" |>20fps
|-
| align="center" scope="row" | weight
| align="center" | 23.9g
|-
| align="center" scope="row" | module scale
| align="center" | 66x57x12(mm)
|-
| align="center" scope="row" | connect port
| align="center" | 2*20 Stacking Header
|-
| align="center"  scope="row" | control interface
| align="center" | SPI
|-
| align="center" scope="row" | work voltage
| align="center" | 5V
|}


==Overview==
==Overview==

Revision as of 09:59, 23 August 2016

Raspberry Pi 2.2 Inch GPIO display (without touch screen)

Description

The PI-TFT22A module features a 2.2'display with 320x240 16-bit color pixels. This PI-TFT22A module refresh it's screen rapidly because the TFT module communicates with raspberry Pi in a high speed SPI interface ,this PI-TFT22A module can be used as Xwindow port ,displaying images or video etc. it plugs right in on top of your Model A+, B+ or Pi 2 and fits as HAT.

You can download configuration-free image or configurable packages, adjustable brightnes [level 0 -255], HAT compatible and Onboard buttons, you can load kernel modules to support GPIO KeyBoard function, almost all GPIO available on this board [non SPI 0,GPIO 18,GPIO 24,GPIO23],Very easily be other uses, IDROM has built initialization data to support Device Tree boot.


Feature

  • Character number: 320x240
  • Screen scale: 2.2'
  • Refresh rate: >20fps
  • Weight: 23.9g
  • module scale: 66x57x12(mm)
  • connect port: 2*20 Stacking Header
  • control interface: SPI
  • work voltage: 5V

Package Include

1 x Raspberry Pi 2.2 Inch GPIO display (without touch screen)


Presentation


Overview


Install Driver

Screen


File:2.2TFT tech1.png

  • typesudo tar -jxpvf TFT-stable-Build-20150424.tar.bz2 -C to extract the device driver file


File:2.2TFT tech3.png

  • modify modules file in /etc folder ,you can type sudo vim.tiny /etc/modules to open this file.To modify the file you should follow the picture beside

fbtft dma fbtft_device name=rpi-display rotate=270 speed=64000000 gpios=dc:24,reset:23,led:18
File:2.2TFT tech5.png
File:2.2TFT tech6.png

  • If you have finished above step ,then ,reboot the Raspberry Pi,and now you will see the reboot details is on the screen

Keyboard

  • It is easy to setup the keyboard,first you should install evtest to detect the keyboard
  • modify modules file in /etc folder like following picture ,just add code

gpio_keys_device pulldown active_low=0 keys=26:103,21:108,20:105,16:106
File:2.2TFT tech4.png
File:2.2TFT tech8.png
File:2.2TFT tech9.png

  • Then, reboot the system,type sudo evtestto initiate the program,type0to set test mode.Then,you press buttom on Pi TFT Module,the test information will printed in the screen


File:2.2TFT tech11.png
File:2.2TFT tech12.png
File:2.2TFT tech13.JPG


Purchase Links

Shopping car.png

52Pi Store