Project Files of Raspberry Pi 5 Pedestrian Crossing Traffic Light (Proteus Simulation)
13b9f30131b94d5086f6962342ebdb68.zip

Raspberry Pi 5 Pedestrian Crossing Traffic Light in Proteus Simulation V1.0
Raspberry Pi 5 Pedestrian Crossing Traffic Light in Proteus Simulation V1.0 comes as a ZIP archive of 150 files (14.8 MB, 30.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-Pedestrian-Crossing-Traffic-Light-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, SMD LEDs, an amber 5 mm LED, SMD resistors, a push button, a 4-way DIP switch, a slide switch, an active buzzer, the Laptop and Mobile WiFi Monitors), the Python program pedestrian_crossing.py, every LIB and DLL the simulation needs, the TEPPi Python runtime and a README.
File Structure
20.7 KB9.9 KB1.6 MB39.5 KB21.9 KB13.1 KB60.5 KB13.2 KB17.7 KB171.9 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 KB276 KB279.5 KB289.5 KB2.9 MB276.5 KB290.5 KB305.5 KB9.5 KB35.8 KB274 KB276 KB279.5 KB289.5 KB2.9 MB276.5 KB290.5 KB305.5 KB9.5 KB11 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Raspberry Pi 5 Pedestrian Crossing Traffic Light (Proteus Simulation). Open an image for its full size.












