Project Files of WeMos D1 Mini Library for Proteus: ESP8266 Wi-Fi Simulation
wemos-d1-mini-tep-v1-0-3ee9aee748514fd3a346f8654d395085.zip

WeMos D1 Mini Library for Proteus V1.0
WeMos D1 Mini Library for Proteus V1.0 comes as a ZIP archive of 143 files (2.1 MB, 4.5 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, an Arduino library, compiled HEX firmware and source code.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- LIBArduino library
- HEXHEX firmware
- SRCSource code
Description
Looking for the files of WeMos D1 Mini Library for Proteus: ESP8266 Wi-Fi Simulation? WeMos D1 Mini Library for Proteus V1.0 is the ZIP package (2.1 MB) you need. It holds the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch, an Arduino library, the compiled HEX firmware and the source code. Below are the file structure, the README and the installation steps, so you can go from download to a working Proteus simulation in a few minutes.
What this library is
WeMos-D1-Mini-Library-for-Proteus-v1.0.zip with the WeMos D1 Mini in Proteus that runs your ESP8266 sketch (the ESP-12F board with 16 pins, D0 - D8, A0 0-1023 for 0-3.2 V, the blue LED on GPIO2, RST, Wi-Fi with ESP8266WiFi, ESP8266WebServer and ESP8266mDNS, WiFiServer, EEPROM, NTP time, a virtual router and a phone panel; TEPD1MINI.LIB and TEPNET.DLL), the TEP Boards for Proteus 1.7.0 board package for the Arduino IDE, our Laptop and Mobile WiFi Monitors (TEPLAPTOP.LIB, TEPMOBILE.LIB), the smart switch demo projects with their HEX file, the sketch and a README.
This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- TEPD1MINI.LIB – Proteus library, 27 KB
- TEPLAPTOP.LIB – Proteus library, 39.5 KB
- TEPMOBILE.LIB – Proteus library, 13.1 KB
- TEPNET.DLL – Simulation model, 1.9 MB
- D1-Mini-Smart-Switch-with-Laptop-and-Mobile.pdsprj – Proteus simulation, 23.1 KB
- WeMos-D1-Mini-Board.pdsprj – Proteus simulation, 15 KB
- and 137 more, all listed in the File Structure tab
The archive unpacks to 4.5 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy TEPD1MINI.LIB, TEPLAPTOP.LIB and TEPMOBILE.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPNET.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "TEPD1MINI"; place and wire it as in the tutorial.
- Step 5: In the Arduino IDE use Sketch → Include Library → Add .ZIP Library, then restart the IDE.
- Step 6: Open D1Mini_Smart_Switch.ino, eeprom_clear.ino and eeprom_crc.ino and 15 more in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 7: Build abi.cpp, Arduino.h and binary.h and 49 more with the compiler the tutorial names.
- Step 8: In Proteus set the controller's Program File to D1Mini_Smart_Switch.hex; on hardware, flash the same file.
- Step 9: Open D1-Mini-Smart-Switch-with-Laptop-and-Mobile.pdsprj and WeMos-D1-Mini-Board.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, WeMos D1 Mini Library for Proteus: ESP8266 Wi-Fi Simulation, explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
8.7 KB1.1 KB7.7 KB11 KB8.5 KB1.5 KB1.7 KB1.8 KB5.6 KB4.8 KB1.1 KB5.7 KB9.6 KB5.9 KB2.5 KB1.9 KB4.4 KB1.1 KB3 KB3 KB1.3 KB2.5 KB3.5 KB149 B2.7 KB2 KB6.4 KB3.2 KB1.3 KB963 B8.6 KB5.9 KB5.4 KB5.9 KB1.1 KB14.7 KB4.3 KB6.1 KB20.1 KB8.2 KB2 KB4.5 KB311 B12.1 KB5.4 KB3.6 KB2.2 KB3.4 KB5.9 KB1.5 KB1.6 KB16.6 KB9.7 KB918 B1.4 KB1.8 KB1 KB1.3 KB1.4 KB1.8 KB1.4 KB5.7 KB502 B463 B5 KB1.6 KB368 B406 B466 B404 B444 B460 B477 B739 B448 B1.3 KB350 B7.2 KB4.1 KB371 B5.1 KB4.6 KB371 B294 B358 B4.4 KB1.9 KB5.6 KB10.4 KB835 B518 B9.1 KB4.4 KB439 B3.9 KB1.2 KB7 KB4.5 KB4.4 KB2.4 KB388 B893 B667 B1.3 KB1.7 KB2.3 KB1.8 KB468 B894 B2 KB730 B646 B2.6 KB977 B702 B20.6 KB1.8 KB10.4 KB3.2 KB596 B406 B5.9 KB5.3 KB7.7 KB6.4 KB6.3 KB6.1 KB5.8 KB7.7 KB4.6 KB25.9 KB1.3 KB8.5 KB7 KB27 KB39.5 KB13.1 KB1.9 MB23.1 KB65.5 KB1.9 MB15 KB19 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in WeMos D1 Mini Library for Proteus: ESP8266 Wi-Fi Simulation. Open an image for its full size.












README
WEMOS D1 MINI LIBRARY FOR PROTEUS - V1.0 (YOUR ESP8266 SKETCH, WI-FI SMART SWITCH, LAPTOP CONSOLE AND PHONE)
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/wemos-d1-mini-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/wemos-d1-mini-proteus-library
The demo talks to our Laptop WiFi Monitor and Mobile WiFi Monitor (both included) - their articles:
https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
The bigger ESP8266 boards on the same board package, our NodeMCU ESP8266 V3 and V2:
https://www.theengineeringprojects.com/2026/10/nodemcu-esp8266-v3-library-for-proteus-v2-0.html
https://www.theengineeringprojects.com/2026/10/nodemcu-esp8266-v2-library-for-proteus.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
WeMos-D1-Mini-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPD1MINI.LIB 27.0 KB the WeMos D1 Mini board, to LIBRARY
| |-- TEPLAPTOP.LIB 39.5 KB our Laptop WiFi Monitor (the demo), to LIBRARY
| |-- TEPMOBILE.LIB 13.1 KB our Mobile WiFi Monitor (the demo), to LIBRARY
|-- Proteus Model Files/
| |-- TEPNET.DLL 1.88 MB the boards + the Wi-Fi network, to MODELS
|-- Proteus Simulation/
| |-- D1Mini_Smart_Switch.hex 65.5 KB U1 of both demos
| |-- D1-Mini-Smart-Switch-with-Laptop-and-Mobile.pdsprj 23.1 KB demo 2: smart switch + laptop + phone
| |-- TEPNET.DLL 1.88 MB copy of the model
| |-- WeMos-D1-Mini-Board.pdsprj 15.0 KB demo 1: the board alone
|-- Arduino Code/
| |-- D1Mini_Smart_Switch/D1Mini_Smart_Switch.ino 8.7 KB the D1 Mini sketch
| |-- TEP Boards for Proteus/hardware/tep/avr/ 521.8 KB the Arduino IDE add-on 1.7.0 (133 files)
|-- README.txt ~19.9 KB this file
Total: 4.48 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
Proteus 8 has no ESP8266 processor model (the ESP8266's Tensilica L106 core is not in Proteus), so this is NOT a
real ESP8266 chip. It is the WeMos D1 Mini - 16 pins, the ESP-12F module, the CH340 USB chip on the back, the rows
0.9 in apart - that runs YOUR ESP8266 Arduino sketch in Proteus:
* You write a normal ESP8266 sketch (D0 .. D8, A0, LED_BUILTIN, ESP8266WiFi, ESP8266WebServer, ESP8266mDNS,
ESP8266HTTPClient, WiFiClient, WiFiServer, WiFiUDP, EEPROM, configTime and time(), analogRead 0-1023 ...) and
compile it in the Arduino IDE with our board package "TEP Boards for Proteus" 1.7.0 (in Arduino Code - see
INSTALLATION).
* Inside the board, Proteus's own ATmega2560 model runs the compiled sketch at 16 MHz; our model (TEPNET.DLL)
wraps it: the D1 Mini's 16 pins with their GPIO numbers, A0 (0 .. 1023 for 0 .. 3.2 V, the board's divider),
the RST button, the ESP-12F's blue LED on GPIO2 (D4, lit when LOW), a red PWR LED, the built-in serial monitor
and the Wi-Fi radio. The real D1 Mini has no FLASH button, and neither has ours (D3 = GPIO0 is a plain pin).
* Wi-Fi: a virtual router (TEP-WiFi, password 12345678 - the WIFISSID / WIFIPASS properties) with DHCP
(192.168.1.101 for U1, .102 for U2 ...), a scan list, RSSI, mDNS names (switch.local), NTP time, TCP and UDP
between all the TEP Wi-Fi parts in the design (boards, modules, the Laptop and Mobile WiFi Monitors), and a
virtual internet host that answers HTTP.
The board is drawn our way at its real proportions (34 x 26 mm, blue), seen from above and turned so the micro-USB is
on the left: RST beside it, the ME6211 regulator, the PANEL pad, the ESP-12F with its blue LED (D4) and its PCB
antenna on the right end (top row: 3V3 D8 D7 D6 D5 D0 A0 RST; bottom row: 5V G D4 D3 D2 D1 RX TX).
TEP additions: the antenna changes colour (gold not joined, green on Wi-Fi, orange sending, cyan receiving), the red
PWR LED, the PANEL pad (or the ESP-12F) opens the board's panel, the micro-USB opens the serial monitor.
Limits (say them before you start): 16 MHz, 8 KB of RAM, 256 KB of flash, int is 16 bits (use long / int32_t for
big numbers), no FreeRTOS tasks, no Bluetooth, no SPIFFS / LittleFS, no OTA, no real TLS, no soft AP. See MODEL
SCOPE AND LIMITS.
ONE DEVICE (search "D1 MINI" in Pick Devices):
WEMOS D1 MINI "WeMos D1 Mini" V1.0 (category Microprocessor ICs > ESP8266 Boards), prefix U, model TEPNET.DLL
The panel (a TEP pop-up window, the look of the TEP Serial Monitor; it opens at Run, the PANEL pad opens it
again). Tabs:
Wi-Fi a phone with three tabs - BROWSER (OPEN D1 MINI PAGE: the phone opens the sketch's web page, tap its
links), ROUTER (the DHCP list of every board and phone), CLOUD (the internet host's requests); WI-FI
SIGNAL GOOD / WEAK / OUT OF RANGE; the cards BOARD, WI-FI, TRAFFIC
Pins the 12 GPIOs live (HIGH, LOW, PWM with its duty, interrupt, input, pull-up) and A0 with its voltage
and its 0-1023 reading
Test Web request test (the phone opens the page n times - measured) and Wi-Fi re-join test
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
The serial monitor (115200 baud by default) has its own window with Monitor, Plotter and Board tabs (the Board tab
shows the PWR and D4 LEDs, the RST button and every pin).
The same TEPNET.DLL also runs our NodeMCU ESP8266 V3 and V2, the ESP32 boards, the ESP-01 / ESP-07 / ESP-12 modules,
the AirLift and WiFi shields and the Laptop / Mobile WiFi Monitors (TEPLAPTOP.LIB, TEPMOBILE.LIB, included for the
demo); it replaces any older TEPNET.DLL (keep only this newest one in MODELS).
TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Oct 2026 (the two demo projects as shipped, the window off-screen, posted clicks
and keys; the RST button with the real mouse while the PC was idle).
What the runs showed:
* The D4 LED blinked while the board joined, then stayed on: joined TEP-WiFi in 2.2 s (IP 192.168.1.101, MAC
84:F3:EB:01:00:01, mDNS switch.local); NTP gave the time (PKT) for every change. First run: "No saved state yet:
lamp OFF".
* The laptop (192.168.1.21) opened the console on port 23 and typed ON: "Lamp ON at 17:02:28 by laptop" - the lamp
(the LED on D1) lit; STATUS answered "Lamp ON, time 17:02:28, 1 change, last 17:02:28 by laptop, RSSI -46 dBm".
* The phone (192.168.1.41) opened http://switch.local/ (HTTP 200, 407 bytes): the lamp, the time, the last change
and the ON / OFF / TIMER 30 S buttons.
* TIMER 10 typed in the monitor: "Timer: the lamp switches off in 10 s", then "Lamp OFF at 17:02:44 by timer" - the
console showed every change made elsewhere.
* ON tapped on the phone: "Lamp ON at 17:02:50 by phone". Then RST (the real mouse): the board restarted, printed
"Restored from EEPROM: lamp ON", lit the lamp, joined again and the laptop's console connected again.
* Speed: about 0.33 x real time with the two monitors.
INSTALLATION (about 3 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\LIBRARY - use the folder that already
holds Proteus's own .LIB files). TEPD1MINI.LIB is the D1 Mini; TEPLAPTOP.LIB and TEPMOBILE.LIB are our Laptop
WiFi Monitor and Mobile WiFi Monitor (the demo's tools).
3. Copy TEPNET.DLL from "Proteus Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS) - replace an
older TEPNET.DLL (this one is the first that knows the D1 Mini).
4. Delete TEPD1MINI.IDX, TEPLAPTOP.IDX and TEPMOBILE.IDX from the LIBRARY folder if they are there.
5. The Arduino IDE (only to compile your own sketches - the demos have their HEX file): copy the folder
"Arduino Code\TEP Boards for Proteus\hardware" into your sketchbook folder (normally Documents\Arduino), so that
Documents\Arduino\hardware\tep\avr\boards.txt exists (replace an older copy); restart the IDE. The Arduino AVR
Boards platform must be installed (it comes with IDE 1.8.x; in IDE 2.x install "Arduino AVR Boards" from the
Boards Manager once). The ESP8266 libraries of the sketch (ESP8266WiFi, ESP8266WebServer, ESP8266mDNS) and EEPROM
are inside the package - nothing else to install.
Tools > Board > TEP Boards for Proteus > WeMos D1 Mini (TEP Proteus).
6. Start Proteus. In Pick Devices (P) search "D1 MINI".
RUN THE DEMOS
Keep the .hex file and TEPNET.DLL beside the projects in "Proteus Simulation".
1. WeMos-D1-Mini-Board.pdsprj - the board alone (D1Mini_Smart_Switch.hex): press Run. The monitor and the panel open
(move them aside); D4 blinks while the board joins, then stays on. Type ON, OFF, TIMER 5 or STATUS in the
monitor; the panel's phone (OPEN D1 MINI PAGE) shows the switch page. (There is no lamp here: watch the Pins tab,
D1 goes HIGH and LOW.)
2. D1-Mini-Smart-Switch-with-Laptop-and-Mobile.pdsprj - U1 the D1 Mini (D1Mini_Smart_Switch.hex) with the lamp: D1 -
R1 (220R) - the green LED D1 - ground; PC1 the Laptop WiFi Monitor (its terminal: TCP client to 192.168.1.101,
port 23) and MOB1 the Mobile WiFi Monitor (home page http://switch.local/) - no wires, they are on TEP-WiFi.
Press Run. On the laptop: Terminal > TCP Client > Connect, then type ON, OFF, TOGGLE, TIMER 30, STATUS or HELP.
On the phone: Browser > Go opens the switch page - tap ON, OFF or TIMER 30 S. Every change reaches the console and
the monitor, with the time and who made it. Switch the lamp on and click RST on the board: the D1 Mini restarts
and restores the lamp from EEPROM.
Closed a window? The micro-USB of the board opens the monitor, the PANEL pad the panel.
PINS (the label on the board, the GPIO, what it can do in the simulation)
D0 GPIO16: digital I/O only (no PWM, no interrupt)
D1 / D2 GPIO5 / 4: Wire SCL / SDA, GPIO, PWM, interrupt (D1 is the lamp in the demo, as the relay pin
of the D1 Mini relay shield)
D3 GPIO0: GPIO with a 10k pull-up (the ESP8266's boot pin; no button on the D1 Mini)
D4 GPIO2: the ESP-12F's blue LED (lit when LOW, LED_BUILTIN), Serial1 TX, GPIO with a pull-up
D5 D6 D7 D8 GPIO14 / 12 / 13 / 15: SPI SCK / MISO / MOSI / SS, GPIO, PWM, interrupt
RX / TX GPIO3 / 1: Serial (the micro-USB, the board's monitor)
A0 analogRead(A0): 0 .. 1023 for 0 .. 3.2 V (the D1 Mini's 220k / 100k divider)
3V3 / 5V / G 3.3 V out, 5 V (USB), ground
RST reset (LOW holds the ESP8266 in reset; the RST button does the same)
analogWrite works on every output GPIO but D0 (analogWriteRange 255 and analogWriteFreq 1 kHz by default, as the
ESP8266 core 3.x); attachInterrupt on every GPIO but D0. The pins are 3.3 V logic.
THE DEMO SKETCH (Arduino Code)
D1Mini_Smart_Switch ESP8266WiFi + ESP8266WebServer + ESP8266mDNS + WiFiServer + EEPROM: joins TEP-WiFi as
"switch" (D4 blinks, then stays on), sets the clock with configTime (UTC + 5 h); the lamp on
D1; the page / with the lamp, the time and the last 6 changes, /on, /off, /toggle and
/timer?s=30; a console on port 23 (one client: ON, OFF, TOGGLE, TIMER <seconds>, STATUS,
HELP - it gets every change made elsewhere); the state saved in EEPROM on every change and
restored after RST or power-up; the same commands in the serial monitor.
PROPERTIES (double-click the board > Edit Properties)
PROGRAM the sketch's HEX (Arduino IDE: Sketch > Export Compiled Binary with the board WeMos D1 Mini (TEP Proteus))
WIFISSID the router in range (default TEP-WiFi)
WIFIPASS its password (default 12345678); a sketch with another name or password gets WL_NO_SSID_AVAIL /
WL_CONNECT_FAILED, as on the bench
MONITOR YES = the built-in serial monitor on TX / RX
BAUD the monitor's speed (115200 by default, or AUTO)
AUTOOPEN YES = the monitor window opens at Run (the demos: YES)
TIME the clock NTP gives the sketch: PC (the PC's clock) or a fixed start time YYYY-MM-DD HH:MM:SS in UTC
Every run starts again from the properties (and an empty EEPROM). The IP address follows the part's number: U1
192.168.1.101, U2 .102 ... - give every Wi-Fi part its own number.
LINKS.INI (OPTIONAL)
The Help page cards open web pages. To point them somewhere else without a new DLL, put a text file named links.ini
next to TEPNET.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE, UPDATE_CHECK, DONATE. Only http:// and
https:// links are used; lines starting with # are comments.
TROUBLESHOOTING
* Nothing happens at Run / "the sketch's core is link version ...": the HEX was not built with TEP Boards for
Proteus - select WeMos D1 Mini (TEP Proteus) and export the binary again.
* "EEPROM.h: ... cannot be overloaded": an older add-on is installed - 1.7.0 fixes EEPROM.h (and is the first with
the D1 Mini).
* The board stays on "Connecting to TEP-WiFi .....": the sketch's SSID / password differ from the WIFISSID /
WIFIPASS properties, or the phone's WI-FI SIGNAL is OUT OF RANGE.
* The laptop does not connect: Terminal > TCP Client, host 192.168.1.101 (U1's address), port 23. The console takes
one client: a new connection replaces the old one.
* The lamp does not light: D1 - 220R - LED anode, the LED's cathode to ground; the LED lights when D1 is HIGH.
* The time shows --:--:--: NTP has not answered yet (the first seconds after configTime), or configTime was not
called.
* An integer goes wrong above 32767: int is 16 bits on the hidden AVR - use long.
* No monitor window: click the micro-USB; no panel: click the PANEL pad, or turn "Open the panel at Run" back on
(Settings).
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the simulation log and the Copy
diagnostics text of the panel:
https://www.theengineeringprojects.com/forum/category/wemos-d1-mini-proteus-library
SUPPORT US
This library is free. If it saves you time, please support our work:
https://www.theengineeringprojects.com/donate
WEBSITE
https://www.theengineeringprojects.com/
LICENCES AND THIRD-PARTY NOTES
* The board model and the Wi-Fi network (TEPNET.DLL), the symbols and artwork (TEPD1MINI.LIB, TEPLAPTOP.LIB,
TEPMOBILE.LIB) are made by The Engineering Projects. The board's processor is Proteus's own ATmega2560 model
(Labcenter's AVR model). The model uses only standard Windows libraries; no Visual C++ redistributable is needed.
The C++ source code of the models is not included.
* TEP Boards for Proteus (Arduino Code\TEP Boards for Proteus): its core (cores\tep32), the variants and the EEPROM,
SPI and Wire libraries are modified copies of the Arduino AVR core 1.8.6 - GNU Lesser General Public License 2.1
(the licence text is included: LICENSE-LGPL-2.1.txt; the original source:
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6). Its WiFi, WebServer, HTTPClient, ESPmDNS, ESP8266WiFi,
ESP8266WebServer, ESP8266HTTPClient, ESP8266mDNS, Preferences, ESP32Servo and Servo libraries and our core files
are MIT (LICENSE-MIT.txt). The API follows the ESP8266 Arduino core and the Arduino-ESP32 core (names only - no
Espressif or ESP8266 community code).
* Proteus is a product of Labcenter Electronics and is not included. WeMos and LOLIN are names of WEMOS Electronics,
ESP8266 and ESP-12F names of Espressif Systems (the module by Ai-Thinker), CH340 of WCH, Arduino a trademark of
Arduino SA. This library is not made or endorsed by them or by Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; the Arduino IDE is not needed to run the demos. Install TEP Boards for Proteus
(INSTALLATION step 5), open Arduino Code\D1Mini_Smart_Switch, select WeMos D1 Mini (TEP Proteus) and use
Sketch > Export Compiled Binary. Flash / RAM: D1Mini_Smart_Switch 23,850 / 2,597 bytes.
Put the exported HEX in place of the simulation's .hex. For a real D1 Mini select "LOLIN(WEMOS) D1 R2 & mini" of the
ESP8266 core and upload as usual - the same sketch, no change (swap the LED for the D1 Mini relay shield if you like).
MODEL SCOPE AND LIMITS
Modelled: the D1 Mini's 16 pins with the ESP8266's GPIO numbers on a hidden ATmega2560 (Proteus's AVR model,
16 MHz); digital I/O, analogRead(A0) 0-1023 for 0-3.2 V (the board model reads the pin's voltage), PWM (analogWrite
with analogWriteRange / analogWriteFreq) and attachInterrupt on every GPIO but GPIO16 through the board model; the RST
button, the blue LED on GPIO2, the PWR LED; Serial, Serial1 TX on GPIO2, Wire and SPI (the AVR's hardware), EEPROM
(EEPROM.begin / commit accepted; kept through RST within one run); ESP.getChipId, getChipModel,
getFlashChipRealSize, getResetReason, restart, getVcc (ADC_MODE(ADC_VCC)); the clock (configTime, time(),
localtime(), getLocalTime); Wi-Fi station mode (begin, status, scan, RSSI, hostname, disconnect, re-join), DHCP
addresses, TCP client and server, HTTP client, UDP, mDNS names, NTP time, the virtual internet host; the other TEP
Wi-Fi parts on the same network.
Not modelled: the ESP8266's own processor (Tensilica L106, 80 / 160 MHz, 80 KB RAM), the CH340 and its auto-reset,
the flash file systems (SPIFFS / LittleFS), OTA updates, deep sleep timing (the board restarts), the soft AP and WiFi
events, real TLS (BearSSL), the radio's real timing. Upload over USB is not used (Proteus loads the HEX).
The model's own choices: every board in the design sees the same router; the internet host answers HTTP on ports 80
and 443 (no certificates); the clock starts from the PC's time or the TIME property; the simulation runs below real
time.
VERSION
TEP WeMos D1 Mini library V1.0 (Oct 2026). Device WEMOS D1 MINI (TEPD1MINI.LIB / TEPNET.DLL, which also runs our
NodeMCU ESP8266 V3 and V2, the ESP32 boards, the ESP-01 / ESP-07 / ESP-12 modules, the AirLift and WiFi shields and the
Laptop / Mobile WiFi Monitors), TEP Boards for Proteus 1.7.0 (adds the WeMos D1 Mini; EEPROM.h compiles again).
Demo sketch D1Mini_Smart_Switch V1.0 (the lamp on D1, the page at switch.local, the console on port 23, EEPROM).
Demo tools: LAPTOP WIFI MONITOR and MOBILE WIFI MONITOR (TEP Laptop / Mobile WiFi Monitor libraries V1.0).Development1 release
-
V1.0WeMos D1 Mini Library for Proteus 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.
Installation10 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
- The compiler named in the tutorialto 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 wemos-d1-mini-tep-v1-0-3ee9aee748514fd3a346f8654d395085.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (WeMos-D1-Mini-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPD1MINI.LIB, TEPLAPTOP.LIB and TEPMOBILE.LIB 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 TEPNET.DLL 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
Install the Arduino library
In the Arduino IDE choose Sketch → Include Library → Add .ZIP Library and pick the library, or copy its folder into Documents\Arduino\libraries. Restart the IDE to see its examples.
- 6
Open the sketch in the Arduino IDE
Open D1Mini_Smart_Switch.ino, eeprom_clear.ino and eeprom_crc.ino and 15 more, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 7
Build the source code
Open abi.cpp, Arduino.h and binary.h and 49 more in the compiler named in the tutorial (MikroC, Keil, MPLAB, Code Composer or the Arduino IDE) and build it to get the firmware.
- 8
Load the HEX file
In Proteus double-click the microcontroller, set Program File to D1Mini_Smart_Switch.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 9
Open the example simulation
Open D1-Mini-Smart-Switch-with-Laptop-and-Mobile.pdsprj and WeMos-D1-Mini-Board.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 10
Follow the tutorial
WeMos D1 Mini Library for Proteus: ESP8266 Wi-Fi Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download WeMos D1 Mini Library for Proteus 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?
WeMos D1 Mini Library for Proteus V1.0 comes as a ZIP archive of 143 files (2.1 MB, 4.5 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch, an Arduino library, compiled HEX firmware and source code. Open the File Structure tab for the full list of 143 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, 1a73875a0d069e8d7118ea1f41491696fb5e4ee32319e53db79621b50e7446d5. In PowerShell run Get-FileHash "wemos-d1-mini-tep-v1-0-3ee9aee748514fd3a346f8654d395085.zip"; on macOS or Linux run shasum -a 256 "wemos-d1-mini-tep-v1-0-3ee9aee748514fd3a346f8654d395085.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.
- 18Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 21 Oct 2026Uploaded at
1a73875a0d069e8d7118ea1f41491696fb5e4ee32319e53db79621b50e7446d5






















Comments
0