#Test LCD 3.5” HDMI touch screen (via GPIO) with acrylic case for Raspberry Pi 3 under Raspbian (480×320 to 1920×1080 pixels)

Table of Contents

We are continuing our series of tests of different display solutions for the Raspberry Pi 3. Today, I propose to test the LCD 3.5 ” HDMI touch screen delivered with a clear acrylic case. The touch part is managed via the GPIO of Raspberry Pi. This solution will be reserved for projects that do not use the GPIO of Raspberry Pi. It is a small box very practical to protect the Raspberry Pi.


It is often found in promo for less than €20 on AliExpress. This solution can be used to develop a home automation server, a file server, a multi-media server, a connected object dashboard, a Retropie or Recalbox mini console …

Unpacking the 3.5 “touch LCD kit for Raspberry Pi

The kit consists of a LCD 3.5 ” from the Chinese company Kedei capable of displaying a resolution ranging from 480×320 pixels to 1920 * 1080 pixels (it will be necessary to think of buying loupes at the same time :-D). We often find this kit on sale for less than €20 on AliExpress. Here we will test it in the basic resolution (480×320 pixels). Equivalent kits are available under the Geekwrom or Kuman brand. The touch part is managed by the GPIO of the Raspberry Pi. The screen is designed as a HAT compatible with the GPIO of Raspberry Pi (2 or 3). If you want to keep access to the GPIO for your projects, you will have to do the wiring of the touch part yourself and use a standard HDMI cable. Alternatively, you can also opt for a screen with management via the USB port of the touch part.

This very good quality kit is delivered in a small box of compact packaging. The screen is protected by foam. The kit contains the following elements:

  • A 3.5 “LCD screen that works in HDMI
  • A case (acrylic) transparent to assemble
  • Fasteners to fix the Raspberry Pi 3 and assemble the case
  • A screwdriver
  • An indispensable stylus for targeting icons on a screen of such a small size
  • A (small) installation guide (in English) that is no longer relevant

kit lcd 3.5 pouces tactile raspberry pi gpio hdmi 480x320

Assembling the case and the screen

Start by removing the protective film on each element of the case. Next, attach the 4 spacers to the screen frame.

 kit lcd 35 tactile raspberry pi gpio assemblage base

Attach the Raspberry Pi 3 to the base of the case by inserting a spacer each time.

kit lcd 3.5 pouces tactile montage raspberrypi3 kit lcd 3.5 pouces tactile raspberry pi gpio montage boitier

Connect the LCD display to the GPIO of the Raspberry Pi 3. It fits completely to the right of the GPIO connector. Insert the four sides of the box. Connect the HDMI screen with the angled connector.

kit lcd 3.5 pouces tactile raspberry pi gpio montage ecran kit lcd 3.5 pouces tactile raspberry pi gpio hdmi connector

Finish the assembly by fixing the base on the four spacers.

kit lcd 3.5 pouces tactile raspberry pi gpio montage boitier

Before going further, turn on the backlight of the display using the small switch located next to the HDMI connector (above the power connector of the Raspberry Pi).

kit lcd 3.5 pouces tactile raspberry pi gpio hdmi connector

Driver Installation, Screen Setup and Touch Support via GPIO

If you have read the article about the Waveshare 7 “LCD test, you will find the same configuration principle. Here, there is (almost) nothing to do because everything is managed by a configuration script.

Kedei markets several screens:

  • HDMI_Normal_LCD, the screen we are interested in for this test
  • HDMI_Surper_Vertical
  • HDMI_Surper_Horizontal

For each screen, we find the driver and an image of the pre-configured Linux distribution. I have not tested the proposed images (it is not necessary). I have no idea of the proposed distribution for the Raspberry Pi.

Right click on LCD_show_35hdmi and copy the link address (http://en.kedei.net/raspberry/hdmi/LCD_show_35hdmi.tar.gz)


lcd tft 35 inchs hdmi tactile kedei spi raspberry pi gpio screen driver


Power on the Raspberry Pi and connect it SSH to it (how to do it). Run the following command to download the driver (modify the link if necessary).

wget http://en.kedei.net/raspberry/hdmi/LCD_show_35hdmi.tar.gz

Unpack the archive

tar -xzvf LCD_show_35hdmi.tar.gz

Go to the directory

cd LCD_show_35hdmi

Here is the installation script for the 3.5 ” screen (480×320 pixels) tested in this article

sudo cp ./lcd_35_v/kernel.img /boot/kernel.img
sudo cp ./lcd_35_v/kernel7.img /boot/
sudo cp ./lcd_35_v/*.dtb /boot/
sudo cp ./lcd_35_v/config_480_320.txt  /boot/config.txt
sudo cp ./lcd_35_v/overlays/*.dtb* /boot/overlays/
sudo cp -rf ./lcd_35_v/lib/* /lib/

sudo apt-mark hold raspberrypi-kernel
sudo apt-mark hold raspberrypi-bootloader
sudo reboot

As you can see, the /boot/config.txt file will be overwritten by this new version. If you have made any changes to this file, do not forget to make a copy and postpone your settings. The other solution is to comment the sudo cp ./lcd_35_v/config_480_320.txt /boot/config.txt line and manually add the configuration to your current file.

hdmi_cvt 480 320 60 6 0 0 0


If you are ready, run the installation script.

sudo ./LCD35_480*320

The script runs. The Kernel is updated and then Raspbian restarts.

raspberrypi-kernel passed in frozen ("hold").
raspberrypi-bootloader passed in frozen ("hold").

Here is the Pixel office of Raspbian in 480×320 pixels

kit lcd 35 tactile raspberry pi gpio raspbian 320x480 pixels

You can change the display resolution in the config.txt file. Below a resolution of 800×600 pixels, it is often difficult to access or confirmation buttons. The system must be restarted after each modification to take into account the new display parameters. Here is the result in 1024×768 pixels.

kit lcd 35 tactile raspberry pi gpio raspbian 1024x768

Obviously, it is a screen too small to develop or surf the internet. The advantage of being able to have a high resolution is still interesting if you connect remotely to the Raspberry via a VNC connection. VNC does not know (can not) display a higher resolution than the screen. In the next tutorial, we will see how to install Retropie to turn this little box into a retro game console.

Click to rate this post!
[Total: 0 Average: 0]

Thanks for your reading

Did you like this project ? Don't miss any more projects by subscribing to our weekly newsletter!

Are you having a problem with this topic?

Maybe someone has already found the solution, visit the forum before asking your question

  1. Can you please help me? I did this to my raspberry pi and now it’s broken. How do I undo it?

Leave a Reply

Read more
DIY Projects
DIY Projects
%d bloggers like this: