Difference between revisions of "3.5inch RPi Display"

From LCD wiki
Jump to: navigation, search
(Download resources)
(Download Resources)
 
(93 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
en=http://www.lcdwiki.com/3.5inch_RPi_Display                                                     
 
en=http://www.lcdwiki.com/3.5inch_RPi_Display                                                     
 
}}   
 
}}   
== Features ==
+
 
 +
== <font color="blue">Product Video</font> ==
 +
{{#ev:youtube|5DAn_5-1Jg4}}
 +
 
 +
*[http://www.lcdwiki.com/Video_Presentation Related Video]
 +
 
 +
== <font color="blue">Product Pictures</font>==
 +
[[File:MPI3501-100-1.jpg|300px]]
 +
[[File:MPI3501-001.jpg|300px]]
 +
[[File:MPI3501-002.jpg|300px]]
 +
 
 +
==<font color="blue"> Features </font>==
  
 
* 320×480 resolution
 
* 320×480 resolution
 
* Resistive touch control
 
* Resistive touch control
 
* Supports any revision of Raspberry Pi (directly-pluggable)
 
* Supports any revision of Raspberry Pi (directly-pluggable)
* Compatible with Raspberry Pi A, B, A+, B+, 2B, 3B, 3B+versions
+
* Compatible with Raspberry Pi A, B, A+, B+, 2B, 3B, 3B+,4B versions
 
* Drivers provided (works with your own Raspbian/Ubuntu directly)
 
* Drivers provided (works with your own Raspbian/Ubuntu directly)
 
* Size perfectly fits the Pi
 
* Size perfectly fits the Pi
Line 16: Line 27:
 
* Supports Raspbian system, ubuntu system ,kali Linux system
 
* Supports Raspbian system, ubuntu system ,kali Linux system
  
== Key Parameters ==
+
== <font color="blue">Key Parameters </font>==
 
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 
|SKU
 
|SKU
Line 25: Line 36:
 
|-
 
|-
 
|LCD Interface
 
|LCD Interface
|SPI
+
|SPI(Fmax:32MHz)
 
|-
 
|-
 
|Touch Screen Type
 
|Touch Screen Type
Line 35: Line 46:
 
|Colors
 
|Colors
 
|65536
 
|65536
 +
|-
 +
|Driver IC
 +
|ILI9486
 
|-
 
|-
 
|Backlight
 
|Backlight
Line 40: Line 54:
 
|-
 
|-
 
|Resolution
 
|Resolution
|320*240 (Pixel)
+
|320*480 (Pixel)
 
|-
 
|-
|Aspect Ratio
+
|Backlight Current
|8:5
+
|120ma
 
|-
 
|-
|Backlight Current
+
|Power Dissipation
|TBD
+
|0.13A*5V
 
|-
 
|-
 
|Operating Temp. (℃)
 
|Operating Temp. (℃)
|TBD
+
| -20~60
|}
 
 
 
== Interface ==           
 
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 
 
|-
 
|-
! PIN NO.
+
|Active Area
! SYMBOL
+
|48.96x73.44(mm)
! DESCRIPTION
 
 
|-
 
|-
| 1, 17
+
|Product Size
| 3.3V
+
|85.42*55.60(mm)
| Power positive (3.3V power input)
 
 
|-
 
|-
| 2, 4
+
|Package Size
| 5V
+
|118*72*34 (mm)
| Power positive (5V power input)
 
 
|-
 
|-
| 3, 5, 7, 8, 10, 22
+
|Rough Weight(Package containing)
| NC
+
|75 (g)
| NC
+
|}
 +
 
 +
== <font color="blue">Interface </font>==
 +
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 +
|+
 +
!PIN NO.
 +
!SYMBOL
 +
!DESCRIPTION
 
|-
 
|-
| 6, 9, 14, 20, 25
+
|1, 17
| GND
+
|3.3V
| Ground
+
|Power positive (3.3V power input)
 
|-
 
|-
| 11
+
|2, 4
| TP_IRQ
+
|5V
| Touch Panel interrupt, low level while the Touch Panel detects touching
+
|Power positive (5V power input)
 
|-
 
|-
| 12
+
|3, 5, 7, 8, 10, 12, 13, 15, 16
| KEY1
+
|NC
| Key
+
|NC
 
|-
 
|-
| 13
+
|6, 9, 14, 20, 25
| RST
+
|GND
| Reset
+
|Ground
 
|-
 
|-
| 15
+
|11
| LCD_RS
+
|TP_IRQ
| LCD instruction control, Instruction/Data Register selection
+
|Touch Panel interrupt, low level while the Touch Panel detects touching
 
|-
 
|-
| 16
+
|18
| KEY2
+
|LCD_RS
| KEY
+
|Instruction/Data Register selection
 
|-
 
|-
| 18
+
|19
| KEY3
+
|LCD_SI / TP_SI
| KEY
+
|SPI data input of LCD/Touch Panel
 
|-
 
|-
| 19
+
|21
| LCD_SI / TP_SI
+
|TP_SO
| SPI data input of LCD/Touch Panel
+
|SPI data output of Touch Panel
 
|-
 
|-
| 21
+
|22
| TP_SO
+
|RST
| SPI data output of Touch Panel
+
|Reset
 
|-
 
|-
| 23
+
|23
| LCD_SCK / TP_SCK
+
|LCD_SCK / TP_SCK
| SPI clock of LCD/Touch Panel                                                  
+
|SPI clock of LCD/Touch Panel
 
|-
 
|-
| 24
+
|24
| LCD_CS
+
|LCD_CS
| LCD chip selection, low active
+
|LCD chip selection, low active
 
|-
 
|-
| 26
+
|26
| TP_CS
+
|TP_CS
| Touch Panel chip selection, low active
+
|Touch Panel chip selection, low active
 
|}
 
