Difference between revisions of "7inch HDMI LCD (C) (Firmware Rev 2.1) User Manual"

From Waveshare Wiki
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
7inch HDMI LCD (C) User Manual - Based on Firmware Rev 2.1.
 
7inch HDMI LCD (C) User Manual - Based on Firmware Rev 2.1.
  
==Working with Raspberry Pi==
+
== Working with PC ==
===How to program Raspbian image file===
+
This product supports Windows 10/8.1/8/7 operation systems. For the Windows 10/8.1/8 OS, the touch screen supports multi-touch up to 10 points. For some Window 7 OS, the touch screen supports single touch only.
In order to use the LCD with a Raspberry Pi, you should configure the original system first. Of course, you can program a ready-to-use system image file to your Raspberry Pi board as well. In this section, we will illustrate how to program the image file by taking the ready-to-use system image file, '''[https://drive.google.com/file/d/0ByL9hUnl93qmTE4yZTZxdlF5dlU/view 7inch HDMI LCD (C) Raspberry 2 model B Raspbian image 2015-11-21 jessie]''', as an example. This image file supports Raspberry Pi 2 Model B. Instead, for Raspberry Pi Model B/A+/B+, you can use '''[https://drive.google.com/file/d/0B0ay87Q7P7pfVnJpcUhFajg2UVE/view?usp=sharing 7inch HDMI LCD (C) Raspberry B / B+ Raspbian image 2015-11-21 jessie]'''.
 
# Download the zip file to your PC, unzip it and get an .img file.
 
# Connect a TF card to your PC, and format your TF card with the SDFormatter.exe
 
#: Notices: The capability of TF card in used here should be more than 4GB. In this operation, a TF card reader is also required, which has to be purchased separately.
 
# Start the [[:File:Win32DiskImager.zip|Win32DiskImager]], and select the system image file copied into your PC, then, click the button Write to program the system image file.
 
  
===Hardware connection===
+
Turn on the "backlight" switch then connect the LCD to your PC (USB Port of LCD -> USB Port of PC; HDMI Port of LCD -> HDMI Port of PC. Please first connect the USB Ports then connect the HDMI Port). A new touch drive will be recognized by Windows and you can use the LCD as a human interface device. When multiple displays are detected by your PC, the LCD can only be used to control the cursor on main display. So it is proposed to set the LCD as the main display.
# Connect the LCD to the HDMI on the Raspberry Pi board with a HDMI cable;
 
# Connect the USB Touch interface on the LCD to the USB interface on the Raspberry Pi board with a type-A-to-micro USB cable.  
 
  
===Virtual keyboard of Raspberry Pi===
+
== Working with Raspberry Pi ==
[[File:7inch-HDMI-LCD-B-User-Manual-2.png|thumb|400px|Virtual keyboard of Raspberry Pi]]
+
For the Windows OS on PC, the resolution of the LCD is automatically identified. Hence, you do not need to make the relative settings. When working with Raspberry Pi, you should set the resolution of the LCD by yourself, or else the LCD screen will not work. For more detail information, please read the following section.
The Virtual keyboard of Raspbian system enables you to save the USB resource, providing easy system operations. After the LCD is working properly, this function can be invoked by the following command:
 
DISPLAY=:0.0 matchbox-keyboard -s 100 extended
 
