Project Files of Dissolved Oxygen Sensor Library for Proteus Simulation
94c21aa5fe224d3b9b9981ccae3b8877.zip

Dissolved Oxygen Sensor Library for Proteus V1.0
Dissolved Oxygen Sensor Library for Proteus V1.0 comes as a ZIP archive of 25 files (2.9 MB, 6.3 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
Dissolved-Oxygen-Sensor-Library-for-Proteus-v1.0.zip with the dissolved oxygen sensor for Proteus simulation (TEPDOSENSOR.LIB and TEPDOSENSOR.DLL), our DS18B20, I2C LCD, resistors, LEDs and active buzzer, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
5.9 KB201.9 KB9.9 KB15.5 KB88 KB181.4 KB21.8 KB306.9 KB883.5 KB276 KB305.5 KB305 KB409 KB289.5 KB311 KB29.8 KB41.1 KB883.5 KB276 KB305.5 KB305 KB409 KB289.5 KB311 KB14.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Dissolved Oxygen Sensor Library for Proteus Simulation. Open an image for its full size.
README
DISSOLVED OXYGEN SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (an analog DO kit, 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/12/dissolved-oxygen-sensor-library-for-proteus.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
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
Dissolved-Oxygen-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPBUZZER.LIB 9.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPDOSENSOR.LIB 15.5 KB the library -> LIBRARY folder
| |-- TEPDS18B20.LIB 88.0 KB a part the demo uses -> LIBRARY folder
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> 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
| |-- TEPBUZZER.DLL 276.0 KB its model -> MODELS folder
| |-- TEPDOSENSOR.DLL 305.5 KB the model -> MODELS folder
| |-- TEPDS18B20.DLL 305.0 KB its model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB its model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- DO_Demo.hex 41.1 KB the demo firmware
| |-- DO-Fish-Pond-ArduinoUnoV4.pdsprj 29.8 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBUZZER.DLL 276.0 KB copy of its model
| |-- TEPDOSENSOR.DLL 305.5 KB copy of the model
| |-- TEPDS18B20.DLL 305.0 KB copy of its model
| |-- TEPLCD.DLL 409.0 KB copy of its model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- DO_Demo/DO_Demo.ino 5.9 KB the demo sketch (source of the .hex)
|-- README.txt ~14.9 KB this file
Total: 6.32 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common analog dissolved oxygen kit's signal board, drawn from the top at its real size (42 x 32
mm): the BNC socket with the galvanic
probe's cable plugged in, the amplifier, the passives, a power LED and the 3-pin connector A + -.
The drawing is our own; the model
follows the kit's documents and example code and the standard oxygen solubility of fresh water:
* A galvanic probe (a membrane cap filled with 0.5 mol/L NaOH, a platinum cathode, a lead anode):
no polarising time, 0 - 20 mg/L,
0 - 40 C, 98 % of the response in 90 s at 25 C. The board: 3.3 - 5.5 V, 0 - 3.0 V out, about 0 V
without oxygen.
* The probe's current follows the oxygen PARTIAL PRESSURE - the fraction of saturation - and grows
as the membrane warms.
* The kit's conversion: DO = V x DO_Table[T] / Vsat(T), Vsat(T) = CAL_V + 35 mV x (T - CAL_T),
with CAL_V the board's output in
air-saturated water at CAL_T (about 1.6 V at 25 C, different for each probe) and DO_Table the
saturation in mg/L for 0 - 40 C.
* So the sketch needs the water temperature: the demo uses our DS18B20 waterproof probe in the
same water.
* The water: PROFILE DEMO is a recorded fish pond in fast time (evening, the night's fall, the
aerator, daylight above 100 %); STEADY
uses DO; TEMP is the water temperature. At Run the power LED lights.
* Click the board for the pop-up: the oxygen against the fish limits and the saturation, the
signal with the formulas and what an UNO
reads; 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 "DOSENSOR" or "oxygen" in Pick Devices):
DOSENSORTEP "Dissolved Oxygen Sensor V1.0" in TEPDOSENSOR.LIB (Modules > Sensors), prefix U,
model TEPDOSENSOR.DLL (analog).
Pins: A + - (signal, 3.3 - 5.5 V, GND).
The demo also uses our DS18B20 waterproof probe (DS18B20PROBEADVTEP in TEPDS18B20.LIB /
TEPDS18B20.DLL), I2C LCD 16x2 (TEPI2CLCD16X2 /
TEPLCD), resistors (TEPRESISTOR), 5 mm LEDs (TEPLED5MM) and our active buzzer (TEPBUZZER).
THE POP-UP
Click the part at Run. Tabs:
DO Sensor The oxygen in mg/L with the saturation, a bar 0 - 16 mg/L with the fish limits and
the 100 % mark, the pond's stage, the
lowest and highest; the signal: A on 0 - 5 V, Vsat at this temperature, the formulas
with the numbers and what an UNO
reads, the top of the 3.0 V range in mg/L; tiles: DO, saturation, A, the water,
Vsat, the supply, the response, the times
below 3 mg/L. Chips: Pond demo, 100 % (calibrate), 0, 2 and 16 mg/L.
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 24 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 11.4 simulated seconds in about 2 minutes 50
seconds on our PC with the pop-up open
and the pictures being taken. The DO board on A0, the DS18B20 probe on D2 read without blocking
(26.0 C).
* Evening: 2.06 s 1411 mV = 1411 x 8110 / 1635 = 7.00 mg/L, 86 %; the pop-up at 1.0 s 7.47 mg/L,
92 % (saturation 8.11 mg/L at 26 C).
* Night: 4.06 s 977 mV, 4.84 mg/L, 60 % (pop-up 4.66 mg/L LOW); "aerator ON at 3.80 mg/L" 5.06 s.
* "LOW OXYGEN - the fish are stressed" 6.06 s, 581 mV, 2.88 mg/L, 36 % (red LED, buzzer, LCD "LOW
O2!"); pop-up at 6.2 s 2.70 mg/L.
* "oxygen above 3 mg/L again" 6.81 s; 8.07 s 6.30 mg/L; "aerator OFF at 6.54 mg/L" 8.32 s.
* Daylight: 10.07 s 1841 mV, 9.13 mg/L, 113 %; the pop-up at 11.4 s 11.50 mg/L, 142 %, A 2.285 V
(the 3.0 V top = 14.9 mg/L).
* The pop-up (DO Sensor, 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" (TEPDOSENSOR.LIB, TEPDS18B20.LIB, TEPI2CLCD16X2.LIB,
TEPRESISTOR.LIB, TEPLED5MM.LIB, TEPBUZZER.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 TEPDOSENSOR.DLL, TEPDS18B20.DLL, TEPLCD.DLL, TEPRESISTOR.DLL, TEPLED5MM.DLL, TEPBUZZER.DLL
and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder (...\Proteus 8
Professional\MODELS).
4. Delete TEPDOSENSOR.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "DOSENSOR".
RUN THE DEMO
"Proteus Simulation\DO-Fish-Pond-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the
DLLs beside the project.
ARD1: Arduino UNO V4.0 running DO_Demo.hex (window "TEP Arduino UNO - ARD1"): A0 = the DO
board, D2 = the DS18B20 (1-Wire),
A4 / A5 = the LCD, D5 = the aerator LED, D6 = the low-oxygen LED, D8 = the buzzer.
U1: the DO board with the DEMO fish pond, the water at 26 C.
U2 / R1: our DS18B20 waterproof probe in the same water (26 C) with its 4.7 k pull-up.
LCD1: a 16x2 LCD on its I2C backpack at 0x27: DO, the temperature, the saturation and the
state.
D1 / D2: green = the aerator (on below 4 mg/L, off at 6.5 mg/L), red = below 3 mg/L, through R2 /
R3 (220 ohm). BZ1: our buzzer.
The calibration in the sketch (1600 mV at 25 C) matches the probe's VSAT. The DEMO is a recorded
run in fast time: the aerator output
does not drive the simulated oxygen.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
+ to 5 V (or 3.3 V), - to GND, A to an analog input (A0). Put a waterproof temperature sensor in
the same water.
REAL HARDWARE:
* Fill the membrane cap 2/3 with 0.5 mol/L NaOH (gloves), screw it on upright without bubbles;
refill monthly.
* Calibrate in air-saturated water (stirred for 10 minutes) or in damp still air, and write down
the mV and the temperature.
* Keep the water moving gently past the membrane: the probe uses up oxygen right at the membrane.
* Change the membrane cap every 1 - 2 months in muddy water, 4 - 5 months in clean water; the
electrodes last about a year.
* Never above 40 C. The probe is for fresh water: salt water holds less oxygen (about 20 % less in
sea water).
THE DEMO SKETCH ON THE SERIAL MONITOR (DO_Demo V1.0, 9600 baud)
DO_Demo prints the start-up, then a line every 2 s and each aerator and alarm change. EXPECTED
MONITOR OUTPUT (shortened)
Fish pond: DO probe on A0, DS18B20 on D2, aerator D5, alarm D6, buzzer D8, LCD 0x27
DS18B20 found: 1; calibration: 1600 mV in saturated water at 25 C
... s 26.0 C ... mV DO ... mg/L ... % sat
PROPERTIES (double-click the part > Edit Properties)
PROFILE DEMO (the fish pond) or STEADY (DO). Default DEMO.
DO For STEADY: the dissolved oxygen, mg/L. Default 7.
TEMP The water temperature, C (0 - 40). Default 26 - keep it equal to the DS18B20's
TEMPERATURE.
VSAT The board's output in air-saturated water at 25 C, mV. Default 1600.
RESPONSE The response time constant, s. Default 0.3 (fast time; a real probe: about 23 s).
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 TEPDOSENSOR.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
* The reading is far too high or too low: calibrate - VSAT must match the sketch's CAL1_V.
* The reading changes with the temperature: the sketch is not getting the water temperature (the
DS18B20).
* The reading stops at about 14 - 15 mg/L: the board's 3.0 V top - with a 1.6 V calibration that is
near 15 mg/L.
* The reading is near 0 in clean water: no electrolyte, a dead membrane, or no supply on +.
* The part is not simulated: TEPDOSENSOR.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPDOSENSOR.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/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 model (TEPDOSENSOR.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\DO_Demo\DO_Demo.ino, select Arduino Uno and use Sketch > Export Compiled Binary.
Replace the simulation's .hex with the exported HEX. The sketch needs 14,952 bytes of flash and 666
bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the board's 0 - 3.0 V output proportional to the fraction of saturation, the membrane's 35
mV per C (the kit's constant), the
saturation of fresh water from the standard equation, the response time, the 3.0 V top, the DEMO
pond or a steady oxygen.
Our figures: VSAT 1600 mV at 25 C, a 100 ohm output, 5 mA, RESPONSE 0.3 s (fast time), the DEMO's
curve.
Not modelled: salinity and air pressure, the flow dependence, the membrane ageing, a closed loop
with the aerator (the DEMO is recorded).
VERSION
TEP Dissolved Oxygen Sensor library V1.0 (Nov 2026). Device DOSENSORTEP (TEPDOSENSOR.LIB /
TEPDOSENSOR.DLL). Demo sketch DO_Demo V1.0 (Wire, OneWire, DallasTemperature). Demo board: ARDUINO
UNO V4.0 (TEP Arduino Library V4.0) with its built-in serial monitor; our DS18B20, I2C LCD 16x2,
resistor, 5 mm LED and active buzzer libraries.Development1 release
-
V1.0Dissolved Oxygen Sensor Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click 94c21aa5fe224d3b9b9981ccae3b8877.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Dissolved-Oxygen-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPBUZZER.LIB and TEPDOSENSOR.LIB and 4 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
Add the simulation model
Copy TEPARDUINO.DLL, TEPBUZZER.DLL and TEPDOSENSOR.DLL and 4 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open DO_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to DO_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open DO-Fish-Pond-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
Dissolved Oxygen Sensor Library for Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download Dissolved Oxygen Sensor 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?
Dissolved Oxygen Sensor Library for Proteus V1.0 comes as a ZIP archive of 25 files (2.9 MB, 6.3 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 25 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, 6696a380f33da99732bcb5847cfa1fdedacbc1df8556029cbac6e9b766a4962f. In PowerShell run Get-FileHash "94c21aa5fe224d3b9b9981ccae3b8877.zip"; on macOS or Linux run shasum -a 256 "94c21aa5fe224d3b9b9981ccae3b8877.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 4 Dec 2026Uploaded at
6696a380f33da99732bcb5847cfa1fdedacbc1df8556029cbac6e9b766a4962f



























Comments
0