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

MHS-3.2inch Display: Difference between revisions

From LCD wiki
Liang (talk | contribs)
Liang (talk | contribs)
Line 53: Line 53:
|Operating Temperature(℃)
|Operating Temperature(℃)
| -20~60
| -20~60
|-
|Active Area:
|48.6x64.8(mm)
|-
|-
|Module PCB Size
|Module PCB Size

Revision as of 14:41, 13 April 2020

语言选择

Languages

➤中文
➤EN


Product Pictures

Product 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 Raspberry Pi, the refresh rate is about 60FPS, playing video games is no problem.
  • Support FBCP software driver, support dual screen display, can be adjusted by software to adjust the resolution
  • 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 for Raspbian/Ubuntu/Kali/Retropie systems, providing drivers and mirroring
  • This product has passed CE and RoHS certification

Main Parameters

Name Description
SKU MHS3232
Screen Size 3.2inch
LCD Type TFT
Module Interface SPI (upports up to 125MHz SPI input)
Resolution 320*240 (Pixel)
Touch Screen Controller XPT2046
LCD Driver IC ILI9341
Backlight LED
Power Consumption 0.16A*5V
Operating Temperature(℃) -20~60
Active Area: 48.6x64.8(mm)
Module PCB Size 84.91*56.54 (mm)
Package Size 118*72*34 (mm)
Rough Weight(Package containing)(g) 73(g)

Hardware Description

  • Interface Definition
Pin Number Identification Description
1, 17 3.3V Power supply (3.3V power input)
2, 4 5V Power supply (5V power input)
3, 5, 7, 8, 10,22 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.
15 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
13 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
12 KEY1 Button 1
16 KEY2 Button 2
18 KEY3 Button 3
  • 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 ./MHS32-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 ./MHS32-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

How to rotate the display direction

This method only applies to the Raspberry Pi series of display screens, other display screens do not apply.

  • Method 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 ./XXX-show 90

After execution, the driver will be installed. The system will automatically restart, and the display screen will rotate 90 degrees to display and touch normally.
' XXX-show ' can be changed to the corresponding driver, and ' 90 ' can be changed to 0, 90, 180 and 270, respectively representing rotation angles of 0 degrees, 90 degrees, 180 degrees, 270 degrees)

  • Method 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 Method 1 to install the latest drivers

FAQ

Download Resources

  • Document
  1. MHS-3.2inch Display quick start
  2. MHS-3.2inch Display 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 Raspberry Pi version User and passwd Download Link
Raspbian 2020-02-13 PI4/PI3B+/PI3/PI2/

PI1/ZERO/ZERO W

user: pi

password: raspberry

BaiduYun: MHS3232-3.2inch-2020-02-13-raspbian-buster.7z Fetch Code:oowp
Mega: MHS3232-3.2inch-2020-02-13-raspbian-buster.7z
Ubuntu-mate 18.04.2-beta1 PI3B+,PI3,PI2 user: pi

password: raspberry

BaiduYun: MHS32-ubuntu-mate-18.04.2-beta1-armhf+raspi-ext4.7z Fetch Code:g0cu
Mega: MHS32-ubuntu-mate-18.04.2-beta1-armhf+raspi-ext4.7z
Kali Linux RaspberryPi 2,3 and 4 2020.1a PI4B,PI3B+,PI3,PI2 user: root

password: toor

BaiduYun: MHS3232-3.2inch-kali-linux-2020.1a.7z Fetch Code:v1uj
Mega: MHS3232-3.2inch-kali-linux-2020.1a.7z
RetroPie-rpi2_rpi3  4.4 PI3B+,PI3,PI2 user: pi

password: raspberry

BaiduYun: MHS32-retropie-4.4-rpi2_rpi3.7z Fetch Code:dc90
Mega: MHS32-retropie-4.4-rpi2_rpi3.7z
RetroPie-rpi1_zero  4.4 Pi1/ZERO/ZERO W user: pi

password: raspberry

BaiduYun: MHS32-retropie-4.4-rpi1_zero.7z Fetch Code:s42y
Mega: MHS32-retropie-4.4-rpi1_zero.7z
  1. Panasonic SDFormatter
  2. Win32DiskImager
  3. PuTTY

BACK TO TOP