Hello friends, I hope you all are doing great. Today, I am going to share the new ILI9488 TFT Display Library for Proteus Simulation. The 3.5" 480 x 320 SPI TFT with the ILI9488 controller is the big brother of the popular 2.8" boards: twice the pixels, full 18-bit colour and a resistive touch film, all on a handful of SPI pins. With this library you can run a full Proteus simulation of that module - the controller, its colour format, its reads and its touch controller - and watch every command your sketch sends.

Figure: The ILI9488 simulation running: start-up, the colour UI, touches on the pad and the PRESS button.
Updates

ILI9488 TFT Display Library for Proteus

Latest version: V1.0 (December 2026, this tutorial)

Related parts: TFT ILI9341 2.8" · TFT LCD Shield 3.5" · ST7789 TFT LCD

Helping Tools

The demo draws a colour user interface on an Arduino UNO V4.0: a title bar, colour boxes, an 18-bit hue bar, a grey ramp, a touch pad that marks where you press and a PRESS button with a counter.

NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the LCD board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the ILI9488 TFT Display Library for Proteus Simulation:

Figure: The ILI9488 TFT Display Library for Proteus Simulation.

What Is the ILI9488 3.5" TFT Module?

The module is a red board, 98 x 56 mm, carrying a 3.5" TFT glass with 480 x 320 pixels, each 0.153 mm square. Behind the glass sits the ILI9488 controller with its own frame memory - the picture stays on the glass while the microcontroller does something else. A resistive touch film covers the glass and is read by a separate XPT2046 touch controller on the same SPI pins. A 3.3 V regulator lets you feed the board from 5 V; an SD card socket on the back is optional.

  • A 14-pin header: VCC, GND, CS, RESET, DC, SDI (MOSI), SCK, LED, SDO (MISO), then the touch: T_CLK, T_CS, T_DIN, T_DO, T_IRQ.
  • SPI mode 0, MSB first; DC low marks a command byte, DC high its parameters or pixel data.
  • Writes up to about 20 MHz; reads only up to about 6.7 MHz.
  • The logic is 3.3 V: a 5 V UNO needs level shifters on the real board.

18-Bit Colour Only, over SPI

Here is the catch that confuses many people coming from the 2.8" boards. Over SPI, the ILI9488 accepts colour in only two formats: 18-bit (COLMOD 0x66), three bytes a pixel - red, green, blue, each with the colour in bits 7 - 2 - or 3-bit (0x01), eight colours, two pixels in a byte. The 16-bit RGB565 format that the ILI9341 uses works on the parallel interface only: send COLMOD 0x55 over SPI and the picture comes out wrong. The library behaves the same way - and tells you why in its log.

Three bytes a pixel also means more data: a full screen is 480 x 320 x 3 = 460,800 bytes, about half a second at 8 MHz on an UNO. A good sketch fills the background once and then updates only small areas.

The Commands You Need

  • 01 / 11 / 29: software reset, sleep out (then wait 120 ms), display on.
  • 2A / 2B: the column and page window; 2C writes pixels into it, row by row, and 3C continues.
  • 36 MADCTL: MY, MX and MV rotate and mirror the picture; BGR sets the colour order this glass needs.
  • 3A COLMOD: 0x66 for SPI.
  • 04: reads the ID - 54 80 66 - after one dummy clock.

The Touch Film

The XPT2046 measures where the film is pressed. The sketch sends a command byte and clocks out a 12-bit result: 0xD0 and 0x90 measure the two axes, 0xB0 the pressure. T_IRQ goes low while the film is pressed, so the sketch reads only then. The raw values run from about 200 to 3900 and have to be mapped to pixels. The touch controller wants a slower clock - 2 MHz - so it gets its own SPI transaction.

Features of the ILI9488 Library

  • A real-looking module: the red 3.5" board at its true size, the glass in its place, the header, the holes; PWR, SPI and TOUCH lights.
  • The ILI9488 of the datasheet: the command set over 4-wire SPI, the window and the address counter, MADCTL, COLMOD 66 and 01 - and 55 shown wrong, as on the real panel.
  • Reads: the ID and status answer on SDO with their dummy clocks.
  • A live glass: the frame memory painted on the sheet, white until the controller drives it, as bright as the backlight.
  • Touch: click and drag on the glass; the XPT2046 answers with the raw values of that spot and pulls T_IRQ low.
  • Simple and Advance: an on-sheet status panel, or a pop-up with the display, a bus log of every command and a Tests page that checks your init.
  • A complete package: about 1.3 MB with the library, our Arduino UNO V4.0 and the demo, without the source code of the model.

The ILI9488 in Proteus

The library has two devices in TEPILI9488.LIB with the model TEPILI9488.DLL: TFT35ILI9488TEP (Simple, with the on-sheet status panel) and TFT35ILI9488ADVTEP (Advance, with the pop-up). Search ILI9488 or TFT in Pick Devices. The 14 pins are the module's header, top to bottom.

Figure: The ILI9488 TFT module.

Download ILI9488 TFT Display Library for Proteus Simulation

Click the button below to download ILI9488-TFT-Display-Library-for-Proteus-v1.0.zip (about 1.3 MB, without the source code of the models):

ILI9488 TFT Display Library for Proteus V1.0
  • README.txt: installation, the demo, the wiring, troubleshooting and the limits of the simulation.
  • Proteus Library Files: TEPILI9488.LIB and ArduinoV4TEP.LIB.
  • Proteus Model Files: TEPILI9488.DLL and TEPARDUINO.DLL.
  • Arduino Code: the demo sketch (SPI).
  • Proteus Simulation: the demo project, its HEX file and copies of the DLLs.

No Proteus yet? Read How to Download and Install Proteus 7 and 8. New to libraries? Follow How to Install a New Library in Proteus.

How to Install ILI9488 TFT Display Library for Proteus Simulation

  1. Close Proteus and extract the whole zip file, for example to your Desktop.
  2. Copy the files from Proteus Library Files into the LIBRARY folder of Proteus.
  3. Copy the files from Proteus Model Files into the MODELS folder.
  4. Delete TEPILI9488.IDX from the LIBRARY folder if it is there.
  5. Start Proteus, press P and search for ILI9488.

Proteus Simulation of a Touch User Interface

The demo uses an A4 sheet with our Arduino UNO Library for Proteus V4.0. The TFT (TFT1, the Advance device) sits on the UNO's hardware SPI - D11, D12, D13 - with CS on D10, DC on D9, RESET on D8 and the backlight on D6; the touch controller shares the SPI pins, with T_CS on D4 and T_IRQ on D2. The Arduino's monitor is built in, the same window as our TEP Serial Monitor Advance for Proteus. Open ILI9488-TFT-Touch-ArduinoUnoV4.pdsprj.

Click and drag on the glass to touch it. For the pictures below, the touches were scripted at fixed times so that every run is the same.

Figure: The whole simulation on an A4 sheet.

The Sketch

The sketch carries its own small driver. Its init list sets the rotation and the 18-bit format:

  0x36, 1, MADCTL_LANDSCAPE,        // memory access: landscape, header on the left, BGR colour order
  0x3A, 1, 0x66,                    // pixel format: 18-bit, the full-colour format of the SPI bus

MADCTL_LANDSCAPE is 0xE8: on this module, with its header on the left, that is the upright landscape picture. Every pixel then costs three bytes:

    for (int col = 0; col < w; col++) { spiWrite(r); spiWrite(g); spiWrite(b); }   // 3 bytes a pixel

The touch is read only while T_IRQ is low - pressure first, then the two axes:

  const uint16_t z1 = touchRead(0xB0);
  rawY = touchRead(0xD0);
  rawX = touchRead(0x90);

ILI9488 Simulation Results

Open the project and press Run. The demo runs 5.6 simulated seconds and took about 2 minutes 43 seconds on our PC with the pop-up open and the pictures being taken. Click OPEN PANEL on the module for its pop-up. Every number below comes from one simulation run, the demo exactly as it ships.

The Start-Up

At power-on the glass is white: a TN panel that nobody drives is normally white. The sketch pulls RESET low for 20 ms, waits, sends the software reset at 240.6 ms, the init list and SLEEP OUT at 390.8 ms, and after the required 120 ms reads the ID: 54 80 66, after one dummy clock. Then it fills the whole background once - 460,800 bytes - while the display is still off, so the pop-up at 0.6 s still shows white glass, 14,212 pixels into the fill.

Figure: The start-up.

The Picture

DISPLAY ON comes at 1437.3 ms after power-on and the dark background appears; the sketch then draws the title bar, the ID line, eight colour boxes, an 18-bit hue bar, a grey ramp, the TOUCH HERE pad, the PRESS button and the counter. The monitor reports "Screen 480 x 320 drawn in 1593 ms" - most of it the one full fill. The pop-up at 2.3 s shows the finished picture: MADCTL E8 (landscape, rotation 3, upright on this board), BGR order, 18-bit 666, 257,836 pixels written.

Figure: The picture.
Figure: The module at work.
Figure: The simulation in the workspace.

Touching the Pad

At 2.4 s a finger presses the pad at (110, 250). T_IRQ goes low, the sketch reads Z1, then 0xD0 and 0x90, and maps the raw values: "Touch x 110 y 250 (raw 3030 3110)". A dot appears where the finger is, and the pop-up shows the touch DOWN with its raw values.

Figure: A touch.

From 3.0 s the finger drags across the pad from (40, 220) to (270, 300). The sketch reads as fast as it can draw, so the path comes out as a trail of dots; the pad's readout follows it to X 263 Y 297.

Figure: A drag.

