Adafruit Mini Pi TFT
Back to current versionRestore this version

Mini TFT Display

The Adafruit Mini PiTFT - 135x240 Color TFT Add-on for Raspberry Pi is a tiny full color display for the Raspberry Pi, about the size of a postage stamp.

This does require a bit of installation; it doesn't work out of the box, see Adafruit Mini PiTFT - 135x240 Color TFT Add-on for Raspberry Pi Guide

Installation#

The link above is the canonical source, but here's a copy of the gist. You first update and upgrade the Pi:

sudo apt update -y
sudo apt-get update -y
sudo apt-get upgrade -y
Then shutdown with:
sudo shutdown -h now
Disconnect the power, attach the TFT display and re-apply power. Then:
cd ~
sudo pip3 install --upgrade adafruit-python-shell click
sudo apt-get install -y git
git clone https://github.com/adafruit/Raspberry-Pi-Installer-Scripts.git
cd Raspberry-Pi-Installer-Scripts
sudo python3 adafruit-pitft.py --display=st7789_240x135 --rotation=270 --install-type=console
The last line provides configuration for the specific display. You can also run it as:
sudo python3 adafruit-pitft.py
to go through the interactive configuration.
Note the following section describes a possible solution if the display doesn't work.

Compatibility with Current Pi Kernels#

It turns out the current Python library support for the Adafruit PiTFT displays doesn't work with the 2021-era linux kernels.

The solution is to "pin" the kernel version back to 1.20201126-1. This is described in the Adafruit Forum

which is further described at:

Pinout#


Tags:  Hardware