The Adafruit PiTFT 2.4 inch HAT is a versatile and compact display module specifically designed for the Raspberry Pi. This HAT (Hardware Attached on Top) features a 2.4-inch TFT screen with resistive touch control, offering a convenient interface for projects that require a graphical display and user input. It is compatible with all Raspberry Pi models equipped with a 40-pin GPIO header, making it a flexible option for a wide range of applications, from handheld devices to control panels for DIY projects.
Pin Number | Name | Description |
---|---|---|
1 | 3V3 | 3.3V Power Supply |
2 | 5V | 5V Power Supply |
6 | GND | Ground |
18 | BCM24 | Display data/command select |
19 | MOSI | SPI data input to TFT |
21 | MISO | SPI data output from TFT (not used) |
22 | BCM25 | Touchscreen interrupt (not used by default) |
23 | SCLK | SPI clock input to TFT |
24 | CE0 | SPI chip select for TFT |
26 | CE1 | SPI chip select for touch controller |
Q: Can I use the PiTFT with a Raspberry Pi Zero? A: Yes, the PiTFT can be used with a Raspberry Pi Zero, but you may need an adapter or soldering to connect the 40-pin GPIO header.
Q: Is the touchscreen capacitive or resistive? A: The touchscreen is resistive, which means it responds to pressure and can be used with a stylus or finger.
Q: How do I calibrate the touchscreen?
A: Calibration can be done through the adafruit-pitft-helper
script provided by Adafruit, which will guide you through the calibration process.
For further assistance, refer to the Adafruit forums or the detailed guides available on the Adafruit website.