Loading... Please wait...

3.5 inch Pi TFT LCD Touchscreen(320*480)

  • Image 1
  • Image 2
  • Image 3
  • Image 4
  • Image 5
Price:
$31.95
SKU:
RBP-CB0118
Current Stock:
6
Quantity:


Product Description

This 3.5 inch TFT LCD touchscreen module connects directly to the Raspberry PI. The resolution is 320x480. This display has been tested with the latest version of Raspbian. The installation instructions are below.

Specifications

LCD Type

TFT

LCD Interface

SPI

Touch Screen Type

Resistive

Touch Screen Controller

XPT2046

Colors

65536

Backlight

LED

Resolution

320*480 (Pixel)

Aspect Ratio

2:03

Power Consumption

TBD

Backlight Current

TBD

Operating Temp. (℃)

TBD

 

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, 12, 13, 15, 16

NC

NC

6, 9, 14, 20, 25

GND

Ground

11

TP_IRQ

Touch Panel interrupt, low level while the Touch Panel detects touching

18

LCD_RS

Instruction/Data Register selection

19

LCD_SI / TP_SI

SPI data input of LCD/Touch Panel

21

TP_SO

SPI data output of Touch Panel

22

RST

Reset

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

 

3.5inch TFT Touchscreen install instructions

Overview

The reference instructions were on the right track, however not complete.
Reference instructions: [https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=178443]

The following instructions worked for a Raspberry PI 3 with Raspbian installed.
Assumptions: basic cli navigation knowledge, ssh enabled, have networking enabled, are connected to the internet and have latest version of Raspbian as of May 2017.

Steps

Enable SPI

sudo raspi-config
Navigate to 5 Interfacing options and enable SPI (P4 SPI)
sudo reboot

Update Raspberry PI

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Setup config.txt file for piscreen

sudo nano /boot/config.txt
Add this line to the bottom of the file:
dtoverlay=piscreen,speed=16000000,rotate=270
Save and exit

Install fbi - framebuffer imagerviewer

sudo apt-get install fbi
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
Change
Option "fbdev" "/dev/fb0"
to
Option "fbdev" "/dev/fb1"
Save and exit

Setup touchscreen script

sudo nano .config/lxsession/LXDE-pi/touchscreen.sh
Add the following lines to the touchscreen.sh file

DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axes Swap' 0
DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axis Inversion' 0 1


Save and exit
Change the file permissions
sudo chmod a+x .config/lxsession/LXDE-pi/touchscreen.sh
Run the script at startup
sudo nano .config/lxsession/LXDE-pi/autostart
Insert the following after @pcmanfm --desktop --profile LXDE-pi but before @xscreensaver -no-splash:
@lxterminal -e .config/lxsession/LXDE-pi/touchscreen.sh
Save and exit

Install xinput

sudo apt-get install xinput

Install evdev conf 

 
sudo apt-get install xserver-xorg-input-evdev
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf

Reboot and test

sudo reboot

 

The following instructions worked for a Raspberry PI 4 with Raspbian installed.
Assumptions: basic cli navigation knowledge, ssh enabled, have networking enabled, are connected to the internet and have latest version of Raspbian. Tested on November 202.

Steps

Enable SPI

sudo raspi-config
Navigate to 5 Interfacing options and enable SPI (P4 SPI)
sudo reboot

Update Raspberry PI

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Get the Configuration Script

sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show

Reboot and test

sudo reboot


Find Similar Products by Category


Add to Wish List

Click the button below to add the 3.5 inch Pi TFT LCD Touchscreen(320*480) to your wish list.

You Recently Viewed...