Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.99 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.99 KB

ILI9486

last-commit

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.

Install

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

Usage

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

Hardware

  • Tested on Raspberry Pi 5 only
  • Display: 3.5 inch RPi LCD Display

Performance

  • test_fps shows 5 FPS (see test.py)
  • Performance could definitely be better, but I haven't found any way to improve it yet

Photos

Note: In real life, the display has nice, rich colors without any artifacts. Artifacts present in photographs are camera distortions