Project Files of IRF520 MOSFET Module Library for Proteus Simulation
a8218040058f41338bab933d26729826.zip

IRF520 MOSFET Module Library for Proteus V1.0
IRF520 MOSFET Module Library for Proteus V1.0 comes as a ZIP archive of 13 files (1.5 MB, 3.2 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
IRF520-MOSFET-Module-Library-for-Proteus-v1.0.zip with the IRF520 MOSFET module for Proteus simulation (TEPIRF520.LIB and TEPIRF520.DLL), our P21W bulb, our Arduino UNO V4.0, the A4 demo, its sketch and a README.
File Structure
1.3 KB201.9 KB17.7 KB14.1 KB883.5 KB291 KB313.5 KB19.3 KB14.3 KB883.5 KB291 KB313.5 KB12 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in IRF520 MOSFET Module Library for Proteus Simulation. Open an image for its full size.












README
IRF520 MOSFET MODULE LIBRARY FOR PROTEUS SIMULATION - V1.0 (a MOSFET switch module for DC loads, 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/irf520-mosfet-module-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
IRF520-MOSFET-Module-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPBULB.LIB 17.7 KB a part the demo uses -> LIBRARY folder
| |-- TEPIRF520.LIB 14.1 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPBULB.DLL 291.0 KB its model -> MODELS folder
| |-- TEPIRF520.DLL 313.5 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- IRF520_Demo.hex 14.3 KB the demo firmware
| |-- IRF520-Bulb-Dimmer-ArduinoUnoV4.pdsprj 19.3 KB the demo project
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPBULB.DLL 291.0 KB copy of its model
| |-- TEPIRF520.DLL 313.5 KB copy of the model
|-- Arduino Code/
| |-- IRF520_Demo/IRF520_Demo.ino 1.3 KB the demo sketch (source of the .hex)
|-- README.txt ~13.1 KB this file
Total: 3.18 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
The common IRF520 MOSFET driver module, drawn from the top at its real size: the 34 x 24 mm black
board, the IRF520 (TO-220) standing at its
top edge, the signal LED, the resistors, the 3-pin header SIG VCC GND and the 4-way screw terminal
V+ V- VIN GND. The board is our own drawing;
it behaves the way the IRF520 datasheet and the module's circuit describe:
* The load goes between V+ (which is VIN) and V- (the drain); the MOSFET switches its negative
wire to GND - a low-side switch.
* SIG drives the gate through 100 ohm (10 kohm pull-down); the signal LED lights with SIG. VCC is
not connected on the module.
* The IRF520 is NOT a logic-level MOSFET: its threshold is 2 - 4 V and it needs about 10 V on the
gate to reach 0.27 ohm. From a 5 V pin
it conducts only about 3 A and drops around a volt at under 2 A - it heats.
* A PWM on SIG dims a lamp or sets a motor's speed; the MOSFET switches at the PWM.
* No flyback diode on the board: add one across a motor, a solenoid or a relay coil.
* Click the part for the pop-up: the circuit with its voltages, the ID-VDS curves with the present
gate and the working point, the heat;
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 "IRF520" or "MOSFET" in Pick Devices):
IRF520MODTEP "IRF520 MOSFET Module V1.0" in TEPIRF520.LIB (Transistors > MOSFET Modules), prefix
U, model TEPIRF520.DLL (analog).
Pins: SIG, VCC, GND (left); V+, V-, VIN, PGND (the terminal's GND) (right).
The demo also uses our P21W 12 V 21 W bulb (BULBP21WTEP in TEPBULB.LIB / TEPBULB.DLL, in the
package).
THE POP-UP
Click the part at Run. Tabs:
MOSFET The circuit (VIN, the load, V-, the IRF520, SIG and VGS, ID, RDS, the loss), the
ID-VDS curves at VGS 4 / 5 / 6 / 10 V with the
present gate's curve, the load line and the working point; tiles: SIG and VGS, VDS,
ID, VIN, the PWM, RDS now, the loss, the
junction temperature.
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 8.2 simulated seconds in about 2.5 minutes on
our PC with the pop-ups open and the
pictures being taken.
* PWM 25 % (490 Hz, measured on SIG) at 1.2 s: the bulb 0.73 A on average; the IRF520 in
saturation in every pulse (about 2.9 A, some 7 V
across): 5.46 W on average, VDS 10.9 V on average.
* PWM 50 % at 2.8 s: 1.01 A, 1.30 W; PWM 75 % at 4.3 s: 1.35 A, 1.53 W; the junction 34.0 C.
* D9 steady HIGH at 5.0 s: VGS 4.88 V - HALF ON: VDS 1.04 V at 1.67 A, RDS 0.62 ohm (0.27 at 10
V), 1.75 W; the junction 36.5 C at 6.0 s,
38.5 C at 7.3 s (rising about a degree a second towards ~130 C).
* Off at 7.5 s; the junction 38.8 C at the most. The pop-ups (MOSFET, Graphs, Event log, Check;
the bulb's) 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" (TEPIRF520.LIB, TEPBULB.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 TEPIRF520.DLL, TEPBULB.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the MODELS
folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPIRF520.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "IRF520".
RUN THE DEMO
"Proteus Simulation\IRF520-Bulb-Dimmer-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and
the DLLs beside the project.
ARD1: Arduino UNO V4.0 running IRF520_Demo.hex (window "TEP Arduino UNO - ARD1"): D9 (490 Hz
PWM) to SIG.
U1: the IRF520 module: GND to the ground (VCC open); VIN on a 12 V terminal, PGND to the
ground; V+ and V- to the bulb.
L1: our P21W 12 V 21 W bulb.
The sketch dims the bulb at 25, 50 and 75 % and then holds D9 steady HIGH - 5 V on the gate -
before switching off and starting again.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VIN / GND (the terminal) to the load's supply (up to about 24 V in practice), the load between V+
and V-, SIG to a pin, GND (the header) to
the board's GND. A motor or a coil needs a diode across it (cathode to V+).
REAL HARDWARE:
* From a 5 V or 3.3 V board the IRF520 is only partly on: fine for an LED strip or a small motor
(under about 1 A), not for 2 A and up.
* For more current use a logic-level MOSFET (IRLZ44N, IRL540N) or drive the gate with 10 - 12 V
through a transistor stage.
* The TO-220 without a heatsink takes about 1.5 W; at 5 V gate drive a 2 A load already reaches
that.
* Add a flyback diode for inductive loads - the module has none.
THE DEMO SKETCH ON THE SERIAL MONITOR (IRF520_Demo V1.0, 9600 baud)
IRF520_Demo prints each step with its time. EXPECTED MONITOR OUTPUT
IRF520 MOSFET module: dimming a 12 V 21 W bulb - The Engineering Projects
0.50 s PWM 25 %
2.00 s PWM 50 %
3.50 s PWM 75 %
5.00 s 100 %: D9 steady HIGH - only 5 V on the gate
PROPERTIES (double-click the part > Edit Properties)
(none - the IRF520's numbers are fixed; the gate voltage comes from SIG)
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 TEPIRF520.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 load never switches: SIG under the threshold (2 - 4 V), the header's GND not connected to the
board's GND, or the load not between
V+ and V-.
* The load is dim at 100 %: 5 V on the gate is not enough for the IRF520 - see VDS and the curve in
the pop-up.
* VDS jumps far above VIN at turn-off: an inductive load without a flyback diode.
* The part is not simulated: TEPIRF520.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPIRF520.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 (TEPIRF520.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\IRF520_Demo\IRF520_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 5,204 bytes of flash
and 211 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the module's gate network and LED, the IRF520's square law with a smooth threshold, the
triode and saturation regions, the drain
resistance, the reverse channel and the body diode, the junction temperature and its effect (K and
VTH), the PWM measurement. Our choices:
VTH 3.0 V, K 0.75 A/V2, 0.175 ohm in the drain, lambda 0.01 /V, 62 K/W and 1 J/K, VTH -5 mV/K.
Not modelled: the gate capacitance and the switching transitions, avalanche, failure at 175 C (it is
reported, not simulated).
VERSION
TEP IRF520 MOSFET Module library V1.0 (Nov 2026). Device IRF520MODTEP (TEPIRF520.LIB /
TEPIRF520.DLL). Demo sketch IRF520_Demo V1.0 (no library). Demo board: ARDUINO UNO V4.0 (TEP Arduino
Library V4.0) with its built-in serial monitor; our P21W bulb V1.0.Development1 release
-
V1.0IRF520 MOSFET Module 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 a8218040058f41338bab933d26729826.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (IRF520-MOSFET-Module-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPBULB.LIB and TEPIRF520.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, TEPBULB.DLL and TEPIRF520.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 IRF520_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 IRF520_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open IRF520-Bulb-Dimmer-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
IRF520 MOSFET Module 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 IRF520 MOSFET Module 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?
IRF520 MOSFET Module Library for Proteus V1.0 comes as a ZIP archive of 13 files (1.5 MB, 3.2 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 13 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, c03e08e26cb0bff42dc9012984740bb260f5c5d0caf71e0b2c4444e63c7957cb. In PowerShell run Get-FileHash "a8218040058f41338bab933d26729826.zip"; on macOS or Linux run shasum -a 256 "a8218040058f41338bab933d26729826.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
- 29 Nov 2026Uploaded at
c03e08e26cb0bff42dc9012984740bb260f5c5d0caf71e0b2c4444e63c7957cb
















Comments
0