TS-7C 7-inch Touch Screen¶

Dear Customwers:
Thanks for purchasing SunFounder 7 inch Touchsceen. It uses a premium integrated circuit, which has the advantages of low power consumption, stable performance, no radiation, etc. It is small, easy to use, and secure. The display applies to computer, Raspberry Pi devices, portable display and so on. It is suitable for the Raspberry Pi 3 model B/B+ and 4 Model B, and has the 1024×600 physical resolution. The resolution is adjustable within the range 640×480~1920×1200. Ideal for applications like retro gaming, industrial control, as a secondary monitor, in home automation, for 3D printing control, and as a PC monitoring device.
Please read this instruction carefully for reliable and long-term use and the best audio-visual effects.
Note:
Please use the proper power adapter included in the package. Pay attention to using other qualified power supplies if needed.
Do not expose the device to sunlight, neither deposit or use it at too cold, too hot or humid place.
Avoid bright light exposure when you use it to ensure good image effect and long-term use of the device.
Although shock protection and precautions have been designed inside the device, you should avoid violent collisions.
For the screen equipped with touch display, please avoid excessive force on it when you touch in case of potential damages on the touch screen surface.
Do not use chemical reagent or solvent to clean the device. Please use a piece of soft cloth to wipe the dust on the device so it can display the beautiful colors as it always does.
No adjustable components for users in the device. For nonprofessionals, do not try to open or repair this product by yourself in case of unwanted damages.
If you have any questions, please send an email to service@sunfounder.com and we’ll reply as soon as possible.
About the display language
In addition to English, we are working on other languages for this course. Please contact service@sunfounder.com if you are interested in helping, and we will give you a free product in return. In the meantime, we recommend using Google Translate to convert English to the language you want to see.
The steps are as follows.
In this course page, right-click and select Translate to xx. If the current language is not what you want, you can change it later.

There will be a language popup in the upper right corner. Click on the menu button to choose another language.

Select the language from the inverted triangle box, and then click Done.

Packing List¶

Install the OS¶
Required Components
Raspberry Pi 5B
A Personal Computer
A Micro SD card
Installation Steps
Visit the Raspberry Pi software download page at Raspberry Pi Imager. Choose the Imager version compatible with your operating system. Download and open the file to initiate installation.
A security prompt may appear during installation, depending on your operating system. For example, Windows might display a warning message. In such cases, select More info and then Run anyway. Follow the on-screen guidance to complete the installation of the Raspberry Pi Imager.
Insert your SD card into your computer or laptop’s SD card slot.
Launch the Raspberry Pi Imager application by clicking its icon or typing
rpi-imager
in your terminal.Click CHOOSE DEVICE and select your specific Raspberry Pi model from the list.
Then click on Choose OS and select an operating system for installation.
Click Choose Storage and select the appropriate storage device for the installation.
Note
Ensure you select the correct storage device. To avoid confusion, disconnect any additional storage devices if multiple ones are connected.
Click NEXT and then EDIT SETTINGS to tailor your OS settings. If you have a monitor for your Raspberry Pi, you can skip the next steps and click ‘Yes’ to begin the installation. Adjust other settings later on the monitor.
Define a hostname for your Raspberry Pi.
Note
The hostname is your Raspberry Pi’s network identifier. You can access your Pi using
<hostname>.local
or<hostname>.lan
.Create a Username and Password for the Raspberry Pi’s administrator account.
Note
Establishing a unique username and password is vital for securing your Raspberry Pi, which lacks a default password.
Configure the wireless LAN by providing your network’s SSID and Password.
Note
Set the
Wireless LAN country
to the two-letter ISO/IEC alpha2 code corresponding to your location.Click SERVICES and activate SSH for secure, password-based remote access. Remember to save your settings.
Confirm your selected settings by clicking Yes.
If the SD card contains existing data, ensure you back it up to prevent data loss. Proceed by clicking Yes if no backup is needed.
The OS installation process will commence on the SD card. A confirmation dialog will appear upon completion.
Quick Guide¶
Plug the HDMI cable.
Wire up the USB cable.
Get the two devices connected to their own corresponding power supplys.
Have a good time!
Fixed¶

