TEP DOWNLOAD CENTER

Project Files of PID Temperature Control Lab Library for Proteus

Libraries Code Projects Simulation
tep://download-terminal temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.zip ZIP archiveV1.0Verified0 downloadsFree
PID Temperature Control Lab Library for Proteus: a two-heater lab shield controlled by an Arduino UNO V4.0
Proteus library · File 1 of 1

Temperature Control Lab Library for Proteus V1.0

Temperature Control Lab Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.6 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

Temperature-Control-Lab-Library-for-Proteus-v1.0.zip with a two-heater temperature control lab shield for Proteus (TIP31C heaters, TMP36 sensors, physics fitted to a real lab, a pop-up with a live step-test fit and IMC PID gains; TEPTEMPLAB.LIB and TEPTEMPLAB.DLL), our Arduino UNO V4.0, the A4 PID demo with its sketch and a README.

Read PID Temperature Control Lab Library for Proteus

File Structure

temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.zip10 files · 5 folders · 2.6 MB unpacked
Temperature-Control-Lab-TEP-v1.0/10 files · 2.6 MB
Arduino Code/1 file · 3.5 KB
TempLab_Demo/1 file · 3.5 KB
INO TempLab_Demo.inoArduino sketch 3.5 KB
Proteus Library Files/2 files · 222.7 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPTEMPLAB.LIBProteus library 20.8 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTEMPLAB.DLLSimulation model 304 KB
Proteus Simulation/4 files · 1.2 MB
DSN TempLab-PID-ArduinoUnoV4.pdsprjProteus simulation 19.3 KB
HEX TempLab_Demo.hexCompiled HEX file 17 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTEMPLAB.DLLSimulation model 304 KB
TXT README.txtText file 12.2 KB

README

