Project Files of Voltage Sensor 0-25V Library for Proteus Simulation
613d58992ae8484db6d710e97b9962f5.zip

Voltage Sensor 0-25V Library for Proteus V1.0
Voltage Sensor 0-25V Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.1 MB, 4.5 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
Voltage-Sensor-0-25V-Library-for-Proteus-v1.0.zip with the 0-25 V voltage sensor for Proteus simulation (TEPVSENSE25.LIB and TEPVSENSE25.DLL), our 18650 cells, IRLZ44N MOSFET and power resistors, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
2.1 KB201.9 KB11.9 KB17.9 KB157.2 KB12.7 KB319.5 KB883.5 KB295 KB304.5 KB296.5 KB319.5 KB883.5 KB295 KB304.5 KB296.5 KB23.4 KB14.2 KB11.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Voltage Sensor 0-25V Library for Proteus Simulation. Open an image for its full size.












README
VOLTAGE SENSOR 0-25V LIBRARY FOR PROTEUS SIMULATION - V1.0 (a divider module that reads a battery, 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/voltage-sensor-0-25v-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/motor-driver-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
Voltage-Sensor-0-25V-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEP18650.LIB 11.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPPOWERRES.LIB 157.2 KB a part the demo uses -> LIBRARY folder
| |-- TEPVSENSE25.LIB 12.7 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEP18650.DLL 319.5 KB its model -> MODELS folder
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB its model -> MODELS folder
| |-- TEPPOWERRES.DLL 304.5 KB its model -> MODELS folder
| |-- TEPVSENSE25.DLL 296.5 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- TEP18650.DLL 319.5 KB copy of its model
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPNMOS.DLL 295.0 KB copy of its model
| |-- TEPPOWERRES.DLL 304.5 KB copy of its model
| |-- TEPVSENSE25.DLL 296.5 KB copy of the model
| |-- Voltage-Sensor-3S-Pack-Cutoff-ArduinoUnoV4.pdsprj 23.4 KB the demo project
| |-- VSensor_Demo.hex 14.2 KB the demo firmware
|-- Arduino Code/
| |-- VSensor_Demo/VSensor_Demo.ino 2.1 KB the demo sketch (source of the .hex)
|-- README.txt ~12.5 KB this file
Total: 4.54 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common 0-25 V voltage sensor module, drawn from the top at its real size: the 26 x 14 mm red
board, the blue screw terminal for the voltage
to measure (VCC, GND), the 30 k and 7.5 k resistors, the 3-pin header (S, +, -). The drawing is our
own; the circuit is the board's:
* VCC -> 30 kohm -> S -> 7.5 kohm -> GND: S is the input divided by 5, so 0 - 25 V fits a 5 V ADC
and 0 - 16.5 V a 3.3 V one.
* GND and - are the same copper; + is not connected on the board (as on the real module).
* The module takes 37.5 kohm from what it measures (0.33 mA at 12.6 V) and its S pin has 6 kohm
behind it.
* Click the part for the pop-up: the divider with its voltages, what a 10-bit ADC reads at 5 V and
at 3.3 V, the trend of the input,
the value a sketch would print; 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 "voltage sensor" or "0-25V" in Pick Devices):
VSENSOR25VTEP "Voltage Sensor 0-25V V1.0" in TEPVSENSE25.LIB (Modules > Sensors), prefix U, model
TEPVSENSE25.DLL (analog).
Pins: VCC GND (left, the voltage to measure), S + - (right; + not connected).
The demo also uses our 18650 cells (LIION18650TEP, TEP18650), our IRLZ44N MOSFET (TEPNMOS) and a 5
W power resistor (TEPPOWERRES).
THE POP-UP
Click the part at Run. Tabs:
Sensor The divider with the input, S and the current; what a 10-bit ADC reads (5 V and 3.3
V references) and the input's trend;
tiles: the input, S, the ratio, analogRead() at 5 V, the value a sketch would print,
one step, the current, the range seen.
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 5.4 simulated seconds in about two minutes on
our PC with the pop-up open and the
pictures being taken.
* At 1.0 s, the 3S pack under the 33 ohm load: 11.261 V in, S 2.2521 V (the input / 5.00),
analogRead() 461 on a 5 V board (698 on a
3.3 V board); the divider took 0.300 mA. The sketch printed 11.22 V (3.74 V a cell).
* At 3.8 s, the end of the discharge: 9.503 V in, S 1.9004 V, 389 - the knee of the curve.
* The sketch's guard (every 10 ms) switched the load off at 8.99 V; the pack rested at 9.43 - 9.46
V (3.14 V a cell); at 4.7 s 9.436 V,
S 1.8871 V, 386.
* Over the run the input stayed within 9.04 - 11.52 V; the module never drew more than 0.31 mA.
* The pop-up (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" (TEPVSENSE25.LIB, TEP18650.LIB, TEPNMOS.LIB,
TEPPOWERRES.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 TEPVSENSE25.DLL, TEP18650.DLL, TEPNMOS.DLL, TEPPOWERRES.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPVSENSE25.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "voltage sensor".
RUN THE DEMO
"Proteus Simulation\Voltage-Sensor-3S-Pack-Cutoff-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex
file and the DLLs beside the project.
BAT1-3: three of our 18650 cells in series (SOC 50 %, SPEED 3600: an hour of discharge each
simulated second) - a 3S pack.
U1: the 0-25 V sensor: VCC on the pack's +, GND to the ground, S on A0, - to the ground.
ARD1: Arduino UNO V4.0 running VSensor_Demo.hex (window "TEP Arduino UNO - ARD1").
R1, Q1: a 33 ohm 5 W load on the pack, switched by our IRLZ44N on D7.
The sketch checks the pack every 10 ms, switches the load off at 9.0 V (3.0 V a cell) and prints
the pack four times a second.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VCC / GND across the voltage to measure (0 - 25 V, + to VCC), S to an analog pin, - to the board's
GND. The board's GND and the voltage's
minus must be the same ground. Voltage = analogRead() x 5.0 / 1023 x 5 on a 5 V board.
REAL HARDWARE:
* 25 V is the limit on a 5 V board, 16.5 V on a 3.3 V board: more puts S over the pin's supply.
* The measured voltage's minus and the Arduino's GND must be joined - the divider measures against
GND.
* The divider never stops drawing: 0.33 mA at 12.6 V, about 8 mAh a day from a battery.
* The resistors' tolerance (1 - 5 %) sets the accuracy: calibrate against a meter for anything
precise.
THE DEMO SKETCH ON THE SERIAL MONITOR (VSensor_Demo V1.0, 9600 baud)
VSensor_Demo prints the pack and the voltage per cell. EXPECTED MONITOR OUTPUT
3S pack monitor: 0-25 V sensor on A0, cut-off at 9.0 V
Load on (33 ohm)
PROPERTIES (double-click the part > Edit Properties)
(none - the module's divider is fixed: 30 k / 7.5 k)
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 TEPVSENSE25.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 0: S not on the analog pin, or the grounds not joined.
* The reading is too high or stuck at 1023: the input is over 25 V (over 16.5 V on a 3.3 V board).
* The reading is noisy on a real board: average a few readings, as the demo does.
* The part is not simulated: TEPVSENSE25.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPVSENSE25.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/motor-driver-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 (TEPVSENSE25.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\VSensor_Demo\VSensor_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 5,172 bytes of flash
and 226 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the 30 k / 7.5 k divider in the circuit (its load on the source, its 6 kohm output), the
ADC codes at 5 V and 3.3 V, the
over-range and the reversed input reported.
Not modelled: the resistors' tolerance and temperature drift (exact 30 k / 7.5 k), the ADC's own
error.
VERSION
TEP Voltage Sensor 0-25V library V1.0 (Nov 2026). Device VSENSOR25VTEP (TEPVSENSE25.LIB /
TEPVSENSE25.DLL). Demo sketch VSensor_Demo V1.0 (no library). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our 18650 cells, IRLZ44N MOSFET and power
resistors V1.0.Development1 release
-
V1.0Voltage Sensor 0-25V 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 613d58992ae8484db6d710e97b9962f5.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Voltage-Sensor-0-25V-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEP18650.LIB and TEPNMOS.LIB and 2 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 TEP18650.DLL, TEPARDUINO.DLL and TEPNMOS.DLL and 2 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 VSensor_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 VSensor_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open Voltage-Sensor-3S-Pack-Cutoff-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
Voltage Sensor 0-25V 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 Voltage Sensor 0-25V 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?
Voltage Sensor 0-25V Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.1 MB, 4.5 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 19 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, b9e543b3915e57cf80139e8de1b7a57932a9facba6aa085f993f49bdae500303. In PowerShell run Get-FileHash "613d58992ae8484db6d710e97b9962f5.zip"; on macOS or Linux run shasum -a 256 "613d58992ae8484db6d710e97b9962f5.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
- 30 Nov 2026Uploaded at
b9e543b3915e57cf80139e8de1b7a57932a9facba6aa085f993f49bdae500303
















Comments
0