TEP DOWNLOAD CENTER

Project Files of 3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch)

Libraries Code Projects Simulation
tep://download-terminal tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.zip ZIP archiveV1.0Verified34 downloadsFree
3.5" TFT LCD Shield Library for Proteus V1.0: an Arduino UNO V4.0 with the 3.5 inch ILI9486 TFT LCD shield showing a touch dashboard, the Advance pop-up with the colour test, and the serial monitor printing the touches
Proteus library · File 1 of 1

3.5 inch TFT LCD Shield Library for Proteus V1.0

3.5 inch 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

3.5 inch TFT LCD Shield Library for Proteus V1.0 is the download package that goes with our tutorial 3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch). On this page you can download the ZIP file (1.3 MB) and see what is inside before you save it: 10 files in 5 folders, the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware. The tutorial explains the design; this page gets the files onto your computer and into use.

What this library is

TFT-LCD-Shield-3.5-inch-Library-for-Proteus-v1.0.zip with the 3.5" TFT LCD UNO shield (ILI9486 8-bit bus and resistive touch), Simple and Advance (TEPTFTSHIELD35.LIB and TEPTFTSHIELD35.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
  • TEPTFTSHIELD35.LIB – Proteus library, 70.4 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPTFTSHIELD35.DLL – Simulation model, 359 KB
  • TFT-Shield-35-ArduinoUnoV4.pdsprj – Proteus simulation, 25.7 KB
  • TFT_Shield_35_Touch_Demo.ino – Arduino sketch, 16.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 TEPTFTSHIELD35.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPTFTSHIELD35.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_35_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_35_Touch_Demo.hex; on hardware, flash the same file.
  • Step 7: Open TFT-Shield-35-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The full tutorial, 3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 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.

Read 3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch)

File Structure

tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.zip10 files · 5 folders · 2.9 MB unpacked
TFT-Shield-35-TEP-v1.0/10 files · 2.9 MB
Arduino Code/1 file · 16.1 KB
TFT_Shield_35_Touch_Demo/1 file · 16.1 KB
INO TFT_Shield_35_Touch_Demo.inoArduino sketch 16.1 KB
Proteus Library Files/2 files · 272.3 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPTFTSHIELD35.LIBProteus library 70.4 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTFTSHIELD35.DLLSimulation model 359 KB
Proteus Simulation/4 files · 1.3 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTFTSHIELD35.DLLSimulation model 359 KB
DSN TFT-Shield-35-ArduinoUnoV4.pdsprjProteus simulation 25.7 KB
HEX TFT_Shield_35_Touch_Demo.hexCompiled HEX file 86.2 KB
TXT README.txtText file 38.8 KB

README

README.txt 373 lines
3.5" TFT LCD SHIELD (ILI9486 + 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-3-5-inch-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 smaller 2.4" shield (ILI9341, 240x320, the same pins and film), the
ILI9341 as an SPI module with touch, and the 1.8" TFT ST7735:
  https://www.theengineeringprojects.com/2026/10/tft-lcd-shield-library-for-proteus-v1-0.html
  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-35-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                                      201.9 KB   TEP Arduino boards V4.0 (LIBRARY folder)
