TEP DOWNLOAD CENTER

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

Libraries Code Projects Simulation
tep://download-terminal 8db37f18275147e68c7e874c34f5f444.zip ZIP archiveV1.0Verified0 downloadsFree
Solar-Powered ESP32 Node with TP4056 and 18650 (Proteus Simulation): the ESP32, the solar panel, the TP4056, the INA219, the 18650 cell and the MT3608 charging in full sun with the load on
Proteus library · File 1 of 1

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.

Read Solar-Powered ESP32 Node with TP4056 and 18650 (Proteus Simulation)

File Structure

8db37f18275147e68c7e874c34f5f444.zip33 files · 5 folders · 11.5 MB unpacked
ESP32-Solar-Power-Node-TEP-v1.0/33 files · 11.5 MB
Arduino Code/1 file · 6.7 KB
ESP32_Solar_Power_Node/1 file · 6.7 KB
INO ESP32_Solar_Power_Node.inoArduino sketch 6.7 KB
Proteus Library Files/11 files · 703.2 KB
LIB TEP18650.LIBProteus library 11.9 KB
LIB TEPESP32V1.LIBProteus library 36.6 KB
LIB TEPINA219.LIBProteus library 62.6 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPMINISOLAR.LIBProteus library 20.8 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPMT3608.LIBProteus library 20.7 KB
LIB TEPNMOS.LIBProteus library 17.9 KB
LIB TEPPOWERRES.LIBProteus library 157.2 KB
LIB TEPRESISTOR.LIBProteus library 306.9 KB
LIB TEPTP4056.LIBProteus library 16 KB
Proteus Model Files/9 files · 5.3 MB
DLL TEP18650.DLLSimulation model 319.5 KB
DLL TEPINA219.DLLSimulation model 319.5 KB
DLL TEPMINISOLAR.DLLSimulation model 309 KB
DLL TEPMT3608.DLLSimulation model 314 KB
DLL TEPNET.DLLSimulation model 2.9 MB
DLL TEPNMOS.DLLSimulation model 295 KB
DLL TEPPOWERRES.DLLSimulation model 304.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPTP4056.DLLSimulation model 330.5 KB
Proteus Simulation/11 files · 5.4 MB
DSN ESP32-Solar-Power-Node.pdsprjProteus simulation 40.3 KB
HEX ESP32_Solar_Power_Node.hexCompiled HEX file 72.9 KB
DLL TEP18650.DLLSimulation model 319.5 KB
DLL TEPINA219.DLLSimulation model 319.5 KB
DLL TEPMINISOLAR.DLLSimulation model 309 KB
DLL TEPMT3608.DLLSimulation model 314 KB
DLL TEPNET.DLLSimulation model 2.9 MB
DLL TEPNMOS.DLLSimulation model 295 KB
DLL TEPPOWERRES.DLLSimulation model 304.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPTP4056.DLLSimulation model 330.5 KB
TXT README.txtText file 11.8 KB

README

README.txt 158 lines
===============================================================================================================
  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.
===============================================================================================================
Advertisement

Development1 release

  1. 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. 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. 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. 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. 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. 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. 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. 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. 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.

How to add a library in Proteus 8

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.

preparing · 8db37f18275147e68c7e874c34f5f444.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

Last 14 days0 downloads
SHA-256 f87e32e1c095904bae1a20d0fe30172343b020ed698a4db150f4ae9f31463756
DocumentationSolar-Powered ESP32 Node with TP4056 and 18650 (Proteus Simulation)
Need help with this file? Bug report Ask a question Download problemsGet updates
Advertisement

Comments

0

Join the conversation

Start the conversationAsk a question or share how you used this download.