TEP DOWNLOAD CENTER

Project Files of TDS Meter Library for Proteus V1.0: TDS Sensor with Arduino

Libraries Code Projects Simulation
tep://download-terminal tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.zip ZIP archiveV1.0Verified20 downloadsFree
TDS Meter Library for Proteus V1.0: the TDS sensor with its STATUS panel and the Advance pop-up
Proteus library · File 1 of 1

TDS Meter Library for Proteus V1.0

TDS Meter Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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 TDS Meter Library for Proteus V1.0: TDS Sensor with Arduino? TDS Meter Library for Proteus V1.0 is the ZIP package (1.2 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

TDS-Meter-Library-for-Proteus-v1.0.zip with the analog TDS sensor board and its two-pin probe (0 - 2.3 V on A for 0 - about 1000 ppm, the published conversion, 2 % per C), Simple and Advance (TEPTDS.LIB and TEPTDS.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO 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
  • TEPTDS.LIB – Proteus library, 63.4 KB
  • TEPARDUINO.DLL – Simulation model, 883.5 KB
  • TEPTDS.DLL – Simulation model, 314.5 KB
  • TDS-Meter-ArduinoUnoV4.pdsprj – Proteus simulation, 24 KB
  • TDS_Water_Demo.ino – Arduino sketch, 4.7 KB
  • and 4 more, all listed in the File Structure tab

The archive unpacks to 2.7 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 TEPTDS.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
  • Step 3: Copy TEPARDUINO.DLL and TEPTDS.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 TDS_Water_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 TDS_Water_Demo.hex; on hardware, flash the same file.
  • Step 7: Open TDS-Meter-ArduinoUnoV4.pdsprj in Proteus and press Play.

Read the detailed guide

This page is for the files. The full tutorial, TDS Meter Library for Proteus V1.0: TDS Sensor with Arduino, 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 TDS Meter Library for Proteus V1.0: TDS Sensor with Arduino

File Structure

tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.zip10 files · 5 folders · 2.7 MB unpacked
TDS-TEP-v1.0/10 files · 2.7 MB
Arduino Code/1 file · 4.7 KB
TDS_Water_Demo/1 file · 4.7 KB
INO TDS_Water_Demo.inoArduino sketch 4.7 KB
Proteus Library Files/2 files · 265.3 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPTDS.LIBProteus library 63.4 KB
Proteus Model Files/2 files · 1.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTDS.DLLSimulation model 314.5 KB
Proteus Simulation/4 files · 1.2 MB
DSN TDS-Meter-ArduinoUnoV4.pdsprjProteus simulation 24 KB
HEX TDS_Water_Demo.hexCompiled HEX file 22.8 KB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPTDS.DLLSimulation model 314.5 KB
TXT README.txtText file 20.7 KB

README

README.txt 361 lines
TDS METER LIBRARY FOR PROTEUS - V1.0 (WATER QUALITY: TDS, EC, TEMPERATURE)
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/tds-meter-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/tds-meter-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
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
TDS-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO), to LIBRARY
|   |-- TEPTDS.LIB                                     63.4 KB   the analog TDS sensor, to LIBRARY
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model, to MODELS
|   |-- TEPTDS.DLL                                    314.5 KB   the TDS sensor model, to MODELS
|-- Proteus Simulation/
|   |-- TDS_Water_Demo.hex                             22.8 KB   both UNOs (demo sketch V1.0)
|   |-- TDS-Meter-ArduinoUnoV4.pdsprj                  24.0 KB   demo: 2 UNOs, 2 sensors on A0
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPTDS.DLL                                    314.5 KB   copy of the model
|-- Arduino Code/
|   |-- TDS_Water_Demo/TDS_Water_Demo.ino               4.7 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~21.8 KB   this file
Total: 2.67 MB (unzipped). The C++ source code of the model is not included.

WHAT IS IT?
A simulation model of the analog TDS sensor board (the blue "TDS Meter V1.0"
board) with its two-pin waterproof probe. TDS - total dissolved solids - is
how much salt and minerals the water carries, in ppm (mg per litre). The
probe measures the water's electrical conductivity (EC): the more ions, the
better the water conducts. The board drives the probe with a small AC
current and gives a DC voltage on its A pin. Our own model, written from the
board maker's published data - not a part that shows a number:
  * The output: 0 - 2.3 V for 0 - about 1000 ppm, from a 3.3 - 5.5 V supply
    (3 - 6 mA); the maker gives about +- 10 % of the full scale at 25 C for
    a real board. The model gives the voltage that the published conversion
    turns back into the water's TDS:
      EC (uS/cm at 25 C) = 133.42 V^3 - 255.86 V^2 + 857.39 V
      TDS (ppm) = EC x 0.5
    and the voltage rises 2 % per C above 25 C - the sketch divides it by
    1 + 0.02 x (T - 25) before the conversion.
  * Above the range the output stops at 2.3 V (about 1120 ppm at 25 C): sea
    water and brine all read the same.
  * The probe out of the water (in air) gives about 0 V - a reading of
    about 0 ppm.
  * Every probe differs a little: the CELL property (the probe's cell
    factor, 1 = the conversion) - a probe with 0.92 reads 8 % low until you
    calibrate it with a known solution (707 ppm = the 1413 uS/cm buffer).
  * The output follows the water with a short lag (the board's filter and
    the probe, about 0.4 s) and has a few mV of noise - so a sketch takes
    the median of many readings.
  * The water at the probe: its TDS (at 25 C) and its temperature
    (properties TDS and TEMP); the panel's - / + (10 ppm, 1 C a click), six
    presets (DISTILLED 2, RO 18, TAP 250, MINERAL 420, BUFFER 707, SEA 35000
    ppm) and four actions: SALT (a pinch: +100 ppm as it mixes), DILUTE (as
    much distilled water again: half), PROBE OUT (the probe in air, and back)
    and WARM (the water warms to 40 C, and back).
The board is drawn at about twice its real size: the 3-pin header on the
left (+, -, A), the signal electronics, the white 2-pin probe socket and the
cable to the black probe. TEP additions: the SIMPLE / ADVANCE badge, the PWR
and PROBE LEDs (PROBE lit while the probe is in the water) and the panel
button on the board, and the beaker next to it - the water's colour
follows the TDS and its level drops below the probe with PROBE OUT. The
beaker, the LEDs, the badge, the button and the panels are TEP additions;
the real board has none of them.

TWO DEVICES IN ONE LIBRARY (search "TDS" in Pick Devices):
  Simple    TDSMETERTEP      "TDS Meter V1.0 - Simple"
  Advance   TDSMETERADVTEP   (the same, "- Advance")
            (pins VCC, GND and A on the left; category Sensors > Water
            Quality)
  Simple    On-Sheet Panel: the STATUS panel under the board - the banner
            (the reading, EC and the output; amber with the water away from
            25 C, a probe that reads high or low, the probe in air; red over
            the range or without power; grey while the output settles), THE
            WATER: - / + for the TDS and the temperature, a ruler 0 - 1200
            ppm (the water and the reading), six presets, four actions, ten
            readouts (STATE, OUTPUT, THE WATER, WATER TEMP, EC AT 25 C, READS
            (TEMP), READS AT 25 C, ANALOGREAD, PROBE CELL, RANGE) and the last
            four events. The red X closes the panel; the PANEL button on the
            board opens it again.
  Advance   Pop-Up Panel: only the board on the schematic; at Run a TEP
            pop-up window opens - the look of the TEP Serial Monitor. Tabs
            Sensor, Event log and Tests; gear and ? icons for Settings and
            Help; the palette icon switches the theme:
              Sensor     the presets on the toolbar; THE WATER AT THE PROBE
                         (TDS -100 / -10 / +10 / +100, TEMP -5 / -1 / +1 /
                         +5, the actions, the ruler); WHAT THE BOARD GIVES
                         (the output, the reading with the water's
                         temperature, the reading at 25 C, EC); THE
                         CONVERSION as a curve with this moment's point; the
                         last 150 s of the water and the reading
              Event log  power, the readings, the water, notes and warnings
                         (filters, pause, clear)
              Tests      Output & conversion, Temperature & calibration,
                         Wiring & range (THE TEST TOOLS)
              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 board opens the window again.
Both devices use one model, TEPTDS.DLL.

TEST STATUS
V1.0: verified in Proteus 8.5 on 18 Oct 2026 (the demo project as shipped:
two Arduino UNO V4.0 boards with their built-in monitors; node 1 with the
Simple meter in tap water, 250 ppm at 25 C, cell factor 1.0; node 2 with
the Advance meter in a 707 ppm buffer at 20 C, cell factor 0.92).
What the run showed:
  * ARD1 from the third second: "#3  t=3 s  ADC 137  0.669 V  25.0 C  TDS
    249 ppm  EC 499 uS/cm" - 249 ppm for 250 ppm of water (one ADC step is
    about 2 ppm here).
  * ARD2 with the sketch at 25 C: 566 ppm for the 707 ppm buffer; TEMP 20 -
    652 ppm; CAL 707 - "K = 1.084 (the solution 707 ppm, the reading 652
    ppm with K 1)", then 704 - 707 ppm and EC 1408 - 1414 uS/cm.
  * Temperature & calibration on the buffer: a sketch at 25 C reads 567
    ppm, 13 % low; with the temperature 651 ppm; the probe reads 8 % low;
    K = 1.087. Output & conversion: 1.467 V, 1.630 V after the temperature
    step, 1296 uS/cm, 648 ppm; one ADC step 2.95 ppm.
  * TAP in U2's pop-up - 249 ppm; SALT - up to 346 ppm in about 5 s (the
    water 350 ppm); DILUTE - down to 179 ppm and on towards 175 ppm.
  * WARM with the sketch still at 20 C - the reading drifts from 231 to 241
    ppm for 175 ppm of water; TEMP 40 - 172 / 173 ppm.
  * SEA - the output stops at 2.300 V, "over the range", 786 - 788 ppm at
    40 C; the pop-up's banner red ("35000 ppm IS ABOVE THE RANGE ..."); the
    Wiring & range tool shows the range in red.
  * TAP and PROBE OUT - 0.005 V, 2 ppm, "probe in air?".
  * Node 1 with FILTER 0: single readings of 249 / 251 ppm (ADC 137 / 138);
    with the guarded real mouse on U1's STATUS panel: MINERAL - 420 ppm two
    reports later; DISTILLED - 2 ppm with "probe in air?" (a dry probe and
    distilled water look alike); SALT - 100 ppm; PROBE OUT - 0 ppm, the
    PROBE LED off, the water below the probe; the red X closed the panel,
    PANEL opened it again.
  * 137.1 s of simulation took 312 s, about 0.44 x real time with the
    pop-up and both monitors open.

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" (TEPTDS.LIB with the two
   parts, 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 TEPTDS.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 TEPTDS.IDX from the LIBRARY folder if it is there (Proteus makes a
   new index).