Now, the virtual keyboard is ready to use, as the figure shows.  
 
  
===How to install drive on an original Raspbian image file===
+
Turn on the "backlight" switch then connect the LCD to your Pi (HDMI Port of LCD -> HDMI Port of Pi; USB Port of LCD -> USB Port of Pi; 5V~2A power supply). Download the Raspbian image from [https://www.raspberrypi.org/downloads/ Raspberry Pi web site]. Write the image to a TF card and append the following lines to the config.txt file which is located in the root of your TF card:
In the section above, we presented the steps of image programming by taking the ready-to-use system image file programming as an example, since the ready-to-use image is easier to use and understand. However, you can freely customize your system by configuring the original Raspbian image file to support this LCD module.
 
 
 
Questions you may have: why offer Rev2.1 driver even if Rev2.1 LCD is compatible with Raspbian without any drivers?
 
 
 
Because the original Raspbian HID touch driver is still not perfect (is not sensitive enough and does not support touch rotation), we provide the driver for fixing problems. (The Ubuntu HID driver is ok so we don't provide images or drivers for it.)
 
 
 
You can drive your LCD in two ways.
 
# Install driver script.
 
# Modify the config.txt file.
 
====How to install driver script====
 
# Copy the driver '''[https://drive.google.com/open?id=0B5ceUb50sIDndWxxY3ZNZ3F5czg Raspbian Driver For Raspberry Pi 2 Model B]''' or '''[https://drive.google.com/open?id=0B5ceUb50sIDnNkRkd0RGYXU5Y28 Raspbian Driver For Raspberry Pi B+/A+/B]''' to your Raspbian system, and extract it. That is, enter the terminal and input the following command:<pre>sudo tar zxvf file_name.tar.gz</pre>
 
# Change the current directory to the directory generated before and then run the script USB_TOUCH_CAP_7.0_RASPBIAN by the following command:<pre>cd dir_file_name</pre><pre>sudo ./USB_TOUCH_CAP_7.0_RASPBIAN</pre>
 
# When finished, the system will reboot automatically. And the LCD module can work properly, including display and touch functions, after the system rebooted.
 
::'''Note: If the max USB current is limited by the system, the LCD may not work properly. To unlock the current limitation, you can edit the /boot/config.txt and add:'''<pre>max_usb_current=1</pre>
 
 
 
====How to modify config.txt to drive your LCD====
 
Download Raspbian from the [https://www.raspberrypi.org/downloads/ Raspberry Pi web site] and add the following code to the end of /boot/config.txt:
 
 
<pre>
 
<pre>
 
max_usb_current=1
 
max_usb_current=1
 
hdmi_group=2
 
hdmi_group=2
hdmi_mode=1
 
 
hdmi_mode=87
 
hdmi_mode=87
 
hdmi_cvt 1024 600 60 6 0 0 0
 
hdmi_cvt 1024 600 60 6 0 0 0
 +
hdmi_drive=1
 
</pre>
 
</pre>
 +
You must make sure that there are no spaces on either side of the equal sign.
  
====How to enter graphical desktop====
+
Save and connect the TF card to your Pi then power up.
Notice: The Raspbian system boots to terminal interface by default. To make the operations simple when using with a LCD, it is recommended to set the system to boot to graphical desktop directly. Please follow the steps below to configure the system.
 
# Enter the Raspbian system, and input the following command:<pre>sudo raspi-config</pre>
 
# Select the option Enable Boot to Desktop/Scratch by using the Arrow keys, Space key or/and Enter key.
 
# Select the option Desktop Login as user ‘Pi’ at the graphical desktop.
 
# When you see the prompt “Would you like to reboot now?”, select the option Yes to reboot the system.
 
  
===How to use with the Ubuntu system===
+
(Touch input working well means that the LED firmware is Rev2.1. If the LCD firmware is 1.1, see [[#About LCD revision]])
Download UBUNTU MATE image from the [https://www.raspberrypi.org/downloads/ Raspberry Pi web site], and add the following code to the end of /boot/config.txt:
 
<pre>
 
max_usb_current=1
 
hdmi_group=2
 
hdmi_mode=1
 
hdmi_mode=87
 
hdmi_cvt 1024 600 60 6 0 0 0
 
</pre>
 
  
=== How to use with Windows 10 IoT Core ===
+
Note: Resolution of Ubuntu Mate OS or Windows 10 IoT Core OS can also be set properly by editing config.txt.
Download Windows 10 IoT Core from [http://ms-iot.github.io/content/en-US/Downloads.htm Microsoft github]. Follow the [http://ms-iot.github.io/content/en-US/GetStarted.htm steps] to make your own Windows 10 IoT Core image and then write it to your TF card. Add the following code to the end of boot/config.txt which can be found in the root directory of the TF card:
 
<pre>
 
max_usb_current=1
 
hdmi_group=2
 
hdmi_mode=1
 
hdmi_mode=87
 
hdmi_cvt 1024 600 60 6 0 0 0
 
</pre>
 
  
==How to use with BeagleBones==
+
== Working with BeagleBone ==
 
===How to program Angstrom image file===
 
===How to program Angstrom image file===
 
If this LCD module is used for display only, you can program the latest Angstrom image file to the board directly without any change. The BeagleBone will read the display parameters of the 7 inch HDMI displayer and set the resolution to 800*480 automatically.
 
If this LCD module is used for display only, you can program the latest Angstrom image file to the board directly without any change. The BeagleBone will read the display parameters of the 7 inch HDMI displayer and set the resolution to 800*480 automatically.

Latest revision as of 02:26, 9 March 2017

7inch HDMI LCD (C) User Manual - Based on Firmware Rev 2.1.

Working with PC

This product supports Windows 10/8.1/8/7 operation systems. For the Windows 10/8.1/8 OS, the touch screen supports multi-touch up to 10 points. For some Window 7 OS, the touch screen supports single touch only.

Turn on the "backlight" switch then connect the LCD to your PC (USB Port of LCD -> USB Port of PC; HDMI Port of LCD -> HDMI Port of PC. Please first connect the USB Ports then connect the HDMI Port). A new touch drive will be recognized by Windows and you can use the LCD as a human interface device. When multiple displays are detected by your PC, the LCD can only be used to control the cursor on main display. So it is proposed to set the LCD as the main display.

Working with Raspberry Pi

For the Windows OS on PC, the resolution of the LCD is automatically identified. Hence, you do not need to make the relative settings. When working with Raspberry Pi, you should set the resolution of the LCD by yourself, or else the LCD screen will not work. For more detail information, please read the following section.

Turn on the "backlight" switch then connect the LCD to your Pi (HDMI Port of LCD -> HDMI Port of Pi; USB Port of LCD -> USB Port of Pi; 5V~2A power supply). Download the Raspbian image from Raspberry Pi web site. Write the image to a TF card and append the following lines to the config.txt file which is located in the root of your TF card:

max_usb_current=1
hdmi_group=2
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1

You must make sure that there are no spaces on either side of the equal sign.

Save and connect the TF card to your Pi then power up.

(Touch input working well means that the LED firmware is Rev2.1. If the LCD firmware is 1.1, see #About LCD revision)

Note: Resolution of Ubuntu Mate OS or Windows 10 IoT Core OS can also be set properly by editing config.txt.

Working with BeagleBone

How to program Angstrom image file

If this LCD module is used for display only, you can program the latest Angstrom image file to the board directly without any change. The BeagleBone will read the display parameters of the 7 inch HDMI displayer and set the resolution to 800*480 automatically. When using this LCD module as a touch screen, you should program the image file 7inch HDMI LCD (C) Angstrom Image. Please follow the steps below to program the image file.

  1. Download the zip file to your PC, unzip it and get an .img file.
  2. Connect a TF card to your PC, and format your TF card with the SDFormatter.exe
    Notices: The capability of TF card in used here should be more than 4GB. In this operation, a TF card reader is also required, which has to be purchased separately.
  3. Start the Win32DiskImager.exe, and select the system image file copied into your PC, then, click the button Write to program the system image file.
  4. After programming the image file, please insert the TF card to your board, press the key uBOOT and hold it till power up. Then, you will enter the system located at the TF card. Wait a moment and you will enter the graphical desktop directly.

Hardware connection

  1. Connect the LCD to the HDMI on the BeagleBone board with a HDMI to micro HDMI cable (sold separately);
  2. Connect the USB Touch interface on the LCD to the USB interface on the BeagleBone board with a type-A-to-micro USB cable. (BeagleBone has two USB interfaces, one for host and the other for client. In here, you should connect the LCD module to the USB host interface).

How to use with Banana Pi

Before powering up the Banana Pi, you should connect it to a LCD displayer properly, since the Banana Pi may read the resolution parameters of the LCD displayer on startup. And the connection should be remained till the Banana Pi enters the desktop. In this case, even if you disconnect the LCD displayer and reconnect it again to the Banana Pi, the LCD can still work properly.

How to program Raspbian_For_BananaPi image file

Program the image file 7inch HDMI LCD (C) Raspbian Image to the board. This image file supports the modules BananaPi Pro and BananaPi.

  1. Download the zip file to your PC, unzip it and get an .img file.
  2. Connect a TF card to your PC, and format your TF card with the SDFormatter.exe
    Notices: The capability of TF card in used here should be more than 4GB. In this operation, a TF card reader is also required, which has to be purchased separately.
  3. Start the Win32DiskImager.exe, and select the system image file copied into your PC, then, click the button Write to program the system image file.

Hardware connection

  1. Connect the LCD to the HDMI on the Banana Pi board with a HDMI cable;
  2. Connect the USB Touch interface on the LCD to the USB interface on the Banana Pi board with a type-A-to-micro USB cable.

How to load WiFi driver of BananaPi Pro

Comparing with the Banana Pi, the BananaPi Pro has added an on-board WiFi module. When using the BananaPi Pro, you can use SSH to connect to the Pi and execute the following command to load the WiFi driver:

sudo modprobe ap6210

How to use with the Lubuntu system

Program the image file 7inch HDMI LCD (C) Lubuntu Image to the board. This image file supports the modules BananaPi Pro and BananaPi. User name: bananapi Password: bananapi