Difference between revisions of "MHS-3.5inch RPi Display"

From LCD wiki
Jump to: navigation, search
(Features)
(Download Resources)
(31 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
en=http://www.lcdwiki.com/MHS-3.5inch_RPi_Display                                                     
 
en=http://www.lcdwiki.com/MHS-3.5inch_RPi_Display                                                     
 
}}   
 
}}   
== <font color="blue">产品图片</font>==
 
[[File:MHS3521-01.jpg|300px]][[File:MHS3521-012.jpg|300px]]
 
  
==<font color="blue"> Features </font>==
+
== <font color="blue">Product Video</font> ==
 +
{{#ev:youtube|iMtsr2h_Seg}}
 +
*[http://www.lcdwiki.com/Video_Presentation Related Video]
 +
 
 +
== <font color="blue">Product Pictures</font>==
 +
[[File:3.5-MHS-main-2-20181107-9.jpg|300px]][[File:MHS3521-012.jpg|300px]][[File:3.5-MHS-100-2-20181107-9.jpg|300px]]
 +
 
 +
==<font color="blue"> Features</font>==
  
 
* Physical resolution 320 x 480, with resistive touch control
 
* Physical resolution 320 x 480, with resistive touch control
Line 17: Line 22:
 
* Support Raspbian/Ubuntu/Kali system, provide driver and image
 
* Support Raspbian/Ubuntu/Kali system, provide driver and image
 
* This product has passed CE and RoHS certification
 
* This product has passed CE and RoHS certification
==<font color="blue"> 主要参数 </font>==
+
 
 +
== <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;"
Line 23: Line 29:
 
|MHS3521
 
|MHS3521
 
|-
 
|-
|类型
+
|LCD Type
 
|TFT
 
|TFT
 
|-
 
|-
|接口
+
|LCD Interface
|SPI (支持125MHz SPI信号输入)
+
|SPI (upports up to 125MHz SPI input)
 
|-
 
|-
|触摸面板类型
+
|Touch Screen Type
|电阻型
+
|Resistive
 
|-
 
|-
|触摸面板控制芯片
+
|Touch Screen Controller
 
|XPT2046
 
|XPT2046
 
|-
 
|-
|色阶指数
+
|Colors
 
|65536
 
|65536
 
|-
 
|-
|背光
+
|Backlight
 
|LED
 
|LED
 
|-
 
|-
|分辨率
+
|Resolution
 
|320*480 (Pixel)
 
|320*480 (Pixel)
 
|-
 
|-
|尺寸比例
+
|power consumption
|8:5
 
|-
 
|功耗
 
 
|120ma
 
|120ma
 
|-
 
|-
|工作温度(℃)
+
|Working temperature(℃)
 
| -20~70
 
| -20~70
 
|}
 
|}
==<font color="blue"> 接口定义 </font>==
+
== <font color="blue">Interface </font>==            
     
 
 
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 
{| class="wikitable" border="1" style="width: 50%; background-color: white;"
 
|-
 
|-
! 引脚号
+
! PIN NO.
! 标识
+
! SYMBOL
! 描述
+
! DESCRIPTION
 
|-
 
|-
 
| 1, 17
 
| 1, 17
 
| 3.3V
 
| 3.3V
| 电源正(3.3V电源输入)
+
| Power positive (3.3V power input)
 
|-
 
|-
 
| 2, 4
 
| 2, 4
 
| 5V
 
| 5V
| 电源正(5V电源输入)
+
| Power positive (5V power input)
 
|-
 
|-
| 3, 5, 7, 8, 10, 12, 13, 15, 16
+
| 3, 5, 7, 8, 10, 22
 
| NC
 
| NC
 
| NC
 
| NC
Line 75: Line 77:
 
| 6, 9, 14, 20, 25
 
| 6, 9, 14, 20, 25
 
| GND
 
| GND
| 电源地
+
| Ground
 
|-
 
|-
 
| 11
 
| 11
 
| TP_IRQ
 
| 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
 
| 18
| LCD_RS
+
| KEY3
| 指令/数据 寄存器选择
+
| KEY
 
|-
 
|-
 
| 19
 
| 19
 
| LCD_SI / TP_SI
 
| LCD_SI / TP_SI
| LCD显示/ 触摸面板的SPI数据输入
+
| SPI data input of LCD/Touch Panel
 
|-
 
|-
 
| 21
 
| 21
 
| TP_SO
 
| TP_SO
|触摸面板的SPI数据输出
+
| SPI data output of Touch Panel
|-
 
| 22
 
| RST
 
| 复位
 
 
|-
 
|-
 
| 23
 
| 23
 
| LCD_SCK / TP_SCK
 
| LCD_SCK / TP_SCK
| LCD显示/ 触摸面板的SPI时钟信号                                                    
+
| SPI clock of LCD/Touch Panel                                                    
 
|-
 
|-
 
| 24
 
| 24
 
| LCD_CS
 
| LCD_CS
| LCD片选信号,低电平选择LCD
+
| LCD chip selection, low active
 
|-
 
|-
 
| 26
 
| 26
 
| TP_CS
 
| TP_CS
| 触摸面板片选信号,低电平选择触摸面板
+
| Touch Panel chip selection, low active
 
|}
 
|}
  
