element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Essential Raspberry Pi Peripherals #2 (annex 2): 7" LCD touch screen display installation notes
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: balearicdynamics
  • Date Created: 1 Oct 2015 2:30 PM Date Created
  • Views 3675 views
  • Likes 3 likes
  • Comments 20 comments
Related
Recommended
  • tutorial
  • installation_note
  • raspberry-pi2
  • touch_screen
  • raspberry_pi
  • setup
  • raspberry-pi
  • lcd_screen
  • 7_inches_touch_screen_display
  • configuration

Essential Raspberry Pi Peripherals #2 (annex 2): 7" LCD touch screen display installation notes

balearicdynamics
balearicdynamics
1 Oct 2015

Introduction

image

There is a considerable number of places on the Internet, including the Element14 site, showing useful information on the installation and settings of this brand new device; in the meantime a number of doubts and questions has raised about the touch screen settings, the on-screen keyboard installation and more. The goal of these notes is to depict a setup scenario as much complete as possible. The Raspberry PI 7" LCD Touch Screen display is the perfect replacement of a dedicated screen, with the plus of the optional on-screen keyboard.

 

To use this device in a Raspberry PI project requiring User Interaction it sounds almost difficult in applications like robotics, machines control, informative point, web access, sensors gauges etc.

A reliable solution exists and its name is Kivy: open source, not too difficult to install and is based on Python.

 

Note: the frame assembly of the Raspberry PI LCD Touch Screen display shown in the images of this post is available on the Drobott site. Don't forget to apply the Element14 discount code W0E49MYQ (10% off) reserved to the community users!

 

What raspbian release?

image

The first thing to do it to decide what raspbian image should be installed on the PI. If you have already a Raspberry PI with an existing raspbian version on it, you should install the hardware then power on the system and proceed with the software.

 

If you should start from scratch instead, I suggest to download the last raspbian updated image (2015-05-05-raspbian-wheezy.img at the date) from the raspberry.org site to create a bootable microSD card; you  can choose between two different flavours: raspbian based on Debian wheezy or Debian jessie; this choice is up to you. At the actual date it seems that the Raspberry PI porting of the Jessie distribution has again some issues.

 

In both cases, the next step is an update/upgrade of the system.

 

$sudo apt-get update
$sudo apt-get upgrade
         

 

You should have noted that the system, also on first-boot will recognise the new display device without any special setting or display drivers to be installed.

 

Showing full HD videos on the screen

If you plan to use the screen to show full HD videos (1080x1920 pix) the better performances can be obtained reserving 128 Mb of shared memory to the video card. The amount of shared memory (64 Mb by default) can be changed with the raspi-config command and selecting the menu options shown below.

image

Select Advanced Options from the main menu.

image

Select Memory Split from the next screen.

image

Then, write 128 instead of 64 (the default settings). Confirm and exit, reboot.

 

On-Screen keyboard

Installing the on-screen keyboard is not the solution to develop software or write long text documents on the Raspberry PI, but it is a must-to-have to make complete the user interaction options. Installing the keyboard is a very simple operation that can be done with a single command from the terminal:

 

sudo apt-get install matchbox-keyboard
      

 

just as it is explained in the product document page on Element14. The documentation says that the keyboard (after installation and reboot) is accessible on-screen from the Menu->Accessories->Keyboard. Doing several installations I have verified that the keyboard is not always listed as a new menu option; one of the reasons depends on the previous presence of a physical keyboard connected to the Raspberry or not. To be sure that the on-screen keyboard is added to the desktop menu after installation the better choice is to manage the Raspberry PI from remote via SSH.

 

The on-screen keyboard can be shown by your applications or bash scripts with the command

 

matchbox-keyboard
     

 

Enabling the touch-screen

Depending on the current status of the linux settings, maybe you don't see the mouse pointer on the screen and the touch screen is unresponsive; the touch screen uses SPI to communicate with the Raspberry PI so it should be enabled, while by default the SPI kernel modules are not loaded.

 

From the terminal launch the command

 

sudo raspi-config
    

 

then from the character graphic menu follow the steps shown below.

image

Select Advanced Options from the main menu.

image

Select the SPI menu option.

image

Confirm to enable the SPI module and the next screen to load the SPI kernel modules on boot by default. Then, exit and reboot the system.

 

Congratulations!

Now your system is ready to use the full features of the 7 inches LCD display and touch screen.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 10 years ago +1
    That bezel and stand look really good! The gloss/slightly translucent white finish looks nicer than the default black border! I did wonder why the official RPI case was one style, and the official 7" screen…
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to shabaz +1
    Thank you Shabaz! Maybe because the previous designer was fired ? BTW, this support has been designed by me with the specific aim to solve the problem when - in some cases - the touch slide scroll down…
  • shabaz
    shabaz over 10 years ago in reply to balearicdynamics +1
    Looks like two-week lead-time currently : (
  • Former Member
    Former Member over 9 years ago

    Hello: I can't get my Pi Foundation 7 inches LCD display screen to display with Rasbian Wheezy (build of 2015-05-05) installed? Are there any specific parameters to use in /boot/config.txt to get it to work? I have tried different approaches - independent power sources for both RPi2 and screen, etc) - the screen is still black. Anything else to look out for?

     

    Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 10 years ago in reply to 1234jgs

    Thank you Jeffrey!

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • 1234jgs
    1234jgs over 10 years ago

    Thanks for the post, I don't have a lcd for my pi yet but I plan to get one soon.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jipilabont
    jipilabont over 10 years ago

    Thanks Arthur.

    It seems you have answered yourself a simple question you asked : how do i rotate the screen so that the power cord will be up

    Jean Pierre

     

    Merci Arthur

    Il semble que tu te soit répondu toi même à la simple question que tu avais posé : comment faire faire une rotation à l'écran pour que le connecteur soit sur le dessus

    Jean Pierre

     

    ps je l'ai essayé et ça marche..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • lawrence01073
    lawrence01073 over 10 years ago in reply to balearicdynamics

    Thanks Enrico for your quick reply. I was able to rotate the screen on startup by adding lcd_rotate=2 to the /boot/config.txt file. I wanted the power cord to be in the up position. Again Thanks for the reply and keep up the good work.

    Art

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube