TFT Color Display Ilitek ILI9341/ILI9342 SPI
Jump to navigation
Jump to search
Summary
TFT color display module using the Ilitek ILI9341/ILI9342 controllers with SPI interface. Supports full-color rendering, inversion, mirroring, and multiple orientation modes.
Description
The ILI9341/ILI9342 TFT Color Display (SPI) is a popular display controller family widely used in embedded systems. It provides reliable SPI-based communication with adjustable bus speed, and supports orientation, inversion, and mirroring. With hardware-accelerated graphics, the driver enables smooth rendering of text, images, and graphical primitives for GUIs and visualization. Typical modules feature 240×320 pixel resolution.
Diagram:
Properties
- Background Color – Default background color of the display.
- Elements – Configurable rendering elements (Text, Bitmap, Graphics, etc.).
- Inverted – Boolean flag for color inversion.
- Mirror – Horizontal/Vertical flip (boolean).
- Orientation – Screen orientation (goUp, goDown, goLeft, goRight).
- SPISpeed – SPI bus speed.
- Text – Default text properties for rendering.
Elements
- Text – Displays text using configurable font and style.
- Render Event – Triggers external rendering events.
- Draw Bitmap – Renders bitmap images.
- Fill Screen – Fills the screen with a chosen color.
- Scroll – Scrolls text or graphics across the display.
- Graphics – General graphic primitives rendering.
- Draw Scene – Renders predefined graphical scenes.
- Image – Displays stored image data.
- Pixels – Direct control over individual pixels.
- Lines – Draws straight lines between two points.
- Shapes – Draws basic shapes (rectangles, circles, etc.).
Pins
Input Pins
- In (text) – Text input for display rendering.
- Elements – When display elements are added, they create their own input and clock pins automatically.
- Refresh – Clock input to refresh/redraw the display.
Output Pins
- Reset – Digital reset control for the display.
- Control – SPI communication bus connection.
- Chip Select – Digital chip select line for display addressing.
- Data/Command – Digital control pin to switch between data and command mode.
Categories
- File:TArduinoDisplayCategory.png Category Display – Screen and display components.
- File:TArduinoSPICategory.png Category SPI – SPI communication devices.