MicroPython drivers for ILI9341 displays and XPT2046 touch screens, also compatible with ST7735 controllers.
micropython-ili9341 is a MicroPython driver library for controlling ILI9341 TFT displays and XPT2046 touch screens on embedded systems like ESP32. It provides a Python interface for drawing graphics, displaying text, and handling touch input on these common display modules. The project solves the problem of interfacing with display hardware in MicroPython projects without needing low-level C code.
Embedded developers and hobbyists working with MicroPython on ESP32 or similar microcontrollers who need to add graphical displays with touch capabilities to their projects.
Developers choose this library because it offers a pure MicroPython solution with good documentation, example code, and additional utilities like image conversion tools. It's specifically tested on ESP32 hardware and provides compatibility with multiple display controllers.
MicroPython ILI9341Display & XPT2046 Touch Screen Driver
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Abstracts SPI communication and hardware registers into a simple interface, making it easy to draw graphics and handle touch input without low-level code.
Supports ILI9341 and ST7735 TFT displays plus XPT2046 touch screens, tested on ESP32, providing versatility for common embedded modules.
Includes img2rgb565.py for image conversion to RGB565 format and font support via GLCD Font Creator, streamlining asset preparation for displays.
Primarily tested on ESP32; using it on other boards like STM32 or Raspberry Pi Pico may require manual configuration and isn't guaranteed.
Only provides driver-level functions, so developers must build all UI elements from scratch, increasing development time for complex interfaces.
Relies on the separate GLCD Font Creator tool for custom fonts, adding an extra step and potential compatibility hurdles.