I am using a 1.8 Inch LCD Screen SPI Serial Port Module TFT Color Display Touch Screen ST7735 (128*160) for Arduino”, bought for 9€ from aliexpress.com.
Details: Display Processor: ST7735, Touch Processor: XPT2046, Display Type: ZJY180-TV2.0,128*160
Its part of my Project “BigPi” to use the PI4 as my central home server. I decided it needs a display 🙂
Software – TFT Display
Enabling SPI via
After some search I found a nice git-hub to start from: https://github.com/nopnop2002/ili9340spi_rpi
On RPI4 the libbcm2835 library does not work, but wiringPi.
Needs to be installed via
sudo apt-get install wiringpi adduser YOUR_USER spi
!!! We need version 52 to run with RPI 4, so installation is a bit different !!!
cd /tmp wget https://project-downloads.drogon.net/wiringpi-latest.deb sudo dpkg -i wiringpi-latest.deb adduser YOUR_USER spi
Had to adjust only some value in tft.conf according to my display dimensions:
#If TFT have GRAM offset
🙂 cool working