UCTRONICS 3.
5 Inches 480 x 320 TFT LCD Touch Screen Display Step1 Expand the Micro SD card
sudo raspi-config then Select Advanced Operations ->Expand Filesystem and hit YES, then go to Finish and you
Model: U4703 need to run sudo reboot to reboot your Raspberry Pi.
1. Introduction Step2 Update your Raspberry Pi system
UCTRONICS 3.5" TFT LCD display module is designed for Raspberry Pi zero/Pi 2 /Pi 3 Model B / B+ and can also be sudo apt-get update
used on other hardware platforms with have SPI interface. The 3.5" screen is the same size as the standard Raspberry Step3 Download the driver package
Pi model B/B+, and well mate with the Raspberry Pi boards. With its touch screen, it is suitable for portable devices and sudo git clone https://github.com/UCTRONICS/UCTRONICS_LCD35_RPI.git
projects, and it is a replacement for a heavy and bulky HDMI monitor, keyboard and mice. The highlight of this display Step4 Go to the UCTRONICS_LCD35_RPI
module, it supports plug and play without reboot the Pi, and SPI speed runs as fast as 32MHz to support games and cd UCTRONICS_LCD35_RPI
videos. Step5 Change the file permission
2. Specification sudo chmod 777 UCTRONICS_LCD_backup
Support Kernel from 4.1 to 4.9 Support plug and play sudo chmod 777 UCTRONICS_LCD35_install
Resolution: 480 x 320 pixels Support touch screen sudo chmod 777 UCTRONICS_LCD_restore
Interface: SPI Support game and video sudo chmod 777 UCTRONICS_LCD_hdmi
SPI speed: 32MHz Automatic driver installation script Step6 Backup original system data
Dimension: 55.98 x 85.60 mm Well mate with Pi Zero, Pi B+, Pi2 and Pi3 sudo ./UCTRONICS_LCD_backup
3. Hardware installation Step7 Install the LCD35 driver
sudo ./UCTRONICS_LCD35_install
Wait for a while the system will be installed and restarted automatically.
If you want to reuse the original system, you can use the below command
sudo ./UCTRONICS_LCD_restore
If you want to display on HDMI instead of LCD, just use the below command
sudo ./UCTRONICS_LCD_hdmi
If you don’t want to run those command to install the LCD driver, we also provide ready to use system image file
“UCTRONICS_LCD35_RPI.img". Please click the following link to download the system image file:
Figure 1 Figure 2 http://uctronics.oss-us-west-1.aliyuncs.com/LCD35/image/UCTRONICS_LCD35_RPI.img
The Figure 1 shows the display module pin out and dimension. Connect the 3.5inch LCD to the Raspberry Pi board like Check the following link to install the win32diskimager tool in your computer. Then write the image file into the Micro
the Figure 2 shows. Power on the Raspberry Pi board and make sure the internet is connected properly. SD card.
Note: LCD module pin1 should be aligned to Raspberry Pi board Pin1, misalign might cause damage. https://sourceforge.net/projects/win32diskimager/
4. Download and install driver 5. Add more functions to the LCD
The LCD driver has been already installed in the Micro SD card shipped only with the kit that includes a Micro SD card. NO1. Install calibration software for calibration
The following steps are for install the driver on a clean system. All the installation steps are also available from our cd UCTRONICS_LCD35_RPI
github: https://github.com/UCTRONICS/UCTRONICS_LCD35_RPI/ sudo unzip Xinput-calibrator_0.7.5-1_armhf.zip
cd xinput-calibrator_0.7.5-1_armhf/ Plugin {
sudo dpkg -i -B xinput-calibrator_0.7.5-1_armhf.deb type = launchbar
NO2. Install virtual keyboard Config {
Step 1 Execute the following commands to install the corresponding software Button {
sudo apt-get update id=lxde-screenlock.desktop
sudo apt-get install matchbox-keyboard }
sudo nano /usr/bin/toggle-matchbox-keyboard.sh Button {
Step 2 Copy the following contents to toggle box - keyboard. Sh, save the exit id=lxde-logout.desktop
#!/bin/bash }
#This script toggle the virtual keyboard }
PID=pidof matchbox-keyboard Step 7 Add the following code to add a Button item
if [ ! -e $PID ]; then Button {
killall matchbox-keyboard id=/usr/local/share/applications/toggle-matchbox-keyboard.desktop
else }
matchbox-keyboard -s 50 extended& Step 8 To restart the system with the following command, you can see a virtual keyboard icon in the top left corner
fi sudo reboot
Step 3 Execute the following command 6. Contact us
sudo chmod +x /usr/bin/toggle-matchbox-keyboard.sh If need any further support, please feel free to contact us.
sudo mkdir /usr/local/share/applications Website: http://www.uctronics.com
sudo nano /usr/local/share/applications/toggle-matchbox-keyboard.desktop Case Installation Guide: www.uctronics.com/download/Amazon/U4703_installation.pdf
Step 4 Copy the following contents to toggle - matchbox - keyboard. Desktop, save exit Email: [email protected]
[Desktop Entry] Tel: +86 025 84271192
Name=Toggle Matchbox Keyboard
Comment=Toggle Matchbox Keyboard`
Exec=toggle-matchbox-keyboard.sh
Type=Application
Icon=matchbox-keyboard.png
Categories=Panel;Utility;MB
X-MB-INPUT-MECHANSIM=True
Step 5 To perform the following command, note that this step must use the "PI" user permission, and if the
administrator privileges are used, the file will not be found
nano ~/.config/lxpanel/LXDE-pi/panels/panel
Step 6 Find similar commands (different versions of ICONS may differ)