Reply to topic  [ 1 post ] 
3.2" resistive touch screen for RaspberryPi (HCRASP0008) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 622
Post 3.2" resistive touch screen for RaspberryPi (HCRASP0008)
Image




This serial SPI touch screen has a resolution of 320 x 240 pixels and includes a restive touch interface. Specifically designed for the ResbarryPi is can be plugged straight on to the Pi's GPIO header with no additional soldering or wiring required. Included with this item is a stylus pen for use with the resistive touch screen.




Product code: HCRASP0008
Number of colours: 65536
Backlight: LED
LCD inteface: SPI
Dimensions (display): 65mm x 48mm
Dimensions (bezel): 78mm x 55mm


Image


Please note:

1) Your raspberry Pi will not automatically detect this display and will therefore need to be configured to use it.

2) If using this module to display your Raspberry Pi's GUI desktop, due to its relatively low resolution some applications may not work.

3) I guide to configuring the Raspbian operating system can be found on our support forum. This guide has only been confirmed to work with version 2 Raspberry Pi's



Configuring your Raspberry Pi:

This guide has only been tested on the Raspberry Pi model 2. To follow the guide you will need to have your Raspberry Pi model 2 connected to a monitor, keyboard and mouse and must also have a working internet connection.


WARNING: We recommend starting from a clean Raspbian Jessie image which can be downloaded form the Raspberry Pi website here:

https://www.raspberrypi.org/downloads/raspbian/

We have based this guide on the noobs version. Follow the installation guide via the link to burn the image to an SD card.

If you plan to modify an existing image we strongly recommend that you take a backup of your image first. We cannot accept any responsibility for loss of data from failing to follow this recommendation.


Once you have a working image the first step is to boot in to the desktop and then in a terminal window issue the following command:

Code:
sudo nano /boot/cmdline.txt


A text editor will open up and you should see one line of text. Make a note of the portion of the line highlighted below. In particular the number at the end.

Image

To exit the editor press the CTRL+X keys on your keyboard.



Next download the tar attachment available at the bottom of this post and uncompress it to the home directory on your Raspberry Pi. In your home directory you should now have a directory called LCD-show:

Image



From your terminal window CD into the directory with the following command:

Code:
cd /LCD-show



The execute the following script:

Code:
sudo ./LCD32-show



Your Raspberry Pi should now reboot. With luck the display should switch to the module and continue to boot in to the desktop. However it is likely that the Pi will fail to boot and will report a kernel panic. If this happens don't worry, just reboot your Pi and when you see the recovery prompt hit the shift key on your keyboard.

When the Pi boots into the recovery screen select the 'Edit Config' button at the top of the window.

Image



In the window that opens up select the 'cmdline.txt' tab:

Image

In the text area of the window find the portion of text as highlighted in the above image. Change the number on the end to match the one you made of note of previously.

Click the OK button to close the window and to save this change.

Then click the exit button in the recovery screen to reboot your Pi.

If everything has worked your Rapsberry Pi should reboot and will display the desktop using the modules display instead of your monitor.



Image

Attachment:
LCD-show-151020.tar.gz


You do not have the required permissions to view the files attached to this post.


Fri Apr 08, 2016 3:37 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Thank you to phpBB.com & phpBB.ro.
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD