A uniquely square, high-resolution, high-speed, 4.0" display with optional touchscreen for Raspberry Pi – it's hip to be square!
HyperPixel 4.0 Square has all the great features of our standard HyperPixel 4.0—a crisp, brilliant IPS display, optional touchscreen, and high-speed DPI interface. This square version of HyperPixel 4.0 is great for custom interfaces and control panels, and works really well for Pico-8 games.
Note that the images of the displays on this page have not been Photoshopped. That's the Raspberry Pi OS desktop with our HyperPixel Square wallpaper on!
Hyperpixel 4.0 Square is not yet fully compatible with recent versions of Raspberry Pi OS, scroll down to the software section for more info.
HyperPixel 4.0 Square uses a high-speed DPI interface, allowing it to shift 5x more pixel data than the usual SPI interface that these small Pi displays normally use. It has a 60 FPS frame rate and a resolution of approximately 254 pixels per inch (720x720px) on its 4.0" display. The display can show 18-bits of colour (262,144 colours).
The touchscreen variant is capacitive touch, that's more sensitive and responsive to touch than a resistive touch display, and it's capable of multi-touch!
Please note: when installing HyperPixel 4.0 Square onto your Pi make sure not to press down on the screen surface! Hold the board by its edges and wiggle it to mate with the extended header (or GPIO header). Also take care not to pull on the edges of the glass display when removing your HyperPixel.
It'll work with any 40-pin version of the Pi, including Pi Zero and Pi Zero W. If you're using it with a larger Pi then use the extra 40-pin header that's included to boost it up to the required height. If you're using a Pi Zero or Pi Zero W then just pop it straight onto the GPIO.
The included standoff kit allows you to mount your HyperPixel 4.0 Square safely and securely to your Pi. Just screw them into the posts on the underside of the HyperPixel 4.0 Square PCB and then secure with screws through the mounting holes on your Pi.
If you're using a recent version of Raspberry Pi OS (Bullseye or later) then you'll need to use the built in kernel drivers - just add the following line to the end of your boot/firmware/config.txt
(and then reboot):
dtoverlay=vc4-kms-dpi-hyperpixel4sq
You will need to have I2C disabled (sudo raspi-config nonint do_i2c 1
) along with any other interfaces that use the GPIO.
If you need to rotate the display you can do this using Pi OS's 'Screen Configuration' utility.
⚠ Note that touch rotation commands are not currently working with the kernel drivers for square, and the kernel display drivers will only work with newer square boards (marked Hyperpixel XP).
Note also that the screen backlight will not automatically turn off when you shut down / power off your Pi. We'd suggest unplugging the power cable from your Pi (or turning off your power supply at the socket) when you're not using it to ensure longevity of the display.