Our prices are exclusive of taxes and shipping. 18% GST shall be added during check out. Happy Shopping! :)  

Robocraze Welcome to Robocraze

#TUTORIAL. Get started with 3.5” LCD for Raspberry Pi.

A credit card sized screen for a credit card sized computer? Yes, we are talking about a 3.5-inch TFT-based Liquid Crystal Display designed for Raspberry Pi.

#TUTORIAL. Get started with 3.5” LCD for Raspberry Pi.

 

It is directly pluggable into an R-Pi and perfectly fits various R-Pi models from B+ to 3B+. It is a brilliant alternative for an HDMI monitor. When set up, it behaves as an human-machine interface enabling the user to prototype with the RPi anywhere at any time.

 

Features:

  • 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

Installation:

It is very easy to set up the display by installing 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

Or

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.git

  • Go inside the driver’s directory

cd LCD-show

  • List all the files in this folder to find the LCD35-show file (Just for good practice)

ls

  • Convert the file into an executable using super-user

sudo chmod 755 ./LCD-show

  • Run the executable

sudo ./LCD35-show

(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

cd LCD-show

  • List all the files to find LCD-hdmi file

ls

  • Convert this file into an executable

sudo chmod 755 ./LCD-hdmi

  • Run the executable to view your Raspbian desktop from an HDMI monitor

sudo ./LCD35-hdmi

  • Like the previous time, RPi will restart to switch to HDMI

 

We hope that this helped you, explore more and learn more.

 

Write Your Comment

Only registered users can write comments. Please, log in or register