#TUTORIAL. GET STARTED WITH 3.5” LCD FOR RASPBERRY PI.
The 3.5 inch LCD Display is directly pluggable into a Raspberry Pi and perfectly fits various Pi models from B+ to Raspberry Pi 3B+. It is a brilliant alternative for an HDMI monitor. When set up, it behaves as a human-machine interface enabling the user to prototype with the Raspberry Pi device anywhere at any time.
- 480x320 hardware resolution with 8:5 aspect ratio
- Typical current consumption within 110-150 mA with a 5V supply
- High-quality immersion gold plating
- Resistive touch control
- Simple installation procedure described below
It is very easy to set up the display by installing an LCD driver on your Raspbian OS. It requires only 3 commands to be run on the terminal.
After setting up your Raspberry Pi, connect the LCD Screen to your RPi as shown below
Display works on SPI communication protocol so you have to enable SPI interface
Menu>Preferences>Raspberry Pi Configuration>Interfaces; click ‘Enabled’ for SPI
type sudo raspi-config in the terminal, go to Interfacing Options, select SPI and enable it, click on Finish to close the configuration menu
Restart your RPi to make sure that the configuration changes have been updated
Open the terminal by pressing Ctrl-Alt-T or by clicking on its icon located in the RPi taskbar at the top
Update your libraries, just for good practice
sudo apt-get update && sudo apt-get upgrade
Download the drivers from Github
git clone https://github.com/goodtft/LCD-show
Go inside the driver’s directory
List all the files in this folder to find the LCD35-show file (Just for good practice)
Convert the file into an executable using super-user
sudo chmod 755 ./LCD-show
Run the executable
(if the command is not being executed, run sudo chmod 755 ./LCD-hdmi)
RPi will restart after running the program and your LCD will display the desktop
Switching back to HDMI Monitor:
If you want to switch back to an HDMI monitor from the LCD screen, the process is also very simple.
Every library also includes a file to revert back to HDMI
Go into the directory of the library
List all the files to find LCD-hdmi file
Convert this file into an executable
sudo chmod 755 ./LCD-hdmi
Run the executable to view your Raspbian desktop from an HDMI monitor
Like the previous time, Raspberry Pi will restart to switch to HDMI
We hope that this helps you, explore more and learn more.