Project Files of Electromagnetic Fire Door Holder with ESP32 | Proteus Simulation
5717e9c2489c4c08925a98e3ad9a8e72.zip

Electromagnetic Fire Door Holder with ESP32 in Proteus Simulation V1.0
Electromagnetic Fire Door Holder with ESP32 in Proteus Simulation V1.0 comes as a ZIP archive of 30 files (4.8 MB, 10.4 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
ESP32-Fire-Door-Holder-Electromagnet-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, the 12 V holding electromagnet, an L9110S, a rocker switch, a push button, a micro limit switch, a flashing LED, a resistor, the Laptop and Mobile WiFi Monitors), the Arduino sketch and its HEX file, every LIB and DLL the simulation needs and a README.
File Structure
7.2 KB20.7 KB36.6 KB78.5 KB39.5 KB15 KB35.7 KB16 KB13.1 KB306.9 KB13.1 KB274 KB295 KB290.5 KB277 KB296 KB2.9 MB311 KB276.5 KB36.5 KB64.7 KB274 KB295 KB290.5 KB277 KB296 KB2.9 MB311 KB276.5 KB10.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Electromagnetic Fire Door Holder with ESP32 | Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Electromagnetic Fire Door Holder with ESP32 | Proteus Simulation - Project V1.0
The Engineering Projects - www.TheEngineeringProjects.com
===============================================================================================================
IMPORTANT LINKS
The project tutorial (circuit, code, simulation results):
https://www.theengineeringprojects.com/2026/11/esp32-fire-door-holder-electromagnet-proteus-simulation.html
The libraries this project is built from (each post has its own full download and tutorial):
ESP32 DevKit V1 board:
https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
12 V holding electromagnet:
https://www.theengineeringprojects.com/2026/11/12v-holding-electromagnet-library-for-proteus-v1-0.html
Rocker switch:
https://www.theengineeringprojects.com/2026/11/rocker-switch-library-for-proteus.html
Flashing LED:
https://www.theengineeringprojects.com/2026/11/flashing-led-library-for-proteus.html
Push button:
https://www.theengineeringprojects.com/2026/11/push-button-library-for-proteus.html
Micro limit switch:
https://www.theengineeringprojects.com/2026/11/micro-limit-switch-library-for-proteus.html
L9110S motor driver:
https://www.theengineeringprojects.com/2026/10/l9110s-motor-driver-library-for-proteus-v1-0.html
Resistor:
https://www.theengineeringprojects.com/2026/11/resistor-library-for-proteus.html
Laptop WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
Mobile WiFi Monitor:
https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
Support our free work: https://www.theengineeringprojects.com/donate
FILE STRUCTURE
ESP32-Fire-Door-Holder-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBUTTON.LIB 20.7 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPL9110S.LIB 78.5 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLEDFLASH.LIB 15.0 KB a part of the project -> LIBRARY folder
| |-- TEPLIMIT.LIB 35.7 KB a part of the project -> LIBRARY folder
| |-- TEPMAGNET.LIB 16.0 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part of the project -> LIBRARY folder
| |-- TEPROCKER.LIB 13.1 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPBUTTON.DLL 274.0 KB a model -> MODELS folder
| |-- TEPL9110S.DLL 295.0 KB a model -> MODELS folder
| |-- TEPLEDFLASH.DLL 290.5 KB a model -> MODELS folder
| |-- TEPLIMIT.DLL 277.0 KB a model -> MODELS folder
| |-- TEPMAGNET.DLL 296.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPROCKER.DLL 276.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Fire_Door_Holder.hex 64.7 KB the firmware
| |-- ESP32-Fire-Door-Holder.pdsprj 36.5 KB the project simulation
| |-- TEPBUTTON.DLL 274.0 KB copy of the model
| |-- TEPL9110S.DLL 295.0 KB copy of the model
| |-- TEPLEDFLASH.DLL 290.5 KB copy of the model
| |-- TEPLIMIT.DLL 277.0 KB copy of the model
| |-- TEPMAGNET.DLL 296.0 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
| |-- TEPROCKER.DLL 276.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Fire_Door_Holder/ESP32_Fire_Door_Holder.ino 7.2 KB the sketch (source of the .hex)
|-- README.txt ~10.0 KB this file
Total: 10.41 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
An electromagnetic fire door holder that you can run in Proteus: an ESP32 keeps a fire door open with a 12 V holding
electromagnet and lets it close the moment the fire alarm panel calls, when someone presses RELEASE, or when the
power fails - and checks that the door really closed.
* 12 V holding electromagnet (ELECTROMAGNETTEP, EM1; LOAD 2 kg, standing for the door closer's pull) on motor A of
DRV1, an L9110S driver (L9110SADVTEP) on +12V: A-IA from D25 (HIGH = the magnet on), A-IB and the B inputs to GND;
switched off, the coil's current dies away through the driver's diodes.
* SW1 the fire panel's alarm contact (SWITCHROCKERTEP, STATE 1 = closed): D27 to GND, the ESP32's pull-up. Closed =
healthy, OPEN = FIRE - a normally closed contact, so a cut wire releases the door too.
* SW2 the green RELEASE button (BUTTONGREENTEP) on D26 to GND: frees the door for 5 s.
* SW3 the door contact (SWITCHLIMITTEP): C to GND, NO to D14; pressed = the door closed.
* D1 a red flashing LED (LEDFLASHREDTEP, 2 flashes a second) on D33 through R1 100 ohm: on while the alarm lasts.
* ESP32 DEVKIT V1 (U1) runs ESP32_Fire_Door_Holder.hex on TEP-WiFi at 192.168.1.101 (port 80).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
The rules (at the top of the sketch):
* the magnet is on only while it may hold the door: no power = the door is free (fail-safe);
* the panel's contact open = FIRE: the magnet off until the contact closes again; each input must hold its new level
for 100 ms (debounce);
* RELEASE (the button or the dashboard) switches the magnet off for 5 s, then back on: push the door open against
it to hold it again;
* after every release the door contact must see the door closed within 10 s, or DOOR FAULT.
Its pages:
/ the dashboard: the state, the panel, the magnet, the door, the releases, the events
/release free the door for 5 s (as the button) /data everything as JSON
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's times: its
clock starts once the WiFi is up, 2.3 s into the simulation):
- At power-up the magnet holds the 2 kg plate: it pulls 46.9 N, a 2.4x margin, 0.278 A with 11.4 V on the coil.
- 6.9 s: the RELEASE button: "magnet OFF (button)" - the plate let go 22 ms after the coil went off; 9.2 s
"door closed 2.4 s after the release"; 11.9 s the magnet back on; 12.7 s the door opened, the plate put back: held.
- 15.6 s: the panel's contact opened: "FIRE: the panel's contact opened - the door released", the plate let go 21 ms
later, the LED flashing; the door left open: 25.6 s "DOOR FAULT: not closed 10 s after the release"; 27.4 s "door
closed 11.8 s after the release (late)"; 28.4 s "panel restored", the magnet on again.
- 32.9 s: RELEASE from the phone's dashboard; 34.7 s "door closed 1.8 s after the release".
- 3 releases; 38.8 s of simulation in 404 s.
INSTALLATION
1. Close Proteus. Extract the WHOLE zip file, for example to your Desktop.
2. Copy the files from "Proteus Library Files" into the LIBRARY folder of Proteus, for example
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
3. Copy the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1, ELECTROMAGNETTEP or SWITCHROCKERTEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Fire-Door-Holder.pdsprj". Keep the HEX and the DLL files beside it.
2. Press Play. The magnet comes on and holds its plate: the door is held open.
3. Press RELEASE (SW2) or RELEASE on the dashboard: the plate drops; click the door contact (SW3) to close the door.
4. Click the rocker (SW1) to open the fire panel's contact: FIRE - the door released, the LED flashing.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go.
Your own sketch: compile it, export the compiled binary and set U1's PROGRAM property to the new file.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Fire_Door_Holder.hex, AUTOOPEN=YES (TEP-WiFi, 192.168.1.101)
EM1 ELECTROMAGNETTEP LOAD=2 (kg), VOLTAGE=12
SW1 SWITCHROCKERTEP STATE=1 (closed: the panel healthy)
SW2 BUTTONGREENTEP, SW3 SWITCHLIMITTEP, DRV1 L9110SADVTEP (no changes)
D1 LEDFLASHREDTEP FLASH=2 (Hz); R1 100 ohm
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* The plate never holds: no +12V on the L9110S, A-IA not driven from D25, or the plate not put back (its pop-up).
* The door is released at the start: SW1 open (STATE 0) - the panel's contact must be closed to hold.
* DOOR FAULT after every release: the door contact is not on D14, or it is wired to NC instead of NO.
* The plate drops some ms after the magnet goes off: the coil's current dies away through the driver - normal.
LICENCES
* The project, the sketch, the parts (LIB files) and the models (DLL files) are made by The Engineering Projects
and are free for learning and for your own projects. The models use only standard Windows libraries.
The C++ source code of the models is not included; the source code is not included for any model.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems.
This project is not made or endorsed by them. Not a certified fire safety product.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Electromagnetic Fire Door Holder with ESP32 in Proteus Simulation 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 5717e9c2489c4c08925a98e3ad9a8e72.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-Fire-Door-Holder-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBUTTON.LIB, TEPESP32V1.LIB and TEPL9110S.LIB and 7 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 TEPBUTTON.DLL, TEPL9110S.DLL and TEPLEDFLASH.DLL and 5 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 ESP32_Fire_Door_Holder.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 ESP32_Fire_Door_Holder.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Fire-Door-Holder.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
Electromagnetic Fire Door Holder with ESP32 | 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 Electromagnetic Fire Door Holder with ESP32 in Proteus Simulation 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?
Electromagnetic Fire Door Holder with ESP32 in Proteus Simulation V1.0 comes as a ZIP archive of 30 files (4.8 MB, 10.4 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 30 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, a92c122b142d2b7ae731f341f00d3313972706148bca097487e2a1341bb7309b. In PowerShell run Get-FileHash "5717e9c2489c4c08925a98e3ad9a8e72.zip"; on macOS or Linux run shasum -a 256 "5717e9c2489c4c08925a98e3ad9a8e72.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
- ESP32 ProjectsCategory
- 0Comments
- ssyedzainnasirUploaded by
- 20 Nov 2026Uploaded at
a92c122b142d2b7ae731f341f00d3313972706148bca097487e2a1341bb7309b






















Comments
0