The PRESS Button

At 4.0 s the PRESS button is pressed at (386, 231). The touch reads "raw 936 2887", the sketch finds the button and flashes it white - the pop-up at 4.08 s catches the flash, the window being written 432 pixels at a time - then counts: "PRESS - count 1".

Figure: A press.

Two more presses at 4.6 s and 5.2 s: "PRESS - count 2", "PRESS - count 3". The pop-up at 5.6 s shows COUNT 3 and 408,618 pixels written in the whole run.

Figure: Three presses.

The Bus Log and the Tests Page

The Bus log lists every transfer, newest first: here the drawing of a text line - for each 12 x 16 character cell the sketch sets the columns (2A) and the pages (2B), sends MEMORY WRITE (2C) and 192 pixels. The filters show only the commands, only the pixels, or only the problems.

Figure: The Bus log.

The Tests page checks the start-up against the datasheet and this glass: power 5.00 V; the hardware reset 20.0 ms low (10 us at least); the software reset at 240.6 ms; the waits kept; SLEEP OUT at 390.8 ms; COLMOD 66 - 18-bit, 3 bytes a pixel; MADCTL E8 - upright on this landscape module; BGR - right for this glass; B6 02 02 3B - 480 lines; DISPLAY ON at 1437.3 ms; the ID read 54 80 66. Verdict: initialised like the datasheet for this glass. Below it, the start-up as the sketch sent it, transfer by transfer.

Figure: The Tests page.

The Arduino's built-in serial monitor prints the start-up - the version, the init, the ID read back from the panel and the time the screen took - and then a line for every touch and every press of the button. Its times come from millis(), which starts when the sketch starts.

Figure: The Arduino's monitor.

ILI9488, ILI9341 or the 3.5" Shield?

The 2.8" ILI9341 board in our TFT ILI9341 Library for Proteus has half the pixels but takes 16-bit colour over SPI, so it fills faster. The 3.5" UNO shield in our TFT LCD Shield 3.5" Library for Proteus uses an 8-bit parallel bus - much faster, but it covers the whole UNO. The ILI9488 gives you the big screen on six SPI wires, at the cost of three bytes a pixel. For a small, fast colour screen, see our ST7789 TFT LCD Library for Proteus.

Try It Yourself

  • Click and drag on the glass while the simulation runs: the pad marks your path.
  • Change COLMOD 0x66 to 0x55 in the init: the colours come out wrong and the Bus log explains why.
  • Change MADCTL_LANDSCAPE to 0x28: the picture turns upside down on this board.
  • Remove the BGR bit (0xE0): red and blue swap.
  • Remove the 150 ms wait after the software reset: the Tests page marks the waits red.

Ideas to Extend the Demo

  • A thermostat screen with a temperature graph and touch buttons.
  • Draw icons from an SD card - the module has a socket on the back.
  • Use the 3-bit mode (COLMOD 0x01) for fast eight-colour menus.

Your Own Sketches

The demo sketch is in the zip file, and you can change it in the Arduino IDE. New to Arduino? Start with our Arduino Tutorial for Beginners. Export the compiled binary, and set the UNO's PROGRAM property to the new file. Our guide on How to get the HEX file from Arduino shows you where the file ends up.

Things to Know Before Using a Real ILI9488 Module

  • 3.3 V logic: level shifters from a 5 V board.
  • 18-bit over SPI: COLMOD 0x66 - 16-bit is parallel-only.
  • MISO: the ILI9488 keeps driving SDO - give the touch's T_DO its own path or a buffer.
  • Speed: plan your drawing; a full screen is 460,800 bytes.
  • Calibration: map the touch's raw values to pixels for your board.

Troubleshooting

  • A white screen: no sleep out or display on, CS or DC not connected, or RESET held low.
  • Wrong colours: COLMOD 0x55 over SPI, or the BGR bit missing.
  • Upside down or mirrored: the MADCTL rotation.
  • No ID: SDO not connected or the read clock too fast.
  • No touch: T_CS or T_IRQ not connected, or the touch read too fast.

Limitations of the Simulation

  • The commands, the colour formats, the reads, the module's size and pins and the touch follow the ILI9488 and XPT2046 datasheets and the module's drawings; the module is our own drawing.
  • Our own figures: the frame-rate table, the touch axes and raw ranges, SDO released while CS is high.
  • Not modelled: the analog power and gamma settings on the picture, the parallel interfaces, the SD card.
  • Arduino is a name of Arduino; this library is not made or endorsed by Arduino, Labcenter or the makers of the module and its chips.
  • Tested in Proteus 8.5 in November 2026 (the demo as shipped). Proteus 7 is not supported.

So, that was all about the ILI9488 TFT Display Library for Proteus Simulation. I hope it helps you design your next big colour screen. If you have any questions, ask in the comments and I will help you out. Till the next tutorial, take care and have fun!