Official 7.0 - project-owner/PeppyPlayers.doc GitHub Wiki
The display is available from Amazon and other stores.
This disk image is based on the Headless Disk Image and has the following additional software and configuration:
- Screen was rotated (lcd_rotate=2 in /boot/config.txt).
- Rainbow splash disabled (disable_splash=1 in /boot/config.txt)
- Peppy Player was configured to work with GUI displayed in LCD, Peppy Player splash screen was configured.
Connect display to the DSI connector - blue side down at display side.
Connect display to the GPIO connector:
- 5V (Red) to the pin #4
- GND (Black) to the pin #6
- SDA (Green) to the pin #3
- SCL (Yellow) to the pin #5
Here are the steps which were used to create the Disk Image for the Raspberry Official 7.0" touchscreen.
- Download the Headless Disk Image
- Write downloaded disk image to 8GB MicroSD card.
- Insert a MicroSD card to a Raspberry Pi, power on, login using putty.
Edit the player configuration file
nano Peppy/config.txt
Set parameters:
width = 800
height = 480
hdmi = True
multi.touch = True
touchscreen = False
headless = False
use.display.backlight = True
Copy changed file to the defaults:
cp Peppy/config.txt Peppy/defaults/
Edit VU Meter screensaver configuration:
nano Peppy/screensaver/peppymeter/config.txt
Set property:
meter.size = large
Edit Spectrum Analyzer screensaver configuration:
nano Peppy/screensaver/spectrum/config.txt
Set property:
screen.size = large
Edit the system configuration file:
sudo nano /boot/config.txt
Set the parameters:
lcd_rotate=2
disable_splash=1
sudo apt-get install fbi
wget https://raw.githubusercontent.com/project-owner/Peppy.doc/master/files/splash.service
Edit the service file:
nano splash.service
change the line to:
ExecStart=/usr/bin/fbi -d /dev/fb0 --noverbose -a /home/pi/Peppy/splash/splash-800.png
Start service:
sudo mv splash.service /etc/systemd/system
sudo systemctl enable splash
sudo systemctl start splash
Switch to edited file and test audio:
cp .asoundrc-equal-peppyalsa .asoundrc
speaker-test -t wav
Edit the configuration file:
sudo nano /boot/cmdline.txt
Add parameter
fbcon=map:2
sudo reboot
Test player functionality.
Cleanup:
rm .wget-hsts .bash_history
sudo poweroff