|}
  
 
+
==<font color="blue">Driver Installation </font>==
==Driver Installation==
 
 
This LCD Module need install driver first.
 
This LCD Module need install driver first.
 
===Step 1:Download the Raspbian IMG===
 
===Step 1:Download the Raspbian IMG===
https://www.raspberrypi.org/downloads/raspbian/
+
https://www.raspberrypi.com/software/operating-systems/
 +
 
 
===Step 2: Burn the system image===
 
===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]
 
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]
Line 142: Line 156:
 
Wait A Few Minutes, when the system reboot ok, you can see that.<br>
 
Wait A Few Minutes, when the system reboot ok, you can see that.<br>
  
==Touch screen calibration==
+
==<font color="blue">Touch screen calibration </font>==
  
 
*This LCD can be calibrated using a program called xinput_calibrator
 
*This LCD can be calibrated using a program called xinput_calibrator
Line 160: Line 174:
 
*Save the touch parameters (may differ depending on LCD) to 99-calibration.conf, as shown in the picture:
 
*Save the touch parameters (may differ depending on LCD) to 99-calibration.conf, as shown in the picture:
  
==Install Soft Keyboard==
+
== <font color="blue">How to rotate the display direction</font>  ==
 +
*'''Step 1''',If the driver is not installed, execute the following command (Raspberry Pi needs to connected to the Internet):
 +
{{code|
 +
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  }}
 +
After execution, the driver will be installed.  <br/>
  
*Install the reference link:[[How to install Soft Keyboard]]
+
*'''Step 2''',If the driver is already installed, execute the following command:
 
+
{{code|
== Resouce ==
+
cd LCD-show/
 
+
sudo ./rotate.sh 90}}
 