|   |-- TEPTFTSHIELD35.LIB                                     70.4 KB   the 2 TFT shield 3.5" devices (LIBRARY folder)
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                        883.5 KB   the Arduino board model (MODELS folder)
|   |-- TEPTFTSHIELD35.DLL                                    359.0 KB   the TFT + touch film model (MODELS folder)
|-- Proteus Simulation/
|   |-- TEPARDUINO.DLL                                        883.5 KB   copy of the board model
|   |-- TEPTFTSHIELD35.DLL                                    359.0 KB   copy of the model so the demo runs as is
|   |-- TFT_Shield_35_Touch_Demo.hex                           86.2 KB   both UNOs (demo sketch V1.0)
|   |-- TFT-Shield-35-ArduinoUnoV4.pdsprj                      25.7 KB   the demo (Simple + Advance shield)
|-- Arduino Code/
|   |-- TFT_Shield_35_Touch_Demo/TFT_Shield_35_Touch_Demo.ino   16.1 KB   the demo sketch (source of the .hex)
|-- README.txt                                                ~39.4 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 3.5" TFT LCD SHIELD for the Arduino UNO (the
"MCUFRIEND" kind, lcdwiki MAR3501) for Proteus 8: a 320x480-pixel, 65K-colour
TFT with the ILI9486 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 ILI9486'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 ILI9486
    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 94 86, which MCUFRIEND_kbv's readID() turns into 0x9486), 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 ILI9486 controller itself, from its datasheet: the 320 x 480 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 from the datasheet's FRS
    table, 70 Hz by default - MCUFRIEND keeps it), the display function (B6:
    480 lines, the scan direction), 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 - what a real shield shows (the
    ILI9486's B6 has no REV bit: only INVON inverts the colours). 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 110 - 910 (across the
    short side), y 85 - 935 (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 (85.49 x 55.63 mm; the
picture 73.44 x 48.96 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 (480 x 320). While the
simulation runs the glass shows the picture in colour. The glass covers
almost the whole board, so the TEP strip under it holds the SIMPLE / ADVANCE
badge, the title, the LEDs PWR (power), BUS (a byte reaches the TFT) and
TOUCH (the film is pressed), 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 3.5" or "ILI9486" in Pick Devices):
  Simple    device TFTSHIELD35TEP     "TFT LCD SHIELD 3.5 ILI9486 320x480 TOUCH V1.0 - Simple"
  Advance   device TFTSHIELD35ADVTEP  "TFT LCD SHIELD 3.5 ILI9486 320x480 TOUCH V1.0 - Advance"
  Simple    On-Sheet Panel: the TFT SHIELD STATUS panel under the board - the
            banner (READY - 480 x 320 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
            / 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 (320 x 480, 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 (TEPTFTSHIELD35.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 shields: power on (5.00 V), "readID: the sketch
    read register D3 = 00 94 86 - ID 0x9486, an ILI9486", "display on - 16-BIT
    565, MADCTL 28 (LANDSCAPE (ROT 1), BGR order), 70.0 Hz panel refresh").
    Both monitors print "readID: 0x9486" and "TFT 320x480 ready, touch ready
    (4-wire film)"; TFT1 shows the 480 x 320 touch dashboard, TFT2 (its UNO's
    A5 tied to GND) the colour test.
  * TFT1's panel: READY - 480 x 320 LANDSCAPE (ROT 1), 16-BIT 565, DISPLAY ON;
    ON, OUT, 16-BIT 565, LANDSCAPE (ROT 1), 0x9486, 5.00 V, 1.00 us / BYTE,
    270.8 ms per full screen, TOUCH UP, IGNORED 0.
  * TOUCH with the REAL mouse on TFT1's glass: a tap on COLOUR ("touch: x 80
    y 132 z 351", "touch: button COLOUR cyan"), a 1.5 s hold on INVERT acts
    once, a slow 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 under the pointer.
  * TOUCH with presses fed to the model at exact simulated times (the
    screenshots): every touch within 1 pixel of the point; a button held for a
    second acts once; a drag moves the slider and paints an unbroken line; CAL
    shows the raw values at the crosses. TFT2's TOUCH command while its glass
    is held at 150, 200: "raw x 408 y 351 z 352, last screen x 150 y 200".
  * The commands: STATUS reads the ILI9486 back over LCD_D0-D7 (power mode
    0x9C, MADCTL 0x28, pixel format 0x05, self-diagnostic 0xC0); SLEEP - the
    glass goes WHITE, the panel says WHITE SCREEN - SLEEP IN; WAKE; ROTATE 0 -
    portrait (320 x 480), on its side on the shield; ROTATE 1; FILL -
    "fillScreen took 271 ms (153,600 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.0 ms; 16-bit 565; MADCTL 28
    upright on this shield; BGR; B6 02 02 3B, 480 lines; DISPON at 960.0 ms);
    8-bit bus - all 13 LCD signals connected, 1.00 us a byte (the shortest 750
    ns), readID() read register D3 = 0x9486; Speed - a full screen in 270.76
    ms (1.76 us a pixel), 3.7 full screens a second at best, 70.0 Hz panel
    refresh; 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).
  * A2 and A3 are analog nodes in the simulation (the film), and Proteus now
    and then hands an edge on them over late - once for 14 us. The model takes
    the data a command still owes (its parameters, or the pixels of the window
    it opened) as the sketch sent them, and a strobe right after a touch
    reading as LCD_CS low: the full demo run and long touch runs ended with
    IGNORED 0 and no reset.

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" (TEPTFTSHIELD35.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 TEPTFTSHIELD35.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 TEPTFTSHIELD35.IDX from the LIBRARY folder if there is one (Proteus
   makes a new index). The 2.4" shield library (TEPTFTSHIELD.LIB / .DLL) can
   stay: the two libraries have their own files.
5. Start Proteus. In Pick Devices (P) search "SHIELD 3.5": you get the two devices
   (category Optoelectronics > Graphical LCDs).

RUN THE DEMO
"Proteus Simulation\TFT-Shield-35-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_35_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:
     0x9486 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();           // 0x9486
  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, 85, 935, 0, 480), y = map(p.x, 910, 110, 0, 320); }
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 3.5" shield has an ILI9486: the same board is sold with
   ILI9488, ST7796, ILI9481, R61581, HX8357 and others. MCUFRIEND_kbv's
   readID() tells you which - the demo prints it; this model is the ILI9486
   (0x9486).
 * 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 153,600 pixels (300 KB at 16-bit colour), about
   0.27 s on an UNO with this 8-bit bus - 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 753 bytes of the
   UNO's 2,048; its flash is 31,392 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 ILI9486 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
                (B6: 480 lines), 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_35_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          invertDisplay() (the controller inverts, the memory
                         stays)
  SLEEP / WAKE           SLPIN / SLPOUT: the glass goes white / comes back
  TOUCH                  pressed or released, the raw x / y / z now and the
                         last screen x / y