README
===============================================================================================================
Raspberry Pi 5 Pedestrian Crossing Traffic Light (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-pedestrian-crossing-traffic-light-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
SMD LED:
https://www.theengineeringprojects.com/2026/11/smd-led-library-for-proteus.html
Designer colour LED:
https://www.theengineeringprojects.com/2026/11/designer-colour-led-library-for-proteus.html
DIP switch:
https://www.theengineeringprojects.com/2026/11/dip-switch-library-for-proteus.html
Slide switch:
https://www.theengineeringprojects.com/2026/11/slide-switch-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
Active buzzer:
https://www.theengineeringprojects.com/2026/11/active-buzzer-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-Pedestrian-Crossing-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBUTTON.LIB 20.7 KB a part of the project -> LIBRARY folder
| |-- TEPBUZZER.LIB 9.9 KB a part of the project -> LIBRARY folder
| |-- TEPDIP.LIB 1.63 MB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLEDCOLOUR.LIB 21.9 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
| |-- TEPSLIDE.LIB 13.2 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
|-- Proteus Model Files/
| |-- TEPBUTTON.DLL 274.0 KB a model -> MODELS folder
| |-- TEPBUZZER.DLL 276.0 KB a model -> MODELS folder
| |-- TEPDIP.DLL 279.5 KB a model -> MODELS folder
| |-- TEPLEDCOLOUR.DLL 289.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.90 MB a model -> MODELS folder
| |-- TEPSLIDE.DLL 276.5 KB a model -> MODELS folder
| |-- TEPSMDLED.DLL 290.5 KB a model -> MODELS folder
| |-- TEPSMDRES.DLL 305.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/
| |-- pedestrian_crossing.py 9.5 KB the program PI1 runs
| |-- Pi-5-Pedestrian-Crossing.pdsprj 35.8 KB the project simulation
| |-- TEPBUTTON.DLL 274.0 KB copy of the model
| |-- TEPBUZZER.DLL 276.0 KB copy of the model
| |-- TEPDIP.DLL 279.5 KB copy of the model
| |-- TEPLEDCOLOUR.DLL 289.5 KB copy of the model
| |-- TEPNET.DLL 2.90 MB copy of the model
| |-- TEPSLIDE.DLL 276.5 KB copy of the model
| |-- TEPSMDLED.DLL 290.5 KB copy of the model
| |-- TEPSMDRES.DLL 305.5 KB copy of the model
|-- Python Code/
| |-- pedestrian_crossing.py 9.5 KB the program (the same file)
|-- README.txt ~10.1 KB this file
Total: 30.40 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A push-button pedestrian crossing you can run in Proteus: a Raspberry Pi 5 runs the cars' lights and the red and
green man, lights WAIT when someone presses the button, ticks the buzzer for blind people while they may cross,
takes its timings from a DIP switch, flashes amber at night and serves a web dashboard.
* The cars' red, amber and green: SMD LEDs (LEDSMDREDTEP, LEDSMDAMBERTEP, LEDSMDGREENTEP) on GPIO17, 27, 22 (pins
11, 13, 15); the red man and the green man on GPIO23, 24 (pins 16, 18); each through a 220 ohm SMD resistor
(RESISTORSMD1206TEP), the cathodes to GND.
* The WAIT lamp: an amber 5 mm LED (LED5MMAMBERTEP) on GPIO25 (pin 22) through 220 ohm.
* SW1 the push button (BUTTONGREENTEP) from 3V3 to GPIO5 (pin 29).
* SW2 a 4-way DIP switch (DIPSWITCH4TEP): pins 5 - 8 on 3V3, switches 1 - 4 to GPIO6, 13, 19, 26 (pins 31, 33,
35, 37).
* R7 - R11 10 kohm SMD pull-downs hold GPIO5 and the four DIP inputs LOW while their switches are open.
* SW3 a slide switch (SWITCHSLIDETEP): C to GPIO12 (pin 32), leg 1 to GND (DAY), leg 3 to 3V3 (NIGHT).
* BZ1 an active buzzer (BUZZERACTIVETEP) on GPIO18 (pin 12).
* RASPBERRY PI 5 (PI1) runs pedestrian_crossing.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 sequence (at the top of the program): the cars green at least 20 s; a request lights WAIT; amber 3 s; all red
1 s; the green man for the walk time with fast ticks; the green man flashing 4 s (silent); red and amber 2 s; green.
The DIP switch: 1 and 2 = the walk time 6, 8, 10 or 12 s; 3 = the ticks; 4 = the red-and-amber step. NIGHT: the
cars' amber flashes; a request still gets a crossing.
Its pages:
/ the dashboard: the state, the wait, the crossings, the settings, the events
/request a crossing request (as the button) /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):
- DIP switches 1, 3 and 4 on: 3.3 s "DIP 1011: walk 8 s, ticks on, red-and-amber on"; the DIP pop-up 1101 = 13,
500 uA in each closed contact (into its 10 kohm pull-down).
- 8.0 s PUSH TO CROSS (11 bounce edges in 5.22 ms, one request): WAIT lit, the cars kept green; the laptop showed
"CARS GREEN - WAIT 3.3 s". 20.0 s cars AMBER (the 20 s minimum green); 24.0 s "WALK: the green man for 8 s
(waited 16.0 s)" with the ticks; 32.0 s the green man flashing (silent); 36.0 s red and amber; 38.0 s cars GREEN
again - crossing 1 done.
- 41.9 s the slide switch to NIGHT: the cars' amber flashing. 46.0 s REQUEST from the laptop; 46.9 s amber; 50.9 s
WALK (waited 4.9 s); 64.9 s crossing 2 done, back to flashing amber.
- The buzzer counted 80 ticks (five a second, two 8 s walks); the lamps drew about 14 mA each in the simulation.
- 69.6 s of simulation in 353 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, LEDSMDREDTEP or DIPSWITCH4TEP to check
that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Pedestrian-Crossing.pdsprj". Keep pedestrian_crossing.py and the DLL files beside
it.
2. Press Play. The cars have green and the red man shows.
3. Press the button (SW1): WAIT lights; after the cars' minimum green the crossing runs.
4. Flip the DIP switches for another walk time, the ticks or the red-and-amber step; slide SW3 to NIGHT.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: REQUEST.
Your own program: edit pedestrian_crossing.py.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=pedestrian_crossing.py, ETHERNET=IN (192.168.1.51)
D1 - D5 SMD LEDs red, amber, green (the cars); red, green (the people); D6 LED5MMAMBERTEP (WAIT)
R1 - R6 RESISTORSMD1206TEP 220 ohm; R7 - R11 10 kohm (the pull-downs)
SW1 BUTTONGREENTEP; SW2 DIPSWITCH4TEP; SW3 SWITCHSLIDETEP; BZ1 BUZZERACTIVETEP
PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* A light never comes on: its LED is the wrong way round (A to the resistor, K to GND) or its GPIO is wrong.
* The button does nothing: it must go to 3V3, with R7 (10 kohm) from GPIO5 to GND.
* The DIP switches read wrong: pins 5 - 8 go to 3V3; switch k joins pin k to pin 9 - k.
* 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 road traffic controller.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Raspberry Pi 5 Pedestrian Crossing Traffic Light 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 13b9f30131b94d5086f6962342ebdb68.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-Pedestrian-Crossing-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBUTTON.LIB, TEPBUZZER.LIB and TEPDIP.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, TEPBUZZER.DLL and TEPDIP.DLL and 12 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 pedestrian_crossing.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-Pedestrian-Crossing.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 Pedestrian Crossing Traffic Light (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 Pedestrian Crossing Traffic Light 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?
Raspberry Pi 5 Pedestrian Crossing Traffic Light in Proteus Simulation V1.0 comes as a ZIP archive of 150 files (14.8 MB, 30.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 150 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, 49f3c69b80e755a882c00f7f9d44c8d4e4a77f0861db341b1507dd17b96608b1. In PowerShell run Get-FileHash "13b9f30131b94d5086f6962342ebdb68.zip"; on macOS or Linux run shasum -a 256 "13b9f30131b94d5086f6962342ebdb68.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
- 19 Nov 2026Uploaded at
49f3c69b80e755a882c00f7f9d44c8d4e4a77f0861db341b1507dd17b96608b1






















Comments
0