Project Files of ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch)
tft-ili9341-tep-v1-0-69b7619707f1426f9ad3af5b17361ba8.zip

TFT ILI9341 Library for Proteus V1.0
TFT ILI9341 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.3 MB, 2.9 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
Looking for the files of ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch)? TFT ILI9341 Library for Proteus V1.0 is the ZIP package (1.3 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.
What this library is
TFT-ILI9341-Library-for-Proteus-v1.0.zip with the 2.8" and 2.4" TFT ILI9341 with XPT2046 touch, Simple and Advance (TEPILI9341.LIB and TEPILI9341.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO Adafruit ILI9341 touch simulation with its HEX file, the demo sketch and a README.
This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- ArduinoV4TEP.LIB – Proteus library, 201.9 KB
- TEPILI9341.LIB – Proteus library, 127.8 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPILI9341.DLL – Simulation model, 353.5 KB
- TFT-ILI9341-ArduinoUnoV4.pdsprj – Proteus simulation, 25.9 KB
- TFT_ILI9341_Touch_Demo.ino – Arduino sketch, 15.1 KB
- and 4 more, all listed in the File Structure tab
The archive unpacks to 2.9 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPILI9341.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPILI9341.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
- Step 5: Open TFT_ILI9341_Touch_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 6: In Proteus set the controller's Program File to TFT_ILI9341_Touch_Demo.hex; on hardware, flash the same file.
- Step 7: Open TFT-ILI9341-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch), explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
15.1 KB201.9 KB127.8 KB883.5 KB353.5 KB883.5 KB353.5 KB25.9 KB71.7 KB37.4 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch). Open an image for its full size.












