Ili9341 2.8 tft

Tell me please. How to connect and configure the ili9341 2.8 tft no touh display?2_8_tft_01-500x500

1 Like

image

1 Like

I suggest to try if an already existing overlay (e.g. from goodtft) works:

  1. Download the overlay:

wget https://raw.githubusercontent.com/goodtft/LCD-show/master/usr/tft9341-overlay.dtb

  1. Copy the overlay to “/boot/overlays/tft9341-overlay.dtbo”:

sudo cp tft9341-overlay.dtb /boot/overlays/tft9341-overlay.dtbo

  1. Open “/boot/userconfig.txt”:

nano /boot/userconfig.txt

  1. Add the following lines:
dtparam=spi=on
dtoverlay=tft9341-overlay
  1. Save “/boot/userconfig.txt” by typing Ctrl+x then y and Enter.

  2. Open “/usr/share/X11/xorg.conf.d/99-fbturbo.conf” with

sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf

and change

Option "fbdev" "/dev/fb0"

to

Option "fbdev" "/dev/fb1"

Save the file hitting Ctrl-x, y and Enter.

  1. Reboot

  2. If the display should work, install the Touch Display plugin.

No liability taken for anything. :wink:

Edit: You could also try to use

dtoverlay=rpi-display

instead of dtoverlay=tft9341-overlay in step 4. Steps 1 and 2 are then omitted, of course.

“rpi-display” is an overlay for a 2.8" display by Watterott that also uses an ili9341 and has a resolution of 320*240 pixels. This overlay is already present in “/boot/overlays”.

Hi Alex18

You need to first run

sudo apt update

After you have done this the command to install cmake should succeed.

Adrian.