README.txt 215 lines
TEMPERATURE CONTROL LAB LIBRARY FOR PROTEUS - V1.0 (a two-heater PID lab shield with step-test fitting, and 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/pid-temperature-control-lab-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/temperature-control-lab-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
Temperature-Control-Lab-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPTEMPLAB.LIB                                 20.8 KB   the library -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPTEMPLAB.DLL                                304.0 KB   the model -> MODELS folder
|-- Proteus Simulation/
|   |-- TempLab_Demo.hex                               17.0 KB   the demo firmware
|   |-- TempLab-PID-ArduinoUnoV4.pdsprj                19.3 KB   the demo project
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPTEMPLAB.DLL                                304.0 KB   copy of the model
|-- Arduino Code/
|   |-- TempLab_Demo/TempLab_Demo.ino                   3.5 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~13.6 KB   this file
Total: 2.59 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
A two-heater temperature control lab on an Arduino shield, drawn at true scale (68.6 x 53.3 mm, the
UNO's own size) - our own design,
after the two-heater kits used in university process-control courses, on the same pins as the
popular TCLab kit:
  * Two TIP31C transistors lying flat are the heaters (heater 1 up to 1.31 W, heater 2 up to 0.65 W
    at 100 % PWM), a TMP36 is pressed against
    each (10 mV per C, 750 mV at 25 C), a HOT LED, and a jack for the heaters' own 5 V supply.
  * The physics is the energy balance with the values Park, Martin, Kelly and Hedengren fitted to a
    real two-heater lab (Computers and
    Chemical Engineering 135, 2020): each heater's 4 g warms with its power and loses heat to the
    room by convection and radiation, the two
    exchange heat, each sensor follows its heater with a 22 s lag; the heaters cut out at 100 C. The
    paper's measured step response is
    K 0.92 C/%, tau 175 s, theta 15.6 s.
  * SPEED runs the lab's clock faster (20: twenty lab seconds each simulated second), so a 20-minute
    lab fits in a simulated minute.
  * Click it at Run for the pop-up: the lab as a thermal camera sees it, the temperatures and
    heaters since the start, a step test of heater 1
    fitted live to a first-order model with dead time (K, tau, theta) and the PID gains the IMC
    rules give from it, 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 "TEMPLAB" in Pick Devices):
  TEMPLABSHIELDTEP  "Temperature Control Lab V1.0" in TEPTEMPLAB.LIB (Control Labs > Thermal),
  prefix U, model TEPTEMPLAB.DLL.
                    Pins Q1 (heater 1), Q2 (heater 2), LED, T1, T2, 5V (the heaters' supply), GND.

THE POP-UP
Click the part at Run. Tabs:
    Lab        the lab as a thermal camera sees it (each heater's colour, its sensor and heater
    temperatures, the HOT LED), the temperatures
               and heaters since the start with the fitted step response dashed over the step test,
               and eight live values: T1, T2, heater 1,
               heater 2, the fitted model (K, tau, theta), the PID gains from it (IMC), the heater
               supply, the room and the lab clock.
    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 31 Oct 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 shield runs at SPEED 20 (twenty lab seconds each
    simulated second) and the sketch prints
    every 60 lab seconds.
  * The step test: heater 1 0 -> 30 % at 10 lab s; T1 23.0 -> 48.2 C at 420 lab s. The pop-up fitted
    it as T1 answered: K 0.912 C/%,
    tau 158 s, theta 16.0 s, the fit explaining 100.0 % of the response (Park et al. measured K
    0.92, tau 175 s, theta 15.6 s on a real
    lab); the IMC rules gave Kc 7.65 %/C, tau I 166 s, tau D 7.6 s.
  * The PI loop (Kc 7.65, tau I 166) from 450 lab s: T1 60.5 C at 540 lab s, 59.0 at 600, 60.0 from
    660 to 900, heater 1 at 40-41 %.
  * The disturbance: heater 2 80 % from 900 lab s; T2 rises to 65.3 C at 1260 lab s, T1 stays
    60.5-60.9 C while heater 1 backs off to
    28 %. The HOT LED lit above 50 C; the heater supply drew up to about 0.18 A.
  * The pop-up: Lab (the thermal view, the trend with the fitted model, the fit and the PID gains),
    Graphs, Event log, Check - all four
    pages 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" (TEPTEMPLAB.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 TEPTEMPLAB.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder
(...\Proteus 8 Professional\MODELS).
4. Delete TEPTEMPLAB.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "TEMPLAB".

RUN THE DEMO
"Proteus Simulation\TempLab-PID-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the DLLs
beside the project.
  ARD1:   Arduino UNO V4.0 running TempLab_Demo.hex, its serial monitor built in (window "TEP
  Arduino UNO - ARD1").
  U1:     the lab shield at SPEED 20: Q1 - D3, Q2 - D5, LED - D9, T1 - A0, T2 - A2, 5V - the 5 V
  rail, GND.
  1. A step test: heater 1 0 -> 30 % at 10 lab s; the pop-up fits K, tau and theta as T1 answers.
  2. At 450 lab s a PI loop holds T1 at 60 C (Kc 7.65 %/C, tau I 166 s - the gains the pop-up
  suggests).
  3. At 900 lab s heater 2 goes to 80 %: its heat reaches T1 through the board and the loop backs
  heater 1 off.
Closed the monitor? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  heaters: a PWM pin to Q1 / Q2 (analogWrite 0..255 = 0..100 %); sensors: T1 / T2 to analog pins (C
  = (V - 0.5) x 100); LED: any pin;
  5V and GND: a 5 V supply that can give 0.4 A for the heaters.
REAL HARDWARE:
 * A real lab's heaters reach 60-80 C: hot enough to burn a finger. Keep it on a stand and let it
   cool.
 * The heaters need their own supply; a USB port alone may not give enough current for both.
 * Identify first, then tune: a step test gives K, tau and theta, the IMC rules turn them into
   gains; start with PI.
 * The sensor lags its heater by tens of seconds: too much gain overshoots and rings.

THE DEMO SKETCH ON THE SERIAL MONITOR (TempLab_Demo V1.0, 9600 baud)
There are no commands. The sketch runs the step test, then the PI loop, then the disturbance, and
prints every 60 lab seconds.
EXPECTED MONITOR OUTPUT
  Temperature Control Lab - The Engineering Projects
  t=420 s: T1 48.2 C, T2 31.1 C, Q1 30 %, Q2 0 %
  t=540 s: T1 60.5 C, T2 33.6 C, Q1 33 %, Q2 0 %, SP 60 C
  t=1260 s: T1 60.5 C, T2 65.3 C, Q1 28 %, Q2 80 %, SP 60 C

PROPERTIES (double-click the part > Edit Properties)
  Time scale (SPEED)               1 real time, 10 ten times faster (every time the pop-up shows is
  in the lab's seconds)
  Room temperature (AMBIENT)       C
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 TEPTEMPLAB.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
* NO SUPPLY: the heaters are driven but the 5V pin has no supply - connect it.
* The temperature creeps up slowly: that is the lab - tau is minutes; raise SPEED to 10 or 20 for a
  fast lab.
* The fit says FITTING: hold heater 1 at a new value until most of the response is there (about two
  time constants).
* HOT: past 70 C; the heaters cut out at 100 C.
* The part is not simulated: TEPTEMPLAB.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPTEMPLAB.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/temperature-control-lab-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 (TEPTEMPLAB.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\TempLab_Demo\TempLab_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 6,194 bytes of flash
and 234 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the two heaters' energy balance (convection, radiation, the heat between them), the
sensors' lag, the TMP36 outputs, the heaters'
supply current, the 100 C cut-out.
Not modelled: the sensors' noise and offsets (a TMP36 is +-1 to 2 C), the air's own movement, the
board's slow warming.

VERSION
TEP Temperature Control Lab library V1.0 (Nov 2026). Device TEMPLABSHIELDTEP (TEPTEMPLAB.LIB /
TEPTEMPLAB.DLL). Demo sketch TempLab_Demo V1.0. Demo board: ARDUINO UNO V4.0 (TEP Arduino Library
V4.0) with its built-in serial monitor.
Advertisement

Development1 release

  1. V1.0Temperature Control Lab 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 temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Temperature-Control-Lab-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB and TEPTEMPLAB.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 TEPTEMPLAB.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 TempLab_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 TempLab_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open TempLab-PID-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

    PID Temperature Control Lab Library for Proteus 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 Temperature Control Lab 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?

Temperature Control Lab Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.6 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, e36102c236f94164c99de170783a076f9e2f64ddb5060e50c5aa6bf2dce524ef. In PowerShell run Get-FileHash "temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.zip"; on macOS or Linux run shasum -a 256 "temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.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 · temperature-control-lab-tep-v1-0-d1a8067a4ac245a592f05e35845b3cbf.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
  • 9 Nov 2026Uploaded at
Last 14 days0 downloads
SHA-256 e36102c236f94164c99de170783a076f9e2f64ddb5060e50c5aa6bf2dce524ef
DocumentationPID Temperature Control Lab Library for Proteus
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.