Project Files of B-L475E-IOT01A Library for Proteus: STM32 Wi-Fi Counter Simulation
78a5d4677d1b4e2b83e90c07f5aee8b1.zip

B-L475E-IOT01A Library for Proteus V1.0
B-L475E-IOT01A Library for Proteus V1.0 comes as a ZIP archive of 292 files (3.2 MB, 7.2 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
B-L475E-IOT01A-Library-for-Proteus-v1.0.zip with ST's STM32L4 Discovery kit IoT node in Proteus (your sketch with Wi-Fi web pages on our network, Bluetooth LE, the sensors through the Arduino sensor libraries, D0 .. D15, A0 .. A5, LD1 / LD2, the USER button and a serial monitor; TEPBL475.LIB, TEPNET.DLL and the TEP Boards for Proteus add-on 1.69.0), the phone library, the room counter demo with its sketch and a README.
File Structure
4.9 KB1.1 KB7.7 KB11 KB8.5 KB1.5 KB1.7 KB1.9 KB5.7 KB4.9 KB1.1 KB5.8 KB9.6 KB7.2 KB2.5 KB2.1 KB1.9 KB2.1 KB4.4 KB1.1 KB3 KB3 KB1.8 KB2.5 KB3.5 KB149 B2.7 KB2 KB6.4 KB3.2 KB1.3 KB963 B8.6 KB5.9 KB6 KB12 KB1.6 KB1.3 KB14.7 KB4.3 KB6.1 KB20.1 KB8.2 KB2 KB4.5 KB311 B12.8 KB6.7 KB6.1 KB2.2 KB3.4 KB5.9 KB1.5 KB1.6 KB16.6 KB9.7 KB6.9 KB2.1 KB533 B5.7 KB7.4 KB514 B1.7 KB896 B481 B1.4 KB1012 B482 B936 B559 B467 B3.6 KB3.8 KB504 B956 B575 B455 B8.3 KB10.9 KB522 B79 B5.5 KB3.1 KB79 B442 B918 B1.4 KB1.8 KB1 KB1.3 KB1.4 KB1.8 KB1.4 KB5.7 KB502 B463 B5 KB6.5 KB3.4 KB3.4 KB500 B1.6 KB368 B406 B466 B404 B444 B460 B477 B739 B448 B1.3 KB350 B5.7 KB4 KB562 B1.5 KB2 KB550 B7.2 KB4.1 KB371 B4.5 KB3.5 KB492 B390 B478 B6.6 KB2.4 KB479 B5.1 KB1.9 KB1.3 KB1.3 KB750 B1.3 KB490 B2.2 KB1.9 KB498 B1.2 KB1.2 KB487 B5.1 KB4.6 KB371 B1.5 KB1.2 KB478 B6.2 KB3 KB1.5 KB1.7 KB469 B1 KB1.7 KB433 B294 B358 B1.3 KB2.5 KB13.2 KB3.8 KB659 B510 B4.4 KB1.9 KB5.8 KB11 KB835 B518 B6.4 KB2.3 KB29 B436 B9.2 KB4.9 KB439 B4.2 KB1.5 KB9.3 KB7.1 KB4.7 KB2.4 KB388 B5.1 KB893 B667 B1.3 KB5.5 KB2.3 KB1.8 KB468 B882 B530 B791 B487 B894 B2 KB730 B646 B2.6 KB977 B702 B20.6 KB1.8 KB11.8 KB3.2 KB596 B406 B6.3 KB5.7 KB9.3 KB7.7 KB7.7 KB6.1 KB5.8 KB5.9 KB6.4 KB6.4 KB5.3 KB5.6 KB5.7 KB7.9 KB7.7 KB6.5 KB6.3 KB6.2 KB10.3 KB8.5 KB6.6 KB7.6 KB6.7 KB6.1 KB6.7 KB8.3 KB6.2 KB7.2 KB5.9 KB5.6 KB5.7 KB6.7 KB5.9 KB6.2 KB6 KB6 KB6.1 KB6.3 KB6 KB6.1 KB6.2 KB6 KB5.8 KB6.4 KB6.4 KB6.9 KB6 KB6.8 KB7 KB6.5 KB6.6 KB6.5 KB5.6 KB5.9 KB7.5 KB3.8 KB5.4 KB7.7 KB7.1 KB5.8 KB5.9 KB5.9 KB6.9 KB5.7 KB5.9 KB5.5 KB5.5 KB7.1 KB5.2 KB33.9 KB25.9 KB1.3 KB8.5 KB35.6 KB38.1 KB39.5 KB13.1 KB2.9 MB17.8 KB63.6 KB2.9 MB12.6 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in B-L475E-IOT01A Library for Proteus: STM32 Wi-Fi Counter Simulation. Open an image for its full size.












README
B-L475E-IOT01A LIBRARY FOR PROTEUS - V1.0 (YOUR ARDUINO SKETCH, WI-FI, BLUETOOTH LE, SENSORS, LD1 / LD2, USER BUTTON)
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/11/b-l475e-iot01a-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum
The demo's phone is our Mobile WiFi Monitor (included) - its article:
https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
B-L475E-IOT01A-TEP-v1.0/
|-- Proteus Library Files/
| |-- TEPBL475.LIB 38.1 KB the B-L475E-IOT01A, to LIBRARY
| |-- TEPLAPTOP.LIB 39.5 KB the laptop (demo), to LIBRARY
| |-- TEPMOBILE.LIB 13.1 KB the phone (demo), to LIBRARY
|-- Proteus Model Files/
| |-- TEPNET.DLL 2.92 MB the board + monitors + network, to MODELS
|-- Arduino Code/
| |-- BL475_Room_Counter/BL475_Room_Counter.ino 4.9 KB the demo sketch
| |-- TEP Boards for Proteus/hardware/ 1.17 MB the Arduino IDE add-on 1.69.0 (283 files)
|-- Proteus Simulation/
| |-- BL475_Room_Counter.hex 63.6 KB the demo sketch (U1)
| |-- BL475-WiFi-Room-Counter.pdsprj 17.8 KB the demo: a Wi-Fi meeting room counter
| |-- TEPNET.DLL 2.92 MB copy of the model
|-- README.txt ~12.6 KB this file
Total: 7.20 MB (unzipped). The source code of the models is not included.
WHAT IS IT?
Proteus 8 has no STM32L475 model and no model of the kit's modules and sensors, so this is NOT a real STM32L475. Our
team has put a lot of effort into building this board ourselves: it is ST's STM32L4 Discovery kit IoT node
(B-L475E-IOT01A) - the board with the STM32L475VG (an Arm Cortex-M4 with FPU at 80 MHz, 1 MB of flash, 128 KB of RAM),
the Inventek ISM43362 Wi-Fi module, the SPBTLE-RF Bluetooth LE module, the SPSGRF sub-GHz module, an NFC tag with its
printed antenna, the sensors (HTS221 humidity and temperature, LPS22HB pressure, LSM6DSL accelerometer and gyroscope,
LIS3MDL magnetometer, VL53L0X time-of-flight, two digital microphones), the ST-LINK debugger with its micro-USB, a USB
OTG port, the green LD1 and LD2, the blue USER and black RESET buttons and the Arduino Uno V3 headers - drawn compact,
and it runs YOUR sketch:
* You write a normal sketch with the STM32duino board's names (D0 .. D15, A0 .. A5, LED1 / LED2, USER_BTN) and
compile it in the Arduino IDE with our board package "TEP Boards for Proteus" 1.69.0 (in Arduino Code - see
INSTALLATION).
* Wi-Fi works through the board package's WiFi and WebServer libraries (the ISM43362's role): the board joins our
Wi-Fi network (TEP-WiFi) and serves web pages to the phone and laptop of our Mobile / Laptop WiFi Monitors. The
module's antenna glows with the traffic, and a click on the Wi-Fi module opens the Wi-Fi panel.
* The sensors work through the board package's sensor libraries: Arduino_HS300x (temperature and humidity),
Arduino_LPS22HB (pressure), Arduino_BMI270_BMM150 (acceleration, rotation, magnetic field) and Arduino_APDS9960
(proximity and gestures, the time-of-flight sensor's role). The SENSORS pad opens the Sensors window: the
temperature, the humidity, the pressure, a hand in front, a gesture (UP, DOWN, LEFT, RIGHT), a tilt and a SHAKE.
* Bluetooth LE works through ArduinoBLE (the SPBTLE-RF's role; the board as a peripheral, the phone as the central).
* LD1 (on D13) and LD2 light when HIGH (LED_BUILTIN is LED1). USER_BTN reads LOW while you hold it: click the USER
button on the board in the running simulation.
TEP additions: the ST-LINK's USB opens the serial monitor (the same window as our TEP Serial Monitor Advance).
Limits (say them before you start): Wi-Fi joins our simulated network (no real router); Bluetooth LE: the board is a
peripheral only. The sub-GHz module, the NFC tag, the microphones, the Quad-SPI flash and the USB OTG port are drawn,
not modelled; the light values of the gesture library are not used by this board. Your sketch gets 8 KB of RAM in the
simulation (the real one: 128 KB), about 256 KB of flash, and int is 16 bits in the simulation (use long for big
numbers). See MODEL SCOPE AND LIMITS.
ONE DEVICE (search "B-L475" in Pick Devices):
B-L475E-IOT01A "B-L475E-IOT01A" V1.0 (Microprocessor ICs > Bluetooth Boards), prefix U, model TEPNET.DLL.
Its TEP windows have no Windows title bar: the serial monitor (the ST-LINK's USB, 115200 baud: Monitor, Plotter and
Board tabs), the Wi-Fi panel (a click on the Wi-Fi module) and the Sensors window (the SENSORS pad).
The same TEPNET.DLL also runs our other sketch boards and the phone; it replaces any older TEPNET.DLL (keep only this
newest one in MODELS).
TEST STATUS
V1.0: verified in Proteus 8.5 on 17 Nov 2026 with the demo project as shipped. What the Proteus run showed:
* BL475-WiFi-Room-Counter: "Connecting to TEP-WiFi", "Wi-Fi connected, IP 192.168.1.101", "Room page:
http://192.168.1.101/", a "Room:" line every 5 s (0 of 3 inside, 23.0 C, 45 %, 1013 hPa).
* The phone's browser, Go: the page "Meeting Room" with the people inside, the air and the links RESET and REFRESH.
* The Sensors window, gesture RIGHT: "Someone came in: 1 of 3", LD1 on; twice more: "3 of 3 - the room is FULL", LD2
on; the page after Reload showed FULL.
* Gesture LEFT: "Someone left: 2 of 3", LD2 off; the page's RESET link: "the count is reset, the room is free", both
LEDs off; RIGHT, then the USER button: "USER: the count is reset".
* about 34 s of simulation, no errors, with the Sensors window, the Wi-Fi panel, the phone and the monitor open.
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). TEPBL475.LIB is the board;
TEPMOBILE.LIB and TEPLAPTOP.LIB are the phone and the laptop.
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 this board).
4. Delete TEPBL475.IDX from the LIBRARY folder if it is there.
5. The Arduino IDE (only to compile your own sketches - the demo has its 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).
Tools > Board > TEP Boards for Proteus > ST B-L475E-IOT01A IoT Node (TEP Proteus). WiFi, WebServer, ArduinoBLE and
the sensor libraries are in the board package: nothing to install.
6. Start Proteus. In Pick Devices (P) search "B-L475".
RUN THE DEMO
Keep the .hex file and TEPNET.DLL beside the project in "Proteus Simulation".
BL475-WiFi-Room-Counter.pdsprj - U1 the B-L475E-IOT01A (BL475_Room_Counter.hex) is a people counter at the door of a
meeting room, with its own web page; MOB1 = the phone (Mobile WiFi Monitor), whose browser opens the page. No wires:
the sensors are on the board. The room's capacity is 3.
Press Run. The monitor prints "Wi-Fi connected, IP ..." and "Room page: http://192.168.1.101/". On the phone press Go:
the page shows the people inside, the capacity, the air and the links RESET and REFRESH. In the Sensors window click
the gesture RIGHT: "Someone came in: 1 of 3", LD1 on; two more: "the room is FULL", LD2 on. LEFT: "Someone left".
The page's RESET link (or the USER button) resets the count. /json gives the values for a program.
Closed a window? The ST-LINK's USB opens the monitor, the SENSORS pad the Sensors window, a click on the Wi-Fi module
the Wi-Fi panel, a click on the phone's screen the phone.
THE PINS (the label on the board, the core's number, what it can do in the simulation)
D0 .. D13 0 .. 13 GPIO, PWM (analogWrite), interrupt; D0 / D1 Serial1 RX / TX; D10 .. D13 SPI (SS, MOSI,
MISO, SCK); D13 also drives LD1
SDA, SCL 14, 15 D14 / D15: Wire, the I2C bus
A0 .. A5 16 .. 21 analogRead 0 .. 1023 for 0 .. 3.3 V, or GPIO
3V3, 5V, GND, RESET 3.3 V (the logic), 5 V, ground, the board's reset; AREF, VIN drawn, not modelled
LED1 = LED_BUILTIN = D13 (LD1) and LED2 = 22 (LD2) are the green LEDs, lit when HIGH. USER_BTN = 23 is the blue USER
button, LOW when pressed (pinMode INPUT_PULLUP); BTN_BUILTIN is USER_BTN. Serial is the ST-LINK's virtual COM port: the
board's built-in monitor. (The STM32duino board numbers LD2 and USER_BTN differently; use the names.)
PROPERTIES (double-click the part > Edit Properties)
PROGRAM the sketch's HEX (Arduino IDE: Sketch > Export Compiled Binary, board ST B-L475E-IOT01A IoT Node
(TEP Proteus))
MONITOR YES = the built-in serial monitor on Serial; BAUD its speed (115200, or AUTO)
AUTOOPEN YES = the monitor window opens at Run (the demo: YES)
TEMPERATURE, HUMIDITY, PRESSURE the room at Run (C, %, kPa; the demo: 23 C, 45 %, 101.3 kPa)
TROUBLESHOOTING
* The board never connects: the network is TEP-WiFi with the password 12345678; call WiFi.begin(ssid, pass) and wait
for WL_CONNECTED.
* The phone shows no page: press Go (or Reload) after "Room page:" is printed; the address is the one in the monitor.
* No gestures arrive: call APDS.begin() and read APDS.gestureAvailable() / APDS.readGesture() in the loop.
* D13 lights LD1: on this board the LED is on the same pin as SPI SCK.
* An integer goes wrong above 32767: int is 16 bits in the simulation - use long.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot and the Serial Monitor text:
https://www.theengineeringprojects.com/forum
LICENCES AND THIRD-PARTY NOTES
* The board model (TEPNET.DLL) and the symbols and artwork (TEPBL475.LIB) are made by The Engineering Projects. The
source code of the models is not included.
* TEP Boards for Proteus (Arduino Code): its core, 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 (LGPL 2.1, the text:
LICENSE-LGPL-2.1.txt); its WiFi, WebServer, ArduinoBLE, the sensor libraries and the others and our core files are
MIT (LICENSE-MIT.txt).
* Proteus is a product of Labcenter Electronics and is not included. STM32 and ST are names of STMicroelectronics,
ISM43362 of Inventek Systems, Arduino of Arduino; the sensors' names belong to their makers. Wi-Fi is a mark of the
Wi-Fi Alliance and the Bluetooth word mark belongs to Bluetooth SIG. This library is not made or endorsed by them or
by Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied. Install TEP Boards for Proteus (INSTALLATION step 5), open Arduino Code\BL475_Room_Counter,
select ST B-L475E-IOT01A IoT Node (TEP Proteus) and use Sketch > Export Compiled Binary. For a real board use the
STM32duino core with its WiFiST, STM32duinoBLE and sensor libraries, or STM32CubeIDE. Its pins work at 3.3 V.
MODEL SCOPE AND LIMITS
Modelled: D0 .. D15 and A0 .. A5; digital I/O, analogRead 0 .. 1023, PWM (analogWrite), tone and attachInterrupt
through the board model; Serial (the board's monitor), Serial1, Wire and SPI; LD1, LD2, USER and RESET; Wi-Fi on our
network (WiFi, WebServer, the web pages of the phone and laptop monitors); temperature, humidity, pressure, motion,
proximity and gestures through the sensor libraries, set from the Sensors window; Bluetooth LE as a peripheral.
Not modelled: the STM32L475 itself, the ISM43362's own AT protocol, the sub-GHz module, NFC, the microphones, the
Quad-SPI flash, USB OTG, the board as a Bluetooth central. The simulation runs below real time.
VERSION
TEP B-L475E-IOT01A library V1.0 (Nov 2026). Device B-L475E-IOT01A (TEPBL475.LIB / TEPNET.DLL), TEP Boards for Proteus
1.69.0 (adds this board: Wi-Fi, Bluetooth LE, D0 .. D15, A0 .. A5, LED1 / LED2, USER_BTN, the sensors).
Demo sketch BL475_Room_Counter V1.0. Demo part: MOBILE WIFI MONITOR.Development1 release
-
V1.0B-L475E-IOT01A 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 78a5d4677d1b4e2b83e90c07f5aee8b1.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (B-L475E-IOT01A-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move TEPBL475.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 BL475_Room_Counter.ino, eeprom_clear.ino and eeprom_crc.ino and 17 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 52 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 BL475_Room_Counter.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 9
Open the example simulation
Open BL475-WiFi-Room-Counter.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
B-L475E-IOT01A Library for Proteus: STM32 Wi-Fi Counter Simulation explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download B-L475E-IOT01A 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?
B-L475E-IOT01A Library for Proteus V1.0 comes as a ZIP archive of 292 files (3.2 MB, 7.2 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 292 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, 514a928b3887e8d6b42bba93bfe3799480592319e4a8f270ce22ac2bb17b1b88. In PowerShell run Get-FileHash "78a5d4677d1b4e2b83e90c07f5aee8b1.zip"; on macOS or Linux run shasum -a 256 "78a5d4677d1b4e2b83e90c07f5aee8b1.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
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 19 Nov 2026Uploaded at
514a928b3887e8d6b42bba93bfe3799480592319e4a8f270ce22ac2bb17b1b88



















Comments
0