Project Files of TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 Touch)
tft-shield-tep-v1-0-277724744e4f4ab8907c43770063a60a.zip

TFT LCD Shield Library for Proteus V1.0
TFT LCD Shield 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 TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 Touch)? TFT LCD Shield 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-LCD-Shield-Library-for-Proteus-v1.0.zip with the 2.4" TFT LCD UNO shield (ILI9341 8-bit bus and resistive touch), Simple and Advance (TEPTFTSHIELD.LIB and TEPTFTSHIELD.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO MCUFRIEND_kbv 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
- TEPTFTSHIELD.LIB – Proteus library, 70.4 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPTFTSHIELD.DLL – Simulation model, 358.5 KB
- TFT-Shield-ArduinoUnoV4.pdsprj – Proteus simulation, 25.7 KB
- TFT_Shield_Touch_Demo.ino – Arduino sketch, 15.8 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 TEPTFTSHIELD.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPTFTSHIELD.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_Shield_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_Shield_Touch_Demo.hex; on hardware, flash the same file.
- Step 7: Open TFT-Shield-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 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.8 KB201.9 KB70.4 KB883.5 KB358.5 KB883.5 KB358.5 KB25.7 KB86.1 KB39.2 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 Touch). Open an image for its full size.












README
2.4" TFT LCD SHIELD (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-lcd-shield-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
The same ILI9341 controller as an SPI module with an XPT2046 touch chip, and
our other colour display, the 1.8" TFT ST7735:
https://www.theengineeringprojects.com/2026/10/tft-ili9341-library-for-proteus-v1-0.html
https://www.theengineeringprojects.com/2026/10/tft-st7735-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
TFT-Shield-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (LIBRARY folder)
| |-- TEPTFTSHIELD.LIB 70.4 KB the 2 TFT shield devices (LIBRARY folder)
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model (MODELS folder)
| |-- TEPTFTSHIELD.DLL 358.5 KB the TFT + touch film model (MODELS folder)
|-- Proteus Simulation/
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPTFTSHIELD.DLL 358.5 KB copy of the model so the demo runs as is
| |-- TFT_Shield_Touch_Demo.hex 86.1 KB both UNOs (demo sketch V1.0)
| |-- TFT-Shield-ArduinoUnoV4.pdsprj 25.7 KB the demo (Simple + Advance shield)
|-- Arduino Code/
| |-- TFT_Shield_Touch_Demo/TFT_Shield_Touch_Demo.ino 15.8 KB the demo sketch (source of the .hex)
|-- README.txt ~39.8 KB this file
Total: 2.86 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the red 2.4" TFT LCD SHIELD for the Arduino UNO (the
"MCUFRIEND" kind) for Proteus 8: a 240x320-pixel, 65K-colour TFT with the
ILI9341 controller on an 8-BIT PARALLEL bus, and a 4-wire RESISTIVE TOUCH FILM
that shares four of the LCD pins - on one board with the UNO's header pins:
LCD_RST, LCD_CS, LCD_RS, LCD_WR, LCD_RD, GND, 5V, 3V3, LCD_D0 - LCD_D7 and the
micro SD card's SD_SS, SD_DI, SD_DO, SD_SCK. Our own model, not a symbol on top
of Proteus's parts. It is built and tested with David Prentice's MCUFRIEND_kbv
library (MCUFRIEND_kbv tft; tft.begin(tft.readID())) and Adafruit's
TouchScreen library (TouchScreen ts(8, A3, A2, 9, 300)); other drivers for
these shields (Adafruit_TFTLCD-style code, UTFT with the right model) send the
same datasheet commands. Click and drag on the glass with the mouse to touch it.
* The ILI9341's 8080-I parallel interface as on the real chip: LCD_CS low
selects it, LCD_WR's rising edge latches the byte on LCD_D0 - LCD_D7,
LCD_RS tells a command (low) from a parameter or pixel data (high), strobes
while LCD_CS is high are ignored. The write cycle is measured (the ILI9341
takes 66 ns; an UNO needs about 1 us a byte).
* READS on LCD_D0 - LCD_D7, as the datasheet times them: LCD_RD's falling
edge puts the next byte on the bus, the first byte after a read command is
a dummy, the bus is released on LCD_RD high or LCD_CS high. The ID (04, and
D3 - ID4: 00 93 41, which MCUFRIEND_kbv's readID() turns into 0x9341), the
power mode (0A), MADCTL (0B), the pixel format (0C), the self-diagnostic
(0F) and the other status registers. readID() also probes registers of
other controllers (00, 67, EF, A1, BF, D4, D7, FE): they read 00 here.
* 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, MADCTL (the four rotations and the RGB /
BGR order), COLMOD (16 or 18-bit colour), IDMON / IDMOFF, vertical
scrolling, the frame rate (B1: the panel refresh, 70.3 Hz with MCUFRIEND's
settings), the display function (B6: the glass type), the power, VCOM and
gamma settings (kept and logged), the 00 NOP that MCUFRIEND puts before
every command, and the LCD_RST pin: a pulse of 10 us or more resets it.
* The glass as on a real shield: a normally-white TN glass with BGR colour
filters. With power but asleep, with the display off or never initialised
it is WHITE - the classic "white screen" of these shields. Inversion and
idle mode apply, and the power-on memory is random until the sketch writes
it. RGB order shows red and blue swapped; REV = 0 in B6 shows the colours
inverted - what a real shield shows. The backlight is always on (it is
wired to the supply on the real shield).
* The 4-WIRE RESISTIVE TOUCH FILM as a real resistor network: the X plate
(300 ohm) between XP = LCD_D0 (D8) and XM = LCD_RS (A2), the Y plate (500
ohm) between YP = LCD_CS (A3) and YM = LCD_D1 (D9), 400 ohm where they
touch. The sketch drives two pins and reads a third with analogRead(), just
as on the real shield; A2 and A3 are real analog pins in the simulation,
and the film's voltages include the 20 ohm drive of the ATmega's pins. The
raw values getPoint() reads at the glass edges: x 120 - 900 (across the
short side), y 100 - 920 (along the long side); the pressure z is about
350. The film is in the circuit while getPoint() measures and leaves it at
the next LCD write, so it never disturbs the LCD bus. A touch is taken as
one point per getPoint(): a press or a release in the middle of one does
not mix a pressed and a released reading.
* 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 shield at its REAL size (72.2 x 52.7 mm; the
picture 48.96 x 36.72 mm), seen from the top with its pins on the left: the
red board, the TFT glass with its black frame under the touch film, the flat
cable end, the micro SD slot. The glass lies along the board, so MCUFRIEND's
setRotation(1) is the upright landscape picture (320 x 240). While the
simulation runs the glass shows the picture in colour, and LEDs show what
happens: PWR (power), BUS (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 shield has none of them. The SD card is not simulated
in V1.0 (its pins are there, the slot is drawn).
TWO DEVICES IN ONE LIBRARY (search "SHIELD" or "ILI9341" in Pick Devices):
Simple device TFTSHIELD24TEP "TFT LCD SHIELD 2.4 ILI9341 240x320 TOUCH V1.0 - Simple"
Advance device TFTSHIELD24ADVTEP "TFT LCD SHIELD 2.4 ILI9341 240x320 TOUCH V1.0 - Advance"
Simple On-Sheet Panel: the TFT SHIELD STATUS panel under the board - the
banner (READY - 320 x 240 LANDSCAPE (ROT 1), 16-BIT 565, DISPLAY ON
/ TOUCHED - x, y ON THE GLASS (GETPOINT X, Y, Z)
/ WHITE SCREEN - NOTHING ON THE BUS YET (LCD_CS, RS, WR, D0-D7?)
/ WHITE SCREEN - STILL IN SLEEP: SEND SLPOUT (11)
/ WHITE SCREEN - SLEEP IN (SEND SLPOUT 11 TO WAKE)
/ WHITE SCREEN - DISPLAY OFF: SEND DISPON (29)
/ STILL ASLEEP - SLPOUT CAME TOO EARLY (WAIT 120 MS)
/ RED / BLUE SWAPPED - MADCTL BIT 3 (BGR) MUST BE 1
/ COLOURS INVERTED - B6 REV = 0 ON A NORMALLY-WHITE GLASS
/ IN RESET - LCD_RST IS HELD LOW / SUPPLY REVERSED / NO POWER), the
readouts DISPLAY, SLEEP, COLOURS, ORIENTATION, ID READ (what
readID() got), VCC, BUS (the time a byte takes), FRAME (a full
screen, i.e. a fillScreen, on the bus), TOUCH (the pen and the
presses) and IGNORED (too early, unknown, data without a command,
past the memory, 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 shield on the schematic; at Run a TEP pop-up
window "TFT Shield Advance - TFT2" 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, the ID read), the frame memory
as stored (240 x 320, column 0 left), the supply, the
glass, the panel refresh, full screens, scrolling, the
touch and the film's pins, 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, 8-bit 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.
Both use the same model (TEPTFTSHIELD.DLL).
TEST STATUS
V1.0: verified in Proteus 8.5 on 16 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 shields: power on (5.00 V),
"readID: the sketch read register D3 = 00 93 41 - ID 0x9341", "display on
- 16-BIT 565, MADCTL 28 (LANDSCAPE (ROT 1), BGR order), 70.3 Hz panel
refresh"). Both monitors print "readID: 0x9341" and "TFT 240x320 ready,
touch ready (4-wire film)"; TFT1 shows the touch dashboard, TFT2 (its
UNO's A5 tied to GND) the colour test.
* TFT1's panel: READY - 320 x 240 LANDSCAPE (ROT 1), 16-BIT 565, DISPLAY ON;
ON, OUT, 16-BIT 565, LANDSCAPE (ROT 1), 0x9341, 5.00 V, 1.00 us / BYTE,
135.5 ms per full screen, TOUCH UP, IGNORED 0.
* TOUCH through the analog film and the unmodified MCUFRIEND_kbv and
TouchScreen libraries, with presses fed to the model at exact simulated
times: the glass pressed at 55, 100 gives "touch: x 55 y 100 z 351" and
"touch: button COLOUR cyan" - every touch lands within 1 pixel of the
point; 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 (410 511 at the centre). TFT2's Touch tool while its glass is
held at 100, 150: the X, Y and Z reads 2.993 V on A3, 3.255 V on A2, 0.048
V / 2.890 V - getPoint() x 410, y 357, z 352 - the demo's map() 100, 150.
* TOUCH with the REAL mouse on TFT1's glass: a tap on COLOUR ("touch: x 55
y 100 z 353", "touch: button COLOUR cyan"), a 1.5 s hold on INVERT acts
once, a drag in the paint strip draws a line along the pointer. Proteus
sends the press, the moves while the button is held and the release to the
model; the touch lands within 2 pixels of the pointer.
* The commands on ARD1: STATUS reads the TFT back over LCD_D0-D7 (power mode
0x9C, MADCTL 0x28, pixel format 0x05, self-diagnostic 0xC0); SLEEP - the
glass goes WHITE and the panel says WHITE SCREEN - SLEEP IN; WAKE - the
picture back; ROTATE 0 - portrait, on its side on the shield; ROTATE 1.
On ARD2: TOUCH while its glass is held ("raw x 410 y 356 z 353"), FILL -
"fillScreen took 135 ms (76,800 pixels)", TEST.
* TFT2 (Advance): Init check all green (LCD_RST low 100.0 ms, 116.6 ms after
power-on; SWRESET at 659.9 ms; SLPOUT at 810.1 ms; 16-bit 565; MADCTL 28
upright on this shield; BGR right for this glass; B6 0A 82 27 normally
white; DISPON at 960.1 ms); 8-bit bus - all 13 LCD signals connected, 1.00
us a byte (the shortest 750 ns), LCD_WR low 125 ns at the shortest,
readID() read register D3 = 0x9341, up to 153,602 bytes per LCD_CS-low
stretch; Speed - a full screen in 135.46 ms (1.76 us a pixel), 7.4 full
screens a second at best; Pixels; Touch.
* Speed: about 0.3 x real time with both monitors and the pop-up open (about
0.1 x while the glass is held and the sketch draws after every reading) -
two simulated ATmega328P, the 8-bit bus traffic and the film in the analog
simulation.
* A2 and A3 are analog nodes in the simulation (the film), and Proteus now
and then hands an edge on them over late. The model takes a command's first
data byte and a strobe right after a touch reading as the sketch sent them;
a 60 s hold that draws at x 290 after every getPoint() (where a late edge
once turned a parameter 01 into a software reset) and the full demo run
ended with IGNORED 0.
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" (TEPTFTSHIELD.LIB with the two
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 TEPTFTSHIELD.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 TEPTFTSHIELD.IDX from the LIBRARY folder if there is one (Proteus
makes a new index).
5. Start Proteus. In Pick Devices (P) search "SHIELD": you get the two devices
(category Optoelectronics > Graphical LCDs).
RUN THE DEMO
"Proteus Simulation\TFT-Shield-ArduinoUnoV4.pdsprj" - keep the .hex file and the
two DLLs beside the project.
ARD1: Arduino UNO V4.0 + TFT1 = the Simple shield (the touch dashboard).
ARD2: Arduino UNO V4.0 + TFT2 = the Advance shield (A5 to GND: the colour
test).
Both UNOs run TFT_Shield_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 readID:
0x9341 and the start lines.
2. TOUCH TFT1: click COLOUR (the paint colour changes), 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, 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, 8-bit bus, Speed, Pixels (click a pixel), Touch (hold
TFT2's glass and watch the film's voltages).
Closed a monitor window? Click the UNO's USB port.
WIRING (the shield plugs on the UNO - in Proteus the same pins are wired)
Shield pin Arduino UNO touch film
LCD_RD A0
LCD_WR A1
LCD_RS A2 XM (analogRead)
LCD_CS A3 YP (analogRead)
LCD_RST A4
GND GND
5V 5V (the shield's regulator makes 3.3 V)
3V3 3.3V
LCD_D0 D8 XP
LCD_D1 D9 YM
LCD_D2 D2
LCD_D3 D3
LCD_D4 D4
LCD_D5 D5
LCD_D6 D6
LCD_D7 D7
SD_SS D10 (the SD card - not simulated)
SD_DI D11
SD_DO D12
SD_SCK D13
The pins are fixed by the shield: MCUFRIEND_kbv knows them for the UNO (and
the Mega 2560, where the shield sits on the same header). A5 stays free; the
demo uses it to choose its first screen.
In the sketch:
#include <Adafruit_GFX.h>
#include <MCUFRIEND_kbv.h>
#include <TouchScreen.h>
MCUFRIEND_kbv tft; // the shield's pins, no arguments
TouchScreen ts = TouchScreen(8, A3, A2, 9, 300); // XP, YP, XM, YM, ohms
uint16_t id = tft.readID(); // 0x9341
tft.begin(id); tft.setRotation(1); // upright on the shield
tft.fillScreen(0x0000); // the power-on memory is random
TSPoint p = ts.getPoint();
pinMode(A2, OUTPUT); pinMode(A3, OUTPUT); // give LCD_RS / LCD_CS back
if (p.z > 200 && p.z < 1000) {
int x = map(p.y, 100, 920, 0, 320), y = map(p.x, 900, 120, 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 shield pin reaches its UNO through a short wire with a net label -
A0_1 ... A4_1, D2_1 ... D13_1, 5V_1 and 3V3_1 (node 1), the same with _2
(node 2), and GND: the same name = connected. ARD2's A5 has a ground symbol:
its sketch starts with the colour test.
REAL HARDWARE:
* The shield plugs straight on a 5 V UNO or Mega 2560: it has its own 3.3 V
regulator and level shifters (74HC245 / LVC245) on board.
* Not every red 2.4" shield has an ILI9341: the same board is sold with
ST7781, ILI9325, ILI9335, HX8347, ILI9486 and others. MCUFRIEND_kbv's
readID() tells you which - the demo prints it; this model is the ILI9341
(0x9341).
* Calibration: every film differs, and the raw values also depend on the
board's resistances. 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.
MCUFRIEND_kbv's own TouchScreen_Calibr_native example does the same.
* The touch film shares LCD_RS and LCD_CS: after ts.getPoint() always set
them back to outputs (pinMode(A2, OUTPUT); pinMode(A3, OUTPUT)), or the
next drawing call goes nowhere. The demo does it after every read.
* Speed: a full screen is 76,800 pixels (150 KB at 16-bit colour), about
0.14 s on an UNO with this 8-bit bus (about twice as fast as SPI) - redraw
only what changes, as the demo does.
* The shield covers D2 - D9 and A0 - A4: only D0 / D1 (Serial), D10 - D13
(the SD card's SPI) and A5 are left on an UNO. On a Mega it covers the same
pins of the UNO header.
* RAM: MCUFRIEND_kbv keeps no picture in RAM: the demo uses 749 bytes of the
UNO's 2,048; its flash is 31,326 of the 32,256 bytes.
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 tft.begin(tft.readID()) do it right? The
start-up since power-on against the ILI9341 datasheet and this
glass: the supply, the ID the sketch read, the hardware reset
(how long, how soon after power-on), the software reset, 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 (readID()'s probes included).
8-bit bus Good for: a white screen - a pin not wired, LCD_RS / LCD_CS
wrong, no readID, slow screens. Which of the 13 LCD signals
are connected, command and data bytes since Start (the NOP
prefixes counted), the write cycle and the shortest LCD_WR low
(measured; the datasheet asks 66 ns / 15 ns), readID() and its
read strobes with the dummies, the shortest LCD_RD low, the
bytes per LCD_CS-low stretch, strobes with LCD_CS high, data
without a command, how busy the bus is, and the last CS
stretches with their LCD_RS 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, the bus speed, 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,
what getPoint() reads for a touch at that point, and the pixels
around it, magnified.
Touch Good for: touches in the wrong place or none at all. The film's
wiring (XP, YM, XM, YP on the LCD pins), the pen (up / down, the
presses), whether the film is in the circuit now (a getPoint()
measurement), A2 / A3 now, the X, Y and Z reads the sketch made
with their pins and the voltages and ADC values it got, what
getPoint() makes of them (x, y, z, z1, z2) and whether it counts
as pressed, what the demo's map() makes of them in the TFT's
rotation, and the film's calibration values.
THE DEMO SKETCH ON THE SERIAL MONITOR (TFT_Shield_Touch_Demo V1.0)
HELP the command list
STATUS the ID, the rotation, the screen, the text, the bar,
the paint colour, four registers READ BACK from the
TFT over LCD_D0-D7, 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() - 1 is upright on this shield, 3
upside down, 0 / 2 portrait; touches follow it
INVERT ON|OFF i
…Development1 release
-
V1.0TFT LCD Shield 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-shield-tep-v1-0-277724744e4f4ab8907c43770063a60a.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-Shield-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPTFTSHIELD.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 TEPTFTSHIELD.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_Shield_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_Shield_Touch_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open TFT-Shield-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
TFT LCD Shield Library for Proteus V1.0 (2.4 inch ILI9341 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 LCD Shield 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 LCD Shield 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, 837795e36ff791450025f9e53f7516fcb049d4427a4e39b020eb798bace15164. In PowerShell run Get-FileHash "tft-shield-tep-v1-0-277724744e4f4ab8907c43770063a60a.zip"; on macOS or Linux run shasum -a 256 "tft-shield-tep-v1-0-277724744e4f4ab8907c43770063a60a.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.
- 17Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 13 Oct 2026Uploaded at
837795e36ff791450025f9e53f7516fcb049d4427a4e39b020eb798bace15164






















Comments
0