ILI9486 Python driver for Raspberry Pi.
This module is intended for integration into other applications and is not suitable for use as a driver for desktop visualization. It supports displaying images only and does not include touchscreen functionality.
# Enable SPI
# Interface Options > SPI > Yes > Ok > Finish
sudo raspi-config
# Clone a repository
git clone https://github.com/alexander-veselov/ILI9486.git
# Create Python virtual environment
python3 -m venv venv
# Activate Python virtual environment
source ./venv/bin/activate
# Install required dependencies
pip3 install .
You can find usage example here: test.py
# Make sure SPI is enabled and venv is activated
python3 ./examples/test.py
If the screen does not work, try changing the following SpiDev
settings: max_speed_hz
and mode
- Tested on Raspberry Pi 5 only
- Display: 3.5 inch RPi LCD Display
test_fps
shows5 FPS
(see test.py)- Performance could definitely be better, but I haven't found any way to improve it yet
Note: In real life, the display has nice, rich colors without any artifacts. Artifacts present in photographs are camera distortions