5. Start Proteus. In Pick Devices (P) search "TDS".

RUN THE DEMO
"Proteus Simulation\TDS-Meter-ArduinoUnoV4.pdsprj" - keep the .hex file and
the two DLLs beside the project.
  ARD1: Arduino UNO V4.0 + U1 = a TDS meter (Simple): tap water, 250 ppm at
        25 C, a probe with cell factor 1.0.
  ARD2: Arduino UNO V4.0 + U2 = a TDS meter (Advance): a 707 ppm buffer
        (1413 uS/cm) at 20 C, a probe with cell factor 0.92 (it reads 8 %
        low).
  Both UNOs run TDS_Water_Demo.hex and each has its serial monitor built in
  ("TEP Arduino UNO - ARD1" / "- ARD2"). A goes to A0 on both.
  1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does the
     pop-up of U2 (move it aside - it opens over the schematic).
  2. The sketch reads A0 every 40 ms, takes the median of the last 30
     readings each second and prints the ADC value, the voltage, the
     temperature it assumes, the TDS and EC. ARD1 shows about 250 ppm.
  3. ARD2 reads too little: the water is at 20 C, the sketch assumes 25 C.
     Type TEMP 20 - better, but still 8 % low (the probe). Type CAL 707 - the
     buffer is 707 ppm: the sketch works out K = 1.084 and reads 707 ppm.
  4. Change the water on U1's STATUS panel or in U2's pop-up (- / +, the
     presets, SALT, DILUTE, PROBE OUT, WARM). After WARM type TEMP 40.
  5. Type FILTER 0 in a monitor to see single readings (noisier), FILTER 1
     for the median again.
