EP-0062: Difference between revisions
(→Screen) |
m (Yoyojacky moved page Raspberry Pi 2.2 Inch GPIO display(without touch screen) SKU:EP-0062 to EP-0062) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Raspberry Pi 2.2 Inch GPIO display (without touch screen)= | =Raspberry Pi 2.2 Inch GPIO display (without touch screen)= | ||
==Description== | ==Description== | ||
This product is End Of Life. | |||
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. | 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. | ||
Line 51: | Line 52: | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
1. Extract the device driver file<br> | 1. Extract the device driver file<br> | ||
*<code>sudo tar -jxpvf TFT-stable-Build-20150424.tar.bz2 -C</code> | *<code>sudo tar -jxpvf TFT-stable-Build-20150424.tar.bz2 -C /</code> | ||
<br>[[Image:2.2TFT_tech3.png|800px]] | <br>[[Image:2.2TFT_tech3.png|800px]] | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
2.Setup it up by editing /etc/modules file as following steps: | 2.Setup it up by editing /etc/modules file as following steps:<br> | ||
<code>sudo vim.tiny /etc/modules</code><br> | <code>sudo vim.tiny /etc/modules</code><br> | ||
<code> | <code>fbtft dma</code><br> | ||
fbtft dma | <code>fbtft_device name=rpi-display rotate=270 speed=64000000 gpios=dc:24,reset:23,led:18 | ||
fbtft_device name=rpi-display rotate=270 speed=64000000 gpios=dc:24,reset:23,led:18 | |||
</code><br> | </code><br> | ||
There are some pictures showing how to set it up. | There are some pictures showing how to set it up. | ||
Line 69: | Line 69: | ||
===Keyboard=== | ===Keyboard=== | ||
*It is easy to setup the keyboard,first you should install a software called "evtest" to detect the keyboard.<br> | *It is easy to setup the keyboard,first you should install a software called "evtest" to detect the keyboard.<br> | ||
0. Install the package evtest: | 0. Install the package evtest:<br> | ||
<code>sudo apt-get -y install evtest </code><br> | <code>sudo apt-get -y install evtest </code><br> | ||
1. Add following parameters to /etc/modules file.<br> | 1. Add following parameters to /etc/modules file.<br> | ||
Line 84: | Line 84: | ||
[[Image:2.2TFT tech13.JPG|left|800px]] | [[Image:2.2TFT tech13.JPG|left|800px]] | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
---- | ---- |
Latest revision as of 19:55, 27 August 2021
Raspberry Pi 2.2 Inch GPIO display (without touch screen)
Description
This product is End Of Life. 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
- If it's the first time for you to use this LCD module , please download the device driver for Raspberry Pi from the following link:
TFT-Drivers-Full-Pack-V0_5-20160331.tar.bz2
Upload it into your Raspberry Pi or Just download from your Pi, and use "tar" command to unpack it.
File:2.2TFT tech1.png
1. Extract the device driver file
sudo tar -jxpvf TFT-stable-Build-20150424.tar.bz2 -C /
File:2.2TFT tech3.png
2.Setup it up by editing /etc/modules file as following steps:
sudo vim.tiny /etc/modules
fbtft dma
fbtft_device name=rpi-display rotate=270 speed=64000000 gpios=dc:24,reset:23,led:18
There are some pictures showing how to set it up.
File:2.2TFT tech5.png
File:2.2TFT tech6.png
3. Reboot the Raspberry Pi and you will see the details on the screen.
Keyboard
- It is easy to setup the keyboard,first you should install a software called "evtest" to detect the keyboard.
0. Install the package evtest:
sudo apt-get -y install evtest
1. Add following parameters to /etc/modules file.
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
2.Reboot your Raspberry Pi and open a terminal:
sudo evtest
Select "0" to set test mode and press the button on this module,the test information will print out