MHS-4.0inch Display-B

== Product Video ==
*Related Video
== Product Pictures==
== Product Features==
* Physical resolution 480 x 320, 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 50FPS, 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
* Same size as the Raspberry Pi, perfectly compatible and can be directly inserted into any version of the Raspberry Pi (Raspberry Pi ZeroW, A, A+, B, B+, 2B, 3B, 3B+)
* Support Raspbian/Ubuntu/Kali/Retropie system, provide driver and image
* This product has passed CE and RoHS certification
== Main Parameters ==
Name 	Description
SKU 	MHS4001
Screen Size 	4.0inch
LCD Type 	TFT
Module Interface 	SPI (upports up to 125MHz SPI input)
Resolution 	480*320 (Pixel)
Touch Screen Controller 	XPT2046
LCD Driver IC 	ST7796S
Backlight 	LED
power consumption 	0.16A*5V
Working temperature（℃） 	-20~60
Active Area 	83.52*55.68(mm)
Module PCB Size 	95.5*61.0(mm)
Package Size 	136x98x41(mm)
Rough Weight(Package containing)(g)	100(g)
== Hardware Description==
 
*Interface Definition 
 
Pin Number 	Identification 	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 	Not connected
6, 9, 14, 20, 25 	GND 	Power ground
11 	TP_IRQ 	The touch panel is interrupted, and it is detected that the touch panel is pressed low
18 	LCD_RS 	Instruction/data register selection, low level is instruction, high level is data
19 	LCD_SI / TP_SI 	LCD display / touch panel SPI data input
21 	TP_SO 	Touch panel SPI data output
22 	RST 	Reset signal, low reset
23 	LCD_SCK / TP_SCK	LCD display / touch panel SPI clock signal
24 	LCD_CS 	LCD chip select signal, low level enable
26 	TP_CS 	Touch panel chip select signal, low level enable
*Product Size
== How to use in the Raspberry/Ubuntu Mate/Kali/Retropie system ==
There are two ways to use it
The First Method
:Directly download the image we created and burn it into the micro SD card and insert it into the RaspberryPi. (Q:How to burn?) 
:Image download see the image download section of the Download Resources
The second method
:Step 1, install the latest official image of various systems (Q:How to install？) 
::(1)Download the latestRaspbian/Ubuntu Mate/Kali-linux/Retropieimage from the official
::(2) Format the Micro SD card using SDFormatter
::(3) Use Win32DiskImager to burn the official image to the Micro SD card
:Step 2, connect with the Raspberry Pi
::
:Align right-side to insert the LCD screen              
:Plug-in MicroSD card, connect network and power   
:Step 3, install the LCD driver 
::A. Install on the Raspbian system (the Raspberry Pi needs to connect to the Internet) 
:::(1) Log in to the Raspberry Pi terminal(SSH remote login user name and password, see the image download of the Download Resources) (Q:The ssh can't connect?)
:::(2) Execute the following command to get the LCD driver and install it (after copying, click the right mouse button in the Putty window to paste):
::B. Install on the Ubuntu Mate, Kali, Retropie system
:::(1) Download the local driver, the download link is as follows: (Because of system differences, the driver downloaded from github cannot run normally 
::::in the three systems Ubuntu Mate, Kali, Retropie, so only local drivers can be used)
::::Driver download for Ubuntu-mate-18.04 system:LCD-show.tar.gz
::::Driver download for Kali-linux system:LCD-show.tar.gz
::::Driver download for the retropie-rpi2_rpi3 system:LCD-show.tar.gz
::::Driver download for retropie-rpi1_zero system:LCD-show.tar.gz
:::(2) Log in to the Raspberry Pi terminal(SSH remote login user name and password, see the image download of the Download Resources) (Q:The ssh can't connect?)
:::(3) Copy the local driver to the running Raspberry Pi system and execute the following command to extract it (can be copied by SD card or FileZilla software)
:::(4) Execute the following command to install the LCD driver
:Step 4, Check if the driver is successfully installed 
::(1) After the LCD driver is installed, the system will automatically restart. After the startup is successful, the LCD can display and touch normally, 
:::indicating that the driver installation is successful.
Note:
:A. Ubuntu system default SSH is not enabled, the specific method of opening seeRaspberryPi Ubuntu-mate open ssh instructions 
:B. Ubuntu-18.04 system ssh connection may fail, the specific solution is shown in RaspberryPi Ubuntu-mate-18.04 ssh connection failure solution description 
:C. The retropie-rpi1_zero system cannot log in via SSH (no network port and wifi module). You need to copy the driver through the serial port. For details, see RaspberryPi Zero open serial instructions 
:D. Retropie system game installation and setup instructions see RaspberryPi Retropie using instructions
==FAQ==
* How to resolve the issue of touch flip in resistive touch production
* HDMI display does not display after installing FBCP driver
== Download Resources==
* Document
# MHS-4.0inch Display-B quick start
# MHS-4.0inch Display-B user manual
# How to install the LCD driver
# How to calibrate the resistance touch screen
# How to install matchbox-keyboard
# How to change display direction GPIO resistive touch
# How to use Raspberry Pi(Download,Format,Burn,SSH,PuTTy)
# RaspberryPi Ubuntu-mate open ssh instructions
# RaspberryPi Ubuntu-mate-18.04 ssh connect
# RaspberryPi Zero open serial instructions
# RaspberryPi Retropie using instructions
* 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.
System Name 	System Version 	Supported 	Default user and passwd	Download Link	Download Link
Raspbian 	2024-11-19 	PI4/PI3B+/PI3/
PI2/PI1/ZERO/ZERO W	user: pi
password: raspberry	BaiduYun: 	MHS4001-4inch-2024-11-19-raspios-bullseye-armhf.7z 提取码：zk0c
Raspbian 	2024-11-19 	PI4/PI3B+/PI3/
PI2/PI1/ZERO/ZERO W	user: pi
password: raspberry	Mega: 	MHS4001-4inch-2022-04-04-raspios-bullseye-armhf.7z
Ubuntu-mate 	18.04.2-beta1 	PI3B+,PI3,PI2 	user: pi
password: raspberry	BaiduYun: 	MHS4001-4inch-ubuntu-mate-20.04.1-beta2.7z 提取码：chbl
Ubuntu-mate 	18.04.2-beta1 	PI3B+,PI3,PI2 	user: pi
password: raspberry	Mega: 	MHS4001-4inch-ubuntu-mate-20.04.1-beta2.7z
Kali Linux RaspberryPi 2,3 and 4	2024.3 	PI4B,PI3B+,PI3,PI2	user: kali
password: kali	BaiduYun: 	MHS4001-4inch-kali-linux-2024.3 提取码：au5t
Kali Linux RaspberryPi 2,3 and 4	2024.3 	PI4B,PI3B+,PI3,PI2	user: kali
password: kali	Mega: 	MHS4001-4inch-kali-linux-2022.1
RetroPie-rpi2_rpi3  	April 14, 2018.	PI3B+,PI3,PI2 	user: pi
password: raspberry	BaiduYun: 	MHS4001_4.0inch-B_480x320_retropie-4.4-rpi2_rpi3.7z 提取码：xysc
RetroPie-rpi2_rpi3  	April 14, 2018.	PI3B+,PI3,PI2 	user: pi
password: raspberry	Mega: 	MHS4001_4.0inch-B_480x320_retropie-4.4-rpi2_rpi3.7z
RetroPie-rpi1_zero  	April 14, 2018.	Pi1/ZERO/ZERO W 	user: pi
password: raspberry	BaiduYun: 	MHS4001_4.0inch-B_480x320_retropie-4.4-rpi1_zero.7z 提取码：vb6y
RetroPie-rpi1_zero  	April 14, 2018.	Pi1/ZERO/ZERO W 	user: pi
password: raspberry	Mega: 	MHS4001_4.0inch-B_480x320_retropie-4.4-rpi1_zero.7z
*MD5 of Image
* Software
# Panasonic SDFormatter
# Win32DiskImager
# PuTTY
BACK TO TOP