Closed a monitor window? Click the UNO's USB port.

WIRING
  TDS board pin   Arduino UNO
  +  (VCC)        5V (3.3 - 5.5 V; in Proteus a VCC terminal)
  -  (GND)        GND
  A               A0 (any analog input)
The board's A pin reaches its UNO through a net label - TDS_1 (node 1) and
TDS_2 (node 2): the same name = connected. VCC and GND are Proteus power
terminals. The serial monitor needs no wires: it is built into the Arduino
UNO V4.0.
  float v = analogRead(A0) * 5.0 / 1024.0;
  float c = v / (1.0 + 0.02 * (temp - 25.0));
  float tds = (133.42 * c * c * c - 255.86 * c * c + 857.39 * c) * 0.5;
REAL HARDWARE:
 * The output is 0 - 2.3 V: fine for a 5 V or a 3.3 V board's ADC.
 * Measure the water's temperature (a waterproof temperature probe) and give
   it to the conversion - conductivity changes about 2 % per C.
 * Calibrate each probe in a known solution (a 1413 uS/cm / 707 ppm buffer)
   at a known temperature; rinse the probe in distilled water between
   solutions.
 * Do not leave the probe in the water with a second probe (pH, another
   TDS) powered from the same supply - they disturb each other; measure one
   at a time or isolate the supplies.
 * The probe is waterproof, the board is not; keep it dry. The usual probe
   is rated up to about 55 C.

THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the model during the running simulation; each shows one
"Good for:" line and, where it judges, a verdict per row (green = fine, amber
= check, red = wrong, grey = only an explanation).
  Output & conversion
                Good for: a reading that is far off, a reading that jumps,
                choosing the filter, understanding the formula. The output
                and its analogRead value, the conversion step by step (the
                temperature, the conductivity, the TDS), the size of one ADC
                step here, the range.
  Temperature & calibration
                Good for: readings that drift as the water warms, two probes
                that disagree, calibrating with a 707 ppm buffer. The water,
                what a sketch at 25 C reads, the reading with the
                temperature, this probe's cell factor, what CAL does.
  Wiring & range
                Good for: always 0 ppm, a reading stuck near 1120 ppm, which
                pin to use, a 3.3 V board. The power, the A pin, the probe in
                air, the range.

THE DEMO SKETCH ON THE SERIAL MONITOR (TDS_Water_Demo V1.0)
  TEMP x            the water temperature in C (25 at the start)
  CAL x             the probe is in a solution of x ppm: K = x / the reading
                    with K 1 (e.g. CAL 707 for a 1413 uS/cm buffer)
  K x               set K by hand (1 at the start)
  FILTER 0 / 1      one reading instead of the median of 30, and back
  HELP              the command list
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter. The report line: "#N  t=.. s  ADC n  v V  T C  TDS x ppm  EC y
uS/cm", with "  - probe in air?" below 0.01 V and "  - over the range"
above 2.25 V.

EXPECTED MONITOR OUTPUT (the start)
ARD1 (tap water, 250 ppm at 25 C, cell factor 1.0):
  TEP TDS meter - demo V1.0
  The board's output on A0: a reading every 40 ms, the median of 30 each second, 25.0 C, K 1
  Commands: TEMP x (water C), CAL x (ppm of the solution), K x, FILTER 0 / 1, HELP
  #1  t=1 s  ADC 111  0.542 V  25.0 C  TDS 205 ppm  EC 411 uS/cm
  #2  t=2 s  ADC 134  0.654 V  25.0 C  TDS 244 ppm  EC 489 uS/cm
  #3  t=3 s  ADC 137  0.669 V  25.0 C  TDS 249 ppm  EC 499 uS/cm
(the first reports are low: the median still holds readings from power-on)
ARD2 (a 707 ppm buffer at 20 C, a probe that reads 8 % low), TEMP 20 and
CAL 707:
  #5  t=5 s  ADC 301  1.470 V  25.0 C  TDS 566 ppm  EC 1131 uS/cm
  TEMP 20
  water temperature: 20.0 C
  #11  t=11 s  ADC 302  1.475 V  20.0 C  TDS 652 ppm  EC 1305 uS/cm
  CAL 707
  K = 1.084 (the solution 707 ppm, the reading 652 ppm with K 1)
  #16  t=16 s  ADC 302  1.475 V  20.0 C  TDS 707 ppm  EC 1414 uS/cm

PROPERTIES (double-click the part > Edit Properties)
  TDS          the water's TDS at the start in ppm at 25 C (default 250)
  TEMP         the water's temperature at the start in C (default 25)
  CELL         the probe's cell factor (default 1.0 = the conversion; 0.92
               reads 8 % low, 1.05 reads 5 % high)
  PANEL        Simple only: the STATUS panel at the start, OPEN or CLOSED
