Загрузка...

How To Install HDMI Touch Screen on Raspberry Pi 4 8 GB with Drivers and Onscreen Matchbox Keyboard

This is one of the video of the series of videos that will help you guys to use your Raspberry Pi4 for your astrophotography session also connect and control all your equipment using touchscreen via your raspberry Pi 4. This video will guide you on how to install Touchscreen and its drivers on your Raspberry Pi 4 and get started with your on screen keyboard for your raspberry pi 4. I have installed Raspberri PI OS Linux distribution for this purpose as it is versatile and has long term support available and is designed specifically for raspberry Pi 4 model and use 64 bit Architecture. Once finished you will be able to use any astrophotography equipment or camera to connect to your Raspberry Pi 4 and will be able to control it using touch screen.
Drivers Installation Commands

Step1: Download the driver
git clone https://github.com/UCTRONICS/UCTRONICS_LCD35_HDMI_RPI.git

Step2: Go to the driver path
cd UCTRONICS_LCD35_HDMI_RPI/Raspbian/

Step3: Get the permisson
sed -i -e 's/\r$//' *.sh
chmod +x *.sh

Step4: install the driver
Rotation 0:
sudo ./install_uc_touch_0.sh
Rotation 180:
sudo ./install_uc_touch_180.sh

Touch screen calibration
Step1: Install calibration software
sudo ./calibrateToolInstall.sh

Step2: Calibration screen
Rotation 0:
./calibration_uc_touch_0.sh /dev/input/event1
Rotation 180:
./calibration_uc_touch_180.sh /dev/input/event1

Install On-Screen Keyboard

Step 1: Update System
Sudo apt-get Update
Sudo apt-get Upgrade

Step 2: Install Keyboard Driver
sudo apt install matchbox-keyboard

Step 3: Adding a Virtual Keyboard Toggle to the Taskbar

sudo nano /usr/bin/toggle-keyboard.sh

IN FILE CODE
#!/bin/bash
PID="$(pidof matchbox-keyboard)"
if [ "$PID" != "" ]; then
kill $PID
else
matchbox-keyboard &
fi

CTRL X + Y ENTER to save the file

Make file executable:
sudo chmod +x /usr/bin/toggle-keyboard.sh

create the file which the taskbar will read to load our toggle button:
sudo nano /usr/share/raspi-ui-overrides/applications/toggle-keyboard.desktop

WITHIN FILE CODE
[Desktop Entry]
Name=Toggle Virtual Keyboard
Comment=Toggle Virtual Keyboard
Exec=/usr/bin/toggle-keyboard.sh
Type=Application
Icon=matchbox-keyboard.png
Categories=Panel;Utility;MB
X-MB-INPUT-MECHANISM=True

CTRL X + Y ENTER to save the file

we need to copy over the default configuration file over to our pi users config folder.

cp /etc/xdg/lxpanel/LXDE-pi/panels/panel /home/pi/.config/lxpanel/LXDE-pi/panels/panel

we need to modify the configuration for the pi user so that the icon is added to the taskbar.

nano /home/pi/.config/lxpanel/LXDE-pi/panels/panel

IN FILE CONTENT

Plugin {
type=launchbar
Config {
Button {
id=toggle-keyboard.desktop
}
}
}

CTRL X + Y ENTER to save the file

sudo reboot

GITHUB LINK for Drivers
https://github.com/UCTRONICS/UCTRONICS_LCD35_HDMI_RPI

UNBOXING OF RASPBERRY PI 4
https://youtu.be/0rfcVOfhGXY

HOW TO ASSEMBLE RASPBERRY PI 4
https://youtu.be/YpNv_7YGScE

INSTALL UBUNTU x64 ON RASPBERRY PI 4
https://youtu.be/YWIbPKUncZE

AMAZON LINK:

Raspberry PI 4 8GB
https://amzn.to/3kWuAKj

UCTRONICS TouchScreen:
https://www.amazon.com.mx/UCTRONICS-pantalla-Raspberry-capacitivo-compatible/dp/B08XB6NV47/

Please stay tuned to my channel page for latest publishing schedule for the current month.

Author: Rahull Verrma
Channel: AstroShootingStars
Website: http://www.astroshootingstars.com
Facebook: https://www.facebook.com/AstroShootingStars
Twitter: https://twitter.com/AstShootingStar
Pinterest: https://www.pinterest.com/astroshootingstars

THIS VIDEO IS FOR EDUCATIONAL PURPOSES ONLY!

#astroshootingstars #Astronomy #Astrophotography #DeepSpace

Видео How To Install HDMI Touch Screen on Raspberry Pi 4 8 GB with Drivers and Onscreen Matchbox Keyboard канала AstroShootingStars
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять