Project Files of IoT Smart Irrigation System with ESP32 - Proteus Simulation
esp32-smart-irrigation-tep-v1-0-854118750d0b4a26a2bcb622b2519323.zip

IoT Smart Irrigation System with ESP32 - Proteus Simulation V1.0
IoT Smart Irrigation System with ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.4 MB, 10.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
IoT-Smart-Irrigation-System-ESP32-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, capacitive soil moisture sensor, DHT22, rain sensor, relay module, mini submersible pump, the Laptop and Mobile WiFi Monitors), the ESP32 sketch and its HEX file, every LIB and DLL the simulation needs, and a README.
File Structure
11.7 KB60.1 KB155.3 KB36.6 KB39.5 KB13.1 KB157.2 KB490.4 KB16.1 KB312.5 KB306.5 KB2.9 MB380 KB330 KB296.5 KB35.8 KB74.3 KB312.5 KB306.5 KB2.9 MB380 KB330 KB296.5 KB10.2 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in IoT Smart Irrigation System with ESP32 - Proteus Simulation. Open an image for its full size.












README
===============================================================================================================
IoT Smart Irrigation System with ESP32 - 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/iot-smart-irrigation-system-esp32-proteus-simulation.html
The libraries this project is built from (each post has its own full download and tutorial):
ESP32 DevKit V1 board:
https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
Capacitive soil moisture sensor:
https://www.theengineeringprojects.com/2026/10/capacitive-soil-moisture-sensor-library-for-proteus-v1-0.html
DHT22 temperature and humidity sensor:
https://www.theengineeringprojects.com/2026/10/dht11-dht22-library-for-proteus-v1-0.html
Rain sensor:
https://www.theengineeringprojects.com/2026/10/rain-sensor-library-for-proteus-v2-0.html
Relay module:
https://www.theengineeringprojects.com/2026/10/relay-module-library-for-proteus-v1-0.html
Mini submersible water pump:
https://www.theengineeringprojects.com/2026/10/mini-submersible-water-pump-library-for-proteus-v1-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
ESP32-Smart-Irrigation-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPCAPSOIL.LIB 60.1 KB a part of the project -> LIBRARY folder
| |-- TEPDHT.LIB 155.3 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 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
| |-- TEPRAIN.LIB 157.2 KB a part of the project -> LIBRARY folder
| |-- TEPRELAY.LIB 490.4 KB a part of the project -> LIBRARY folder
| |-- TEPSUBPUMP.LIB 16.1 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPCAPSOIL.DLL 312.5 KB a model -> MODELS folder
| |-- TEPDHT.DLL 306.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPRAIN.DLL 380.0 KB a model -> MODELS folder
| |-- TEPRELAY.DLL 330.0 KB a model -> MODELS folder
| |-- TEPSUBPUMP.DLL 296.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Smart_Irrigation.hex 74.3 KB the firmware
| |-- ESP32-Smart-Irrigation.pdsprj 35.8 KB the project simulation
| |-- TEPCAPSOIL.DLL 312.5 KB copy of the model
| |-- TEPDHT.DLL 306.5 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPRAIN.DLL 380.0 KB copy of the model
| |-- TEPRELAY.DLL 330.0 KB copy of the model
| |-- TEPSUBPUMP.DLL 296.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Smart_Irrigation/ESP32_Smart_Irrigation.ino 11.7 KB the sketch (source of the .hex)
|-- README.txt ~10.2 KB this file
Total: 10.03 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A complete IoT project you can run in Proteus: an ESP32 DevKit V1 waters a plant by itself and shows the soil,
the air, the rain and the pump on a web dashboard for a laptop and a phone, all inside one Proteus simulation.
* Capacitive soil moisture sensor v1.2 (CAPSOILADVTEP): AOUT on D34, VCC on 5 V (VIN). 2.54 V in air and
1.27 V in water; the sketch turns the voltage into a moisture % between the two.
* DHT22 (DHT22ADVTEP): DATA on D4; the sketch reads its 40 bits itself, no library needed.
* Rain sensor (RAINADVTEP): A0 on D35 (how wet the plate is), D0 on D27 (LOW while it rains).
* 1-channel relay module (RELAY1ADVTEP): IN on D26 (active LOW), VCC on 5 V; its contacts switch the mini
submersible pump (SUBPUMPTEP): +5 V on NO, the pump on COM, the pump's other wire on GND.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open the dashboard at http://192.168.1.101/.
AUTO: the pump starts when the soil is drier than 35 % and stops when it is wetter than 55 %; never while it
rains (a rain delay), never longer than 60 s at a time, and not again within 20 s. The page can also switch the
pump ON or OFF by hand, or water for 10 s and go back to AUTO. The ESP32 joins TEP-WiFi (password 12345678) and
gets 192.168.1.101. Its pages:
/ the dashboard: status, links, soil moisture, the trend picture, air, rain, pump and water used
/trend.bmp the last 5 minutes of the soil moisture with the thresholds, the pump and the rain, drawn by the ESP32
/auto /on /off /water the modes
/data all the readings as JSON
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots:
* Wi-Fi joined in about 2 s of simulation; the dashboard and its trend picture served to both monitors.
* DHT22 read every 3 s: 31.0 C and 42 % (its properties); the soil at VWC 21 read 47 - 49 %.
* DRY OUT on the soil: AUTO started the pump at 33.1 s at 34.8 %; WATER IT twice soaked the soil and AUTO
stopped the pump at 44.7 s at 55.5 % (11.6 s of pumping, 0.27 L).
* Rain at 53.4 s with the soil set to DRY (19 %): "rain delay", the pump stayed off. The rain stopped at
61.5 s; the 20 s pause after the last watering ended and the pump started at 64.7 s; the soil's WET preset
stopped it at 68.7 s (57.6 %).
* WATER 10 s from the laptop at 72.1 s: the pump ran until 82.3 s, then AUTO saw wet soil (67 %) and left it off.
89 s of simulation took about 17 minutes on our PC with all the captures (the ESP32 board runs at about half of
real time without them).
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 the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1, CAPSOILADVTEP, DHT22ADVTEP,
RAINADVTEP, RELAY1ADVTEP or SUBPUMPTEP to check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Smart-Irrigation.pdsprj". Keep the .hex and .DLL files beside it.
2. Press Play. The ESP32's serial monitor opens; after about 2 s of simulation it prints the dashboard address.
3. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go. Press Refresh on the page
to update it.
4. Play the weather and the soil from the pop-ups (click a part while the simulation runs): the soil's DRY OUT
dries it until the pump starts; WATER IT soaks it; the rain sensor's Rain gives a rain delay; Clear and
Wipe the plate end it.
5. Try PUMP ON, PUMP OFF and WATER 10 s on the page, and watch the relay and the water in the pump's scene.
Your own sketch: the source is in "Arduino Code". Install the TEP Boards for Proteus add-on from the ESP32 DevKit V1
post (it is in that post's download), choose Tools > Board > ESP32 DevKit V1 (TEP Proteus), export the compiled
binary and set the board's PROGRAM property to the new .hex file. The same sketch runs on a real ESP32 Dev Module.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Smart_Irrigation.hex
U2 CAPSOILADVTEP VWC=21 (21 % water by volume at the start)
DHT1 DHT22ADVTEP TEMPERATURE=31, HUMIDITY=42
U3 RAINADVTEP (the weather starts CLEAR)
RLY1 RELAY1ADVTEP (no properties)
M1 SUBPUMPTEP (a 30 cm lift by default)
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* "Connecting to TEP-WiFi......" never ends: the .hex file is missing beside the project, or TEPNET.DLL is not
in MODELS. Copy the files again and restart Proteus.
* The soil sensor's pop-up warns that the regulator drops out: its VCC is on 3.3 V; keep it on 5 V.
* "DHT22: no answer": DATA is not on D4, or the sketch was changed to read faster than every 2 s.
* The pump never starts: the soil is not dry enough, it is raining (rain delay), or the 20 s pause after the
last watering is still running. The status line says which.
* A part is missing when the project opens: its LIB is not in the LIBRARY folder (step 2 of INSTALLATION).
LICENCES
* The project, the sketch, 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.
* The .hex file is built from the sketch with TEP Boards for Proteus, the Arduino add-on in the ESP32 DevKit V1
download; its licences are listed in that download.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 and DHT22 are names of their owners;
this project is not made or endorsed by them.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0IoT Smart Irrigation System with ESP32 - 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.
Installation8 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
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click esp32-smart-irrigation-tep-v1-0-854118750d0b4a26a2bcb622b2519323.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-Smart-Irrigation-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPCAPSOIL.LIB, TEPDHT.LIB and TEPESP32V1.LIB and 5 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 TEPCAPSOIL.DLL, TEPDHT.DLL and TEPNET.DLL and 3 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
Open the sketch in the Arduino IDE
Open ESP32_Smart_Irrigation.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to ESP32_Smart_Irrigation.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Smart-Irrigation.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
IoT Smart Irrigation System with ESP32 - Proteus Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download IoT Smart Irrigation System with ESP32 - 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?
IoT Smart Irrigation System with ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.4 MB, 10.0 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 24 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, 41377a9af7d0a1cb4c88ba732a217a3e61cb5a91376c1b4e9738042c3bd8b9ce. In PowerShell run Get-FileHash "esp32-smart-irrigation-tep-v1-0-854118750d0b4a26a2bcb622b2519323.zip"; on macOS or Linux run shasum -a 256 "esp32-smart-irrigation-tep-v1-0-854118750d0b4a26a2bcb622b2519323.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.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 1Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 10 Nov 2026Uploaded at
41377a9af7d0a1cb4c88ba732a217a3e61cb5a91376c1b4e9738042c3bd8b9ce






















Comments
0