Project Files of Solar-Powered ESP32 Node with TP4056 and 18650 (Proteus Simulation)
8db37f18275147e68c7e874c34f5f444.zip

Solar-Powered ESP32 Node with TP4056 and 18650 in Proteus Simulation V1.0
Solar-Powered ESP32 Node with TP4056 and 18650 in Proteus Simulation V1.0 comes as a ZIP archive of 33 files (5.3 MB, 11.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
Solar-Powered-ESP32-Node-TP4056-18650-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (ESP32 DevKit V1, the 6 V mini solar panel, the TP4056 charger, the 18650 cell, the MT3608 boost converter, an INA219, an IRLZ44N, a 5 W resistor, resistors, the Laptop and Mobile WiFi Monitors), the Arduino sketch and its HEX file, every LIB and DLL and a README.
File Structure
6.7 KB11.9 KB36.6 KB62.6 KB39.5 KB20.8 KB13.1 KB20.7 KB17.9 KB157.2 KB306.9 KB16 KB319.5 KB319.5 KB309 KB314 KB2.9 MB295 KB304.5 KB311 KB330.5 KB40.3 KB72.9 KB319.5 KB319.5 KB309 KB314 KB2.9 MB295 KB304.5 KB311 KB330.5 KB11.8 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in Solar-Powered ESP32 Node with TP4056 and 18650 (Proteus Simulation). Open an image for its full size.












README
===============================================================================================================
Solar-Powered ESP32 Node with TP4056 and 18650 (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/solar-powered-esp32-node-tp4056-18650-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
6 V mini solar panel:
https://www.theengineeringprojects.com/2026/11/6v-mini-solar-panel-library-for-proteus-v1-0.html
TP4056 Li-ion charger module:
https://www.theengineeringprojects.com/2026/11/tp4056-li-ion-charger-module-library-for-proteus.html
18650 Li-ion battery:
https://www.theengineeringprojects.com/2026/11/18650-li-ion-battery-library-for-proteus.html
MT3608 boost converter:
https://www.theengineeringprojects.com/2026/11/mt3608-dc-dc-boost-converter-module-library-for-proteus.html
INA219 current sensor:
https://www.theengineeringprojects.com/2026/10/ina219-current-sensor-library-for-proteus-v1-0.html
N-MOSFET (IRLZ44N):
https://www.theengineeringprojects.com/2026/11/n-mosfet-library-for-proteus.html
Resistor:
https://www.theengineeringprojects.com/2026/11/resistor-library-for-proteus.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-Power-Node-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEP18650.LIB 11.9 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
| |-- TEPMINISOLAR.LIB 20.8 KB a part of the project -> LIBRARY folder
| |-- TEPMOBILE.LIB 13.1 KB a part of the project -> LIBRARY folder
| |-- TEPMT3608.LIB 20.7 KB a part of the project -> LIBRARY folder
| |-- TEPNMOS.LIB 17.9 KB a part of the project -> LIBRARY folder
| |-- TEPPOWERRES.LIB 157.2 KB a part of the project -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part of the project -> LIBRARY folder
| |-- TEPTP4056.LIB 16.0 KB a part of the project -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEP18650.DLL 319.5 KB a model -> MODELS folder
| |-- TEPINA219.DLL 319.5 KB a model -> MODELS folder
| |-- TEPMINISOLAR.DLL 309.0 KB a model -> MODELS folder
| |-- TEPMT3608.DLL 314.0 KB a model -> MODELS folder
| |-- TEPNET.DLL 2.89 MB a model -> MODELS folder
| |-- TEPNMOS.DLL 295.0 KB a model -> MODELS folder
| |-- TEPPOWERRES.DLL 304.5 KB a model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB a model -> MODELS folder
| |-- TEPTP4056.DLL 330.5 KB a model -> MODELS folder
|-- Proteus Simulation/
| |-- ESP32_Solar_Power_Node.hex 72.9 KB the firmware
| |-- ESP32-Solar-Power-Node.pdsprj 40.3 KB the project simulation
| |-- TEP18650.DLL 319.5 KB copy of the model
| |-- TEPINA219.DLL 319.5 KB copy of the model
| |-- TEPMINISOLAR.DLL 309.0 KB copy of the model
| |-- TEPMT3608.DLL 314.0 KB copy of the model
| |-- TEPNET.DLL 2.89 MB copy of the model
| |-- TEPNMOS.DLL 295.0 KB copy of the model
| |-- TEPPOWERRES.DLL 304.5 KB copy of the model
| |-- TEPRESISTOR.DLL 311.0 KB copy of the model
| |-- TEPTP4056.DLL 330.5 KB copy of the model
|-- Arduino Code/
| |-- ESP32_Solar_Power_Node/ESP32_Solar_Power_Node.ino 6.7 KB the sketch (source of the .hex)
|-- README.txt ~10.9 KB this file
Total: 11.49 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A small solar power system that you can run in Proteus, the kind that keeps an off-grid sensor, a camera or a
garden light going: a solar panel charges an 18650 cell through a TP4056, a boost converter makes 5 V for the load,
and an ESP32 measures it all, estimates the charge, switches the load off before the cell runs flat and serves a
web dashboard.
* PV1 a 6 V 2 W mini solar panel (MINISOLARTEP): + to the charger's IN+ (the net SOLAR), - to GND.
* CH1 a TP4056 charger module with protection (TP4056CHARGERTEP, RPROG 1.2 = 1 A): IN- and B- to GND; B+ through the
INA219 to the cell; OUT+ / OUT- = the protected output.
* U2 an INA219 (INA219ADVTEP, 0x40, its 0.1 ohm shunt) in the cell's + lead: SDA D21, SCL D22, VCC on the VCC net.
* BAT1 an 18650 Li-ion cell (LIION18650TEP, 2600 mAh, SOC 23 % at the start).
* PS1 an MT3608 boost converter (MT3608BOOSTTEP, VOUT 5): from OUT+ / OUT- to the 5 V rail.
* R7 the load, a 33 ohm 5 W power resistor (RESISTORPOWER5WTEP, about 150 mA at 5 V), from 5 V, switched on its low
side by Q1 (IRLZ44N, gate D25 through R1 100 ohm, R2 10 kohm to GND).
* R3 10k / R4 4.7k: the panel's voltage to D34; R5 10k / R6 10k: the 5 V rail to D35.
* ESP32 DEVKIT V1 (U1) runs ESP32_Solar_Power_Node.hex on TEP-WiFi at 192.168.1.101 (port 80).
* Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
The time is sped up: the cell and the charger run with SPEED 600, so one second of simulation is ten minutes of
charge - enough to watch the cell fill and empty in a short run.
The rules (at the top of the sketch):
* every second: the cell's voltage and current from the INA219 (+ = charging), the panel's voltage, the 5 V rail;
* the state of charge from the resting voltage: the measured voltage minus the current times 0.11 ohm, looked up on
the Li-ion curve (3.00 V 0 %, 3.60 V 10 %, 3.84 V 50 %, 4.20 V 100 %);
* AUTO: the load off under 15 %, back on over 25 % - the gap stops it switching on and off at the edge.
Its pages:
/ the dashboard: the state, the charge, the cell, the panel, the load, the events
/load the load on / off by hand (AUTO off) /auto back to AUTO
/data everything as JSON
Libraries: WiFi, WebServer and Wire - part of the ESP32 core; the INA219 is read register by register.
TEST STATUS
Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's times: its
clock starts once the WiFi is up, about 2 s into the simulation; the cell at SPEED 600, so 1 s = 10 minutes):
- 0.0 s full sun, the cell at 32 %: "load ON (AUTO: battery at 32 %)". The panel gives 1.45 W of its 1.99 W best
(3.94 V, 0.368 A), the TP4056 charges at 366 mA and the cell still gains 0.146 A with the load on at 5.00 V.
- 5.0 s Night: "battery DISCHARGING (-0.225 A)"; the charge falls from 34 % to 15 % in 12 s (two hours of the cell);
17.0 s "load OFF (AUTO: LOW BATTERY 15 %)", then the cell idle at -0.002 A.
- 19.0 s Full sun: "battery CHARGING (0.364 A)"; 23.0 s "load ON (AUTO: battery at 28 %)" - over 25 %, not before.
- 25.3 s LOAD from the laptop: "load OFF (the dashboard)"; 28.0 s AUTO from the phone: "AUTO on (the dashboard)"
and "load ON (AUTO: battery at 37 %)".
- The MT3608 90.7 % efficient (3.82 V, 0.219 A in; 5.00 V, 0.152 A out); R7 0.756 W; 33.0 s of simulation in 758 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, TP4056CHARGERTEP or LIION18650TEP to
check that the parts are there.
RUN THE SIMULATION
1. Open "Proteus Simulation\ESP32-Solar-Power-Node.pdsprj". Keep the HEX and the DLL files beside it.
2. Press Play. The panel charges the cell in full sun and the load comes on; the monitor prints a line a second.
3. Click the panel for its pop-up and pick Night: the cell feeds the load until AUTO switches it off at 15 %.
4. Pick Full sun again: the cell charges and the load comes back over 25 %.
5. Open the Laptop WiFi Monitor (PC1) or the Mobile WiFi Monitor (MOB1) and press Go: LOAD 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_Power_Node.hex, AUTOOPEN=YES (TEP-WiFi, 192.168.1.101)
PV1 MINISOLARTEP WATTS=2, IRRADIANCE=1000 (the sky changes from the pop-up's chips)
CH1 TP4056CHARGERTEP RPROG=1.2 (1 A), SPEED=600
BAT1 LIION18650TEP SOC=23, SPEED=600 (ten minutes a second)
PS1 MT3608BOOSTTEP VOUT=5; R7 RESISTORPOWER5WTEP 33 ohm (STATE 30), the load
U2 INA219ADVTEP ADDRESS=0x40; Q1 IRLZ44NTEP; R1 100, R2 10k, R3 10k, R4 4.7k, R5 10k, R6 10k
PC1, MOB1 HOMEPAGE=http://192.168.1.101/
TROUBLESHOOTING
* The cell never charges: no sun on the panel (pick Full sun on its pop-up).
* The current reads - in full sun and + at night: the INA219's VIN+ and VIN- are swapped.
* The charge jumps when the load switches: the resting voltage needs R_INT; a cell's resistance grows as it ages.
* The rail reads 0 V: the protection has cut the output (the cell under 2.4 V, back at 3.0 V).
* The rail is fine but the load stays cold: Q1 is off - check D25, R1 and the source on OUT-.
* The load switches on and off at the edge: keep the gap between SOC_OFF and SOC_ON.
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 TP4056, the MT3608 and the INA219.
VERSION
V1.0 - the first release of the project.
===============================================================================================================Development1 release
-
V1.0Solar-Powered ESP32 Node with TP4056 and 18650 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 8db37f18275147e68c7e874c34f5f444.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-Power-Node-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEP18650.LIB, TEPESP32V1.LIB and TEPINA219.LIB and 8 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 TEP18650.DLL, TEPINA219.DLL and TEPMINISOLAR.DLL and 6 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_Power_Node.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_Power_Node.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open ESP32-Solar-Power-Node.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
Solar-Powered ESP32 Node with TP4056 and 18650 (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 Solar-Powered ESP32 Node with TP4056 and 18650 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?
Solar-Powered ESP32 Node with TP4056 and 18650 in Proteus Simulation V1.0 comes as a ZIP archive of 33 files (5.3 MB, 11.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 33 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, f87e32e1c095904bae1a20d0fe30172343b020ed698a4db150f4ae9f31463756. In PowerShell run Get-FileHash "8db37f18275147e68c7e874c34f5f444.zip"; on macOS or Linux run shasum -a 256 "8db37f18275147e68c7e874c34f5f444.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
f87e32e1c095904bae1a20d0fe30172343b020ed698a4db150f4ae9f31463756






















Comments
0