3.5inch RPi Display

来自LCD wiki
Liang讨论 | 贡献2018年7月17日 (二) 09:59的版本 Interface
跳转至: 导航搜索

语言选择

Languages

➤中文
➤EN


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
类型 TFT
接口 SPI
触摸面板类型 电阻型
触摸面板控制芯片 XPT2046
色阶指数 65536
背光 LED
分辨率 320*240 (Pixel)
尺寸比例 8:5
功耗 TBD
工作温度(℃) TBD

Interface

PIN NO. SYMBOL DESCRIPTION
1, 17 3.3V 电源正(3.3V电源输入)
2, 4 5V 电源正(5V电源输入)
3, 5, 7, 8, 10, 22 NC NC
6, 9, 14, 20, 25 GND 电源地
11 TP_IRQ 触摸面板中断,检测到触摸面板有按下则为低电平
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

Driver Installation

This LCD Module need install driver first.

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(SSH) and install the driver on RaspberryPi

(tested on RaspberryPi 3B+,3B,2B,2B+,1B,ZERO)

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

Resouce

If you don't have anything display after the Step:Driver installation ,you can try to used this configned IMAGEs for test.

  • IMAGE Download:

资源下载

  • 文档
  • 驱动下载
  1. 本地下载:LCD-show.tar.gz
  • 镜像下载
如果你觉得前面步骤的修改配置、安装驱动都比较困难或者仍然显示异常,请先使用我们预装好驱动的镜像,
下载后解压并把镜像写入到TF卡中。然后把卡插入树莓派就可以使用了。
Image Name Version Support Password Download
Raspbian 2018-06-29 PI3B+/A/A+/B/B+/PI2/

PI3/ZERO/ZERO W

user:pi

password:raspberry

(addr1)Baidu Pan: MPI3501-Raspbian-20180629.7z
(addr2)Mega: MPI3501-Raspbian-20180629.7z
Ubuntu Mate:16.04 PI3,PI2 user:pi

password:raspberry

(addr1)Baidu Pan: 3.5inch-RPI3-RPI2-ubuntu-mate-16.04-beta2.7z
(addr2)Mega: 3.5inch-RPI3-RPI2-ubuntu-mate-16.04-beta2.7z
Kali-linux 2018.2,nexmon PI3B+,PI3,PI2 user:root

password:toor

(addr1)Baidu Pan: 3.5SPI-kali-linux-2018.2-rpi3B+-nexmon.7z
(addr2)Mega: 3.5SPI-kali-linux-2018.2-rpi3B+-nexmon.7z
  • 常用软件
  1. Panasonic SDFormatter
  2. Win32DiskImager
  3. PuTTY

BACK TO TOP