Project Files of Raspberry Pi 5 Home Security System - Proteus Simulation
pi-5-home-security-tep-v1-0-c6e0012dbc444b29882f5116d1839db9.zip

Raspberry Pi 5 Home Security System - Proteus Simulation V1.0
Raspberry Pi 5 Home Security System - Proteus Simulation V1.0 comes as a ZIP archive of 147 files (14.7 MB, 29.4 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, source code and a nested archive.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- SRCSource code
- ZIPNested archive
Description
Raspberry-Pi-5-Home-Security-System-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, HC-SR501 PIR, RCWL-0516 radar, DFPlayer Mini, 4x4 keypad, LEDs, the Laptop and Mobile WiFi Monitors), the Python program home_security.py, every LIB and DLL the simulation needs, the TEPPi Python runtime and a README.
File Structure
82.9 KB391.6 KB162.5 KB39.5 KB21.8 KB13.1 KB78.4 KB306.9 KB60.5 KB3.3 MB34.3 KB620.8 KB36 KB169.8 KB628.1 KB99.3 KB65.3 KB4.8 MB4.1 MB80 B97.8 KB26.8 KB1.2 MB1.1 MB88.9 KB27.3 KB55.8 KB79.8 KB105.8 KB193.8 KB113.8 KB48.8 KB145.8 KB36.8 KB29.3 KB42.3 KB28.8 KB67.3 KB89.3 KB153.8 KB22.8 KB38.8 KB2.1 KB9.9 KB4.1 KB1.3 KB4.7 KB431 B2.5 KB17.5 KB283 B6.5 KB37.9 KB11.1 KB5.5 KB885 B13.6 KB9 KB878 B1.5 KB4 KB1004 B10 B110 B2.6 KB1.1 KB8.9 KB58.5 KB12.4 KB6.6 KB18.5 KB20.7 KB27.8 KB21.1 KB7.1 KB7.7 KB2.7 KB51.2 KB100.9 KB1.2 KB24.3 KB7.4 KB53.6 KB26.1 KB20.5 KB60.5 KB19.6 KB1.6 KB8.4 KB20.9 KB2.6 KB539 B1.4 KB9.7 KB2.8 KB21 B92 B7.9 KB264 B3.4 KB3.8 KB17.5 KB55.2 KB3.3 KB10.8 KB1.5 KB4.2 KB7.3 KB2.5 KB32.6 KB14.5 KB283 B17.4 KB257 B691 B14.5 KB12.8 KB3.6 KB1.7 KB37 KB418 B6.2 KB7 KB37.3 KB10.6 KB23.7 KB28.7 KB8.8 KB16.9 KB298 KB400 KB300.5 KB289.5 KB2.9 MB304 KB311 KB11.7 KB46.8 KB298 KB400 KB300.5 KB289.5 KB2.9 MB304 KB311 KB11.7 KB10.9 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Raspberry Pi 5 Home Security System - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Raspberry Pi 5 Home Security System - 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/raspberry-pi-5-home-security-system-proteus-simulation.html
The libraries this project is built from (each post has its own full download and tutorial):
Raspberry Pi 5 board:
https://www.theengineeringprojects.com/2026/10/raspberry-pi-5-library-for-proteus.html
HC-SR501 PIR motion sensor:
https://www.theengineeringprojects.com/2026/10/pir-sensor-library-for-proteus-v4-0.html
RCWL-0516 microwave radar:
https://www.theengineeringprojects.com/2026/10/rcwl-0516-microwave-radar-sensor-library-for-proteus-v1-0.html
DFPlayer Mini MP3 module:
https://www.theengineeringprojects.com/2026/10/dfplayer-mini-library-for-proteus-v1-0.html
Membrane keypad 4x4:
https://www.theengineeringprojects.com/2026/10/membrane-keypad-library-for-proteus-v1-0.html
5mm LED:
https://www.theengineeringprojects.com/2026/11/5mm-led-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
Pi-5-Home-Security-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPDFPLAYER.LIB 82.9 KB a part of the project -> LIBRARY folder
| |-- TEPHCSR501.LIB 391.6 KB a part of the project -> LIBRARY folder
| |-- TEPKEYPAD.LIB 162.5 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLED5MM.LIB 21.8 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPRCWL0516.LIB 78.4 KB a part of the project -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part of the project -> LIBRARY folder
| |-- TEPRPI5.LIB 60.5 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPDFPLAYER.DLL 298.0 KB a model -> MODELS folder
| |-- TEPHCSR501.DLL 400.0 KB a model -> MODELS folder
| |-- TEPKEYPAD.DLL 300.5 KB a model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPRCWL0516.DLL 304.0 KB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPPi/python/ 17.54 MB Python 3.11 embeddable -> MODELS\TEPPi (33 files)
| |-- TEPPi/runtime/ 1.11 MB TEP Pi runtime, gpiozero -> MODELS\TEPPi (87 files)
|-- Proteus Simulation/
| |-- home_security.py 11.7 KB the program PI1 runs
| |-- Pi-5-Home-Security.pdsprj 46.8 KB the project simulation
| |-- TEPDFPLAYER.DLL 298.0 KB copy of the model
| |-- TEPHCSR501.DLL 400.0 KB copy of the model
| |-- TEPKEYPAD.DLL 300.5 KB copy of the model
| |-- TEPLED5MM.DLL 289.5 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPRCWL0516.DLL 304.0 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
|-- Python Code/
| |-- home_security.py 11.7 KB the program (the same file)
|-- README.txt ~10.4 KB this file
Total: 29.36 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A complete home alarm you can run in Proteus: a Raspberry Pi 5 watches two zones, is armed and disarmed with a PIN
on a keypad or from a web page, speaks through an MP3 module and sounds a siren when someone breaks in.
* HC-SR501 PIR motion sensor (HCSR501ADVTEP, U1) on the Pi's 5V pin: the living room, an instant zone; OUT
(3.3 V) on GPIO17.
* RCWL-0516 microwave radar (RCWL0516ADVTEP, U2) on 5V: the hallway at the front door, the entry zone; OUT on
GPIO27 (3V3 and CDS open). DISTANCE=0: nobody in front at the start.
* DFPlayer Mini MP3 module (DFPLAYERADVTEP, U3) on 5V: its RX from GPIO14 TXD, its TX to GPIO15 RXD
(/dev/serial0, 9600 baud), BUSY on GPIO22. Its DEMO card: 01/004 GOODBYE when arming, 0002 CHIME during
the entry delay, 01/002 WELCOME HOME when disarmed, 02/001 ALARM (the siren) over and over during an alarm.
* 4x4 membrane keypad (KEYPAD4X4ADVTEP, U4): rows R1 - R4 on GPIO5, 6, 13, 19 (inputs with pull-ups), columns
C1 - C4 on GPIO12, 16, 20, 21 (one at a time LOW), about 12 scans a second.
* Red LED on GPIO23 (armed; blinking during a delay, fast during an alarm) and green LED on GPIO24 (disarmed),
each through 220 ohm.
* RASPBERRY PI 5 (PI1) runs home_security.py on Ethernet at 192.168.1.51; the dashboard is on port 8000.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.51:8000/.
The PIN is 1234: type it, then # - to arm when disarmed, to disarm in any other state; * clears it; three wrong
PINs sound the alarm. Arming starts a 10 s exit delay; the hallway while armed starts a 10 s entry delay (the PIN
in time disarms, else the alarm); the living room while armed is an alarm at once. Its pages:
/ the dashboard: the state (and the seconds left in a delay), the zones, the siren, the events
/arm arm the system (the exit delay starts)
/disarm disarm the system
/data everything as JSON (never the PIN)
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (simulation times):
* 1.6 s: DISARMED, the green LED on; the server up; the DFPlayer at volume 25.
* The keypad 1234 #: "ARMING from the keypad - 10 s to leave (GOODBYE)" at 9.1 s; ARMED at 19.2 s.
* The radar, a person at 3 m: "hallway motion while armed - ENTRY DELAY" at 20.8 s, the chime every 2 s; the PIN
1234 #: "DISARMED from the keypad (was ENTRY DELAY) - WELCOME HOME" at 25.9 s.
* ARM from the laptop at 30.4 s; ARMED at 40.5 s.
* The PIR, Walk in: "ALARM! living room motion while armed - the siren is on" at 42.2 s; the ALARM track
(02/001) on the DFPlayer, the red LED blinking fast.
* 1111 #: "wrong PIN on the keypad (1 of 3)" at 50.4 s; 1234 #: "DISARMED from the keypad (was ALARM)" at 53.4 s.
* The GOODBYE frame on the UART: 7E FF 06 0F 00 01 04 FE E7 EF (folder 01, file 004).
59 s of simulation took about 12 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 everything in "Proteus Model Files" - the DLL files AND the TEPPi folder - into the MODELS folder
(next to LIBRARY). TEPPi holds the Python 3.11 that the Raspberry Pi board runs and our TEP Pi runtime.
4. Start Proteus. Press P in the schematic and search for RASPBERRY PI 5, HCSR501ADVTEP or DFPLAYERADVTEP to check
that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Home-Security.pdsprj". Keep home_security.py and the DLL files beside it.
2. Press Play. The system starts DISARMED: the green LED is on.
3. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go. Press Refresh to update it.
4. In the keypad's pop-up (U4) click 1 2 3 4 #: GOODBYE, and after 10 s the system is ARMED.
5. In the radar's pop-up (U2) press 3 m: the entry delay; type 1 2 3 4 # within 10 s. Or in the PIR's pop-up
(U1) press Walk in while armed: the ALARM and the siren. NOBODY / Walk out take the people away.
Your own program: edit home_security.py beside the project (PIN_CODE, EXIT_S, ENTRY_S at the top) and press Play.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=home_security.py, ETHERNET=IN (192.168.1.51)
U1 HCSR501ADVTEP (no changes: TIME 5 s, the H jumper, warm-up skipped)
U2 RCWL0516ADVTEP DISTANCE=0 (nobody at the start)
U3 DFPLAYERADVTEP (no changes: CARD=DEMO)
U4 KEYPAD4X4ADVTEP (no changes: BOUNCE 3 ms, PRESS 150 ms)
PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* The terminal cannot start Python: the TEPPi folder is not in MODELS (step 3 of INSTALLATION), or an older one.
* A zone always shows MOTION: someone is still in front of the sensor in its pop-up (NOBODY / Walk out).
* No key works: the rows and the columns are swapped, or the rows have no pull-ups.
* The DFPlayer stays silent: its RX is not on GPIO14 TXD, or its card was pulled out (click the card).
* The siren never stops: type 1 2 3 4 #, or press DISARM on the page.
LICENCES
* The project, the program, 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.
* TEPPi\python is the Python 3.11 Windows embeddable package (Python Software Foundation License); TEPPi\runtime
holds our TEP Pi runtime with gpiozero and colorzero (BSD licences) - their licence files are inside the folders.
* Proteus is a product of Labcenter Electronics and is not included. Raspberry Pi is a trademark of Raspberry Pi
Ltd; HC-SR501, RCWL-0516 and DFPlayer Mini are names of their makers. This project is not made or endorsed by
them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Raspberry Pi 5 Home Security System - 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.
Installation7 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
- Pythonto build the source files into firmware
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click pi-5-home-security-tep-v1-0-c6e0012dbc444b29882f5116d1839db9.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (Pi-5-Home-Security-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPDFPLAYER.LIB, TEPHCSR501.LIB and TEPKEYPAD.LIB and 6 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 TEPDFPLAYER.DLL, TEPHCSR501.DLL and TEPKEYPAD.DLL and 11 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
Build the source code
Open home_security.py, attr.py and color.py and 28 more in the compiler named in the tutorial (MikroC, Keil, MPLAB, Code Composer or the Arduino IDE) and build it to get the firmware.
- 6
Open the example simulation
Open Pi-5-Home-Security.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 7
Follow the tutorial
Raspberry Pi 5 Home Security System - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs8 questionsContact TEP
How do I download Raspberry Pi 5 Home Security System - 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?
Raspberry Pi 5 Home Security System - Proteus Simulation V1.0 comes as a ZIP archive of 147 files (14.7 MB, 29.4 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, source code and a nested archive. Open the File Structure tab for the full list of 147 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, 13c7cffaa0bf70d920de8a80ee866d548dd54d577c369018e0f439ec7e256232. In PowerShell run Get-FileHash "pi-5-home-security-tep-v1-0-c6e0012dbc444b29882f5116d1839db9.zip"; on macOS or Linux run shasum -a 256 "pi-5-home-security-tep-v1-0-c6e0012dbc444b29882f5116d1839db9.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.
Members skip the wait. Log in or join TEP.
- 0Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 12 Nov 2026Uploaded at
13c7cffaa0bf70d920de8a80ee866d548dd54d577c369018e0f439ec7e256232






















Comments
0