WSAL13891 – 1.44inch LCD HAT/en
Erscheinungsbild
Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.
Summary
Technical overview of the Waveshare 1.44-inch LCD HAT: a 128x128-pixel TFT display with an ST7735S controller, wired to a Raspberry Pi over SPI, plus notes on drivers and sample demos.
Related products at JW Tech
Technical overview
- Overview: 1.44-inch TFT, 128x128 pixels; ST7735S controller; 3.3 V operating voltage; 4-wire SPI connection.
- Pinout (BCM): KEY1 P21, KEY2 P20, KEY3 P16; joystick UP P6, DOWN P19, LEFT P5, RIGHT P26, PRESS P13; SPI SCLK P11, MOSI P10, CS P8/CE0; DC P25, RST P27, BL P24.
- SPI protocol: The ST7735S uses a 4-wire SPI without MISO (write-only). CSX enables the chip when low; D/CX selects command (0) or data (1).
- SPI mode: Typically mode 0 (CPOL=0, CPHA=0); CPOL sets the idle clock level, CPHA sets which clock edge samples data.
- Color format: Demos use RGB565 (16 bits/pixel). The controller also supports parallel interfaces (RGB444/RGB565/RGB666), but the HAT uses SPI only.
- Raspberry Pi setup: Enable SPI via raspi-config and reboot; check /boot/config.txt to ensure SPI is not occupied by another device.
- Sample demos: Download via wget and extract with 7z; run from the c or python folders; keys may require adding gpio=6,19,5,26,13,21,20,16=pu to config.txt.
- FBCP driver: Framebuffer-based, supports partial refresh and DMA up to about 60 fps; requires a 32-bit OS, incompatible with 64-bit or Bookworm.
- Auto-start: Copy fbcp to /usr/local/bin and add it to /etc/rc.local; the mouse demo runs only under a graphical UI, not over SSH.
- Resolution settings: Set hdmi_force_hotplug, hdmi_cvt, hdmi_group, hdmi_mode, and display_rotate in /boot/config.txt, then reboot.
Commands and examples – verify before use:
sudo raspi-config
sudo reboot
sudo wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz
sudo tar zxvf bcm2835-1.71.tar.gz
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
sudo apt-get install wiringpi
wget https://files.waveshare.com/wiki/common/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v
sudo git clone https://github.com/WiringPi/WiringPi
cd WiringPi
sudo ./build
sudo su
wget https://github.com/joan2937/lg/archive/master.zip
unzip master.zip
cd lg-master
sudo make install
sudo apt-get update
sudo apt-get install python3-pip
Notes and version constraints
- The FBCP driver does not support 64-bit operating systems or Bookworm; a 32-bit environment is recommended.
- The mouse demo must run under a graphical interface; it will fail over SSH.
- Keys only work on certain Raspberry Pi 4B images after adding gpio=6,19,5,26,13,21,20,16=pu to /boot/config.txt.
- When fbtft is enabled, it occupies spidev0.0 after reboot; to run demos, the relevant lines in /etc/modules must be commented out.
- Before installing FBCP, vc4-kms-v3d must be disabled and the system rebooted.
- Links to third-party projects are provided without warranty regarding content or maintenance.
Source and revision record
- 1.44inch LCD HAT - Waveshare Wiki
- Source revision: 111123
- Captured: 2026-08-30T04:01:11+00:00
- SHA-256:
7b00645b4378c66e3d9b46cacd36eb4409fc5b353eaeb71f37ef9a6a20621b1f