Waveshare 5.0 New - project-owner/PeppyPlayers.doc GitHub Wiki
Overview
Here is the display description on the Waveshare web site. The display is available on Amazon.
This disk image is based on the Waveshare 3.5" HDMI disk image.
Installation and Configuration
Here are the steps to create the Disk Image for the Waveshare 5.0" HDMI touchscreen.
Install the Waveshare 3.5" HDMI Disk Image
- Connect a display to the GPIO and HDMI connectors.
- Download the Waveshare 3.5" HDMI Disk Image
- Write downloaded disk image to 8GB MicroSD card.
- Insert a MicroSD card to a Raspberry Pi, power on, login using putty.
Configure Peppy Player for display
Edit the player configuration file: nano Peppy/configuration/config.txt
Set parameters:
width = 800
Copy changed file to the defaults:
cp Peppy/configuration/config.txt Peppy/configuration/defaults/
Configure HDMI display
Edit a system configuration file: sudo nano /boot/firmware/cmdline.txt
Add the display configuration at the beginning of the line:
video=HDMI-A-1:800x480@60
Configure the Splash Screen
Edit the service file: sudo nano /etc/systemd/system/splash.service
Change the line to:
ExecStart=fbi -d /dev/fb0 --noverbose /home/pi/Peppy/splash/splash-800.png
Start splash service
sudo systemctl daemon-reload
sudo systemctl start splash
Calibrate a touchscreen
Disable the player and splash to release the display for calibration program:
sudo systemctl disable peppy
sudo systemctl disable splash
Power off/on the system. Run the calibration command:
sudo TSLIB_FBDEVICE=/dev/fb0 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate
Enable the player and splash:
sudo systemctl enable peppy
sudo systemctl enable splash
sudo systemctl start peppy
sudo systemctl start splash
Cleanup
rm .wget-hsts .bash_history
touch .bash_history
history -c