==<font color="blue"> 在树莓派Raspbian &Ubuntu Mate系统中使用 </font>==
+
==<font color="blue"> Driver Installation</font>==
  
  
'''步骤1,安装Raspbian或UbuntuMate官方镜像   [http://www.lcdwiki.com/res/PublicFile/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B(%E4%B8%8B%E8%BD%BD%EF%BC%8C%E6%A0%BC%E5%BC%8F%E5%8C%96%EF%BC%8C%E7%83%A7%E5%BD%95%EF%BC%8CSSH%EF%BC%8CPuTTy)-V1.0.pdf (Q:不会安装?)]'''                                                                     
+
'''Step1,''Install the Raspbian/''UbuntuMate official mirror   [http://www.lcdwiki.com/res/PublicFile/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B(%E4%B8%8B%E8%BD%BD%EF%BC%8C%E6%A0%BC%E5%BC%8F%E5%8C%96%EF%BC%8C%E7%83%A7%E5%BD%95%EF%BC%8CSSH%EF%BC%8CPuTTy)-V1.0.pdf (Q:How to?)]'''                                                                     
  
#从官方下载最新[https://www.raspberrypi.org/downloads/ Raspbian] / [https://ubuntu-mate.org/download/ Ubuntu Mate]镜像
+
:(1) Download the latest [https://www.raspberrypi.org/downloads/ Raspbian]/[https://ubuntu-mate.org/download/ ubuntumate] mirror from official 
#使用SDFormatter格式化Micro SD卡,
+
:(2) Use <SDFormatter> to format Micro SD card 
#使用Win32DiskImager把官方镜像烧录到Micro SD卡。
+
:(3) Use <Win32DiskImager> to burn the official image to Micro SD card
  
'''步骤2,与树莓派连接'''
+
'''Step2,Connect with RaspberryPi'''
  
:[[文件:MHS3521-013.jpg||无框]]
+
:[[File:MHS3521-013.jpg|left|337x337px]]
  
 
<br />
 
<br />
Line 128: Line 142:
 
<br />
 
<br />
  
:如图将液晶屏母座靠右对齐树莓派排针插入   
+
:Align right-side to insert the LCD screen             
:插入MicroSD卡,连接网线,接好电源     
+
:Plug-in MicroSD card, connect network and power 
  
 
<br />
 
<br />
Line 135: Line 149:
 
<br />
 
<br />
 
<br />
 
<br />
'''步骤3,安装LCD驱动(树莓派需连接互联网)  '''                                                                         
+
<br />
 +
'''Step3,Install Driver for RaspberryPi'''                                                                         
  
:(1)登陆树莓派终端(SSH远程登录用户名:pi 密码:raspberry)  [http://www.lcdwiki.com/res/PublicFile/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B(%E4%B8%8B%E8%BD%BD%EF%BC%8C%E6%A0%BC%E5%BC%8F%E5%8C%96%EF%BC%8C%E7%83%A7%E5%BD%95%EF%BC%8CSSH%EF%BC%8CPuTTy)-V1.0.pdf (Q:SSH无法连接?)]
+
:(1)Login to raspberryPi terminal by SSH (user name: pi ,password :raspberry)  '''[http://www.lcdwiki.com/res/PublicFile/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%85%A5%E9%97%A8%E6%95%99%E7%A8%8B(%E4%B8%8B%E8%BD%BD%EF%BC%8C%E6%A0%BC%E5%BC%8F%E5%8C%96%EF%BC%8C%E7%83%A7%E5%BD%95%EF%BC%8CSSH%EF%BC%8CPuTTy)-V1.0.pdf (Q:How to?)]'''
:(2)执行以下命令(复制后在Putty窗口中单击鼠标右键即可粘贴):  
+
:(2)Execute the following commands (raspberryPi needs to connect Internet):
 
{{code|1=
 
{{code|1=
 
sudo rm -rf LCD-show
 
sudo rm -rf LCD-show
Line 146: Line 161:
 
sudo ./MHS35-show}}
 
sudo ./MHS35-show}}
  
:(3)执行完上述命令后,系统自动重启后就能正常显示和触摸了
+
:(3) After the above commands are executed, the system will automatically restart and be able to display and touch normally now.
 
+
::Note: after installing this driver, the HDMI output will be disabled. If it is necessary to switch back to the HDMI display, execute:
::注意事项:安装此驱动后HDMI输出将会禁用,如需切换回HDMI显示,执行:
 
 
{{code|1=
 
{{code|1=
 
sudo ./LCD-hdmi}}
 
sudo ./LCD-hdmi}}
  
==<font color="blue"> 资源下载</font>==
+
==<font color="blue"> Download Resources</font>==
  
*'''文档'''
+
* '''Document'''
  
# [http://www.lcdwiki.com/res/MHS3521/MHS-3.5inch_QuickStart.pdf MHS-3.5inch_快速入门]
+
# [http://www.lcdwiki.com/res/MHS3528/MHS-3.5inch_QuickStart.pdf MHS-3.5inch_QuickStart]
# [http://www.lcdwiki.com/res/PublicFile/%E5%A6%82%E4%BD%95%E5%AE%89%E8%A3%85LCD%E9%A9%B1%E5%8A%A8-V1.2.pdf 如何安装LCD驱动-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/如何校准电阻触摸屏-V1.2.pdf 如何校准电阻触摸屏-V1.2]
+
# [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/Show_Direction_and_Touch/如何修改显示方向和触摸-GPIO-电阻触摸-V1.2.pdf 如何修改显示方向和触摸-GPIO-电阻触摸-V1.2]
+
# [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/PublicFile/树莓派入门教程(下载,格式化,烧录,SSH,PuTTy)-V1.0.pdf 树莓派入门教程(下载,格式化,烧录,SSH,PuTTy)-V1.0]
 
  
*'''驱动下载'''
+
* '''Driver 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'''
  
:如果你觉得前面步骤的修改配置、安装驱动都比较困难或者仍然显示异常,请先使用我们预装好驱动的镜像,
+
: If you have difficulty installing the driver, or if you still can't use the display properly after installing the driver,
:下载后解压并把镜像写入到TF卡中。然后把卡插入树莓派就可以使用了。
+
: 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.
  
 
{| class="wikitable" border="1" style="width: 80%; margin-left:1.5%;background-color: white;"
 
{| class="wikitable" border="1" style="width: 80%; margin-left:1.5%;background-color: white;"
!系统名称
+
!Image Name
!系统版本
+
!Version
!支持的树莓派版本
+
!Support
!默认密码
+
!Password
! colspan="2" |下载地址
+
! colspan="2" |Download
 
|-
 
|-
 
| rowspan="2" |Raspbian
 
| rowspan="2" |Raspbian
| rowspan="2" |2018-06-27
+
| rowspan="2" |2018-11-13
 
| rowspan="2" |PI3B+/A/A+/B/B+/PI2/
 
| rowspan="2" |PI3B+/A/A+/B/B+/PI2/
 
PI3/ZERO/ZERO W
 
PI3/ZERO/ZERO W
| rowspan="2" |user:pi
+
| rowspan="2" |user: pi
password:raspberry
+
password: raspberry
|(addr1)Baidu Pan:
+
|[[File:360-2.jpg|24px]]360Yun:
|等待上传
+
|[https://yunpan.360.cn/surl_ymaLdfDP4N3 3.5inch-MHS-Raspbian-20181113.7z]
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]    Mega:
|等待上传
+
|[https://mega.nz/#!qyY2kAJJ!6CwcKPN0cKTRkweOYbAMn310LokZ5uiyIjPKAB6Kdlk 3.5inch-MHS-Raspbian-20181113.7z]
 
|-
 
|-
 
| rowspan="2" |Ubuntu
 
| rowspan="2" |Ubuntu
 
| rowspan="2" |Mate:16.04
 
| rowspan="2" |Mate:16.04
 
| rowspan="2" |PI3,PI2
 
| rowspan="2" |PI3,PI2
| rowspan="2" |user:pi
+
| rowspan="2" |user: pi
password:raspberry
+
password: raspberry
|(addr1)Baidu Pan:
+
|[[File:360-2.jpg|24px]]360Yun:
|等待上传
+
|[https://yunpan.360.cn/surl_ymaLm8cvgBy MHS35-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.7z]
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]  Mega:
|等待上传
+
|[https://mega.nz/#!2uo2WSDQ!HxOOz2a_af9yD2SgU39cRtMgCJhxpoIxTzOzDgn8Rz8 MHS35-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.7z]
 
|-
 
|-
 
| rowspan="2" |Kali-linux
 
| rowspan="2" |Kali-linux
| rowspan="2" |2018.2,nexmon
+
| rowspan="2" |2018.3,nexmon
 
| rowspan="2" |PI3B+,PI3,PI2
 
| rowspan="2" |PI3B+,PI3,PI2
| rowspan="2" |user:root
+
| rowspan="2" |user: root
password:toor
+
password: toor
|(addr1)Baidu Pan:
+
|[[File:360-2.jpg|24px]]360Yun:
|等待上传
+
|[https://yunpan.360.cn/surl_ymaLHEYQsID MHS35-kali-linux-2018.3-rpi3-nexmon.7z]
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]  Mega:
|等待上传
+
|[https://mega.nz/#!qnAj0KwJ!7WeN1iV4-h675eiIkeIzOeQWVRUbtwaeJYgW-5XqTts MHS35-kali-linux-2018.3-rpi3-nexmon.7z]
 
|-
 
|-
 
| rowspan="2" |RetroPie 
 
| rowspan="2" |RetroPie 
 
| rowspan="2" |April 14, 2018.
 
| rowspan="2" |April 14, 2018.
 
| rowspan="2" |PI3B+,PI3,PI2
 
| rowspan="2" |PI3B+,PI3,PI2
| rowspan="2" |
+
| rowspan="2" |user: pi
|(addr1)Baidu Pan:
+
password: raspberry
|等待上传
+
|[[File:360-2.jpg|24px]]360Yun:
 +
|[https://yunpan.360.cn/surl_ymaLL4rWBbU MHS35-retropie-4.4-rpi2_rpi3.7z]
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]  Mega:
|等待上传
+
|[https://mega.nz/#!qj5EjIwC!f9v-V2THhobtOFHKRS9kpcrGhKUh0EvB6ZKEENvnLeU MHS35-retropie-4.4-rpi2_rpi3.7z]
 
|-
 
|-
 
| rowspan="2" |RetroPie 
 
| rowspan="2" |RetroPie 
 
| rowspan="2" |April 14, 2018.
 
| rowspan="2" |April 14, 2018.
 
| rowspan="2" |Pi1/ZERO/ZERO W
 
| rowspan="2" |Pi1/ZERO/ZERO W
| rowspan="2" |
+
| rowspan="2" |user: pi
|(addr1)Baidu Pan:
+
password: raspberry
|等待上传
+
|[[File:360-2.jpg|24px]]360Yun:
 +
|[https://yunpan.360.cn/surl_ymaL3BTbBgf MHS35-retropie-4.4-rpi1_zero.7z]
 
|-
 
|-
|(addr2)Mega:
+
|[[File:Mega-1.jpg|24px]]  Mega:
|等待上传
+
|[https://mega.nz/#!zmY3nQhI!oWbyAxCkwK8-2hjTfRzg7wannMwQ9PVcdFZae8D4iHg MHS35-retropie-4.4-rpi1_zero.7z]
 
|}
 
|}
 
+
*[http://www.lcdwiki.com/MD5 MD5 of Image]
*'''常用软件'''
+
* '''Software'''
  
 
# [http://www.lcdwiki.com/res/software/Panasonic_SDFormatter.zip Panasonic SDFormatter]
 
# [http://www.lcdwiki.com/res/software/Panasonic_SDFormatter.zip Panasonic SDFormatter]

Revision as of 10:20, 17 January 2019


语言选择

Languages

➤中文
➤EN


Product Video

Product Pictures

3.5-MHS-main-2-20181107-9.jpgMHS3521-012.jpg3.5-MHS-100-2-20181107-9.jpg

Features

  • Physical resolution 320 x 480, with resistive touch control
  • It supports up to 125MHz SPI signal input, showing stable no screen and no flicker
  • With the refresh rate of raspberry pie around 50Hz, play video to play the game without pressure
  • Support FBCP software drive, support double screen display, can adjust the resolution of the software to zoom
  • Raspberry Pi ZeroW, A, A+, B, B+, 2B, 3B, 3B+)
  • Support Raspbian/Ubuntu/Kali system, provide driver and image
  • This product has passed CE and RoHS certification

Key Parameters

SKU MHS3521
LCD Type TFT
LCD Interface SPI (upports up to 125MHz SPI input)
Touch Screen Type Resistive
Touch Screen Controller XPT2046
Colors 65536
Backlight LED
Resolution 320*480 (Pixel)
power consumption 120ma
Working temperature(℃) -20~70

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

Driver Installation

Step1,Install the Raspbian/UbuntuMate official mirror (Q:How to?)

(1) Download the latest Raspbian/ubuntumate mirror from official
(2) Use <SDFormatter> to format Micro SD card
(3) Use <Win32DiskImager> to burn the official image to Micro SD card

Step2,Connect with RaspberryPi

MHS3521-013.jpg





Align right-side to insert the LCD screen             
Plug-in MicroSD card, connect network and power 






Step3,Install Driver for RaspberryPi

(1)Login to raspberryPi terminal by SSH (user name: pi ,password :raspberry) (Q:How to?)
(2)Execute the following commands (raspberryPi needs to connect Internet):
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./MHS35-show
(3) After the above commands are executed, the system will automatically restart and be able to display and touch normally now.
Note: after installing this driver, the HDMI output will be disabled. If it is necessary to switch back to the HDMI display, execute:
sudo ./LCD-hdmi

Download Resources

  • Document
  1. MHS-3.5inch_QuickStart
  2. How_to_install_matchbox-keyboard
  3. How_to_calibrate_the_resistance_touch_screen-V1.2
  4. How_to_change_display_direction-GPIO-Resistive_Touch-V1.2
  • 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 2018-11-13 PI3B+/A/A+/B/B+/PI2/

PI3/ZERO/ZERO W

user: pi

password: raspberry

360-2.jpg360Yun: 3.5inch-MHS-Raspbian-20181113.7z
Mega-1.jpg Mega: 3.5inch-MHS-Raspbian-20181113.7z
Ubuntu Mate:16.04 PI3,PI2 user: pi

password: raspberry

360-2.jpg360Yun: MHS35-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.7z
Mega-1.jpg Mega: MHS35-ubuntu-mate-16.04.2-desktop-armhf-raspberry-pi.7z
Kali-linux 2018.3,nexmon PI3B+,PI3,PI2 user: root

password: toor

360-2.jpg360Yun: MHS35-kali-linux-2018.3-rpi3-nexmon.7z
Mega-1.jpg Mega: MHS35-kali-linux-2018.3-rpi3-nexmon.7z
RetroPie  April 14, 2018. PI3B+,PI3,PI2 user: pi

password: raspberry

360-2.jpg360Yun: MHS35-retropie-4.4-rpi2_rpi3.7z
Mega-1.jpg Mega: MHS35-retropie-4.4-rpi2_rpi3.7z
RetroPie  April 14, 2018. Pi1/ZERO/ZERO W user: pi

password: raspberry

360-2.jpg360Yun: MHS35-retropie-4.4-rpi1_zero.7z
Mega-1.jpg Mega: MHS35-retropie-4.4-rpi1_zero.7z
  1. Panasonic SDFormatter
  2. Win32DiskImager
  3. PuTTY

BACK TO TOP