Raspbian Waveshare Makibes 4 Inch Touch Screen RPi LCD (A) 320×480 IPS TFT LCD – Installation and configuration

April 2016 I purchased a 4″ touchscreen from Amazon. Turns out it’s a waveshare device.

To get the device working the support on the waveshare website suggests installing LCD-Show or using their pre-configured raspberry pi image. In order to use LCD-Show an internet connection is required to download the drivers. Naturally I was a bit skeptical about having to download some unknown files, especially since there should be some drivers available with raspbian included already?

Turns out there is a fbtft module already in raspbian from notro (https://github.com/notro/fbtft/wiki) that supports a variety of devices but the 4″ waveshare was not one of them listed.

After some configuration the output from dmesg I used for this 4″ touchscreen is:

  • TFT: ili9486 spi0.0 8000kHz 8 bits mode=0x00
  • Touchscreen ds7846 spi0.1 2000kHz 8 bits mode=0x00

The bitrate configurate was crucial to get this working but turns out 16MHZ was suitable. Further information about how I configured these in the link below.

Go to the configuration

Leave a Reply