+
After execution, the system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.   <br/>
If you don't have anything display after the Step:Driver installation ,you  can try to used this configned IMAGEs for test.
+
( ' <font color="blue">90</font> ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)  <br/>
 
+
<font color="red">If the '''rotate.sh''' prompt cannot be found, use '''Step 1''' to install the latest drivers</font>
* IMAGE Download:
 
  
 
==<font color="blue"> Download Resources</font>==
 
==<font color="blue"> Download Resources</font>==
Line 175: Line 196:
 
* '''Document'''
 
* '''Document'''
  
#  
+
# [http://www.lcdwiki.com/res/PublicFile/How_to_install_the_LCD_driver_V1.2.pdf How_to_install_the_LCD_driver_V1.2]
 +
# [http://www.lcdwiki.com/res/PublicFile/How_to_install_matchbox-keyboard(En).pdf How_to_install_matchbox-keyboard]
 +
# [http://www.lcdwiki.com/res/Show_Direction_and_Touch/How_to_calibrate_the_resistance_touch_screen-V1.2.pdf How_to_calibrate_the_resistance_touch_screen-V1.2]
 +
# [http://www.lcdwiki.com/res/PublicFile/How_to_use_Raspberry_Pi(Download,Format,Burn,SSH,PuTTy)-V1.0.pdf How_to_use_Raspberry_Pi_Getting Star.pdf]
 +
# [http://www.lcdwiki.com/res/Show_Direction_and_Touch/How_to_change_display_direction-GPIO-Resistive_Touch-V1.2.pdf How_to_change_display_direction-GPIO-Resistive_Touch-V1.2]
 +
# [http://www.lcdwiki.com/res/MPI3501/MPI3501-3.5inch-RPi-Display-User-Manual-V1.0.pdf MPI3501-3.5inch-RPi-Display-User-Manual-V1.0]
  
 
* '''Driver download'''
 
* '''Driver download'''
  
# Local  download::[http://www.lcdwiki.com/res/RaspDriver/LCD-show.tar.gz LCD-show.tar.gz]
+
:download::[http://www.lcdwiki.com/res/RaspDriver/LCD-show.tar.gz LCD-show.tar.gz]
  
 
* '''Images download'''
 
* '''Images download'''
Line 187: Line 213:
 
:Just need download and write the image into the TF card. DO NOT need any driver installation steps.
 
:Just need download and write the image into the TF card. DO NOT need any driver installation steps.
  
{| class="wikitable" border="1" style="width: 80%; margin-left:1.5%;background-color: white;"
+
{| class="wikitable" border="1" style="width: 90%; margin-left:1.5%;background-color: white;"
 
!Image Name
 
!Image Name
 
!Version
 
!Version
Line 195: Line 221:
 
|-
 
|-
 
| rowspan="2" |Raspbian
 
| rowspan="2" |Raspbian
| rowspan="2" |2018-04-18
+
| rowspan="2" |2023-12-05
| rowspan="2" |PI3B+/A/A+/B/B+/PI2/
+
| rowspan="2" |PI5/PI4/PI3B+/PI3/
PI3/ZERO/ZERO W
+
PI2/PI1/ZERO/ZERO W
 
| rowspan="2" |user:pi
 
| rowspan="2" |user:pi
 
password:raspberry
 
password:raspberry
|(addr1)Baidu Pan:
+
|[[File:Baiduyun.jpg|24px]]BaiduYun:
|[https://pan.baidu.com/s/1B0Eo6eFdkawiroH71s3NCg 3.5SPI_RPI3B+_rasbian20180418.7z]
+
|[https://pan.baidu.com/s/1U1NLaFAUUPnN-WoK0It05w MPI3501-3.5inch-2023-12-05-raspios-bookworm-armhf(support Pi4/5)] 提取码:n5zl
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]Mega:
|[https://mega.nz/#!3KRGWa5K!Q8mXFb_4EmROC1A4Uj_0_jjnZhSRJ0YoNs-e3MxGJNc MPI3501-Raspbian-20180629.7z]
+
|[https://mega.nz/folder/ixQiTa7R#EM2uFGwMC8QSU6D4untoGA MPI3501-3.5inch-2022-04-04-raspios-bullseye-armhf.7z]
 
|-
 
|-
| rowspan="2" |Ubuntu
+
| rowspan="2" |Ubuntu-MATE-32bit
| rowspan="2" |Mate:16.04
+
| rowspan="2" |22.04
| rowspan="2" |PI3,PI2
+
| rowspan="2" |PI4,PI3B+,PI3,PI2
 
| rowspan="2" |user:pi
 
| rowspan="2" |user:pi
 
password:raspberry
 
password:raspberry
|(addr1)Baidu Pan:
+
|[[File:Baiduyun.jpg|24px]]BaiduYun:
|[https://pan.baidu.com/s/1dq_zQy5oS5MsxyCdpt_gDw 3.5inch-RPI3-RPI2-ubuntu-mate-16.04-beta2.7z]
+
|[https://pan.baidu.com/s/1sr0UuQCqEbvjPio4RU9xEA MPI3501-3.5inch-ubuntu-mate-22.04-desktop-armhf+raspi.7z] 提取码:22e9
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]Mega:
|[https://mega.nz/#!HWIGDayJ!K7Z8_aJG-jS3UJzcx_UzCicPNsc9pmjid5GF78vHVYw 3.5inch-RPI3-RPI2-ubuntu-mate-16.04-beta2.7z]
+
|[https://mega.nz/folder/mhw2DCqK#qFiavXCAXOXMqOGjLXrtaw MPI3501-3.5inch-ubuntu-mate-22.04-desktop-armhf+raspi.7z]
 
|-
 
|-
| rowspan="2" |Kali-linux
+
| rowspan="2" |Kali Linux RaspberryPi-32bit
| rowspan="2" |2018.2(nexmon)
+
| rowspan="2" |2023.1
| rowspan="2" |PI3B+,PI3,PI2
+
| rowspan="2" |PI4B,PI3B+,PI3,PI2
| rowspan="2" |user:root
+
| rowspan="2" |user: kali
password:toor
+
password: kali
|(addr1)Baidu Pan:
+
|[[File:Baiduyun.jpg|24px]]BaiduYun:
|[https://pan.baidu.com/s/1t_wio43HhNwRc1lR5oFOmQ 3.5SPI-kali-linux-2018.2-rpi3B+-nexmon.7z]
+
|[https://pan.baidu.com/s/13iNh1y0GNYRaZREuMgTXGQ MPI3501-3.5inch-kali-linux-2023.1] 提取码:vqt3
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]Mega:
|[https://mega.nz/#!nTQyjIZA!dHJXrXjhNqOUwlwtkGczhGoH7RYDYSQIlhHokW65Hnc 3.5SPI-kali-linux-2018.2-rpi3B+-nexmon.7z]
+
|[https://mega.nz/folder/nlghUbSK#ZHPxHJCAi8gdoRG0uwC2og MPI3501-3.5inch-kali-linux-2022.1]
 
|}
 
|}
 +
  
 
* '''Software'''
 
* '''Software'''

Latest revision as of 09:57, 12 March 2024


语言选择

Languages

➤中文
➤EN


Product Video

Product Pictures

MPI3501-100-1.jpg MPI3501-001.jpg MPI3501-002.jpg

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+,4B 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(Fmax:32MHz)
Touch Screen Type Resistive
Touch Screen Controller XPT2046
Colors 65536
Driver IC ILI9486
Backlight LED
Resolution 320*480 (Pixel)
Backlight Current 120ma
Power Dissipation 0.13A*5V
Operating Temp. (℃) -20~60
Active Area 48.96x73.44(mm)
Product Size 85.42*55.60(mm)
Package Size 118*72*34 (mm)
Rough Weight(Package containing) 75 (g)

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, 12, 13, 15, 16 NC NC
6, 9, 14, 20, 25 GND Ground
11 TP_IRQ Touch Panel interrupt, low level while the Touch Panel detects touching
18 LCD_RS Instruction/Data Register selection
19 LCD_SI / TP_SI SPI data input of LCD/Touch Panel
21 TP_SO SPI data output of Touch Panel
22 RST Reset
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.com/software/operating-systems/

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:

How to rotate the display direction

  • Step 1,If the driver is not installed, execute the following command (Raspberry Pi needs to connected to the Internet):
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  

After execution, the driver will be installed.

  • Step 2,If the driver is already installed, execute the following command:
cd LCD-show/
sudo ./rotate.sh 90

After execution, the system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
( ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)
If the rotate.sh prompt cannot be found, use Step 1 to install the latest drivers

Download Resources

  • Document
  1. How_to_install_the_LCD_driver_V1.2
  2. How_to_install_matchbox-keyboard
  3. How_to_calibrate_the_resistance_touch_screen-V1.2
  4. How_to_use_Raspberry_Pi_Getting Star.pdf
  5. How_to_change_display_direction-GPIO-Resistive_Touch-V1.2
  6. MPI3501-3.5inch-RPi-Display-User-Manual-V1.0
  • Driver download
download::LCD-show.tar.gz
  • Images download
If you have difficulty installing the driver, or if you still can't use the display properly after installing the driver,
Please Try our Configned images for tested.
Just need download and write the image into the TF card. DO NOT need any driver installation steps.
Image Name Version Support Password Download
Raspbian 2023-12-05 PI5/PI4/PI3B+/PI3/

PI2/PI1/ZERO/ZERO W

user:pi

password:raspberry

Baiduyun.jpgBaiduYun: MPI3501-3.5inch-2023-12-05-raspios-bookworm-armhf(support Pi4/5) 提取码:n5zl
Mega-1.jpgMega: MPI3501-3.5inch-2022-04-04-raspios-bullseye-armhf.7z
Ubuntu-MATE-32bit 22.04 PI4,PI3B+,PI3,PI2 user:pi

password:raspberry

Baiduyun.jpgBaiduYun: MPI3501-3.5inch-ubuntu-mate-22.04-desktop-armhf+raspi.7z 提取码:22e9
Mega-1.jpgMega: MPI3501-3.5inch-ubuntu-mate-22.04-desktop-armhf+raspi.7z
Kali Linux RaspberryPi-32bit 2023.1 PI4B,PI3B+,PI3,PI2 user: kali

password: kali

Baiduyun.jpgBaiduYun: MPI3501-3.5inch-kali-linux-2023.1 提取码:vqt3
Mega-1.jpgMega: MPI3501-3.5inch-kali-linux-2022.1


  • Software
  1. Panasonic SDFormatter
  2. Win32DiskImager
  3. PuTTY

BACK TO TOP