Project Files of ACS712 Current Sensor Library for Proteus Simulation
180626176e9445509c74692a125f6bb7.zip

ACS712 Current Sensor Library for Proteus V1.0
ACS712 Current Sensor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 5.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
ACS712-Current-Sensor-Library-for-Proteus-v1.0.zip with the ACS712 current sensor for Proteus simulation (TEPACS712.LIB and TEPACS712.DLL), our OLED, filament bulb, N-MOSFET and resistor libraries, our Arduino UNO V4.0, the A4 demo with its sketch and a README.
File Structure
8 KB201.9 KB15.8 KB17.7 KB17.9 KB112.4 KB306.9 KB318 KB883.5 KB291 KB295 KB342.5 KB311 KB27 KB28.8 KB318 KB883.5 KB291 KB295 KB342.5 KB311 KB15.2 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in ACS712 Current Sensor Library for Proteus Simulation. Open an image for its full size.












README
ACS712 CURRENT SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a Hall-effect current sensor in your circuit, 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/acs712-current-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/ina128-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 readings are drawn on our SSD1306 OLED (in this zip; its article):
https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
ACS712-Current-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPACS712.LIB 15.8 KB the library -> LIBRARY folder
| |-- TEPBULB.LIB 17.7 KB a part the demo uses -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPOLED12864.LIB 112.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPACS712.DLL 318.0 KB the model -> MODELS folder
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPBULB.DLL 291.0 KB its model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB its model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
|-- Proteus Simulation/
| |-- ACS712_Demo.hex 28.8 KB the demo firmware
| |-- ACS712-Current-ArduinoUnoV4.pdsprj 27.0 KB the demo project
| |-- TEPACS712.DLL 318.0 KB copy of the model
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBULB.DLL 291.0 KB copy of its model
| |-- TEPNMOS.DLL 295.0 KB copy of its model
| |-- TEPOLED.DLL 342.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
|-- Arduino Code/
| |-- ACS712_Demo/ACS712_Demo.ino 8.0 KB the demo sketch (source of the .hex)
|-- README.txt ~15.5 KB this file
Total: 5.50 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
An ACS712 Hall-effect current sensor module, drawn at its real size (31 x 13 mm) from above: the red
board, the blue 2-pole screw
terminal (IP+, IP-), the wide copper path into the ACS712 (SOIC-8), the filter capacitor, a PWR LED
and the 3-pin header VCC, OUT, GND.
The module is our own drawing (no maker's mark); the behaviour follows the maker's datasheet:
* The current flows through a copper conductor inside the package - IP+ to IP-, 1.2 mOhm - and a
Hall IC beside it feels its
magnetic field. The current path is isolated from VCC, OUT and GND.
* IN THE SIMULATION THE CONDUCTOR IS PART OF YOUR CIRCUIT: put the module in series with a load,
and it measures the current your
circuit really drives through it - DC, switching, inrush, reversed.
* OUT is ratiometric: VCC / 2 with no current, plus 185 mV per A (the 5 A chip, ACS712ELCTR-05B),
100 mV per A (20 A) or 66 mV per
A (30 A) at VCC = 5 V; current from IP+ to IP- raises OUT, the other way lowers it. The output
stays 0.25 V inside the rails.
* A real part's zero is a little off VCC / 2 (the OFFSET property, 8 mV here) and its output
carries noise (about 21 mV peak to
peak on the 5 A chip): measure the zero in your sketch and average your readings, as the demo
does.
* On the sheet the module comes alive at Run: PWR lights with the supply, the copper path glows
with the current and dots run along
it in the current's direction, and the Hall element lights orange (or blue for reversed
current). Click it at Run for the pop-up:
inside the chip (the copper, the field, the Hall element, OUT), the current and OUT over the
run, the readings and the chip
versions; 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 "ACS712" or "current" in Pick Devices):
CURRENTACS712TEP "ACS712 Current Sensor V1.0" in TEPACS712.LIB (Sensors > Current), prefix U,
model TEPACS712.DLL (analog).
Two pins on the left (the screw terminal): IP+, IP-. Three on the right (the header):
VCC (4.5 - 5.5 V), OUT, GND.
THE POP-UP
Click the part at Run. Tabs:
Current Sensor chips: 5 A chip (185 mV/A), 20 A chip (100 mV/A), 30 A chip (66 mV/A) - the
version, changed at run time.
Inside the ACS712: the copper carrying the current (its arrows move), the field
around the Hall element, the
amplifier and OUT; the current and OUT over the run; eight tiles: the current, OUT,
OUT - VCC/2, the sensitivity,
the peak current, the conductor (drop and heat), VCC with the zero, and the charge
that has passed.
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 20 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 13.5 simulated seconds in 165 s on our PC
with the pop-up open and the
pictures being taken.
* The zero, both bulbs off: 513.6 counts = 2.510 V (the part's zero is VCC/2 + 8 mV = 2.508 V); NO
LOAD reads 0.000 A.
* LOAD 1 (the 5 W bulb, at 3.4 s): a switch-on peak of 5.75 A (the cold filament; the sketch's
short readings caught 3.79 A),
then 0.4165 A - 5.0 W at 12 V; OUT 2.585 V; the monitor: 0.410 A, 4.9 W.
* LOAD 2 (the 21 W bulb, at 6.4 s): a switch-on peak of 24.77 A - beyond the 5 A chip, OUT at its
4.75 V limit, so the sketch
saw 12.15 A of it - then 1.747 A; the monitor: 1.756 A, 21.1 W.
* Both (at 9.4 s): 2.164 A, OUT 2.908 V; the monitor: 2.166 A, 26.0 W, a peak of 5.92 A. Off again
at 12.4 s: 0.000 A, OUT back
at 2.508 V; 0.0352 Wh counted, 3.68 mAh through the conductor.
* The model logged the over-range peaks and the output's limit as warnings; the pop-up (Current
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" (TEPACS712.LIB, TEPOLED12864.LIB, TEPBULB.LIB,
TEPNMOS.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 TEPACS712.DLL, TEPOLED.DLL, TEPBULB.DLL, TEPNMOS.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL
from "Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPACS712.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "ACS712".
RUN THE DEMO
"Proteus Simulation\ACS712-Current-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the
DLLs beside the project.
A 12 V load monitor:
ARD1: Arduino UNO V4.0 running ACS712_Demo.hex, its serial monitor built in (window "TEP Arduino
UNO - ARD1").
U1: the ACS712 module, RANGE 5A, OFFSET 8: IP+ on a +12V terminal, IP- to the loads (the net
LOAD); VCC, OUT on A0, GND.
L1, L2: a 12 V 5 W bulb (W5W) and a 12 V 21 W bulb (P21W) from our Filament Bulb library, each
switched on its low side by an
IRLZ44N (Q1 on D9, Q2 on D10, through 220 ohm) from our N-MOSFET library.
OLED1: our SSD1306 OLED, 128 x 64, yellow and blue (0x3C, I2C on A4 / A5): the loads, the current
in big digits, the power,
the switch-on peak and the energy, with a 0 - 5 A bar.
The sketch measures the zero at start (both loads off), then switches NO LOAD, LOAD 1,
LOAD 2 and LOAD 1 + 2 for three
seconds each. The current = (reading - zero) x 5 V / 1023 / 0.185 V per A, averaged over
100 readings; the power = 12 V x
the current; short readings catch the bulbs' switch-on peak; the energy adds up.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
The current: in series with the load - from the supply into IP+, out of IP- to the load (reversed,
OUT goes below VCC/2).
VCC to 5 V, GND to ground, OUT to an analog input (A0 here). Read it against the same 5 V (the
output is ratiometric).
REAL HARDWARE:
* Mind the voltage on the current path and the terminal's rating: the ACS712 isolates it, but wire
mains only with proper care.
* The 5 A chip gives 185 mV per A: on a 10-bit UNO one step is about 26 mA - average many readings,
or use an amplifier / a
better ADC for small currents.
* The zero drifts a little with temperature: measure it with no current flowing, not once in your
code for ever.
* Keep magnets and heavy current wires away from the chip: it measures any field, not only the
current's.
THE DEMO SKETCH ON THE SERIAL MONITOR (ACS712_Demo V1.0, 9600 baud)
The sketch prints the zero and a line for each load after it has settled. EXPECTED MONITOR OUTPUT
ACS712 12 V load monitor - The Engineering Projects
Zero: ...... counts = 2.5.. V
NO LOAD: 0.0.. A, 0.. W, peak .... A, energy ...... Wh
LOAD 1 5W: 0.4.. A, 5.. W, peak .... A, energy ...... Wh
PROPERTIES (double-click the part > Edit Properties)
The chip (RANGE) 5A (185 mV/A), 20A (100 mV/A) or 30A (66 mV/A) (5A)
The zero's error (OFFSET) -40 - 40 mV: OUT - VCC/2 with no current (8)
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 TEPACS712.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 current reads negative: IP+ and IP- are swapped - the current must go in at IP+.
* It reads a small current with nothing on: the zero is not VCC/2 exactly - measure it at start with
no current.
* The readings jump: average more readings (the noise is about 21 mV p-p on the 5 A chip).
* Wrong by a factor: the sketch's sensitivity does not match the chip (185 / 100 / 66 mV per A).
* The part is not simulated: TEPACS712.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPACS712.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/ina128-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 (TEPACS712.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\ACS712_Demo\ACS712_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 10,414 bytes of flash
and 544 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the conductor between IP+ and IP- in your circuit (1.2 mOhm), the ratiometric output with
the three chips' sensitivities,
the sign of the current, the output's limits, the zero offset, the noise, the supply current; the
version chips. Our choices: the
offset (OFFSET), the noise as a gaussian of a sixth of the datasheet's p-p figure, a 2 us output
filter (the real part: 80 kHz), the
output through 10 ohm. Not modelled: the temperature drift of the zero and the sensitivity, the
nonlinearity (about 1.5 %), stray
magnetic fields, the isolation's limits and the FILTER pin.
VERSION
TEP ACS712 Current Sensor library V1.0 (Nov 2026). Device CURRENTACS712TEP (TEPACS712.LIB /
TEPACS712.DLL). Demo sketch ACS712_Demo V1.0 (no library: analogRead and plain Wire for the OLED).
The demo also uses our SSD1306 OLED library (TEPOLED12864: OLED12864YELLOWBLUEADVTEP, TEPOLED.DLL),
our Filament Bulb library (TEPBULB), our N-MOSFET library (TEPNMOS) 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.Development1 release
-
V1.0ACS712 Current 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 180626176e9445509c74692a125f6bb7.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ACS712-Current-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPACS712.LIB and TEPBULB.LIB and 3 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 TEPACS712.DLL, TEPARDUINO.DLL and TEPBULB.DLL and 3 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 ACS712_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 ACS712_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ACS712-Current-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
ACS712 Current 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 ACS712 Current 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?
ACS712 Current Sensor Library for Proteus V1.0 comes as a ZIP archive of 22 files (2.5 MB, 5.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 22 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, bacc1e853afb0f241fecdf1328283fec3556fd8aec797519d821cf2767f19324. In PowerShell run Get-FileHash "180626176e9445509c74692a125f6bb7.zip"; on macOS or Linux run shasum -a 256 "180626176e9445509c74692a125f6bb7.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
- 26 Nov 2026Uploaded at
bacc1e853afb0f241fecdf1328283fec3556fd8aec797519d821cf2767f19324
















Comments
0