7 Inch Screen Manual
Contents
7 Inch DIY Touch Screen
Supporting the Seven-inch Screen
Use a nut (M3) and a copper post (M3 * 8 + 6) to support the seven-inch touch screen.
Rendering
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.
Wire the USB cable up to Raspberry Pi 4.
Give it a power supply, Plug and play.
Adjust the Resolution of Raspberry Pi 4
Step 1: Unfold the menu bar of Raspberry Pi.
Step 2: Select screen configuration.
Step 3: Select screen configuration.
Step 4: Select Screens.
Step 5: Choose the resolution you want.
With a Raspberry Pi 3
Plug a dual-head HDMI cable in Raspberry Pi 3.
Connect the Raspberry Pi 3 with a USB cable.
Attach a power supply to it, turn it on.
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 |
2) Find the following lines (If there is a "#" mark at the beginning of any of the three lines, which means they are comments, delete the mark. The asterisk "*" represents the value.
hdmi_group=* hdmi_mode=* hdmi_drive=*
3) Modify the value, like this:
hdmi_group=2 hdmi_mode=87 .... hdmi_drive=2
hdmi_group=2 means DMT (Display Monitor Timings; the standard typically used by monitors)
hdmi_mode=87 indicates the resolution bit.
hdmi_drive=2 selects the Normal HDMI mode.
For more details about configuring config.txt, refer to Raspberry Pi official
website: https://www.raspberrypi.org/documentation/configuration/config-txt.md.