Project Files of Rain-Sensing Wiper Controller on Raspberry Pi 5 - Proteus Simulation
af19b91f51b84a56be1c40e9db00ae73.zip

Rain-Sensing Wiper Controller on Raspberry Pi 5 - Proteus Simulation V1.0
Rain-Sensing Wiper Controller on Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 147 files (14.8 MB, 29.7 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
Rain-Sensing-Wiper-Controller-Raspberry-Pi-5-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (a Raspberry Pi 5, a rain gauge, a 2-channel relay module, a car wiper motor, an I2C LCD 16x2, the Laptop and Mobile WiFi Monitors), the Python program wiper_rain.py, every LIB and DLL, the TEP Pi runtime and a README.
File Structure
18.6 KB181.4 KB39.5 KB13.1 KB15.4 KB490.4 KB306.9 KB60.5 KB31.2 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 KB292 KB409 KB3.0 MB307 KB330 KB311 KB278 KB43.7 KB292 KB409 KB3.0 MB307 KB330 KB311 KB278 KB12.4 KB12.4 KB11.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Rain-Sensing Wiper Controller on Raspberry Pi 5 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Rain-Sensing Wiper 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/12/rain-sensing-wiper-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
Rain gauge:
https://www.theengineeringprojects.com/2026/11/rain-gauge-library-for-proteus.html
Relay module:
https://www.theengineeringprojects.com/2026/10/relay-module-library-for-proteus-v1-0.html
Car wiper motor:
https://www.theengineeringprojects.com/2026/11/car-wiper-motor-library-for-proteus-v1-0.html
I2C LCD 16x2:
https://www.theengineeringprojects.com/2026/10/i2c-lcd-16x2-library-for-proteus-v1-0.html
Small transistors (BC547B):
https://www.theengineeringprojects.com/2026/11/small-transistors-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-Rain-Wiper-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBJT.LIB 18.6 KB a part of the project -> LIBRARY folder
| |-- TEPI2CLCD16X2.LIB 181.4 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPRAINGAUGE.LIB 15.4 KB a part of the project -> LIBRARY folder
| |-- TEPRELAY.LIB 490.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
| |-- TEPWIPER.LIB 31.2 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPBJT.DLL 292.0 KB a model -> MODELS folder
| |-- TEPLCD.DLL 409.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 3.01 MB a model -> MODELS folder
| |-- TEPRAINGAUGE.DLL 307.0 KB a model -> MODELS folder
| |-- TEPRELAY.DLL 330.0 KB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPWIPER.DLL 278.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/
| |-- Pi-5-Rain-Wiper.pdsprj 43.7 KB the project simulation
| |-- TEPBJT.DLL 292.0 KB copy of the model
| |-- TEPLCD.DLL 409.0 KB copy of the model
| |-- TEPNET.DLL 3.01 MB copy of the model
| |-- TEPRAINGAUGE.DLL 307.0 KB copy of the model
| |-- TEPRELAY.DLL 330.0 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
| |-- TEPWIPER.DLL 278.0 KB copy of the model
| |-- wiper_rain.py 12.4 KB the program PI1 runs
|-- Python Code/
| |-- wiper_rain.py 12.4 KB the program (the same file)
|-- README.txt ~11.1 KB this file
Total: 29.65 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
Automatic wipers: the harder it rains, the faster they wipe, and they stop by themselves when the rain does. A
Raspberry Pi 5 measures the rain with a tipping-bucket rain gauge and runs a car wiper motor through the classic
two-relay wiper circuit, reading the motor's park switch to count the wipes and to catch a frozen blade.
* PI1 RASPBERRY PI 5 runs wiper_rain.py on Ethernet at 192.168.1.51 (port 8000).
* U1 the rain gauge (RAINGAUGETEP, PROFILE DEMO - a 20-minute storm: light rain 6 mm/h from minute 2, heavy 40
from 6, a downpour 80 from 12, easing 10 from 16, dry from 20; TIP 0.2794 mm, SPEED 60): its reed switch from
GPIO17 (pin 11, R1 10k to 3.3 V) to ground.
* RLY1 a 2-channel relay module (RELAY2ADVTEP, active LOW): VCC on the 5 V rail, IN1 = GPIO22 (pin 15), IN2 =
GPIO23 (pin 16); COM1 = 53, NO1 = L12, NC1 = 31B; COM2 = +12V, NO2 = 53B, NC2 = L12.
* M1 the car wiper motor (WIPERMOTORTEP, 12 V, GLASS WET): 53b = 53B (high speed), 53 = 53 (low speed), 31b =
31B (the park switch's output), 53a = +12V, 31 to ground.
* Q1 a BC547B (BC547BTEP): 31B through R2 10k to its base, the emitter to ground, the collector to GPIO27 (pin 13)
with R3 10k to 3.3 V - the arm up (31b at 12 V) pulls GPIO27 LOW, parked leaves it HIGH; the car's 12 - 14.4 V
never reaches the Pi.
* LCD1 an I2C LCD 16x2 (I2CLCD16X2BLUEADVTEP, 0x27) on I2C1 (SDA GPIO2, SCL GPIO3), VCC 5 V.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.51:8000/.
What the program does:
the rain a tip every 0.2794 mm (the reed closes for 60 ms; 20 ms debounce); the rate from the time between
the last two tips: mm/h = 0.2794 / the hours between them; no tip for 5 minutes of rain (or twice
the last gap) = dry
the circuit relay 1 on = LOW; both on = HIGH; relay 1 off = 53 fed through the park switch: the motor runs on
until the arm is down, then the switch shorts the brush and the arm stops PARKED
the modes AUTO: HIGH from 60 mm/h, LOW from 25, INT below - one wipe (relay 1 for 0.4 s, the park switch
finishes it), then a pause of 48 / the rate seconds (1.5 - 12 s); a wipe at the first tip of a
shower and a last wipe when it stops; LOW, HIGH, INT and OFF by hand from the dashboard
the park switch each return of GPIO27 to HIGH (the arm parked again) is one wipe; no wipe for 3.5 s while the
motor is fed = STALLED (a frozen blade - the motor's thermal cut-out has to protect it: this circuit
cannot cut the run-on)
RAIN_SPEED 60: the gauge's storm runs 60 x faster in the simulation (its SPEED) - a simulated second is a
minute of rain; the wiper runs in real time; on a real car RAIN_SPEED = 1
Its pages:
/ the dashboard with the links Refresh, AUTO, OFF, INT, LOW and HIGH
/data JSON: the mode, the drive, the rain rate and total, the tips, the wipes, the park switch, a stall
Python libraries: lgpio (in the TEPPi runtime; on Raspberry Pi OS: python3-lgpio); threading, http.server.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the program's clock; a
simulated second is a minute of rain):
- 4.2 s the first tip of the storm: a wipe at once, AUTO INT (3.4 mm/h, a wipe every 13.5 s).
- 6.1 s heavy rain, 38 mm/h: LOW (relay 1 on) - 3 wipes by 9.7 s, 36 a minute by the park switch.
- 11.7 s the downpour, 78 mm/h: HIGH (both relays on) - 7 wipes by 14.9 s, 58 a minute.
- 15.5 s easing: LOW, then 16.4 s INT (24.6 mm/h, then 10.1 mm/h: a wipe every 6.3 s) - 9 wipes by 20 s.
- 24.1 s DRY (no tip for 5 minutes of rain): a last wipe, OFF - 10 wipes; 37 tips = 10.34 mm of rain.
- LOW by hand (32 s), then the wiper's Ice chip: 38.6 s STALLED (the motor at 9.0 A, no wipe for 3.5 s); Wet glass:
42.0 s the wiper moves again; OFF at 43.6 s: the run-on parked the arm. The motor counted 15 wipes, the Pi too.
- 50.8 s of simulation in 405 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 or WIPERMOTORTEP to check that the parts
are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Rain-Wiper.pdsprj". Keep wiper_rain.py and the DLL files beside it.
2. Press Play. The storm starts at minute 2 (2 s); watch the wiper follow it on the sheet and the LCD.
3. Open the Laptop or the Mobile WiFi Monitor (Go) for the dashboard and switch the modes. Click M1 for the
wiper's pop-up and choose Ice to see the stall warning.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=wiper_rain.py, ETHERNET=IN (192.168.1.51)
U1 RAINGAUGETEP PROFILE=DEMO, TIP=0.2794, SPEED=60
RLY1 RELAY2ADVTEP; M1 WIPERMOTORTEP VOLTAGE=12, GLASS=WET
Q1 BC547BTEP; R1, R2, R3 10k; LCD1 I2CLCD16X2BLUEADVTEP; PC1, MOB1 HOMEPAGE=http://192.168.1.51:8000/
TROUBLESHOOTING
* No tips: the reed switch between GPIO17 and ground, R1 10k to 3.3 V.
* The wiper stops mid-sweep when switched off: the park circuit is missing - relay 1's NC must feed 53 from 31b.
* The wipes are not counted: 31B through R2 to Q1's base, Q1's collector to GPIO27 with R3 to 3.3 V (never 12 V
straight into a GPIO; a plain divider sits near the input's threshold and passes a charging car's 14.4 V on).
* The relays do not click: VCC on 5 V, the JD-VCC jumper on; the inputs are active LOW.
* STALLED with the glass wet: the arm cannot reach the park point - check the park switch wiring.
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.
* The thresholds are typical values for learning; a car's wiper control is a safety system with its own rules.
* 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.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Rain-Sensing Wiper Controller on Raspberry Pi 5 - 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 af19b91f51b84a56be1c40e9db00ae73.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-Rain-Wiper-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBJT.LIB, TEPI2CLCD16X2.LIB and TEPLAPTOP.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 TEPBJT.DLL, TEPLCD.DLL and TEPNET.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 wiper_rain.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-Rain-Wiper.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
Rain-Sensing Wiper 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 Rain-Sensing Wiper Controller on Raspberry Pi 5 - 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?
Rain-Sensing Wiper Controller on Raspberry Pi 5 - Proteus Simulation V1.0 comes as a ZIP archive of 147 files (14.8 MB, 29.7 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, ba1900a6dd88c04b949a953c29cb311435508ac67955aa3626df6c04ea909170. In PowerShell run Get-FileHash "af19b91f51b84a56be1c40e9db00ae73.zip"; on macOS or Linux run shasum -a 256 "af19b91f51b84a56be1c40e9db00ae73.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
- 1 Dec 2026Uploaded at
ba1900a6dd88c04b949a953c29cb311435508ac67955aa3626df6c04ea909170






















Comments
0