Project Files of LM358 Dual Op-Amp Library for Proteus
lm358-tep-v1-0-a622920f07c848ca8c6fb03a256b44e8.zip

LM358 Library for Proteus V1.0
LM358 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
LM358-Dual-Op-Amp-Library-for-Proteus-v1.0.zip with the LM358 dual op-amp for Proteus (gain-bandwidth, slew rate, offset, output swing; a pop-up with both amplifiers and a microsecond scope; TEPLM358.LIB and TEPLM358.DLL), our Arduino UNO V4.0, the A4 amplifier and comparator demo with its sketch and a README.
File Structure
2.9 KB201.9 KB12.1 KB883.5 KB311.5 KB19 KB16.1 KB883.5 KB311.5 KB11.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in LM358 Dual Op-Amp Library for Proteus. Open an image for its full size.
README
LM358 DUAL OP-AMP LIBRARY FOR PROTEUS - V1.0 (an LM358 dual operational amplifier with 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/lm358-dual-op-amp-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/lm358-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
LM358-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPLM358.LIB 12.1 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPLM358.DLL 311.5 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- LM358_Demo.hex 16.1 KB the demo firmware
| |-- LM358-OpAmp-ArduinoUnoV4.pdsprj 19.0 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPLM358.DLL 311.5 KB copy of the model
|-- Arduino Code/
| |-- LM358_Demo/LM358_Demo.ino 2.9 KB the demo sketch (source of the .hex)
|-- README.txt ~13.3 KB this file
Total: 2.59 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The LM358 dual operational amplifier as the PDIP-8 chip itself, drawn at true scale (9.81 x 6.35 mm)
- our own drawing:
* The black body on its side (the notch left, pin 1 bottom left): OUT1 IN1- IN1+ V- along the
bottom, V+ OUT2 IN2- IN2+ along the top,
the pin names printed small inside.
* Two amplifiers as TI's datasheet gives the LM358 (VS = 5 V, 25 C): gain-bandwidth 0.7 MHz,
open-loop gain 100 V/mV, slew rate
0.3 V/us (a single dominant pole, the input stage limited smoothly); the input offset (VOS,
typical 3 mV); input bias -20 nA; inputs
valid from V- to V+ - 1.5 V (warned above); the output from V- + 5 mV to V+ - 1.5 V through 50
ohm; 350 uA per amplifier; supply 3 - 30 V.
* Click it at Run for the pop-up: both amplifiers live (the inputs, their difference, the output
and its state), amplifier 1's last fast
edge on a microsecond scope with its 10 - 90 % time and its steepest slope.
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 "LM358" in Pick Devices):
LM358TEP "LM358 Dual Op-Amp V1.0" in TEPLM358.LIB (Lab ICs > Op-Amps), prefix U, model
TEPLM358.DLL (analog). The PDIP-8 pinout.
THE POP-UP
Click the part at Run. Tabs:
Op-Amps the two amplifiers as triangles with their input and output voltages and states
(linear, slewing, at the top, at the bottom,
comparing), amplifier 1's last fast edge from 10 us before to 70 us after (OUT1, IN1+
x 10, OUT2), and eight live values.
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 7 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 runs 6 simulated seconds in about two minutes on
our PC.
* Amplifier 1 (gain 1 + 33k / 1k = 34, offset +2 mV): with D5 and D6 low, OUT1 sat at 0.0686 V -
the offset times the gain; the sketch
printed IN 0.0 mV, OUT1 0.068 V, D2 LOW.
* D5 high: IN 96.17 mV (the model), OUT1 3.3361 V, IN1- 98.14 mV - the inputs 1.97 mV apart, the
offset, while the loop holds them; the
sketch measured IN 96.7 mV (against the UNO's 1.1 V reference) and OUT1 3.335 V: OUT1 / IN 34.5.
The comparator (amplifier 2, OUT1
against 2.5 V) went high: 3.499 V, the LM358's top (V+ - 1.5 V); D2 read HIGH.
* D5 and D6 high: IN 192.3 mV asks for 6.5 V, but OUT1 stopped at 3.494 V (the model) - the sketch
read 3.491 V, OUT1 / IN only 18.2.
* The edges (amplifier 1, D5 flipping): rising 0.069 to 3.336 V, 10 - 90 % in 20.51 us, the
steepest slope 0.263 V/us; falling 3.494 to
0.072 V in 19.56 us, 0.257 V/us - the 0.3 V/us slew rate nearly reached by a 96 mV step, the
rest set by the bandwidth (0.7 MHz / 34).
The comparator's own output slewed between 5.9 mV and 3.499 V. The sketch timed D5 to D2: rising
28.0 us, falling 26.4 us (5 edges,
with its own loop time).
* 69 fast edges in all. The pop-up: Op-Amps (with the microsecond scope), Graphs, Event log, Check
- all four 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" (TEPLM358.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 TEPLM358.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS folder (...\Proteus
8 Professional\MODELS).
4. Delete TEPLM358.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "LM358".
RUN THE DEMO
"Proteus Simulation\LM358-OpAmp-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the DLLs
beside the project.
ARD1: Arduino UNO V4.0 running LM358_Demo.hex, its serial monitor built in (window "TEP Arduino
UNO - ARD1").
U1: the LM358 on 5 V. Amplifier 1: non-inverting, gain 1 + 33k / 1k = 34, its input IN from D5
and D6 through 100 k each with 2 k to
ground (about 96 mV per high pin). Amplifier 2: a comparator, OUT1 against 2.5 V (two 10
k), its output to D2.
R1 - R7: 100k, 100k, 2k, 1k, 33k, 10k, 10k. A0 reads OUT1, A1 reads IN (against the UNO's internal
1.1 V reference).
1. The sketch sets D5 / D6 low, D5 high, then both high and prints IN, OUT1, OUT1 / IN and D2 -
both high asks for 6.5 V.
2. It times five edges from D5 to D2. Then D5 flips every 100 ms (for the pop-up's scope).
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
V+: 3 - 30 V (the UNO's 5 V here); V-: ground; the inputs and outputs to your circuit - keep the
inputs under V+ - 1.5 V.
REAL HARDWARE:
* On 5 V the LM358's output reaches only about 3.5 V: for a full 0 - 5 V swing choose a
rail-to-rail op-amp.
* Keep both inputs below V+ - 1.5 V; they work right down to the negative rail, which suits
single-supply sensor amplifiers.
* The offset (up to 7 mV) is multiplied by the gain: trim it, or use AC coupling, for high gains.
* As a comparator it is slow (microseconds); a real comparator (LM393) switches much faster.
THE DEMO SKETCH ON THE SERIAL MONITOR (LM358_Demo V1.0, 9600 baud)
There are no commands. The sketch steps the input, prints, times five edges, then makes a square
wave.
EXPECTED MONITOR OUTPUT
LM358 Dual Op-Amp - The Engineering Projects
D5 high: IN 96.7 mV, OUT1 3.335 V, OUT1 / IN 34.5, D2 HIGH
D5 and D6 high: IN 192.3 mV, OUT1 3.491 V, OUT1 / IN 18.2, D2 HIGH
D5 to D2: rising 28.0 us, falling 26.4 us (5 edges)
PROPERTIES (double-click the part > Edit Properties)
Input offsets (VOS) the offset voltage of amplifiers 1 and 2, mV ("2, -1"; the
datasheet: 3 mV typical, 7 mV max)
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 TEPLM358.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: V+ is missing or under 3 V.
* The output stops at about 3.5 V on 5 V: that is the LM358 - its output reaches V+ - 1.5 V at most.
* The output is not 0 with no input: the offset times the gain (2 mV x 34 = 68 mV here).
* The output is slow to follow a fast input: 0.3 V/us slew rate and 0.7 MHz / gain bandwidth.
* An input-range warning: an input went above V+ - 1.5 V.
* The part is not simulated: TEPLM358.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/lm358-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 (TEPLM358.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\LM358_Demo\LM358_Demo.ino, select Arduino Uno and use Sketch > Export Compiled Binary.
Replace the simulation's .hex with the exported HEX. The sketch needs 5,864 bytes of flash and 402
bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the gain-bandwidth, the open-loop gain, the slew rate, the offset, the bias currents, the
output swing limits, the input range as
a warning, the supply current, two independent amplifiers.
Not modelled: the output current limit (over 40 mA is reported, not limited), the output's weak sink
near ground (30 uA at 200 mV),
crossover distortion, noise, the common-mode and supply rejection, temperature drift.
VERSION
TEP LM358 library V1.0 (Nov 2026). Device LM358TEP (TEPLM358.LIB / TEPLM358.DLL). Demo sketch
LM358_Demo V1.0. Demo board: ARDUINO UNO V4.0 (TEP Arduino Library V4.0) with its built-in serial
monitor.Development1 release
-
V1.0LM358 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 lm358-tep-v1-0-a622920f07c848ca8c6fb03a256b44e8.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (LM358-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPLM358.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
Add the simulation model
Copy TEPARDUINO.DLL and TEPLM358.DLL 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 LM358_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 LM358_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open LM358-OpAmp-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
LM358 Dual Op-Amp Library for Proteus explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download LM358 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?
LM358 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, b4d48195778b9a147b01ea636805654681091b1f376b8c6fd534d518edfaa7a2. In PowerShell run Get-FileHash "lm358-tep-v1-0-a622920f07c848ca8c6fb03a256b44e8.zip"; on macOS or Linux run shasum -a 256 "lm358-tep-v1-0-a622920f07c848ca8c6fb03a256b44e8.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.
- 2Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 10 Nov 2026Uploaded at
b4d48195778b9a147b01ea636805654681091b1f376b8c6fd534d518edfaa7a2



























Comments
0