I have a 240x320 2.8" touchscreen, with "driver IC: ILI9341". It seems to use a SPI interface. How to connect it to the Pi (which pins to which pins of the GPIO?) and how to use it, e.g. from Python to display some text?
Photo of the screen itself:
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI have a 240x320 2.8" touchscreen, with "driver IC: ILI9341". It seems to use a SPI interface. How to connect it to the Pi (which pins to which pins of the GPIO?) and how to use it, e.g. from Python to display some text?
Photo of the screen itself:
I have a similar display for one of my projects. As for the jumper wires, i connected them like this:
I also used this library to draw and display: https://github.com/adafruit/Adafruit_Python_ILI9341
Hope this helps
I know that this is an old post but I have the same LCD and used Brian Lavery's python driver as suggested in the comments above. I modified his code a bit to make it work "better". If anyone is interested with some step-by-step guide, you can read it at https://behindthesciences.com/electronics/connecting-ili9341-SPI-TouchScreen-lcd-to-a-raspberry-pi-in-python/
Happy programming! :)