Project Files of Raspberry Pi 5 Smart Greenhouse - Proteus Simulation
pi-5-smart-greenhouse-tep-v1-0-1cd66a9524c3462a9ec06642db706e89.zip

Raspberry Pi 5 Smart Greenhouse - Proteus Simulation V1.0
Raspberry Pi 5 Smart Greenhouse - Proteus Simulation V1.0 comes as a ZIP archive of 159 files (16.2 MB, 32.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
Raspberry-Pi-5-Smart-Greenhouse-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (Raspberry Pi 5, DHT22, ADS1115, soil, LDR and water level sensors, L9110S, peristaltic pump, PC fan, relay and lamp, the Laptop and Mobile WiFi Monitors), the Python program greenhouse.py, every LIB and DLL the simulation needs, the TEPPi Python runtime and a README.
File Structure
66.3 KB17.7 KB155.3 KB78.5 KB39.5 KB289.8 KB13.1 KB24.8 KB26.7 KB490.4 KB60.5 KB239.3 KB226.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 KB326 KB291 KB306.5 KB295 KB420 KB2.9 MB303.5 KB306 KB330 KB361 KB398 KB12.9 KB57.3 KB326 KB291 KB306.5 KB295 KB420 KB2.9 MB303.5 KB306 KB330 KB361 KB398 KB12.9 KB13.3 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Raspberry Pi 5 Smart Greenhouse - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
Raspberry Pi 5 Smart Greenhouse - 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-smart-greenhouse-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
DHT22 temperature and humidity sensor:
https://www.theengineeringprojects.com/2026/10/dht11-dht22-library-for-proteus-v1-0.html
ADS1115 16-bit ADC:
https://www.theengineeringprojects.com/2026/10/ads1115-adc-library-for-proteus-v1-0.html
Soil moisture sensor:
https://www.theengineeringprojects.com/2026/10/soil-moisture-sensor-library-for-proteus-v3-0.html
LDR light sensor:
https://www.theengineeringprojects.com/2026/10/ldr-sensor-library-for-proteus.html
Water level sensor:
https://www.theengineeringprojects.com/2026/10/water-sensor-library-for-proteus-v2-0.html
L9110S motor driver:
https://www.theengineeringprojects.com/2026/10/l9110s-motor-driver-library-for-proteus-v1-0.html
12V peristaltic pump:
https://www.theengineeringprojects.com/2026/11/12v-peristaltic-pump-library-for-proteus-v1-0.html
4-pin PC fan:
https://www.theengineeringprojects.com/2026/11/4-pin-pc-fan-library-for-proteus-v1-0.html
Relay module:
https://www.theengineeringprojects.com/2026/10/relay-module-library-for-proteus-v1-0.html
Filament bulb (the grow lamp):
https://www.theengineeringprojects.com/2026/11/filament-bulb-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-Smart-Greenhouse-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPADS1115.LIB 66.3 KB a part of the project -> LIBRARY folder
| |-- TEPBULB.LIB 17.7 KB a part of the project -> LIBRARY folder
| |-- TEPDHT.LIB 155.3 KB a part of the project -> LIBRARY folder
| |-- TEPL9110S.LIB 78.5 KB a part of the project -> LIBRARY folder
| |-- TEPLAPTOP.LIB 39.5 KB a part of the project -> LIBRARY folder
| |-- TEPLDR.LIB 289.8 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPPCFAN.LIB 24.8 KB a part of the project -> LIBRARY folder
| |-- TEPPERIPUMP.LIB 26.7 KB a part of the project -> LIBRARY folder
| |-- TEPRELAY.LIB 490.4 KB a part of the project -> LIBRARY folder
| |-- TEPRPI5.LIB 60.5 KB a part of the project -> LIBRARY folder
| |-- TEPSOIL.LIB 239.3 KB a part of the project -> LIBRARY folder
| |-- TEPWATERLEVEL.LIB 226.5 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPADS1115.DLL 326.0 KB a model -> MODELS folder
| |-- TEPBULB.DLL 291.0 KB a model -> MODELS folder
| |-- TEPDHT.DLL 306.5 KB a model -> MODELS folder
| |-- TEPL9110S.DLL 295.0 KB a model -> MODELS folder
| |-- TEPLDR.DLL 420.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPPCFAN.DLL 303.5 KB a model -> MODELS folder
| |-- TEPPERIPUMP.DLL 306.0 KB a model -> MODELS folder
| |-- TEPRELAY.DLL 330.0 KB a model -> MODELS folder
| |-- TEPSOIL.DLL 361.0 KB a model -> MODELS folder
| |-- TEPWATERLEVEL.DLL 398.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/
| |-- greenhouse.py 12.9 KB the program PI1 runs
| |-- Pi-5-Smart-Greenhouse.pdsprj 57.3 KB the project simulation
| |-- TEPADS1115.DLL 326.0 KB copy of the model
| |-- TEPBULB.DLL 291.0 KB copy of the model
| |-- TEPDHT.DLL 306.5 KB copy of the model
| |-- TEPL9110S.DLL 295.0 KB copy of the model
| |-- TEPLDR.DLL 420.0 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPPCFAN.DLL 303.5 KB copy of the model
| |-- TEPPERIPUMP.DLL 306.0 KB copy of the model
| |-- TEPRELAY.DLL 330.0 KB copy of the model
| |-- TEPSOIL.DLL 361.0 KB copy of the model
| |-- TEPWATERLEVEL.DLL 398.0 KB copy of the model
|-- Python Code/
| |-- greenhouse.py 12.9 KB the program (the same file)
|-- README.txt ~11.6 KB this file
Total: 32.74 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A small greenhouse you can run in Proteus: a Raspberry Pi 5 waters the plants when the soil dries, cools the air
when it gets hot or humid, switches a grow lamp on in the dark, guards the water reservoir and shows it all on a
web page.
* DHT22 temperature and humidity sensor (DHT22ADVTEP, DHT1) on the Pi's 3V3: DATA on GPIO4.
* ADS1115 16-bit ADC (ADS1115ADVTEP, U1) on +3.3V, I2C1 (SDA GPIO2, SCL GPIO3), ADDR on GND = address 0x48:
A0 the soil, A1 the light, A2 the water level.
* Soil moisture sensor (SOILADVTEP, U2) on +3.3V: A0 to the ADS1115's A0. MOISTURE=45 at the start.
* LDR light sensor (LDRADVTEP, U3) on +3.3V: A0 to the ADS1115's A1.
* Water level sensor (WATERLEVELADVTEP, U4) on +3.3V in the reservoir: S to the ADS1115's A2.
* L9110S motor driver (L9110SADVTEP, DRV1) on 12 V: A-IA on GPIO17, A-IB on GPIO27; A-OA / A-OB to the pump.
* 12 V peristaltic pump (PERIPUMPTEP, M1): 4-second doses, a 10-second soak between them.
* 4-pin PC fan (PCFAN4PINTEP, FAN1) on 12 V: PWM on GPIO18 (LOW = its minimum, HIGH = full speed), TACH on
GPIO23 (the Pi's pull-up; two pulses a turn).
* 1-channel relay module (RELAY1ADVTEP, RLY1) on 5 V: IN on GPIO22 (active LOW); COM on 12 V, NO to the lamp.
* 12 V lamp (BULBW5WTEP, L1): the grow lamp.
* RASPBERRY PI 5 (PI1) runs greenhouse.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 rules (at the top of greenhouse.py):
* the soil below 35 %: a dose, a soak, again until the soil reaches 45 %;
* the reservoir below 25 %: watering blocked (the pump never runs dry);
* above 30 C or 85 %RH: the fan at full speed; below 28 C and 75 %RH: back to its minimum;
* the light below 25 %: the grow lamp on; above 40 %: off.
Its pages:
/ the dashboard: the air, the soil, the light, the reservoir, the pump, the fan, the lamp, the events
/water one dose of water now (refused when the reservoir is low)
/fan the fan by hand (full / minimum)
/lamp the lamp by hand (on / off)
/auto the fan and the lamp back to AUTO
/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: 24.0 C, 50 %RH, the soil 45 % (A0 2.045 V), the light 87 %, the reservoir 50 % (AIN2 1.6818 V).
* Dry 10 on the soil: "the soil is dry (10 %) - watering" and "pump ON: dose 1 (4 s)" at 12.0 s (80.1 mL/min,
100 RPM, 11.50 V, 252 mA); "pump OFF - soaking for 10 s" at 16.0 s; dose 2 at 26.0 s (the soil at 30 %);
"the soil is moist again (50 %) - watering done after 2 doses" at 40.0 s (Water the plant after each dose).
* HOT on the DHT22: "fan FULL (AUTO: 38.0 C, 30 %RH)" at 44.0 s, 1440 - 1470 RPM (tach 48 Hz); ROOM: "fan
minimum" at 52.0 s, back to 300 RPM.
* Night on the LDR: "grow lamp ON (AUTO: light 7 %)" at 53.0 s (relay coil 69.3 mA, the lamp 416 mA); Indoor:
"grow lamp off" at 57.0 s.
* Empty on the water sensor: "the reservoir is LOW (8 %)" at 59.0 s; WATER on the laptop: "no dose: the
reservoir is low (0 %)" at 61.0 s; Full 40: "the reservoir refilled (26 %)" at 63.0 s.
66 s of simulation took about 14 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, DHT22ADVTEP or PERIPUMPTEP to check that
the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\Pi-5-Smart-Greenhouse.pdsprj". Keep greenhouse.py and the DLL files beside it.
2. Press Play. The Pi's terminal prints a status line every 5 seconds.
3. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go. Press Refresh to update it.
4. In the soil sensor's pop-up (U2) press Dry 10: the pump gives a dose. Press Water the plant after each dose
(+20 %) to see the soil respond; at 45 % the watering stops.
5. HOT on the DHT22's pop-up (DHT1): the fan at full speed. Night on the LDR's pop-up (U3): the grow lamp on.
Empty on the water sensor's pop-up (U4): the reservoir LOW, watering blocked; Full 40 refills it.
Your own program: edit greenhouse.py beside the project (the thresholds at the top) and press Play.
PROPERTIES USED IN THIS PROJECT
PI1 RASPBERRY PI 5 PROGRAM=greenhouse.py, ETHERNET=IN (192.168.1.51)
DHT1 DHT22ADVTEP (no changes)
U1 ADS1115ADVTEP (no changes: ADDR wired to GND = 0x48)
U2 SOILADVTEP MOISTURE=45
U3 LDRADVTEP (no changes)
U4 WATERLEVELADVTEP (no changes)
DRV1 L9110SADVTEP (no changes)
M1 PERIPUMPTEP (no changes)
FAN1 PCFAN4PINTEP (no changes)
RLY1 RELAY1ADVTEP (no changes)
L1 BULBW5WTEP (no changes)
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.
* The air shows "no reading yet": the DHT22's DATA is not on GPIO4, or it has no supply.
* The soil, light and reservoir all read 0 %: the ADS1115 is not at 0x48 (ADDR on GND), or SDA / SCL are swapped.
* The pump never runs: the reservoir is low (refill it in U4's pop-up), or the L9110S has no 12 V.
* The fan never goes to full speed: its PWM wire is not on GPIO18.
* The lamp is on when it should be off: the relay's IN is active LOW - a HIGH GPIO22 keeps it off.
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; DHT22 (Aosong), ADS1115 (Texas Instruments) and L9110S 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 Smart Greenhouse - 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-smart-greenhouse-tep-v1-0-1cd66a9524c3462a9ec06642db706e89.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-Smart-Greenhouse-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPADS1115.LIB, TEPBULB.LIB and TEPDHT.LIB and 10 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 TEPADS1115.DLL, TEPBULB.DLL and TEPDHT.DLL and 15 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 greenhouse.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-Smart-Greenhouse.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 Smart Greenhouse - 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 Smart Greenhouse - 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 Smart Greenhouse - Proteus Simulation V1.0 comes as a ZIP archive of 159 files (16.2 MB, 32.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 159 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, dc9692699f08223de2f152ce676229df223bb06587080897f9b8d461f8111d24. In PowerShell run Get-FileHash "pi-5-smart-greenhouse-tep-v1-0-1cd66a9524c3462a9ec06642db706e89.zip"; on macOS or Linux run shasum -a 256 "pi-5-smart-greenhouse-tep-v1-0-1cd66a9524c3462a9ec06642db706e89.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
- 13 Nov 2026Uploaded at
dc9692699f08223de2f152ce676229df223bb06587080897f9b8d461f8111d24






















Comments
0