Project Files of Three-Floor Elevator Controller on Raspberry Pi 5 - Proteus Simulation
f65c909f2fd34161992d775a18fea202.zip

Three-Floor Elevator Controller on Raspberry Pi 5 in Proteus Simulation V1.0
Three-Floor Elevator Controller on Raspberry Pi 5 in Proteus Simulation V1.0 comes as a ZIP archive of 153 files (15.3 MB, 30.2 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
Three-Floor-Elevator-Controller-Raspberry-Pi-5-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, a micro linear stepper on an A4988, call buttons and lamps, a 7-segment digit, an MG90S servo door, an FC-51 door beam, the Laptop and Mobile WiFi Monitors), the Python program elevator.py, every LIB and DLL, the TEPPi Python runtime and a README.
File Structure
20.7 KB229.3 KB39.5 KB24.7 KB24.1 KB13.1 KB60.5 KB28.8 KB17.7 KB171.9 KB158.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 KB274 KB377 KB295 KB321 KB3.0 MB291.5 KB290.5 KB305.5 KB308.5 KB10.4 KB47.1 KB274 KB377 KB295 KB321 KB3.0 MB291.5 KB290.5 KB305.5 KB308.5 KB10.4 KB11.2 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Three-Floor Elevator Controller on Raspberry Pi 5 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Three-Floor Elevator Controller on Raspberry Pi 5 - 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/three-floor-elevator-controller-raspberry-pi-5-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
A4988 / DRV8825 stepper driver:
https://www.theengineeringprojects.com/2026/10/a4988-drv8825-stepper-driver-library-for-proteus-v1-0.html
Micro linear stepper motor:
https://www.theengineeringprojects.com/2026/11/micro-linear-stepper-motor-library-for-proteus-v1-0.html
7-segment display:
https://www.theengineeringprojects.com/2026/11/7-segment-display-library-for-proteus.html
SMD resistor:
https://www.theengineeringprojects.com/2026/11/smd-resistor-library-for-proteus.html
Push button:
https://www.theengineeringprojects.com/2026/11/push-button-library-for-proteus.html
SMD LED:
https://www.theengineeringprojects.com/2026/11/smd-led-library-for-proteus.html
MG90S servo motor:
https://www.theengineeringprojects.com/2026/10/mg90s-servo-motor-library-for-proteus-v1-0.html
IR obstacle sensor FC-51:
https://www.theengineeringprojects.com/2026/10/infrared-sensor-library-for-proteus-v2-0.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-Elevator-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBUTTON.LIB 20.7 KB a part of the project -> LIBRARY folder
| |-- TEPFC51.LIB 229.3 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPMG90S.LIB 24.7 KB a part of the project -> LIBRARY folder
| |-- TEPMICROLIN.LIB 24.1 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPRPI5.LIB 60.5 KB a part of the project -> LIBRARY folder
| |-- TEPSEVENSEG.LIB 28.8 KB a part of the project -> LIBRARY folder
| |-- TEPSMDLED.LIB 17.7 KB a part of the project -> LIBRARY folder
| |-- TEPSMDRES.LIB 171.9 KB a part of the project -> LIBRARY folder
| |-- TEPSTEPPER.LIB 158.5 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPBUTTON.DLL 274.0 KB a model -> MODELS folder
| |-- TEPFC51.DLL 377.0 KB a model -> MODELS folder
| |-- TEPMG90S.DLL 295.0 KB a model -> MODELS folder
| |-- TEPMICROLIN.DLL 321.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.96 MB a model -> MODELS folder
| |-- TEPSEVENSEG.DLL 291.5 KB a model -> MODELS folder
| |-- TEPSMDLED.DLL 290.5 KB a model -> MODELS folder
| |-- TEPSMDRES.DLL 305.5 KB a model -> MODELS folder
| |-- TEPSTEPPER.DLL 308.5 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/
| |-- elevator.py 10.4 KB the program PI1 runs
| |-- Pi-5-Elevator.pdsprj 47.1 KB the project simulation
| |-- TEPBUTTON.DLL 274.0 KB copy of the model
| |-- TEPFC51.DLL 377.0 KB copy of the model
| |-- TEPMG90S.DLL 295.0 KB copy of the model
| |-- TEPMICROLIN.DLL 321.0 KB copy of the model
| |-- TEPNET.DLL 2.96 MB copy of the model
| |-- TEPSEVENSEG.DLL 291.5 KB copy of the model
| |-- TEPSMDLED.DLL 290.5 KB copy of the model
| |-- TEPSMDRES.DLL 305.5 KB copy of the model
| |-- TEPSTEPPER.DLL 308.5 KB copy of the model
|-- Python Code/
| |-- elevator.py 10.4 KB the program (the same file)
|-- README.txt ~10.1 KB this file
Total: 30.23 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A scale-model elevator you can run in Proteus: a Raspberry Pi 5 drives the car up and down a lead screw between
three floors, answers the call buttons the way real elevators do, shows the floor on a 7-segment digit, opens
and closes the door with a servo, and opens it again when something is in the doorway.
* M1 a micro linear stepper (MICROLINSTEPTEP, STROKE 80 mm, START 30 mm): the car is its slider; floors 1 / 2 / 3
at 5 / 40 / 75 mm. DRV1 drives it, an A4988 (A4988ADVTEP, VREF 0.18 V = 0.33 A, full steps):
STEP GPIO20 (pin 38), DIR GPIO21 (pin 40), EN GPIO16 (pin 36), VMOT +12V.
* SW1 - SW3 the call buttons (BUTTONGREENTEP) from 3V3 to GPIO17 / 27 / 22, R8 - R10 10 kohm pull-downs;
D1 - D3 the call lamps (LEDSMDAMBERTEP) on GPIO23 / 24 / 25 through R11 - R13 220 ohm.
* DS1 a 7-segment digit (SEVENSEG1TEP, common cathode): a - g from GPIO5, 6, 13, 19, 26, 12, 4 through R1 - R7.
* SERVO1 the door (MG90SSERVOTEP): SIG GPIO18 (pin 12), V+ 5V; U1 the door beam (FC51ADVTEP): OUT GPIO8 (pin 24).
* RASPBERRY PI 5 (PI1) runs elevator.py on Ethernet at 192.168.1.51 (port 8000).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.51:8000/.
The rules (at the top of the program): homing first (down against the bottom stop, then up to floor 1); 400 full
steps a second (10 mm/s, 40 steps a millimetre); SCAN: keep going while there are calls ahead, stop at each called
floor, then turn round; the door open 3 s, longer while the beam is broken; open again if blocked while closing.
Its pages:
/ the dashboard: the state, the floor, the door, the calls waiting, the events
/call1 /call2 /call3 a call from the dashboard /data everything as JSON
No extra Python library: lgpio (in the TEPPi runtime and on Raspberry Pi OS), threading, http.server.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the program's times):
- Homing from 30 mm: 82 mm of steps down, 2080 full steps lost against the bottom stop; 8.7 s "home found: the car
at floor 1, 5 mm"; the A4988 at 0.33 A a coil (VREF 0.18 V), off between moves (the screw holds the car).
- 13.2 s CALL 3 by its button: going up; 14.1 s CALL 2 while the car passed: SCAN stopped at floor 2 first
(16.8 s, the door open 3 s, the digit 2), then floor 3 at 23.9 s (75.00 mm). 10.6 mm/s, 423 full steps/s.
- 27.3 s CALL 1 from the phone (the door at floor 3 closing): down, passing floor 2 (31.0 s), floor 1 at 34.5 s.
- 37.5 s the door closing, an object at 10 cm in the FC-51's beam: 37.7 s "something in the doorway - the door
opens again"; the beam cleared: 43.8 s it closed, 44.4 s closed. 4 trips, 1 reopen.
- 48 s of simulation in 443 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 everything in "Proteus Model Files" - the DLL files and the TEPPi folder - into the MODELS folder (next
to LIBRARY).
4. Start Proteus. Press P in the schematic and search for RASPBERRY PI 5, MICROLINSTEPTEP or MG90SSERVOTEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Elevator.pdsprj". Keep elevator.py and the DLL files beside it.
2. Press Play. The car homes (down to the stop), then goes to floor 1; the digit shows 1.
3. Press a call button (SW1 - SW3): its lamp lights and the car comes; the door opens.
4. On the FC-51's pop-up choose 10 cm while the door closes: it opens again.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: CALL 1 - 3.
Your own program: edit elevator.py.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=elevator.py, ETHERNET=IN (192.168.1.51)
M1 MICROLINSTEPTEP START=30, STROKE=80; DRV1 A4988ADVTEP VREF=0.18
DS1 SEVENSEG1TEP COMMON=CATHODE, COLOUR=RED; D1 - D3 LEDSMDAMBERTEP
R1 - R7, R11 - R13 220 ohm; R8 - R10 10 kohm (RESISTORSMD1206TEP); SW1 - SW3 BUTTONGREENTEP
SERVO1 MG90SSERVOTEP; U1 FC51ADVTEP; PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* The car does not move: DRV1 needs +12V, and EN must go LOW; VREF must not be 0.
* It moves the wrong way: swap the coil pairs or set UP = 0 in the program.
* A call button does nothing: it must switch 3V3 to its GPIO, with its 10 kohm pull-down to GND.
* The door never reopens: the FC-51's OUT must reach GPIO8; it goes LOW when something is in the beam.
* The terminal cannot start Python: the TEPPi folder is not in MODELS.
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. This project is not made or endorsed by them. It is a teaching model, not a lift controller.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Three-Floor Elevator Controller on Raspberry Pi 5 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.
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 f65c909f2fd34161992d775a18fea202.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-Elevator-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBUTTON.LIB, TEPFC51.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 TEPBUTTON.DLL, TEPFC51.DLL and TEPMG90S.DLL and 13 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 elevator.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-Elevator.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
Three-Floor Elevator Controller on Raspberry Pi 5 - 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 Three-Floor Elevator Controller on Raspberry Pi 5 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?
Three-Floor Elevator Controller on Raspberry Pi 5 in Proteus Simulation V1.0 comes as a ZIP archive of 153 files (15.3 MB, 30.2 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 153 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, e51ace0b76839644f57a99ef6dfe105cb47e2e5657c4921b9e18bd37fc801f1d. In PowerShell run Get-FileHash "f65c909f2fd34161992d775a18fea202.zip"; on macOS or Linux run shasum -a 256 "f65c909f2fd34161992d775a18fea202.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
- Raspberry PiCategory
- 0Comments
- ssyedzainnasirUploaded by
- 22 Nov 2026Uploaded at
e51ace0b76839644f57a99ef6dfe105cb47e2e5657c4921b9e18bd37fc801f1d






















Comments
0