README
TFT ILI9341 + TOUCH LIBRARY FOR PROTEUS - V1.0
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/tft-ili9341-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/lcd-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
The built-in monitor is our TEP Serial Monitor Advance - its own article:
https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
Our other graphic displays: the 1.8" TFT ST7735, the LCD 128x64 (ST7920), the
Nokia 5110 LCD and the 0.96" OLED:
https://www.theengineeringprojects.com/2026/10/tft-st7735-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/lcd-12864-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/nokia-5110-lcd-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
TFT-ILI9341-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (LIBRARY folder)
| |-- TEPILI9341.LIB 127.8 KB the 4 TFT ILI9341 devices (LIBRARY folder)
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model (MODELS folder)
| |-- TEPILI9341.DLL 353.5 KB the TFT + touch model (MODELS folder)
|-- Proteus Simulation/
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPILI9341.DLL 353.5 KB copy of the model so the demo runs as is
| |-- TFT_ILI9341_Touch_Demo.hex 71.7 KB both UNOs (demo sketch V1.0)
| |-- TFT-ILI9341-ArduinoUnoV4.pdsprj 25.9 KB the demo (2.8" Simple + 2.4" Advance)
|-- Arduino Code/
| |-- TFT_ILI9341_Touch_Demo/TFT_ILI9341_Touch_Demo.ino 15.1 KB the demo sketch (source of the .hex)
|-- README.txt ~38.1 KB this file
Total: 2.89 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the red 2.4" and 2.8" SPI TFT modules with TOUCH for
Proteus 8: the 240x320-pixel, 65K / 262K-colour TFT with the ILI9341
controller, and the resistive touch film with the XPT2046 touch controller, on
one board with a 14-pin header printed VCC, GND, CS, RESET, DC, SDI (MOSI),
SCK, LED, SDO (MISO), T_CLK, T_CS, T_DIN, T_DO, T_IRQ (and the SD card's own
pads at the other end). Our own model, not a symbol on top of Proteus's parts.
It is built and tested with the Adafruit ILI9341 library (Adafruit_ILI9341
tft(10, 9, 8) - CS, DC, RESET on hardware SPI) and Paul Stoffregen's
XPT2046_Touchscreen library (XPT2046_Touchscreen ts(4, 2) - T_CS, T_IRQ);
other drivers (TFT_eSPI, MCUFRIEND-style SPI code, UTFT, URTouch) send the same
datasheet commands. Click and drag on the glass with the mouse to touch it.
* The TFT's serial interface as on the real chip (4-line SPI, mode 0): CS
low starts a byte, SDI is read on every rising SCK edge (MSB first), DC is
read with the 8th bit - low = a command, high = a parameter or pixel data;
CS high in the middle of a byte drops those bits; clocks while CS is high
are ignored. The clock is measured (the ILI9341 takes up to 10 MHz for
writes; an Arduino UNO makes 8 MHz at most).
* READS on SDO, as the datasheet times them: the ID (04, D3 - ID4 00 93 41),
the status (09), power mode (0A), MADCTL (0B), pixel format (0C), image
mode (0D), signal mode (0E), self-diagnostic (0F), the scan line (45), the
brightness and CABC registers, the memory read (2E / 3E - three bytes a
pixel) and the undocumented D9 index that Adafruit's readcommand8() uses.
SDO is tri-state while CS is high, so the touch controller can share MISO.
* The ILI9341 controller itself, from its datasheet: the 240 x 320 x 18-bit
frame memory, every command with its parameters - SWRESET, SLPIN / SLPOUT,
NORON / PTLON, INVOFF / INVON, DISPOFF / DISPON, CASET / PASET (the address
window), RAMWR / RAMWR CONTINUE (the pixels fill the window), MADCTL (MY /
MX / MV: the four rotations, and the RGB / BGR colour order), COLMOD (16 or
18-bit colour), IDMON / IDMOFF (8 colours), VSCRDEF / VSCRSADD (vertical
scrolling), the frame rate (B1 - B3: the panel refresh, 79.1 Hz with
Adafruit's settings), the display function (B6: the scan direction and
REV, the glass type), the power, VCOM and gamma settings (kept and logged),
and the RESET pin: a pulse of 10 us or more resets the registers.
* The glass as on a real module. The panel is a normally-white TN glass with
BGR colour filters: with power and backlight but asleep, with the display
off or never initialised it is WHITE - the classic "white screen". Inversion
and idle mode apply, the backlight dims with PWM on the LED pin (the duty is
measured every 20 ms), and the power-on memory is random until the sketch
writes it. A sketch that sends RGB order shows red and blue swapped; REV = 0
in B6 shows the colours inverted - what a real module shows.
* The XPT2046 touch controller: the start bit, the control byte (channel,
12 / 8-bit mode, single-ended / differential, the power-down bits PD1 PD0),
the BUSY clock, the 12-bit result on T_DO on falling T_CLK edges (with the
next control byte overlapping, as fast libraries do), X, Y, Z1 and Z2 (the
pressure), the temperature and battery channels, and PENIRQ on T_IRQ: low
while the film is pressed (if PD0 = 0), high during the conversions. The
raw values follow a real film: X 240 - 3855 and Y 290 - 3805 at the glass
edges, so the usual map() calibration works.
* The datasheet's waits: 5 ms after a reset or SLPOUT before the next
command, 120 ms after a reset before SLPOUT. A command that comes earlier is
ignored and flagged (TOO EARLY).
The part looks like the real module at its REAL size, turned to LANDSCAPE so
the 14-pin header is on the left and faces the Arduino: the red board with its
four holes, the TFT glass with its black frame and the touch film, the header
and the SD card pads. Adafruit's setRotation(3) is upright on this module
(320 x 240). While the simulation runs the glass shows the picture in colour,
and LEDs show what happens: PWR (power), SPI (a byte reaches the TFT) and TOUCH
(the film is pressed). Under the board, a TEP strip holds the SIMPLE / ADVANCE
badge, the title and the panel button. The LEDs, the strip and the panels are
TEP additions; a real module has none of them. The SD card is not simulated in
V1.0 (its pads are drawn only).
FOUR DEVICES IN ONE LIBRARY (search "ILI9341" or "TFT" in Pick Devices):
2.8" Simple device TFT28ILI9341TEP "TFT 2.8 ILI9341 240x320 TOUCH V1.0 - Simple"
2.8" Advance device TFT28ILI9341ADVTEP "TFT 2.8 ILI9341 240x320 TOUCH V1.0 - Advance"
2.4" Simple device TFT24ILI9341TEP "TFT 2.4 ILI9341 240x320 TOUCH V1.0 - Simple"
2.4" Advance device TFT24ILI9341ADVTEP "TFT 2.4 ILI9341 240x320 TOUCH V1.0 - Advance"
The 2.4" and 2.8" modules have the same pins and chips; the board and the glass
differ in size (2.8": 86.0 x 50.0 mm board, 57.6 x 43.2 mm picture; 2.4": 77.2 x
42.7 mm board, 49.0 x 36.7 mm picture).
Simple On-Sheet Panel: the TFT ILI9341 STATUS panel under the board - the
banner (READY - 320 x 240 LANDSCAPE (ROT 3), 16-BIT 565, DISPLAY ON
/ TOUCHED - x, y ON THE GLASS (RAW X, Y)
/ WHITE SCREEN - NOTHING ON SPI YET
/ WHITE SCREEN - STILL IN SLEEP: SEND SLPOUT (11)
/ WHITE SCREEN - SLEEP IN / WHITE SCREEN - DISPLAY OFF: SEND DISPON (29) /
STILL ASLEEP - SLPOUT CAME TOO EARLY / RED / BLUE SWAPPED - MADCTL
BIT 3 (BGR) MUST BE 1 / COLOURS INVERTED - B6 REV = 0 / IN RESET /
BACKLIGHT OFF / SUPPLY REVERSED / NO POWER), the readouts DISPLAY,
SLEEP, COLOURS, ORIENTATION, BACKLIGHT, VCC, SPI (the clock), FRAME
(a full screen, i.e. a fillScreen, on the bus), TOUCH (the pen and
the presses) and IGNORED (too early, unknown, stray data, past the
memory, cut bytes, in reset, without power), and the last 6
transfers. The red X closes the panel, PANEL: SHOWN / CLOSED on the
strip opens it again.
Advance Pop-Up Panel: only the module on the schematic; at Run a TEP pop-up
window "TEP TFT 2.8" ILI9341 Advance" (or 2.4") opens - the look of
the TEP Serial Monitor. Tabs Display, Bus log and Tests; gear and ?
icons for Settings and Help; the palette icon switches the theme:
Display a big copy of the glass with GLASS Live / Freeze and
PIXEL GRID Off / On (x / y numbers), the controller's
state (display, sleep, colour mode, orientation, colour
order, inversion, touch, backlight), the frame memory as
stored (240 x 320, column 0 left), the supply, the
glass, the panel refresh, full screens, scrolling, the
touch and T_IRQ, the latest transfers
Bus log every command with its parameters, every read and every
run of pixels: the time, the gap, CMD / READ / PIXELS /
POWER / RESET, the command byte or the pixel count, what
it means (a problem in red); filters All / Commands /
Pixels / Problems, Pause, Clear
Tests five tools - Init check, SPI bus, Speed, Pixels, Touch
(see THE TEST TOOLS below)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates,
donate, forum; Copy diagnostics for a bug report
The OPEN PANEL button on the strip opens the window again.
All four use the same model (TEPILI9341.DLL).
TEST STATUS
V1.0: verified in Proteus 8.5 on 13 Oct 2026 (the demo project as shipped: two
Arduino UNO V4.0 boards with their built-in monitors and TFT2's pop-up open).
What the runs showed:
* The project loads and starts cleanly; the simulation log has only
information lines (both UNOs: "built-in serial monitor on D0 / D1 - 9600
baud 8N1", supply pins 5.000 / 3.300 V; both TFTs: ILI9341 240x320 TFT +
XPT2046 touch on SPI, power on (5.00 V), display on - 16-BIT 565, MADCTL E8
(LANDSCAPE (ROT 3), BGR order), 79.1 Hz panel refresh). Both monitors print
"TFT 240x320 ready, touch ready (XPT2046)"; TFT1 shows the touch dashboard,
TFT2 (its UNO's A0 tied to GND) the colour test.
* TFT1's panel: READY - 320 x 240 LANDSCAPE (ROT 3), 16-BIT 565, DISPLAY ON;
ON, OUT, 16-BIT 565, LANDSCAPE (ROT 3), ON 100 %, 5.00 V, 8.0 MHz, 260.7 ms
per full screen, TOUCH UP, IGNORED 0.
* TOUCH: with the REAL mouse on TFT1's glass: a click on LIGHT dims the backlight
("touch: button LIGHT 60"), a 1.5 s hold on INVERT inverts the colours
once, a drag moves the slider and draws in the paint strip. Proteus sends
the press, the moves while the button is held and the release to the
model, and the touch lands on the glass pixel under the pointer (within 1
pixel).
Every touch path was also run in Proteus with presses fed to the model in
simulated time: the monitor prints "touch: x 55 y 100 z 3205" and "touch:
button LIGHT 60" - the coordinates exactly where the glass was pressed; a
button held for a second acts once; a drag moves the slider and paints an
unbroken line in the paint strip; CAL shows the raw values at the crosses.
* The commands on ARD1: STATUS reads the TFT back over MISO (power mode 0x9C,
MADCTL 0xE8, pixel format 0x05, self-diagnostic 0xC0); TEXT and BAR - only
that part of the glass changes; FILL - "fillScreen took 261 ms (76,800
pixels)". On ARD2: ROTATE 0 - the picture in portrait, on its side on this
landscape module; INVERT ON - the colours inverted; LIGHT 60 - the
backlight dims; SLEEP - the glass goes WHITE and the pop-up says WHITE
(SLEEP); WAKE - the picture back.
* TFT2 (Advance): Display; Bus log; Init check all green (a 100 ms hardware
reset 165.9 ms after power-on, the waits kept, SLPOUT at 466.6 ms, 16-bit
565, MADCTL E8 upright on this module, BGR right for this glass, B6 08 82 27
normally white, DISPON at 616.6 ms); SPI bus - all seven TFT signals
connected, 8.00 MHz, 4 read commands answered on SDO, up to 153,611 bytes
per CS-low stretch (a fillScreen), the touch controller's clocks ignored by
the TFT, the bus busy 1.25 % of the time; Speed - a full screen in 260.7 ms
(3.39 us a pixel), 3.8 full screens a second at best; Pixels; Touch - all
five touch signals connected, T_CLK 2.00 MHz, every conversion with its
control byte and result.
* Speed: about 0.4 x real time with both monitors and the pop-up open (0.25 -
0.3 x on a busy PC) - the two simulated ATmega328P and the SPI traffic of a
colour display (a fillScreen is 153,600 bytes).
Plus automatic checks on a PC, 0 failed: 176 with the REAL demo sketch and the
UNMODIFIED Adafruit ILI9341 1.6.2 + Adafruit GFX 1.12.6 + XPT2046_Touchscreen
1.4 talking bit by bit (hardware SPI, 8 MHz for the TFT, 2 MHz for the touch)
to the model, while every drawing call also goes to Adafruit's own
GFXcanvas16: after every command the glass equals that canvas pixel by pixel
- in all four rotations, inverted too (begin()'s sequence and its waits, the
register reads, fillScreen's time, SLEEP = the white glass, touches on the
buttons, the slider, the paint strip and the calibration crosses in every
rotation, a button held, a drag); 61 on the controllers alone (the reads and
their dummy clocks, the XPT2046 conversions, PENIRQ, a shared MISO); 12 on
the pop-up pages rendered.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPILI9341.LIB with the four
devices and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO
V4.0 used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPILI9341.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
MODELS folder (...\Proteus 8 Professional\MODELS). ArduinoV4TEP.LIB and
TEPARDUINO.DLL are the files of our Arduino Library V4.0 - if you have it,
they are the same.
4. Delete TEPILI9341.IDX from the LIBRARY folder if there is one (Proteus makes
a new index).
5. Start Proteus. In Pick Devices (P) search "ILI9341": you get the four devices
(category Optoelectronics > Graphical LCDs).
RUN THE DEMO
"Proteus Simulation\TFT-ILI9341-ArduinoUnoV4.pdsprj" - keep the .hex file and the
two DLLs beside the project.
ARD1: Arduino UNO V4.0 + TFT1 = 2.8" Simple TFT (the touch dashboard).
ARD2: Arduino UNO V4.0 + TFT2 = 2.4" Advance TFT (A0 to GND: the colour test).
Both UNOs run TFT_ILI9341_Touch_Demo.hex, and each has its serial monitor
built in (window "TEP Arduino UNO - ARD1" / "- ARD2").
1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does TFT2's
pop-up (move them aside - they open over the schematic). The glasses are
white for a moment (the panel is not driven yet), then the dashboard
(TFT1) and the colour test (TFT2) appear; each monitor prints the start
lines.
2. TOUCH TFT1: click LIGHT (the backlight dims / comes back), INVERT, CLEAR;
press on the slider and drag; draw in the paint strip with the mouse
button held down. The monitor prints every touch; the TOUCH LED lights.
3. Type the commands in the monitors (Enter sends): STATUS, TEXT Hi TEP, BAR
25, LIGHT 60, INVERT ON, ROTATE 0, SLEEP / WAKE, FILL, CAL (then touch the
crosses), TOUCH - see THE DEMO SKETCH below.
4. TFT1: close the panel with its red X, open it with PANEL on the strip.
5. TFT2 (Advance): Display (try Freeze and the pixel grid), Bus log, and
Tests - Init check, SPI bus, Speed, Pixels (click a pixel), Touch (touch
TFT2's glass and watch the conversions).
Closed a monitor window? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
TFT pin Arduino UNO
VCC 5V (the board's regulator makes 3.3 V)
GND GND
CS D10 (TFT chip select - any pin)
RESET D8 (any pin)
DC D9 (data / command - any pin)
SDI D11 (MOSI - hardware SPI)
SCK D13 (SCK - hardware SPI)
LED D6 (PWM: the backlight dims with analogWrite)
SDO D12 (MISO - the TFT's reads; shared with T_DO)
T_CLK D13 (the same SPI bus)
T_CS D4 (touch chip select - any pin)
T_DIN D11 (the same SPI bus)
T_DO D12 (the same SPI bus)
T_IRQ D2 (INT0 - the library sleeps until the film is pressed)
In the sketch:
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <XPT2046_Touchscreen.h>
Adafruit_ILI9341 tft(10, 9, 8); // CS, DC, RESET - SCK D13, SDI D11, SDO D12
XPT2046_Touchscreen ts(4, 2); // T_CS, T_IRQ
tft.begin(); ts.begin();
tft.setRotation(3); ts.setRotation(3); // the same number for both
tft.fillScreen(ILI9341_BLACK); // the power-on memory is random
if (ts.touched()) { TS_Point p = ts.getPoint();
int x = map(p.x, 240, 3855, 0, 320), y = map(p.y, 290, 3805, 0, 240); }
The serial monitor needs no wires: it is built into the Arduino UNO V4.0 (it
listens to D1 and drives D0 inside the board, like the USB chip of a real UNO).
Every TFT pin reaches its UNO through a short wire with a net label - D10_1,
D9_1, D8_1, D11_1, D13_1, D12_1, D6_1, D4_1, D2_1 and 5V_1 (node 1), the same
with _2 (node 2), and GND: the same name = connected. VCC goes to the UNO's 5V
pin. ARD2's A0 has a GND label: its sketch starts with the colour test.
REAL HARDWARE:
* The logic: the ILI9341 and the XPT2046 are 3.3 V chips. The red boards have
a regulator (VCC 5 V is fine) but no level shifter: on a 5 V Arduino use a
level shifter (e.g. a 74HC4050 for CS, RESET, DC, SDI, SCK, T_CLK, T_CS,
T_DIN) or 1 kohm / 2 kohm dividers. SDO and T_DO are 3.3 V outputs: an UNO
reads them as high. In Proteus no level shifting is needed.
* MISO: some boards' SDO is never tri-stated - if the touch reads garbage, wire
SDO apart (or leave it open; Adafruit needs it only for readcommand8()).
* Calibration: every film differs. Use the demo's CAL screen (or the Touch
tool) to read your raw values at the edges and set TS_MINX / TS_MAXX /
TS_MINY / TS_MAXY.
* The backlight: LED high = on. Check your board: if LED goes straight to the
backlight LEDs, add a resistor (e.g. 100 ohm) or feed it 3.3 V.
* Speed: a full screen is 76,800 pixels (150 KB at 16-bit colour), about a
quarter of a second on an UNO - redraw only what changes (text with a
background colour, a bar by its changed part), as the demo does.
* Adafruit_ILI9341 keeps no picture in RAM: the demo uses 766 bytes of the
UNO's 2,048.
* The SD card slot has its own pins (SD_CS, SD_MOSI, SD_MISO, SD_SCK): on a
real board wire them to the same SPI bus with another CS pin.
THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the bus as the model sees it during the running simulation;
each shows one "Good for:" line and a verdict per row (green = fine, amber =
check, red = wrong).
Init check Good for: a white screen, swapped colours, a mirrored or
inverted picture - did begin() do it right? The start-up since
power-on against the ILI9341 datasheet and this glass: the
supply, the hardware reset (how long, how soon after power-on),
the waits, SLPOUT, the pixel format, MADCTL (the orientation),
the colour order against this BGR glass, the display function
(REV: normally white), DISPON, a verdict, and the start-up as
the sketch sent it.
SPI bus Good for: a white screen - a pin not wired, the clock too fast,
CS or DC wrong, MISO shared with the touch, slow screens. Which
of the seven TFT signals are connected, command and data bytes
since Start, the SCK clock (measured, rated 10 MHz for writes),
the reads answered on SDO, the bytes per CS-low stretch, clocks
with CS high (the touch controller's or an SD card's), cut
bytes, how busy the bus is, and the last CS stretches with their
DC level and first bytes.
Speed Good for: slow screens and flicker. The pixels since Start, the
time per pixel (in a fillScreen), a full screen (min / max), the
full screens a second at best, what the bits alone take at this
clock, the pixels a second, the panel refresh, and what a redraw
costs at this speed (a full screen, a title bar, a touch button,
a line of text, a clock, one pixel).
Pixels Good for: drawing code, colours and rotations - click a pixel on
the small glass: its colour, its frame-memory column and page,
the 18 bits it holds and its 565 value, the sketch's x / y in
the current rotation and the drawPixel() line that writes it, a
touch's raw values at that point, and the pixels around it,
magnified.
Touch Good for: touches in the wrong place or none at all. Which of
the five touch signals are connected, the pen (up / down, the
presses), T_IRQ, the T_CLK clock (rated about 2.5 MHz), the
conversions since Start per channel, the latest raw X, Y, Z1,
Z2 and the pressure the library computes, what getPoint() and
the demo's map() make of them in the TFT's rotation, the film's
calibration values, and the latest conversions with their
control bytes and results.
THE DEMO SKETCH ON THE SERIAL MONITOR (TFT_ILI9341_Touch_Demo V1.0)
HELP the command list
STATUS the rotation, the screen, the text, the bar, the
backlight, four registers READ BACK from the TFT over
MISO, the touches, the last fillScreen time
TEXT <text> the big text (16 characters)
BAR <0-100> the slider (only its changed part is drawn)
DASH / TEST / CAL the touch dashboard / the colour test / the touch
calibration (touch the five crosses: the raw values)
CLEAR a black screen (DASH brings the dashboard back)
FILL a timed fillScreen (blue): "fillScreen took N ms"
ROTATE <0-3> setRotation() of the TFT AND the touch screen - 3 is
upright on this module, 1 upside down, 0 / 2 portrait
INVERT ON|OFF invertDisplay() (the controller inverts, the memory
stays)
LIGHT <0-255> the backlight on D6 (PWM)
SLEEP / WAKE SLPIN / SLPOUT: the glass goes white / comes back
TOUCH press
…Development1 release
-
V1.0TFT ILI9341 Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click tft-ili9341-tep-v1-0-69b7619707f1426f9ad3af5b17361ba8.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (TFT-ILI9341-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPILI9341.LIB and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL and TEPILI9341.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open TFT_ILI9341_Touch_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to TFT_ILI9341_Touch_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open TFT-ILI9341-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
ILI9341 TFT LCD Library for Proteus V1.0 (2.4 / 2.8 inch Touch) explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download TFT ILI9341 Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
TFT ILI9341 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.3 MB, 2.9 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 10 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 2667a99a707e903d3bc13dcbacddc8297449d3c0cf931ddc1987d0a80e9a49d8. In PowerShell run Get-FileHash "tft-ili9341-tep-v1-0-69b7619707f1426f9ad3af5b17361ba8.zip"; on macOS or Linux run shasum -a 256 "tft-ili9341-tep-v1-0-69b7619707f1426f9ad3af5b17361ba8.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 48Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 13 Oct 2026Uploaded at
2667a99a707e903d3bc13dcbacddc8297449d3c0cf931ddc1987d0a80e9a49d8






















Comments
0