User Tools

Site Tools


Sidebar

Modtronix.com
Sitemap

products:lcd:raspberry-pi:lcd-5inch

5" LCD Display

This Wiki page contains information for the “LCD-T50-800×480-HDMI” from Modtronix. It is a 5“ LCD Display with touchscreen for the Raspberry Pi.

This display(and most other similar 5” displays) requires some configuration/drivers to be installed on the RPi for it to function properly.

When using with a Raspberry Pi with the standard Raspberry Pi NOOBS OS, no drivers are required(for the LCD)! Only a small modification to the “config.txt” file is required. See the “Configuring Standard NOOBS OS” section below for details. Additional drivers are however required for the touch screen functionality to work!

Please note that this LCD does not seem to work with only HDMI and USB cable connected to the RPi! It must be plugged into the header connector on the RPi! Use the supplied HDMI connector board(with two HDMI connectors) to connect the HDMI from LCD to HDMI on RPi.

Features

  • 5“ LCD display for the Raspberry Pi 2 and 3
  • Module dimension: 0mm x 0mm (0” x 0“)
  • Operating Temperature -40°C to + 85°C

Connection

Connection is very simply:

  • Connect the HDMI port on LCD to the HDMI port of the Raspberry Pi.
  • Connect the micro USB port next the the HDMI port to any USB port on the Raspberry Pi.
  • If touch screen functionality is required, the 40 pin connector on the back of the LCD must be plugged into the 40 pin header on the RPi.

Configuring Standard NOOBS OS

When you connect this LCD to a Raspberry Pi with the standard Raspberry Pi NOOBS OS, you will notice only the left side of the LCD display is used. The right side is unused and black. To fix this, the “config.txt” file located in the ”/boot“ folder of the SD card has to be modified. Do the following:

Step 1:

On your Raspberry Pi, start the Terminal. See Remote access without monitor section below for details. This can be done using different methods. I normally just plug a Ethernet cable into my RPi, and connect to it using WinSCP(on Windows). Then start PuTTY(Terminal) session.

Step 2:

Make a copy of your original “config.txt” file. Lets call the copy “config_bak.txt”:

sudo cp /boot/config.txt /boot/config_bak.txt

Step 3:

Open the “config.txt” file(we will use the nano editor):

sudo nano /boot/config.txt

Step 4:

Now find the line that starts with:

# uncomment to force a specific HDMI mode

Ensure the following lines are present below it. Uncomment and/or add lines as required (right mouse button is paste).

# uncomment to force a specific HDMI mode
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt=800 480 60 6 0 0 0

Step 5:

Save the file by pressing “Control” and “X” key. A windows will ask if you want to save modified file. Press 'Y' key, followed by “enter” to save file.

Step 6:

Reboot your Raspberry Pi:

sudo reboot

On reboot, the whole LCD display should be used, and the touch screen should work.

Configuring the Touch Screen

For the touch screen to work with the Raspbian OS (NOOBS OS), some drivers have to be installed. Please Google how to do this. See “Additional Resources” section below for links to sites with information how to install this driver.

Additional Resources

The following pages contain useful information how to get this LCD display to work:

  • This page on raspberrypiwiki.com
  • This page on Waveshare.com
  • This page also contains a good description how to configure your RPi for this LCD.

Trouble Shooting

Touch Screen Locks Up

We have found that when using this LCD with a Raspberry Pi, and some “non official” power supplies, that the touch screen often locks up. When using it with the official Raspberry Pi 3 power supply (2.5A or 3A PSU), it works perfectly. When a lock up occurs, it can be fixed by:

  • Giving the LCD a couple of taps with 3 fingers (sequential 3 finger rolling tap)
  • Unplug, and plug back the LCD display's USB connector

Remote access without monitor

For details, see www.raspberrypi.org/documentation/remote-access/ To connect to your RPi without a monitor, you basically need to do the following:

  • Get the IP address of your RPi. See this page for details
  • Access the command line, see this page for details

Enabling SSH

SSH is disabled by default on Raspbian. To enable it, connect HDMI monitor, keyboard and mouse to your RPi. Do one of the following:

Method 1

On main screen, click on Raspberry icon in top, left corner of screen. Select “Preferences” –> “Raspberry Pi Configuration”. On the “Interfaces” tab, enable SSH.

Method 2

Start “Terminal” app, and enter following command:

sudo raspi-config

Navigate to 'Interfacing Options'(or 'Advanced options') and then enable SSH. Reboot.

Additional Resources

The following pages have useful information that might help:

products/lcd/raspberry-pi/lcd-5inch.txt · Last modified: 2017/11/08 19:43 by modtronix