On the dashboard: COLOUR changes the paint colour (green, cyan, yellow,
magenta, white), INVERT the colours, CLEAR wipes
…
Advertisement

Development1 release

  1. V1.03.5 inch TFT 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. 1

    Extract the archive

    Right-click tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.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-35-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPTFTSHIELD35.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. 3

    Add the simulation model

    Copy TEPARDUINO.DLL and TEPTFTSHIELD35.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.

  4. 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. 5

    Open the sketch in the Arduino IDE

    Open TFT_Shield_35_Touch_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  6. 6

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to TFT_Shield_35_Touch_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open TFT-Shield-35-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.

  8. 8

    Follow the tutorial

    3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch) explains every connection and setting in order; keep it open beside the files while you build.

How to add a library in Proteus 8

FAQs9 questionsContact TEP

How do I download 3.5 inch 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?

3.5 inch 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, 64ee320a58e85e0e105d79abc185658806351651712abb7ac3289a0d01686f66. In PowerShell run Get-FileHash "tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.zip"; on macOS or Linux run shasum -a 256 "tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.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.

preparing · tft-shield-35-tep-v1-0-e279194ff4dd4adeb9d3ab63f25a1ac4.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 34Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 13 Oct 2026Uploaded at
Last 14 days22 downloads
SHA-256 64ee320a58e85e0e105d79abc185658806351651712abb7ac3289a0d01686f66
Documentation3.5 inch TFT LCD Shield Library for Proteus V1.0 (ILI9486 Touch)
Need help with this file? Bug report Ask a question Download problemsGet updates
Advertisement

Comments

0

Join the conversation

Start the conversationAsk a question or share how you used this download.