Every run starts again from the properties.
The demo's UNOs (ARDUINO UNO V4.0): PROGRAM TDS_Water_Demo.hex, MONITOR YES
(the built-in monitor), BAUD 9600, AUTOOPEN YES, BOOTLOADER YES.

LINKS.INI (OPTIONAL)
The Help page cards of the Advance device open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPTDS.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
* Always about 0 ppm: the probe is in air (PROBE OUT), not in the socket, or
  in distilled water; no power on + / -; the sketch reads another pin.
* A reading stuck near 1120 ppm (2.3 V): the water is above the range (SEA)
  - the probe cannot tell more.
* Readings too high in warm water and too low in cold water: the sketch's
  temperature (TEMP x) is not the water's.
* Two probes disagree by a few percent: their cell factors differ -
  calibrate each with CAL in a known solution.
* Readings that jump by a few ppm: the noise - keep the median filter on
  (FILTER 1).
* The parts are not simulated: TEPTDS.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.
* Advance: the pop-up does not appear - click OPEN PANEL on the board, or
  turn "Open the panel at Run" on its Settings page back on.

BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and (Advance) the Copy diagnostics text:
  https://www.theengineeringprojects.com/forum/category/tds-meter-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 TDS meter model (TEPTDS.DLL), the symbols and artwork 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 model is
  an independent implementation written from the board maker's published
  data (the pins, the output range, the supply, the conversion and its
  temperature factor). The model uses 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 demo sketch uses no library - none is needed (our own code: the
  median filter, the published conversion).
* 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
  The demo sketch's source is in "Arduino Code", so the .hex can be rebuilt
  with other versions of the core (REBUILDING THE FIRMWARE).
* "TDS Meter V1.0" is the board maker's name for the board. 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 the
  board's maker or by 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\TDS_Water_Demo\TDS_Water_Demo.ino in the
Arduino IDE, select Arduino Uno and use Sketch > Export Compiled Binary.
Replace the simulation's .hex with the exported HEX.
The sketch needs 8,312 bytes of flash and 354 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the output for the water (the published conversion and its 2 %
per C), the 2.3 V top, the probe in air, the probe's cell factor, the
output's lag and noise, the supply (3.3 - 5.5 V, about 4.5 mA, a warning
below 3.3 V), power on / off, the water (TDS, temperature, the presets and
actions).
How the part works with the circuit: VCC and GND power the board (on or
off, its current); A is a voltage source behind 1 kohm.
Not modelled: the AC excitation itself and the electrode polarisation, the
probe's fouling and ageing, bubbles on the electrodes, two probes in the
same water, the water's kind of salt (the conversion assumes the usual 0.5
factor), the supply voltage's effect on the output, temperatures above 55
C. The model's own choices: the cell factor (CELL), the lag (0.4 s), the
mixing of SALT and DILUTE (1.5 s), the warming of WARM (8 s), the noise (3
mV, a new value every 20 ms), the output in air (2 mV), the presets' values.

VERSION
TEP TDS Meter library V1.0 (Oct 2026). Devices TDSMETERTEP / TDSMETERADVTEP
(TEPTDS.LIB / TEPTDS.DLL). Demo sketch TDS_Water_Demo V1.0 (A0, the median
of 30 readings, no library). Demo board: ARDUINO UNO V4.0 (TEP Arduino
Library V4.0) with its built-in serial monitor.
Advertisement

Development1 release

  1. V1.0TDS Meter 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 tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (TDS-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

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

  7. 7

    Open the example simulation

    Open TDS-Meter-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

    TDS Meter Library for Proteus V1.0: TDS Sensor with Arduino 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 TDS Meter 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?

TDS Meter Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.2 MB, 2.7 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, c79abc05a94ff876c8b735c78b18da1c7546c292da23809d03159f2920c359ea. In PowerShell run Get-FileHash "tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.zip"; on macOS or Linux run shasum -a 256 "tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.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 · tds-tep-v1-0-e700a996ffcb4406a36950298d34d463.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 20Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 17 Oct 2026Uploaded at
Last 14 days11 downloads
SHA-256 c79abc05a94ff876c8b735c78b18da1c7546c292da23809d03159f2920c359ea
DocumentationTDS Meter Library for Proteus V1.0: TDS Sensor with Arduino
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.