Project Files of IoT Smart Door Lock with ESP32 - Proteus Simulation
esp32-smart-door-lock-tep-v1-0-4102a64a878e4b398756e2371ead8c1b.zip

IoT Smart Door Lock with ESP32 - Proteus Simulation V1.0
IoT Smart Door Lock with ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 33 files (5.2 MB, 11.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
IoT-Smart-Door-Lock-ESP32-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, TTP229 touch keypad, Nokia 5110 LCD, 12V push-pull solenoid with IRLZ44N and 1N5819, micro limit switch, passive buzzer with 2N7000, the Laptop and Mobile WiFi Monitors), the Arduino sketch and its HEX, every LIB and DLL it needs and a README.
File Structure
15.6 KB9.7 KB36.6 KB39.5 KB35.7 KB13.1 KB17.9 KB93 KB13.4 KB306.9 KB28 KB93.4 KB286.5 KB277 KB2.9 MB295 KB310 KB288.5 KB311 KB299.5 KB311.5 KB41.3 KB70.9 KB286.5 KB277 KB2.9 MB295 KB310 KB288.5 KB311 KB299.5 KB311.5 KB11.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in IoT Smart Door Lock with ESP32 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
IoT Smart Door Lock 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/iot-smart-door-lock-esp32-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
TTP229 touch keypad:
https://www.theengineeringprojects.com/2026/10/ttp229-touch-keypad-library-for-proteus-v1-0.html
Nokia 5110 LCD:
https://www.theengineeringprojects.com/2026/10/nokia-5110-lcd-library-for-proteus-v1-0.html
12V push-pull solenoid:
https://www.theengineeringprojects.com/2026/11/12v-push-pull-solenoid-library-for-proteus-v1-0.html
N-MOSFET (IRLZ44N, 2N7000):
https://www.theengineeringprojects.com/2026/11/n-mosfet-library-for-proteus.html
Schottky diode (1N5819):
https://www.theengineeringprojects.com/2026/11/schottky-diode-library-for-proteus.html
Micro limit switch:
https://www.theengineeringprojects.com/2026/11/micro-limit-switch-library-for-proteus.html
Passive buzzer:
https://www.theengineeringprojects.com/2026/11/passive-buzzer-library-for-proteus.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-Smart-Door-Lock-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEP1N5819.LIB 9.7 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLIMIT.LIB 35.7 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part of the project -> LIBRARY folder
| |-- TEPNOKIA5110.LIB 93.0 KB a part of the project -> LIBRARY folder
| |-- TEPPASSIVE.LIB 13.4 KB a part of the project -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part of the project -> LIBRARY folder
| |-- TEPSOLENOID.LIB 28.0 KB a part of the project -> LIBRARY folder
| |-- TEPTTP229.LIB 93.4 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEP1N5819.DLL 286.5 KB a model -> MODELS folder
| |-- TEPLIMIT.DLL 277.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB a model -> MODELS folder
| |-- TEPNOKIA5110.DLL 310.0 KB a model -> MODELS folder
| |-- TEPPASSIVE.DLL 288.5 KB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPSOLENOID.DLL 299.5 KB a model -> MODELS folder
| |-- TEPTTP229.DLL 311.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Smart_Door_Lock.hex 70.9 KB the firmware
| |-- ESP32-Smart-Door-Lock.pdsprj 41.3 KB the project simulation
| |-- TEP1N5819.DLL 286.5 KB copy of the model
| |-- TEPLIMIT.DLL 277.0 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPNMOS.DLL 295.0 KB copy of the model
| |-- TEPNOKIA5110.DLL 310.0 KB copy of the model
| |-- TEPPASSIVE.DLL 288.5 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
| |-- TEPSOLENOID.DLL 299.5 KB copy of the model
| |-- TEPTTP229.DLL 311.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Smart_Door_Lock/ESP32_Smart_Door_Lock.ino 15.6 KB the sketch (source of the .hex)
|-- README.txt ~11.0 KB this file
Total: 11.24 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A smart door lock you can run in Proteus: an ESP32 DevKit V1 opens a solenoid latch for the right PIN on a touch
keypad or for UNLOCK on a web page, watches the door with a micro switch, and sounds an alarm when the door is
forced. A Nokia 5110 LCD, a passive buzzer and the dashboard show what it does.
* TTP229 16-key touch keypad (TTP229ADVTEP, U2), OPTIONS=TP2 (16 keys), on the 5 V rail in the simulation (the model
reads its supply as a logic level; on a real ESP32 use 3.3 V): SCL D18, SDO D19.
* Nokia 5110 LCD (NOKIA5110BLUEADVTEP, LCD1), on +3.3V: RST D4, CE D5, DC D21, DIN D23, CLK D22; BL on the
5 V rail in the simulation (read as a logic level; 3.3 V on a real module).
* 12 V push-pull solenoid as the latch (SOLENOID12VTEP, L1): + on +12V, - switched by Q1 IRLZ44N (IRLZ44NTEP)
from D25 through R1 100 ohm, R2 10k from D25 to GND; D1 1N5819 (DIODE1N5819TEP) across the coil.
* Micro limit switch as the door sensor (SWITCHLIMITTEP, SW1): C to GND, NO on D27 (the ESP32's pull-up).
* Passive buzzer (BUZZERPASSIVETEP, BZ1) on the 5 V rail, switched by Q2 2N7000 (Q2N7000TEP) from D26 through
R3 100 ohm, R4 10k from D26 to GND; the sketch plays its tones with tone().
* ESP32 DEVKIT V1 (U1) runs ESP32_Smart_Door_Lock.hex on TEP-WiFi at 192.168.1.101.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
The keypad: pads 1 - 9 = digits 1 - 9, pad 10 = 0, pad 11 = DEL, pad 12 = OK, pad 13 = BELL, pad 16 = LOCK.
The rules (at the top of the sketch; the PIN is 1234):
* the right PIN or UNLOCK powers the latch for at most 5 s; opening the door is then fine, and shutting it locks
again; a door not opened in 5 s is locked again;
* three wrong PINs lock the keypad out for 30 s;
* the door opened while locked = DOOR FORCED: a siren until ALARM OFF on the page (or the right PIN);
* the door open for more than 15 s = a reminder beep every 2 s; BELL plays a ding-dong and tells the page.
Its pages:
/ the dashboard: the lock, the door, the latch, a visitor, the counts, the events
/unlock open the latch for 5 s
/lock lock now
/alarmoff stop the alarm
/data everything as JSON
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (simulation times):
* Start: the switch held down; "ready - locked, the door shut" at 2 s; the LCD: LOCKED (Vop 55 = 6.36 V).
* Pads 5 8 2 9 OK: "wrong PIN (1 of 3)" at 12 s. Pads 1 2 3 4 OK: "unlocked by the PIN" at 17 s, WELCOME; the
solenoid pulled in within 44.6 ms and held at 0.293 A (3.52 W).
* Release, Hold down: "the door opened" 21 s, "the door shut" + "locked (the door shut)" 22 s.
* Pad 13: "doorbell - a visitor at the door" 25 s; UNLOCK on the phone 27 s; "locked (not opened in 5 s)" 32 s.
* Three wrong PINs (34, 36, 38 s): "3 wrong PINs - the keypad locked out for 30 s"; the LCD: WAIT 29.
* Release while locked: "DOOR FORCED - opened while locked" 40 s, the siren, ALARM!; ALARM OFF on the laptop 43 s;
Hold down: "the door shut" 44 s. The TTP229: 26 keys read, none missed.
Earlier runs: the TTP229 on a +3.3V terminal said NO POWER (its floating SDO read as a ghost key) and the backlight
stayed off - both moved to the 5 V rail; the 30 s lockout ended at once (a start time set after the loop read
millis() made an unsigned subtraction wrap round) - the timers now read millis() again.
48 s of simulation took about 6 minutes on our PC with all the captures.
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 DLL 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, TTP229ADVTEP or SOLENOID12VTEP to check
that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Smart-Door-Lock.pdsprj". Keep ESP32_Smart_Door_Lock.hex and the DLL files beside it.
2. Press Play. The board joins TEP-WiFi; the LCD shows LOCKED.
3. In the limit switch's pop-up (SW1) press Hold down: the door is shut against the lever.
4. In the TTP229's pop-up (U2) touch 1, 2, 3, 4 and 12 (OK): the latch opens for 5 s. Release the switch (the door
opens), then Hold down again (the door shuts): locked again.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go. UNLOCK opens the latch.
6. Release the switch while the lock is LOCKED: DOOR FORCED and the siren; ALARM OFF on the page stops it.
Your own sketch: open "Arduino Code\ESP32_Smart_Door_Lock" in the Arduino IDE with the TEP Boards for Proteus
package, export the compiled binary and set U1's PROGRAM to the new HEX.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Smart_Door_Lock.hex
U2 TTP229ADVTEP OPTIONS=TP2 (16 keys)
LCD1 NOKIA5110BLUEADVTEP (no changes: BESTVOP 55)
R1, R3 RESISTOR4BANDTEP 100 ohm; R2, R4 10k
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* Pads 9 - 16 do nothing: the TTP229 is in 8-key mode - set OPTIONS=TP2 (or bridge TP2 on its pop-up).
* The LCD stays blank or dark: CE / DC / DIN / CLK swapped, or Vop far from the module's best (55).
* The latch never moves: no +12V on the solenoid, or the MOSFET's gate is not on D25.
* DOOR FORCED at once: the door switch is not held down (the door is open) when the sketch starts.
* No sound: the buzzer's - is not on Q2's drain, or the buzzer has no 5 V.
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.
* The sketch uses only the ESP32 core's WiFi and WebServer; its LCD and keypad drivers are its own, and its 5x7
font is the classic public-domain ASCII table of the PCD8544 examples.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a name of Espressif Systems. This
project is not made or endorsed by them. A hobby door lock is not a certified security product.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0IoT Smart Door Lock with ESP32 - 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 esp32-smart-door-lock-tep-v1-0-4102a64a878e4b398756e2371ead8c1b.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-Smart-Door-Lock-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEP1N5819.LIB, TEPESP32V1.LIB and TEPLAPTOP.LIB and 8 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 TEP1N5819.DLL, TEPLIMIT.DLL and TEPNET.DLL and 6 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_Smart_Door_Lock.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_Smart_Door_Lock.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Smart-Door-Lock.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
IoT Smart Door Lock 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 IoT Smart Door Lock with ESP32 - 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?
IoT Smart Door Lock with ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 33 files (5.2 MB, 11.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 33 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, f89a70f7664e4bab5d5103345ba54cc60ad34f6e3fd78d6ac43a06dd73de8224. In PowerShell run Get-FileHash "esp32-smart-door-lock-tep-v1-0-4102a64a878e4b398756e2371ead8c1b.zip"; on macOS or Linux run shasum -a 256 "esp32-smart-door-lock-tep-v1-0-4102a64a878e4b398756e2371ead8c1b.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
- 14 Nov 2026Uploaded at
f89a70f7664e4bab5d5103345ba54cc60ad34f6e3fd78d6ac43a06dd73de8224






















Comments
0