There is a screw thread at one side of the screen, and you can assemble the screen on the camera tripod.

On the back of the touch screen are 4 screw holes (M4) with a 75mm spacing. They are used to help to hang the screen on the wall.
On-Screen Settings¶

Settings for Raspberry Pi¶
Adjust the Resolution¶
For the Raspberry Pi 3 and the lower versions, you need reset the resolution ratio as follows. As for Raspberry Pi 4, when you start up it, the resolution is optimum. If you want to change its resolution, please refer to the next part.
For Raspberry Pi 3 or Lower Version
Step 1: Open config.txt.
sudo nano /boot/config.txt
Step 2: Modify the /boot/config.txt file.
Define a custom CVT mode (since Raspberry Pi uses the standard rate when 1024x600 is not included, you need to set the aspect ratio close to 16:9) and add the following lines below #hdmi_force_hotplug=1.
hdmi_cvt=1024 600 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 |
framerate |
(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 |
Find the following lines, delete the “#” mark and 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 on monitors) hdmi_mode=87 indicates we create a new hdmi mode named 87. hdmi_drive=2 selects the Normal HDMI mode.
After the modification is done, save and exit. For more details about configuring config.txt, refer to Raspberry Pi official website: https://www.raspberrypi.org/documentation/configuration/config-txt.md.
Step 3: Reboot Raspberry Pi.
Reboot the Raspberry pi with the command sudo reboot.
sudo reboot
For Raspberry Pi 4
Click the Raspberry Pi icon -> Preferences -> Screen Configuration.

Then choose Configure -> Screens -> HDMI-1 -> Resolution -> choose the resolution that you want.

After that you need to click the tick icon to save your configure.

Install Virtual Keyboard on Raspberry Pi¶
Warning
If you have installed the latest system - Debian Bookworm, then this feature will be unavailable.
When you use a touch panel, you can connect an external keyboard to help you do a text input operation, but it is best to install a virtual keyboard.
Install the required software with the following command.
sudo apt install onboard
sudo apt install at-spi2-core
In order to make the virtual keyboard have a better effect, you need to do further settings.
Click the Raspberry Pi icon in the upper left corner and select Preferences -> Onboard Settings.

In the General option, check the following 2 items. When you check Automatically display when editing text, you will be prompted to reboot, you can reboot after all settings are complete.

In the Window option, check Dock to screen edge.

And in Auto-show option, check Auto-show when editing text again.

The next 2 items are optional, the ones checked in the picture are recommended by us, you can also check other ones.
In Layout option, Small is recommanded.

In Theme option, DarkRoom is recommanded.

After the setting is complete, restart Raspberry pi. Every time you restart Raspberry pi, you need to click General Access -> Onboard to enable the virtual keyboard.

Now you can use this keyboard to edit your files or codes.

Right Click on Raspberry Pi¶
Warning
If you have installed the latest system - Debian Bookworm, then this feature will be unavailable.
The touchscreen makes it easy to perform simple navigation tasks with your finger or stylus, but you may want to be able to use the context menu (right-click menu).
Then you will need to download a Touchégg
. Enter the following command to install it.
For 32-bit OS:
wget https://github.com/JoseExposito/touchegg/releases/download/2.0.14/touchegg_2.0.14_armhf.deb
sudo apt install ./touchegg_2.0.14_armhf.deb
For 64-bit OS:
wget https://github.com/JoseExposito/touchegg/releases/download/2.0.14/touchegg_2.0.14_arm64.deb
sudo apt install ./touchegg_2.0.14_arm64.deb
After restarting, you can double-tap the screen to bring up the context menu.
sudo reboot

Note
The product is not compatible with some of Touchégg’s gestures, such as three-finger zoom in/out.
Rotate the Display and Touch Angle¶
Warning
If you have installed the latest system - Debian Bookworm, then this feature will be unavailable.
After the Raspberry Pi is turned on, if you find that the display or touch angle is not correct, or you need to rotate to other angles during use, you can follow the tutorial below to achieve them.
Rotate the Display Angle¶
There are two ways to rotate the display angle, one way is from the Raspberry Pi desktop, and the other way is using the command line.
1. Set from the Raspberry Pi Desktop
Click the Raspberry Pi icon -> Preferences -> Screen Configuration.
Then click Configure -> Screens -> HDMI-1 -> Orientation, then select the angle you want to rotate.
Click the green checkbox to take effect.
Note
After checking the box, you need to confirm the changes by clicking OK within 10 seconds, otherwise it will go back to the previous angle.

For Debian Bullseye system, there is only one option - Inverted, if you want to rotate to another angle, you need to set it from command line.
2. Using the Command Line
To make this change stay after a reboot, do the following to rotate your display.
Open the autostart
file.
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Add the following line to the end.
@xrandr --output HDMI-1 --rotate right
right
represents the direction of rotation, and there are 4 directions to choose from:normal
,right
,left
andinverted
.
After restarting the Raspberry Pi, you will see the effect of rotation.
sudo reboot
Rotate Touch Angle¶
Run the following command to open the 40-libinput.conf
file.
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
Find the touchscreen section and add the corresponding rotation angle to it.

0 degrees:
Option "CalibrationMatrix" "1 0 0 0 1 0 0 0 1"
90 degrees:
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
180 degrees:
Option "CalibrationMatrix" "-1 0 1 0 -1 1 0 0 1"
270 degrees:
Option "CalibrationMatrix" "0 -1 1 1 0 0 0 0 1"
Note
For some Raspberry Pis, you may set the rotation angle of touch to 90°, but eventually you find that it is not 90° and you need to manually alternate these 4 sets of values.
After restarting the Raspberry Pi, you will see the effect of rotation.
sudo reboot
Product Features¶
· Screen Size: 7 inch Display
· External Dimensions: 182×114×15mm (L×W×D)
· Visual Area: 154.21(H)×85.92(V)
· Resolution: 1024×600 Pixels
· Panel Type IPS: 45% color gamut. HD full view screen.
· Response Time: 5ms
· Contrast Ratio: 800:1
· Visual Angle: 178°
· Display Color: 262K
· Brightness: 300cd/m2
· Input Signal: HDMI
· HDMI Input: Adjustable resolution ranging 640×480 ~1920×1200
· Working Voltage: DC 12V
· Rated Power: 7W
· Microphone Output: 3.5MM
· Touch Screen: 5 dot touch control applies to it, plug and play
FAQ¶
The colored picture appears in black and white.
A: Please check whether the saturation, brightness and contrast under the Color menu are adjusted properly.
No picture is displayed on the screen after the device powers on.
A: Please check whether the HDMI output port is plugged properly. And also please make sure the suitable adapter is connected to the LCD displayed.
The picture is distorted in color or displayed with color abnormity like a certain color missing.
A: Please check whether the signal wire is plugged in a good way. If the wire is defective or the wiring is loose, the signal transmission may be influenced, thus causing the fault.
There appears stripe interference on the display and the picture is dark.
A: Please check whether the socket and the plug are in good contact.
The LCD cannot be turned on when no other equipment is connected.
A: This is normal, please use it after connecting Raspberry Pi or other devices.
Copyright Notice¶
All contents including but not limited to texts, images, and code in this manual are owned by the SunFounder Company. You should only use it for personal study,investigation, enjoyment, or other non-commercial or nonprofit purposes, under therelated regulations and copyrights laws, without infringing the legal rights of the author and relevant right holders. For any individual or organization that uses these for commercial profit without permission, the Company reserves the right to take legal action.