ILI9341 Serial LCD Manual Driver Installation

ILI9341 Serial LCD Manual Driver Installation

All pre-made images available to download are already configured with this driver

You will require:
SSH Access to your Raspberry Pi (Putty is recommended)
FTP access to your Raspberry Pi (WinSCP is recommended)

1. Connect to your Raspberry Pi using SSH and download the ILI9341 Driver:

2. Change to the new directory:
cd fbcp-ili9341

3. Create a new 'build' directory:

mkdir build

4. Swap to the 'build' directory:
cd build

5. Compile the driver with:

cmake -DILI9341=ON -DGPIO_TFT_DATA_CONTROL=22 -DGPIO_TFT_RESET_PIN=27 -DSPI_BUS_CLOCK_DIVISOR=10 -DSTATISTICS=0 -DDISPLAY_ROTATE_180_DEGREES=ON .. 
Then ...
make -j

6. Download the attached 'fbcp-ili9341init' file, unzip it, and using WinSCP, copy "fbcp-ili9341init" to "etc/init.d"


7. Update the permission and ensure "fbcp-ili9341init" is executable

8. Run the driver during boot using
sudo update-rc.d fbcp-ili9341init defaults

9. Reboot your Raspberry Pi
sudo reboot


This guide is specifically written for the Zega Mame Gear


    • Related Articles

    • Desktop Arcade - What is it?

      A custom miniature arcade kit. Runs on a Raspberry Pi and allows you to play thousands of retro games using Retropie. Uses rechargeable lithium batteries which can be recharged via USB-C or runs on mains power. Includes safe shut-down and power-off ...
    • Zega Mame Boy Pre-install Checks

      Installation of the Zega Mame Boy+ requires soldering to complete the setup. Only attempt if you are confident in your soldering ability. By attempting to complete the setup of the Zega Mame Boy+ you are confirming that you accept responsibility for ...
    • Manually Installing I2S Digital Audio

      This process will work on all devices I have created. All pre-made images available to download are already configured with this driver 1. Login into your Raspberry Pi via Putty 2. Edit the raspi blacklist with: sudo nano ...
    • Zega Mame Gear Pre-install Checks

      Power Board Connect the power board to a USB-C power source Ensure the battery level LEDs illuminate Mainboard Disconnect the USB-C power supply Connect the Power Board to the Mainboard using the supplied 4 pin connector Toggle the power switch ...
    • Manually adding the Safe Shutdown Script

      This process works for all devices. All pre-made images available to download are already configured with this script 1. Login to your Raspberry Pi via Putty 2. Edit the config.txt file sudo nano /boot/config.txt 3. Add the following lines to the end ...