TEP DOWNLOAD CENTER

Project Files of Nextion HMI Display Library for Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal 7076e467d1ed4b19af7880bdb11100f4.zip ZIP archiveV1.0Verified0 downloadsFree
Nextion HMI Display Library for Proteus Simulation: an Arduino UNO V4.0 driving a Nextion 3.2 inch touch display with a heater LED
Proteus library · File 1 of 1

Nextion HMI Display Library for Proteus V1.0

Nextion HMI Display Library for Proteus V1.0 comes as a ZIP archive of 16 files (1.8 MB, 4.1 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

Nextion-HMI-Display-Library-for-Proteus-v1.0.zip with the Nextion 3.2 inch HMI display for Proteus simulation (TEPNEXTION.LIB and TEPNEXTION.DLL), our 5 mm LED and resistor libraries, our Arduino UNO V4.0, the A4 demo with its sketch and a README.

Read Nextion HMI Display Library for Proteus Simulation

File Structure

7076e467d1ed4b19af7880bdb11100f4.zip16 files · 5 folders · 4.1 MB unpacked
Nextion-HMI-Display-TEP-v1.0/16 files · 4.1 MB
Arduino Code/1 file · 5.4 KB
Nextion_Demo/1 file · 5.4 KB
INO Nextion_Demo.inoArduino sketch 5.4 KB
Proteus Library Files/4 files · 544.1 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPLED5MM.LIBProteus library 21.8 KB
LIB TEPNEXTION.LIBProteus library 13.4 KB
LIB TEPRESISTOR.LIBProteus library 306.9 KB
Proteus Model Files/4 files · 1.8 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPNEXTION.DLLSimulation model 330 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
Proteus Simulation/6 files · 1.8 MB
DSN Nextion-Heater-ArduinoUnoV4.pdsprjProteus simulation 23 KB
HEX Nextion_Demo.hexCompiled HEX file 27 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPNEXTION.DLLSimulation model 330 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
TXT README.txtText file 13.7 KB

README

README.txt 233 lines
NEXTION HMI DISPLAY LIBRARY FOR PROTEUS SIMULATION - V1.0 (a 3.2" touch display with its own processor, a pop-up)
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/11/nextion-hmi-display-library-for-proteus.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
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
Nextion-HMI-Display-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPLED5MM.LIB                                  21.8 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPNEXTION.LIB                                 13.4 KB   the library -> LIBRARY folder
|   |-- TEPRESISTOR.LIB                               306.9 KB   a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPLED5MM.DLL                                 289.5 KB   its model -> MODELS folder
|   |-- TEPNEXTION.DLL                                330.0 KB   the model -> MODELS folder
|   |-- TEPRESISTOR.DLL                               311.0 KB   its model -> MODELS folder
|-- Proteus Simulation/
|   |-- Nextion_Demo.hex                               27.0 KB   the demo firmware
|   |-- Nextion-Heater-ArduinoUnoV4.pdsprj             23.0 KB   the demo project
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPLED5MM.DLL                                 289.5 KB   copy of its model
|   |-- TEPNEXTION.DLL                                330.0 KB   copy of the model
|   |-- TEPRESISTOR.DLL                               311.0 KB   copy of its model
|-- Arduino Code/
|   |-- Nextion_Demo/Nextion_Demo.ino                   5.4 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~14.5 KB   this file
Total: 4.14 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
A Nextion 3.2" HMI touch display (400 x 240) drawn from the front - DRAWN COMPACT, about 0.71 x of
the real 95 x 47.6 mm, so that it
is not bigger than the UNO: the glass with its active area, the 4-pin connector (+5V, TX, RX, GND),
the mounting holes. A PWR and a COM
(TX / RX activity) LED are TEP additions. The board is our own drawing; the display behaves the way
the maker describes it:
  * A TTL UART, 9600 baud 8N1 from the factory (the BAUD property; baud= / bauds= change it).
  * Instructions as ASCII text ended by FF FF FF: obj.txt="..", obj.val=.., obj.pco / obj.bco=..,
    page, ref, vis, cls, fill, line, draw,
    cir, cirs, xstr, get, sendme, rest, add; the system variables dim / dims, bkcmd, sleep.
  * The return data ended by FF FF FF: 65h page component event (a touch: 01h press, 00h release),
    66h page, 70h text, 71h number (four
    bytes, little endian), the errors (00h, 03h, 11h, 1Ah, 1Bh, 1Eh) and 01h success as bkcmd asks,
    00 00 00 / 88h at start-up, 86h / 87h.
  * A real Nextion runs the project you design in the Nextion Editor; the model carries one built-in
    project: page0 "main" (t0, t1, n0, j0,
    b0 ON, b1 OFF, b2 GRAPH - its release runs "page 1") and page1 "graph" (t0, s0 the waveform, b0
    BACK - "page 0").
  * Touches: click the glass at Run, use the pop-up's chips, or the scene (PROFILE DEMO: b0 at 4 s,
    b1 at 8 s, b2 at 11 s, BACK at 15 s).
  * At Run the screen is drawn into the glass. Click the part's frame for the pop-up: the screen,
    the UART log (each instruction and
    each answer), eight tiles; graphs, an event log and a check page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.

ONE DEVICE (search "NEXTION" or "HMI" in Pick Devices):
  NEXTION32TEP  "Nextion 3.2 HMI Display V1.0" in TEPNEXTION.LIB (Optoelectronics > TFT), prefix U,
  model TEPNEXTION.DLL (mixed). Pins on
                the right: +5V (VCC), TX, RX, GND.

THE POP-UP
Click the part at Run (a click on the glass is a touch). Tabs:
    HMI Display chips: Touch b0 (ON), Touch b1 (OFF), Touch b2 (GRAPH) on page 0; Touch b0 (BACK) on
    page 1.
                The screen; the UART log (RX from the board, TX to it); eight tiles: the page, the
                UART and bkcmd, the instructions
                and errors, the touch events, the last touch, the last get, the backlight, the
                bytes.
    Graphs     the live values over the last 2, 6 or 15 s. Live / Freeze.
    Event log  every change and warning; filters All / Changes / Warnings, Pause, Clear
    Check      what the part is doing and what to look at, each with a verdict (green = fine, amber
    = check, red = wrong)
    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

TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Nov 2026 (the demo project as shipped: an A4 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
  * The project loads and starts cleanly; the demo ran 17.0 simulated seconds in about 2.5 minutes
    on our PC with the pop-up open and the
    pictures being taken.
  * The start-up: power on at 2 ms, ready at 252 ms - 00 00 00 FF FF FF and 88h sent, page 0 shown;
    the sketch saw "Nextion ready
    (88h)", asked sendme (66h: page 0) and read t0 back (70h: "TEP Nextion demo").
  * A touch on b0 (ON) at 4.0 s: 65 00 05 01 FF FF FF, then the release; the heater LED on D5 lit,
    "Heater ON" on t1; the temperature
    rose 1 C every half second - n0 27 and j0 35 at 5 s, 32 and 60 at 9 s.
  * A touch on b1 (OFF) at 8.0 s: the heater off, 32.5 C on the monitor, falling 0.5 C every half
    second.
  * A touch on b2 (GRAPH) at 11.0 s: its release ran the project's "page 1" at 11.15 s; the sketch
    sent the history (22 samples, four
    interpolated add instructions each) and a new sample every half second - the curve up and down
    on s0.
  * A touch on b0 (BACK) at 15.0 s: page 0 again at 15.15 s, 25.0 C, the heater off.
  * At the end: 174 instructions, 0 errors; 2,299 bytes in, 91 out, 0 framing errors; 4 touches, 8
    touch events (65h); 1 get.
  * The pop-up (HMI Display, Graphs, Event log, Check) followed the run.

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" (TEPNEXTION.LIB, TEPLED5MM.LIB, TEPRESISTOR.LIB 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
   (use the folder that already holds Proteus's own .LIB files).
3. Copy TEPNEXTION.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL from "Proteus Model Files"
to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPNEXTION.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "NEXTION".

RUN THE DEMO
"Proteus Simulation\Nextion-Heater-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the
DLLs beside the project.
  A heater controller:
  ARD1:   Arduino UNO V4.0 running Nextion_Demo.hex, its serial monitor built in (window "TEP
  Arduino UNO - ARD1").
  U1:     the Nextion 3.2": PROFILE DEMO; TX on D8 and RX on D9 (the UNO's AltSoftSerial at 9600),
  +5V on VCC, GND.
  D1:     HEATER (red, D5) through 220 ohm (R1).
          The sketch waits for 88h, asks the page (sendme) and reads t0 back (get); then a pretend
          heater: b0 ON / b1 OFF (65h events)
          switch it and the LED, the temperature goes to n0 and j0 every half second; on the graph
          page it sends the history to s0.
Closed the monitor? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  +5V and GND to a 5 V supply (it draws about 85 mA - more than a pin can give), the display's TX to
  the board's RX, its RX to the
  board's TX. A software serial port keeps the board's own Serial free for the monitor.
REAL HARDWARE:
 * The project lives in the display: design the pages in the Nextion Editor, tick "send component
   ID" on the components whose
   touches the board should hear, and load the .tft file from an SD card or over the UART.
 * End every instruction with three 0xFF bytes; read the answers in frames ending with three 0xFF.
 * Local components get their design values back when the page changes - send the values again after
   a page change.
 * Power it from 5 V with enough current; a weak supply resets it when the backlight comes on.

THE DEMO SKETCH ON THE SERIAL MONITOR (Nextion_Demo V1.0, 9600 baud)
The sketch prints the start-up, the page, the text it read back, each touch and the temperature
every 2 s. EXPECTED MONITOR OUTPUT
  Nextion heater controller - The Engineering Projects
  Nextion ready (88h)
  Nextion on page 0
  t0 says: TEP Nextion demo
  Touch: page 0 id 5 press
  The heater is ON

PROPERTIES (double-click the part > Edit Properties)
  The touches (PROFILE)                 DEMO (b0 at 4 s, b1 at 8 s, b2 at 11 s, BACK at 15 s) or
  STEADY (clicks and chips only) (DEMO)
  The baud rate at power-on (BAUD)      2400 - 921600 (9600)
Every run starts again from the properties.

LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPNEXTION.DLL with lines KEY=URL, for example:
  ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http:// and https:// links are used; lines starting
with # are comments.

TROUBLESHOOTING
* Nothing happens: TX / RX swapped (the display's TX goes to the board's RX), different baud rates,
  or no 0xFF 0xFF 0xFF at the end.
* 1Ah answers: the component's name is wrong or it is on a page that is not shown.
* No touch events: the component's "send component ID" is not ticked (in the built-in project they
  are).
* Values lost after a page change: local components - send them again (the sketch does).
* The part is not simulated: TEPNEXTION.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPNEXTION.DLL is missing from MODELS and from the project folder. No
  UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
  https://www.theengineeringprojects.com/forum/category/lcd-proteus-library

SUPPORT US
This library is free. If it saves you time, please support our work:
  https://www.theengineeringprojects.com/donate

WEBSITE
  https://www.theengineeringprojects.com/

LICENCES AND THIRD-PARTY NOTES
* The model (TEPNEXTION.DLL), the symbols and artwork, the other parts of ours in the demo and the
  Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
  Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
  Visual C++ redistributable is needed.
  The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
  microcontroller is Proteus's own AVR model): The Engineering Projects,
  https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
  LGPL-licensed code; its source code is available at
  https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
  This library is not made or endorsed by Arduino or Labcenter.

REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\Nextion_Demo\Nextion_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 9,822 bytes of flash
and 610 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the UART and its baud rates, the instruction set above on the built-in project, the screen
drawing commands, the return
codes and bkcmd, sleep and dim, the start-up codes, touch events. Our choices: the built-in project
in place of a .tft file, our own
font for the fonts 0 - 3, the instruction time (only the UART's), the compact drawing, the LEDs. Not
modelled: loading your own
project, pictures, timers and variables of a project, the Enhanced / Intelligent series' extras, the
RTC and GPIO.

VERSION
TEP Nextion HMI Display library V1.0 (Nov 2026). Device NEXTION32TEP (TEPNEXTION.LIB /
TEPNEXTION.DLL). Demo sketch Nextion_Demo V1.0 (AltSoftSerial - no Nextion library). The demo also
uses our 5 mm LED library (TEPLED5MM) and our resistor library (TEPRESISTOR), shipped in this
package. Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with its built-in serial monitor.
Advertisement

Development1 release

  1. V1.0Nextion HMI Display 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 7076e467d1ed4b19af7880bdb11100f4.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Nextion-HMI-Display-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB, TEPLED5MM.LIB and TEPNEXTION.LIB and 1 more 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, TEPLED5MM.DLL and TEPNEXTION.DLL and 1 more 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 Nextion_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 Nextion_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open Nextion-Heater-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

    Nextion HMI Display Library for Proteus Simulation 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 Nextion HMI Display 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?

Nextion HMI Display Library for Proteus V1.0 comes as a ZIP archive of 16 files (1.8 MB, 4.1 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 16 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, b5ca3c21d52a8cc96ca2a4d2b27791cda32df4efee35a164d1a175edff82d640. In PowerShell run Get-FileHash "7076e467d1ed4b19af7880bdb11100f4.zip"; on macOS or Linux run shasum -a 256 "7076e467d1ed4b19af7880bdb11100f4.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 · 7076e467d1ed4b19af7880bdb11100f4.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 0Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 28 Nov 2026Uploaded at
Last 14 days0 downloads
SHA-256 b5ca3c21d52a8cc96ca2a4d2b27791cda32df4efee35a164d1a175edff82d640
DocumentationNextion HMI Display Library for Proteus Simulation
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.