Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MHS-4.0inch Display-B

From LCD wiki

语言选择

Languages

➤中文
➤EN


Product 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
Module PCB Size 95.5*61.0(mm)
Package Size 136x98x41(mm)
Rough Weight(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):
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./MHS40-show
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)
tar -xvzf LCD-show.tar.gz
(4) Execute the following command to install the LCD driver
chmod -R 755 LCD-show
cd LCD-show/
sudo ./MHS40-show
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

Download Resources

  • Document
  1. MHS-4.0inch Display-B quick start
  2. MHS-4.0inch Display-B user manual
  3. How to install the LCD driver
  4. How to calibrate the resistance touch screen
  5. How to install matchbox-keyboard
  6. How to change display direction GPIO resistive touch
  7. How to use Raspberry Pi(Download,Format,Burn,SSH,PuTTy)
  8. RaspberryPi Ubuntu-mate open ssh instructions
  9. RaspberryPi Ubuntu-mate-18.04 ssh connect
  10. RaspberryPi Zero open serial instructions
  11. 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 Raspberry Pi version Default user and passwd Download Link
Raspbian 2019-06-20 PI4/PI3B+/PI2/

PI3/ZERO/ZERO W

user: pi

password: raspberry

BaiduYun: MHS-4.0inch_Display-B-2019-06-20-raspbian-buster.7z Fetch Code:41ik
Mega: MHS-4.0inch_Display-B-2019-06-20-raspbian-buster.7z
Ubuntu-mate 18.04.2-beta1 PI3B+,PI3,PI2 user: pi

password: raspberry

BaiduYun: MHS4001_4.0inch-B_480x320_ubuntu-mate-18.04.2.7z Fetch Code:4ivc
Mega: MHS4001_4.0inch-B_480x320_ubuntu-mate-18.04.2.7z
Kali-linux 2019.1,nexmon PI3B+,PI3,PI2 user: root

password: toor

BaiduYun: MHS4001_4.0inch-B_480x320_kali-linux-2019.1-rpi3.7z Fetch Code:9ga6
Mega: MHS4001_4.0inch-B_480x320_kali-linux-2019.1-rpi3.7z
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 Fetch Code:xysc
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 Fetch Code:vb6y
Mega: MHS4001_4.0inch-B_480x320_retropie-4.4-rpi1_zero.7z
  1. Panasonic SDFormatter
  2. Win32DiskImager
  3. PuTTY

BACK TO TOP