更多操作
创建页面,内容为“123” |
无编辑摘要 |
||
第1行: | 第1行: | ||
{{lan | |||
| | |||
cn=http://www.lcdwiki.com/zh/3.5inch_RPi_Display | |||
| | |||
en=http://www.lcdwiki.com/3.5inch_RPi_Display | |||
}} | |||
== Features == | |||
* 320×480 resolution | |||
* Resistive touch control | |||
* Supports any revision of Raspberry Pi (directly-pluggable) | |||
* Compatible with Raspberry Pi A, B, A+, B+, 2B, 3B, 3B+versions | |||
* Drivers provided (works with your own Raspbian/Ubuntu directly) | |||
* Size perfectly fits the Pi | |||
* High quality immersion gold surface plating | |||
* Supports Raspbian system, ubuntu system ,kali Linux system | |||
== Key Parameters == | |||
{| class="wikitable" border="1" style="width: 50%; background-color: white;" | |||
|SKU | |||
|MPI3501 | |||
|- | |||
|LCD Type | |||
|TFT | |||
|- | |||
|LCD Interface | |||
|SPI | |||
|- | |||
|Touch Screen Type | |||
|Resistive | |||
|- | |||
|Touch Screen Controller | |||
|XPT2046 | |||
|- | |||
|Colors | |||
|65536 | |||
|- | |||
|Backlight | |||
|LED | |||
|- | |||
|Resolution | |||
|320*240 (Pixel) | |||
|- | |||
|Aspect Ratio | |||
|8:5 | |||
|- | |||
|Backlight Current | |||
|TBD | |||
|- | |||
|Operating Temp. (℃) | |||
|TBD | |||
|} | |||
== Interface == | |||
{| class="wikitable" border="1" style="width: 50%; background-color: white;" | |||
|- | |||
! PIN NO. | |||
! SYMBOL | |||
! DESCRIPTION | |||
|- | |||
| 1, 17 | |||
| 3.3V | |||
| Power positive (3.3V power input) | |||
|- | |||
| 2, 4 | |||
| 5V | |||
| Power positive (5V power input) | |||
|- | |||
| 3, 5, 7, 8, 10, 22 | |||
| NC | |||
| NC | |||
|- | |||
| 6, 9, 14, 20, 25 | |||
| GND | |||
| Ground | |||
|- | |||
| 11 | |||
| TP_IRQ | |||
| Touch Panel interrupt, low level while the Touch Panel detects touching | |||
|- | |||
| 12 | |||
| KEY1 | |||
| Key | |||
|- | |||
| 13 | |||
| RST | |||
| Reset | |||
|- | |||
| 15 | |||
| LCD_RS | |||
| LCD instruction control, Instruction/Data Register selection | |||
|- | |||
| 16 | |||
| KEY2 | |||
| KEY | |||
|- | |||
| 18 | |||
| KEY3 | |||
| KEY | |||
|- | |||
| 19 | |||
| LCD_SI / TP_SI | |||
| SPI data input of LCD/Touch Panel | |||
|- | |||
| 21 | |||
| TP_SO | |||
| SPI data output of Touch Panel | |||
|- | |||
| 23 | |||
| LCD_SCK / TP_SCK | |||
| SPI clock of LCD/Touch Panel | |||
|- | |||
| 24 | |||
| LCD_CS | |||
| LCD chip selection, low active | |||
|- | |||
| 26 | |||
| TP_CS | |||
| Touch Panel chip selection, low active | |||
|} | |||
==Usage== | |||
When users connect the Raspberry Pi to use, they need to configure the official system. Or you can also burn the configured system image directly.<br> | |||
'''Tips:'''Basic for Raspbian Jessie with '''PIXEL''' (2017-04-10-raspbian-jessie.img)<br> | |||
===Step 1:Download the Raspbian IMG=== | |||
https://www.raspberrypi.org/downloads/raspbian/ | |||
===Step 2: Burn the system image=== | |||
If you don't know how to do that,you can refer to the [https://www.raspberrypi.org/documentation/installation/installing-images/README.md Raspberry Pi office tutorial] | |||
===Step 3: Open terminal and Download the driver on RPI=== | |||
'''Run:'''<br> | |||
{{code|1= | |||
sudo rm -rf LCD-show | |||
git clone https://github.com/goodtft/LCD-show.git | |||
chmod -R 755 LCD-show | |||
cd LCD-show/ | |||
sudo ./LCD35-show | |||
}} | |||
Wait A Few Minutes, when the system reboot ok, you can see that.<br> | |||
==Touch screen calibration== | |||
*This LCD can be calibrated using a program called xinput_calibrator | |||
*Install it with the commands: | |||
{{code|1= | |||
cd LCD-show/<br> | |||
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb | |||
}} | |||
*Click the '''Men''' button on the task bar, choose '''Preference''' -> '''Calibrate Touchscreen'''. | |||
*Finish the touch calibration following the prompts. Maybe rebooting is required to make calibration active. | |||
*You can create a 99-calibration.conf file to save the touch parameters (not necessary if file exists). | |||
{{code|1= | |||
/ect/X11/xorg.conf.d/99-calibration.conf | |||
}} | |||
*Save the touch parameters (may differ depending on LCD) to 99-calibration.conf, as shown in the picture: | |||
==Install Soft Keyboard== | |||
*Install the reference link:[[How to install Soft Keyboard]] | |||
[[#top|BACK TO TOP]] |
2018年6月6日 (三) 10:41的版本
Features
- 320×480 resolution
- Resistive touch control
- Supports any revision of Raspberry Pi (directly-pluggable)
- Compatible with Raspberry Pi A, B, A+, B+, 2B, 3B, 3B+versions
- Drivers provided (works with your own Raspbian/Ubuntu directly)
- Size perfectly fits the Pi
- High quality immersion gold surface plating
- Supports Raspbian system, ubuntu system ,kali Linux system
Key Parameters
SKU | MPI3501 |
LCD Type | TFT |
LCD Interface | SPI |
Touch Screen Type | Resistive |
Touch Screen Controller | XPT2046 |
Colors | 65536 |
Backlight | LED |
Resolution | 320*240 (Pixel) |
Aspect Ratio | 8:5 |
Backlight Current | TBD |
Operating Temp. (℃) | TBD |
Interface
PIN NO. | SYMBOL | DESCRIPTION |
---|---|---|
1, 17 | 3.3V | Power positive (3.3V power input) |
2, 4 | 5V | Power positive (5V power input) |
3, 5, 7, 8, 10, 22 | NC | NC |
6, 9, 14, 20, 25 | GND | Ground |
11 | TP_IRQ | Touch Panel interrupt, low level while the Touch Panel detects touching |
12 | KEY1 | Key |
13 | RST | Reset |
15 | LCD_RS | LCD instruction control, Instruction/Data Register selection |
16 | KEY2 | KEY |
18 | KEY3 | KEY |
19 | LCD_SI / TP_SI | SPI data input of LCD/Touch Panel |
21 | TP_SO | SPI data output of Touch Panel |
23 | LCD_SCK / TP_SCK | SPI clock of LCD/Touch Panel |
24 | LCD_CS | LCD chip selection, low active |
26 | TP_CS | Touch Panel chip selection, low active |
Usage
When users connect the Raspberry Pi to use, they need to configure the official system. Or you can also burn the configured system image directly.
Tips:Basic for Raspbian Jessie with PIXEL (2017-04-10-raspbian-jessie.img)
Step 1:Download the Raspbian IMG
https://www.raspberrypi.org/downloads/raspbian/
Step 2: Burn the system image
If you don't know how to do that,you can refer to the Raspberry Pi office tutorial
Step 3: Open terminal and Download the driver on RPI
Run:
sudo rm -rf LCD-show git clone https://github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show/ sudo ./LCD35-show
Wait A Few Minutes, when the system reboot ok, you can see that.
Touch screen calibration
- This LCD can be calibrated using a program called xinput_calibrator
- Install it with the commands:
cd LCD-show/
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb
- Click the Men button on the task bar, choose Preference -> Calibrate Touchscreen.
- Finish the touch calibration following the prompts. Maybe rebooting is required to make calibration active.
- You can create a 99-calibration.conf file to save the touch parameters (not necessary if file exists).
/ect/X11/xorg.conf.d/99-calibration.conf
- Save the touch parameters (may differ depending on LCD) to 99-calibration.conf, as shown in the picture:
Install Soft Keyboard
- Install the reference link:How to install Soft Keyboard