Project Files of ESP32 Dual-Axis Solar Tracker with Four LDRs (Proteus Simulation)
89d18794ae1a48d5a1db01356284c0d3.zip

ESP32 Dual-Axis Solar Tracker with Four LDRs in Proteus Simulation V1.0
ESP32 Dual-Axis Solar Tracker with Four LDRs in Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.4 MB, 9.5 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
ESP32-Dual-Axis-Solar-Tracker-LDR-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, the dual-axis solar tracker, the pyranometer, an ADS1115, an INA219, a 5 W resistor, the Laptop and Mobile WiFi Monitors), the Arduino sketch and its HEX file, every LIB and DLL and a README.
File Structure
11.6 KB66.3 KB36.6 KB62.6 KB39.5 KB13.1 KB157.2 KB17.2 KB26 KB326 KB319.5 KB2.9 MB304.5 KB326.5 KB340.5 KB34.2 KB88.5 KB326 KB319.5 KB2.9 MB304.5 KB326.5 KB340.5 KB10.5 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in ESP32 Dual-Axis Solar Tracker with Four LDRs (Proteus Simulation). Open an image for its full size.












README
===============================================================================================================
ESP32 Dual-Axis Solar Tracker with Four LDRs (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/esp32-dual-axis-solar-tracker-ldr-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
Dual-axis solar tracker:
https://www.theengineeringprojects.com/2026/11/dual-axis-solar-tracker-library-for-proteus.html
Solar irradiance sensor (pyranometer):
https://www.theengineeringprojects.com/2026/11/solar-irradiance-sensor-pyranometer-library-for-proteus.html
ADS1115 16-bit ADC:
https://www.theengineeringprojects.com/2026/10/ads1115-adc-library-for-proteus-v1-0.html
INA219 current sensor:
https://www.theengineeringprojects.com/2026/10/ina219-current-sensor-library-for-proteus-v1-0.html
Power resistor:
https://www.theengineeringprojects.com/2026/11/power-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
ESP32-Solar-Tracker-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPADS1115.LIB 66.3 KB a part of the project -> LIBRARY folder
| |-- TEPESP32V1.LIB 36.6 KB a part of the project -> LIBRARY folder
| |-- TEPINA219.LIB 62.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
| |-- TEPPOWERRES.LIB 157.2 KB a part of the project -> LIBRARY folder
| |-- TEPPYRANO.LIB 17.2 KB a part of the project -> LIBRARY folder
| |-- TEPTRACKER.LIB 26.0 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPADS1115.DLL 326.0 KB a model -> MODELS folder
| |-- TEPINA219.DLL 319.5 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPPOWERRES.DLL 304.5 KB a model -> MODELS folder
| |-- TEPPYRANO.DLL 326.5 KB a model -> MODELS folder
| |-- TEPTRACKER.DLL 340.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Solar_Tracker.hex 88.5 KB the firmware
| |-- ESP32-Solar-Tracker.pdsprj 34.2 KB the project simulation
| |-- TEPADS1115.DLL 326.0 KB copy of the model
| |-- TEPINA219.DLL 319.5 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPPOWERRES.DLL 304.5 KB copy of the model
| |-- TEPPYRANO.DLL 326.5 KB copy of the model
| |-- TEPTRACKER.DLL 340.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Solar_Tracker/ESP32_Solar_Tracker.ino 11.6 KB the sketch (source of the .hex)
|-- README.txt ~10.5 KB this file
Total: 9.49 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A small dual-axis solar tracker you can run in Proteus: an ESP32 keeps a 6 V 1 W panel pointed at the sun with two
servos, steering by four LDRs in good light and by the sun's computed path under clouds, measures the panel's power
and the sunlight, and serves a web dashboard.
* ST1 the dual-axis solar tracker (SOLARTRACKERTEP): PAN on D18, TILT on D19 (servo pulses 544 - 2400 us), VCC on
+5V; pan 0 = east, 90 = south, 180 = west; tilt 0 = upright, 90 = flat. Its sun: HOUR 5, SPEED 1800 (half an
hour each second), LATITUDE 30, DAY 81 (21 March).
* U2 an ADS1115 (ADS1115ADVTEP, 0x48, VDD +3.3V): the four LDRs TL, TR, BL, BR on A0 - A3, +-4.096 V.
* U3 an INA219 (INA219ADVTEP, 0x40, VCC +3.3V) between the panel (PV+) and its load R1, a 33 ohm 5 W power
resistor (RESISTORPOWER5WTEP); SDA D21, SCL D22 for both.
* PY1 a pyranometer (PYRANOMETERTEP, MODEL 2.5: 1.25 mV per W/m2), lying flat, the same sun and clock: OUT on
D34, V+ on +5V.
* ESP32 DEVKIT V1 (U1) runs ESP32_Solar_Tracker.hex on TEP-WiFi at 192.168.1.101 (port 80); its LED (D2) lights
while the panel is on the sun.
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
The rules (at the top of the sketch):
* twenty moves a second: the left pair of LDRs against the right pair turns the pan, the upper pair against the
lower pair the tilt, by a step that grows with the difference (0.235 V a degree, at most 6 degrees);
* the sun's place from the solar time, the latitude and the day (the declination, the hour angle); the light
expected from a clear sky (the Haurwitz model); under half of it = CLOUDS: the panel follows the computed path;
* NIGHT (the sun down, under 20 W/m2): the panel waits facing east; STOW: flat (high wind); AUTO: tracking again;
* the energy from the panel and the sunlight on the ground, added up in the models' time (CLOCK = 1800).
Its pages:
/ the dashboard: the mode, the sun, the panel's aim, the light, the power, the energy, the events
/stow the panel flat /auto tracking again /data everything as JSON
Libraries: WiFi, WebServer, Wire and ESP32Servo - part of the ESP32 core; the ADS1115 and the INA219 are read
register by register.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the solar times of the
sketch, which match the models' clocks):
- 05:00 "NIGHT: waiting for the sunrise facing east" (pan 0, tilt 10). 06:10 TRACKING (13 W/m2); 06:22 "on the sun:
pan 2.5, tilt 4.6 - 0.3 deg off its computed place". All morning within 0.3 - 0.4 deg of the computed sun.
- 10:00: the sun at 131 / 49 deg, the panel pan 40, tilt 48; LDRs 3.19 - 3.25 V; 966 W/m2 on the panel, 5.54 V,
168 mA, 0.93 W into the 33 ohm load; the pyranometer 735 W/m2 on the ground (0.919 V).
- 12:12 clouds (the pyranometer's Overcast, then the tracker's Cloudy): "CLOUDS: 230 W/m2 - following the sun's
path"; the LDRs even at 2.00 V; the panel kept within 0.6 deg of the sun behind the clouds, 0.05 W.
- 14:09 the sun back on the tracker: 0.92 W at once, the panel already aimed; 14:11 TRACKING, 0.2 deg off.
- 15:00 STOW from the laptop: flat, 60 deg off the sun, 0.22 W; 15:59 AUTO from the phone; 16:27 on the sun again.
- 18:01 NIGHT: back facing east. The day: 6.47 Wh from the panel, 5.04 kWh/m2 of sun on the ground; the tracker's
pop-up: 7,978 Wh/m2 on the panel against 6,084 on a fixed panel (+31 %), clouds and the stow included.
- 28.6 s of simulation in 404 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 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, SOLARTRACKERTEP or PYRANOMETERTEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Solar-Tracker.pdsprj". Keep the HEX and the DLL files beside it.
2. Press Play. The day starts at 05:00: the panel waits facing east; after sunrise the LDRs steer it to the sun;
the monitor prints a line every half hour of the day.
3. Click the tracker and the pyranometer for their pop-ups: Cloudy and Overcast bring clouds, Clear the sun.
4. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: STOW and AUTO.
Your own sketch: compile it, export the compiled binary and set U1's PROGRAM property to the new file.
PROPERTIES USED IN THIS PROJECT
U1 ESP32 DEVKIT V1 PROGRAM=ESP32_Solar_Tracker.hex, AUTOOPEN=YES (TEP-WiFi, 192.168.1.101)
ST1 SOLARTRACKERTEP HOUR=5, SPEED=1800, LATITUDE=30, DAY=81, SKY=CLEAR, PAN0=90, TILT0=45
PY1 PYRANOMETERTEP MODEL=2.5, SOURCE=SUN, HOUR=5, SPEED=1800, LATITUDE=30, DAY=81, SKY=CLEAR, TILT=0
U2 ADS1115ADVTEP ADDR to GND (0x48); U3 INA219ADVTEP 0x40; R1 RESISTORPOWER5WTEP 33 ohm (STATE 30)
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* The panel turns away from the sun: the LDR pairs or the servo directions are swapped (left pair brighter = more
pan, upper pair brighter = more tilt).
* The panel hunts under clouds: keep CLOUD_RATIO, or the pyranometer on D34.
* The dashboard's solar time is off: START_HOUR and CLOCK must match the models' HOUR and SPEED.
* The power reads 0: the INA219's VIN+ must be on PV+ and VIN- on the load.
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.
* Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems.
This project is not made or endorsed by them or by the makers of the ADS1115 and the INA219.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0ESP32 Dual-Axis Solar Tracker with Four LDRs 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.
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 89d18794ae1a48d5a1db01356284c0d3.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-Solar-Tracker-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPADS1115.LIB, TEPESP32V1.LIB and TEPINA219.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 TEPADS1115.DLL, TEPINA219.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_Solar_Tracker.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_Solar_Tracker.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Solar-Tracker.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
ESP32 Dual-Axis Solar Tracker with Four LDRs (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 ESP32 Dual-Axis Solar Tracker with Four LDRs 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?
ESP32 Dual-Axis Solar Tracker with Four LDRs in Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.4 MB, 9.5 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, 3450a9ffd9434a4a52f963e0e50a793e0b53c644b3a07ef970ffde7f7213825a. In PowerShell run Get-FileHash "89d18794ae1a48d5a1db01356284c0d3.zip"; on macOS or Linux run shasum -a 256 "89d18794ae1a48d5a1db01356284c0d3.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.
- 0Total downloads
- 4%Popularity
- ESP32 ProjectsCategory
- 0Comments
- ssyedzainnasirUploaded by
- 18 Nov 2026Uploaded at
3450a9ffd9434a4a52f963e0e50a793e0b53c644b3a07ef970ffde7f7213825a






















Comments
0