Difference between revisions of "7 Inch Screen Manual"

From Wiki
Jump to: navigation, search
(Adjust the Resolution of Raspberry Pi 3)
(Adjust the Resolution of Raspberry Pi 3)
Line 86: Line 86:
 
<br>
 
<br>
 
<pre>hdmi_cvt=1024 576 60 3 0 0 0</pre>
 
<pre>hdmi_cvt=1024 576 60 3 0 0 0</pre>
'''hdmi_cvt=<width> <height> <framerate> <aspect> <margins>
+
'''hdmi_cvt=<width> <height> <framerate> <aspect> <margins>'''
 
<br>
 
<br>
<interlace>'''
+
'''<interlace>'''
 +
{| class="wikitable"
 +
|-
 +
|'''Value'''
 +
|'''Default'''
 +
|'''Description'''
 +
|-
 +
|width
 +
|(required)
 +
|width in pixels
 +
|-
 +
|height
 +
|(required)
 +
|height in pixels
 +
|-
 +
|height in pixels
 +
|(required)
 +
|framerate in Hz
 +
|-
 +
|aspect
 +
|3
 +
|aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4,5=16:10, 6=15:9
 +
|-
 +
|margins
 +
|0
 +
|0=margins disabled, 1=margins enabled
 +
|-
 +
|interlace
 +
|0
 +
|0=progressive, 1=interlaced
 +
|-
 +
|rb
 +
|0
 +
|0=normal, 1=reduced blanking
 +
|}

Revision as of 08:10, 22 October 2019

7 Inch DIY Touch Screen

7 Inch Screen Manual 1.jpg

Supporting the Seven-inch Screen

Use a nut (M3) and a copper post (M3 * 8 + 6) to support the seven-inch touch screen.
7 Inch Screen Manual 2.jpg
Rendering
7 Inch Screen Manual 3.jpg

This 7-inch touch screen is compatible with any version of the Raspberry Pi.

With a Raspberry Pi 4

Connect the Raspberry Pi 4 to HDMI with a micro HDMI cable.
7 Inch Screen Manual 4.jpg
Wire the USB cable up to Raspberry Pi 4.
7 Inch Screen Manual 5.jpg
Give it a power supply, Plug and play.
7 Inch Screen Manual 6.jpg

Adjust the Resolution of Raspberry Pi 4


Step 1: Unfold the menu bar of Raspberry Pi.
7 Inch Screen Manual 7.jpg
Step 2: Select screen configuration.
7 Inch Screen Manual 8.jpg
Step 3: Select screen configuration.
7 Inch Screen Manual 9.jpg
Step 4: Select Screens.
7 Inch Screen Manual 10.jpg
Step 5: Choose the resolution you want.
7 Inch Screen Manual 11.jpg

With a Raspberry Pi 3

Plug a dual-head HDMI cable in Raspberry Pi 3.
7 Inch Screen Manual 12.jpg
Connect the Raspberry Pi 3 with a USB cable.
7 Inch Screen Manual 13.jpg
Attach a power supply to it, turn it on.
7 Inch Screen Manual 14.jpg

Adjust the Resolution of Raspberry Pi 3

Step 1: Open config.txt
There are two methods to do so.
Method A: First prepare a computer on Windows, Mac or Linux, and a TF card on which the Raspbian system has been burnt. Plug the TF card into the computer with a card reader. Now, open /boot and find the config.txt file. If your computer runs on Windows, DO NOT open the file by Word (also better not notepad) in case of format issues. You are advised to use other edit tools like Notepad++ .
Method B: Log in to Raspberry Pi remotely. Run the command to edit config.txt.

sudo nano /boot/config.txt


Step 2: Modify the /boot/config.txt file
In either way, now the file config.txt is opened.
1) Define a custom CVT mode (since Raspberry Pi uses the standard rate when 1024x600 is not included, you need to set the aspect ratio as 16:9, i.e. 1024x576) add the following lines below #hdmi_force_hotplug=1.

hdmi_cvt=1024 576 60 3 0 0 0

hdmi_cvt=<width> <height> <framerate> <aspect> <margins>
<interlace>

Value Default Description
width (required) width in pixels
height (required) height in pixels
height in pixels (required) framerate in Hz
aspect 3 aspect ratio 1=4:3, 2=14:9, 3=16:9, 4=5:4,5=16:10, 6=15:9
margins 0 0=margins disabled, 1=margins enabled
interlace 0 0=progressive, 1=interlaced
rb 0 0=normal, 1=reduced blanking