Warning: file_put_contents(/home/clients/81b51a55b78a35c5c4c50dd82cac1015/diyprojects/wp-content/uploads/wpo/images/wpo_logo_small.png.webp): failed to open stream: Disk quota exceeded in /home/clients/81b51a55b78a35c5c4c50dd82cac1015/diyprojects/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/Gd.php on line 428
#Test LCD 3.5'' HDMI touch screen (via GPIO) with acrylic case for Raspberry Pi 3 under Raspbian (480x320 to 1920x1080 pixels) • DIY Projects
DIY Projects

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

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:

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.

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

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.

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

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).

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:

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)



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

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.

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]
Exit mobile version