HyperPixel 4.0 is an 800x480 pixel display for the Raspberry Pi, with optional capacitive touchscreen.
These drivers are for Raspberry Pi models before the Pi 3B+.
- Get Init files: Start and ssh session to your pi, and run the following commands
ce
wget https://github.com/piCorePlayer/hyperpixel4/raw/pCP/dist/hp4-init
wget https://github.com/piCorePlayer/hyperpixel4/raw/pCP/dist/jivelite.sh
chmod 755 hp4-init
chmod 755 jivelite.sh
m1
c1
cd overlays
wget https://github.com/piCorePlayer/hyperpixel4/raw/pCP/dist/hyperpixel4.dtbo
cd
wget https://github.com/piCorePlayer/hyperpixel4/raw/pCP/dist/lcd-brightness.sh
chmod 755 lcd-brightness.sh
- In /mnt/mmcblk0p1/config.txt, put the '#' sign in front of the line that looks like.
#dtparam=i2c_arm=on,spi=on,i2s=on
- Add to the bottom of /mnt/mmcblk0p1/config.txt:
pi0-pi3B+
dtoverlay=hyperpixel4,touchscreen-size-x=800,touchscreen-size-y=480
display_rotate=1
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
hdmi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6
pi4:
dtoverlay=hyperpixel4,touchscreen-size-x=800,touchscreen-size-y=480
display_rotate=1
gpio=0-25=a2
enable_dpi_lcd=1
dpi_group=2
dpi_mode=87
dpi_output_format=0x7f216
dpi_timings=480 0 10 16 59 800 0 15 113 15 0 0 0 60 0 32000000 6
Rotation
* The settings above will show the display in landscape mode with the RPI 40pin header on the bottom
* To rotate the display 180 degrees, change the rotation line to:
display_rotate=3
* The touchscreen will need calibrated after a change in rotation.
-
Add /mnt/mmcblk0p2/tce/hp4-init to /opt/bootlocal.sh (Add it before pCP startup)
-
Install jivelite
- Install jivelite from the pCP Tweaks web page, then reboot.
-
Touch calibration
- After boot, start a ssh session to your pi, and run the following commands. When you run ts_calibrate, touch the targets on your display.
sudo pkill jivelite
sudo ts_calibrate
pcp br
- Backlight
- From the pCP Extension interface install the extension pigpio.tcz
- Save and then reboot, everything should be setup.