Project Files of VL53L1X Distance Sensor Library for Proteus Simulation
fb2901dae14047b3a5a21907d8841475.zip

VL53L1X Distance Sensor Library for Proteus V1.0
VL53L1X Distance Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.2 MB, 4.9 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
VL53L1X-Distance-Sensor-Library-for-Proteus-v1.0.zip with the VL53L1X time-of-flight distance sensor for Proteus simulation (TEPVL53L1X.LIB and TEPVL53L1X.DLL), our OLED, 5 mm LED and resistor libraries, our Arduino UNO V4.0, the A4 demo with its sketch and a README.
File Structure
11.3 KB201.9 KB21.8 KB112.4 KB306.9 KB15.8 KB883.5 KB289.5 KB342.5 KB311 KB321 KB883.5 KB289.5 KB342.5 KB311 KB321 KB25.3 KB31.3 KB14.8 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in VL53L1X Distance Sensor Library for Proteus Simulation. Open an image for its full size.
README
VL53L1X DISTANCE SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (a time-of-flight distance sensor, a pop-up)
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/vl53l1x-distance-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/vl53l0x-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
The distance is drawn on our SSD1306 OLED (in this zip; its article):
https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
VL53L1X-Distance-Sensor-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPLED5MM.LIB 21.8 KB a part the demo uses -> LIBRARY folder
| |-- TEPOLED12864.LIB 112.4 KB a part the demo uses -> LIBRARY folder
| |-- TEPRESISTOR.LIB 306.9 KB a part the demo uses -> LIBRARY folder
| |-- TEPVL53L1X.LIB 15.8 KB the library -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPLED5MM.DLL 289.5 KB its model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB its model -> MODELS folder
| |-- TEPRESISTOR.DLL 311.0 KB its model -> MODELS folder
| |-- TEPVL53L1X.DLL 321.0 KB the model -> MODELS folder
|-- Proteus Simulation/
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPLED5MM.DLL 289.5 KB copy of its model
| |-- TEPOLED.DLL 342.5 KB copy of its model
| |-- TEPRESISTOR.DLL 311.0 KB copy of its model
| |-- TEPVL53L1X.DLL 321.0 KB copy of the model
| |-- VL53L1X_Demo.hex 31.3 KB the demo firmware
| |-- VL53L1X-Parking-ArduinoUnoV4.pdsprj 25.3 KB the demo project
|-- Arduino Code/
| |-- VL53L1X_Demo/VL53L1X_Demo.ino 11.3 KB the demo sketch (source of the .hex)
|-- README.txt ~15.3 KB this file
Total: 4.92 MB (unzipped). The C++ source code of the models is not included.
WHAT IS IT?
A VL53L1X time-of-flight distance module drawn from the top: the purple 18 x 13 mm board at its real
size with the VL53L1X near
the top (its emitter and receiver windows), the regulator, the I2C level shifter, the pull-ups and
the header VIN, GND, SCL, SDA,
GPIO1, XSHUT. A PWR LED, a DATA LED and the glowing emitter are TEP additions. The module is our own
drawing; the sensor behaves the
way ST's Ultra Lite Driver (ULD) drives it:
* I2C at 0x29 with 16-bit register addresses (MSB first, auto-increment); the address can be
changed (0x0001).
* Boot (0x00E5), the model ID (0x010F = 0xEACC), the default configuration block (0x2D - 0x87).
* Short or long distance mode (0x004B), the timing budget (0x005E: the ULD's 50 / 100 ms values),
the inter-measurement period
(0x006C with the oscillator at 0x00DE); start / stop (0x0087), clear (0x0086).
* Each measurement: the range status (0x0089: 9 = valid, 4 = signal fail), the distance in mm
(0x0096), the signal and ambient rates
(0x0098 / 0x0090, MCPS); GPIO1 (open drain) and 0x0031 bit 0 say "data ready" with the polarity
of 0x0030 bit 4.
* The range limit follows the return signal: a white target is seen to about 3.5 m in the dark, a
black one to under a metre, and
bright sunlight cuts the long mode's range to about 0.7 m. XSHUT low switches it off.
* The target in a scene (PROFILE DEMO: a garage - a white car backing in, parked, gone, a black
car, bright sun on a wall).
* On the sheet the DATA LED blinks with every measurement and the emitter glows while it ranges.
Click it at Run for the pop-up: the
sensor, its beam and the target with the range limit, the distance over the run, eight tiles;
graphs, an event log and a check
page.
The body is drawn as on the real part and to true scale against our Arduino.
The TEP signature and the pop-up are TEP additions.
ONE DEVICE (search "VL53L1X" or "distance" in Pick Devices):
VL53L1XTEP "VL53L1X Distance Sensor V1.0" in TEPVL53L1X.LIB (Sensors > Distance), prefix U, model
TEPVL53L1X.DLL (mixed). Pins along
the bottom: VIN, GND, SCL, SDA, GPIO1, XSHUT (the module pulls XSHUT and GPIO1 up).
THE POP-UP
Click the part at Run. Tabs:
Distance Sensor chips: Nothing, White 0.3 m, White 2 m, Grey 3 m, Black 1 m; Sunlight; Demo
(the scene again from now).
The sensor, its beam and the target on a 0 - 4 m scale with the range limit for that
target and light; the target and
the measured distance over the run (red ticks: out of range); eight tiles: the
distance, the range status, the signal,
the range for this target, the mode and timing budget, the measurement rate, the
counts, I2C and GPIO1.
Graphs the live values over the last 2, 6 or 15 s. Live / Freeze.
Event log every change and warning; filters All / Changes / Warnings, Pause, Clear
Check what the part is doing and what to look at, each with a verdict (green = fine, amber
= check, red = wrong)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates, donate, forum; Copy diagnostics
for a bug report
TEST STATUS
V1.0: verified in Proteus 8.5 on 21 Nov 2026 (the demo project as shipped: an A4 sheet, an Arduino UNO V4.0).
What the runs showed (the model's own numbers and the sketch's monitor):
* The project loads and starts cleanly; the demo ran 21.5 simulated seconds in about 4 minutes on
our PC with the pop-up open and the
pictures being taken.
* Boot at 3 ms (0x00E5 = 0x03), model ID 0xEACC; the ULD init (the configuration, one measurement
at 100 ms, stop), then long mode,
a 50 ms timing budget and a measurement every 100 ms from 0.21 s - 10.0 Hz.
* Nothing in front: status 2 (signal fail) - "Out of range".
* A white car backing in from 2 s: valid once nearer than its 2.66 m range; at 5.5 s the target
1063 mm, measured 1078 mm (sigma
4.2 mm, signal 2.71 MCPS); the monitor 502, 312, 250 mm.
* Parked at 250 mm: measured 248 - 255 mm, the OLED "248 MM", NEAR - STOP, the red NEAR LED on.
* A black car (5 %) from 13 s: out of range at 1578 mm (its range 711 mm, signal 0.09 MCPS); valid
at 16.3 s: 591 mm, measured 601 mm.
* Bright sun on a white wall 1.2 m away from 18 s: out of range (the long mode's range cut to 694
mm).
* 214 measurements: 98 valid, 116 out of range.
* The pop-up (Distance Sensor, Graphs, Event log, Check) followed the run.
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPVL53L1X.LIB, TEPOLED12864.LIB, TEPLED5MM.LIB,
TEPRESISTOR.LIB and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO V4.0 used by
the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(use the folder that already holds Proteus's own .LIB files).
3. Copy TEPVL53L1X.DLL, TEPOLED.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPVL53L1X.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "VL53L1X".
RUN THE DEMO
"Proteus Simulation\VL53L1X-Parking-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the .hex file and the
DLLs beside the project.
A parking distance meter:
ARD1: Arduino UNO V4.0 running VL53L1X_Demo.hex, its serial monitor built in (window "TEP
Arduino UNO - ARD1").
U1: the VL53L1X: PROFILE DEMO; VIN on VCC, SCL on A5, SDA on A4, GPIO1 on D2; XSHUT open (the
module's pull-up).
U2: our SSD1306 OLED, 128 x 64, yellow and blue (0x3C, the same I2C bus): the distance in big
digits (or OUT OF RANGE), a 0 - 4 m
bar, the signal, the range status and NEAR - STOP.
D1, D2: OK (green, D5) for a valid distance; NEAR (red, D6) under 300 mm. Each through 220 ohm
(R1, R2).
The sketch follows the ULD: boot, the model ID, the default configuration, one
measurement, then long mode, a 50 ms timing
budget and a distance every 100 ms.
Closed the monitor? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
VIN to 3.3 - 5 V (the module's regulator), GND, SCL and SDA to the board's I2C pins, GPIO1 to an
input (data ready), XSHUT open or to
a pin (low = off; with several sensors, hold the others off and give each a new address in turn).
REAL HARDWARE:
* Write ST's default configuration first (the ULD's SensorInit) - the sensor does not range
sensibly without it.
* Keep the cover glass clean and away from the sensor's windows, or the light bounces back inside
(crosstalk).
* A dark target or bright sunlight shortens the range a lot: use short mode outdoors, a longer
timing budget for range.
* The 27 degree beam sees the nearest thing in its cone - narrow it with the region of interest for
a small target.
THE DEMO SKETCH ON THE SERIAL MONITOR (VL53L1X_Demo V1.0, 9600 baud)
The sketch prints the boot, the settings, the distance once a second and each change between in
range and out of range.
EXPECTED MONITOR OUTPUT
VL53L1X parking distance meter - The Engineering Projects
Booted, model ID 0xEACC
Long mode, 50 ms timing budget, a distance every 100 ms
Out of range
... mm status 2 signal ... MCPS
Target in range
PROPERTIES (double-click the part > Edit Properties)
The target (PROFILE) DEMO (a garage: a white car, a black car, the sun) or STEADY
(a white card at DIST) (DEMO)
The distance for STEADY (DIST) 30 - 6000 mm (1000)
Every run starts again from the properties.
LINKS.INI (OPTIONAL)
The Help page cards of the pop-up open web pages. To point them somewhere else without a new DLL,
put a text file named links.ini next to TEPVL53L1X.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 answers at 0x29: VIN missing, XSHUT held low, or the address was changed (0x0001) earlier.
* The status is always 2 (signal fail): the target is too far, too dark or in bright light for the
mode - try short mode or a longer
timing budget; or nothing is in front.
* Data ready never comes: ranging not started (0x0087 = 0x40), or the polarity read the wrong way
(bit 4 of 0x0030).
* The part is not simulated: TEPVL53L1X.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPVL53L1X.DLL is missing from MODELS and from the project folder. No
UNO / no monitor window: TEPARDUINO.DLL is missing, or click the UNO's USB port.
BUG REPORTS AND FEATURE REQUESTS
Please post them in our forum with a screenshot, the Serial Monitor text, the
simulation log and the pop-up's Copy diagnostics text:
https://www.theengineeringprojects.com/forum/category/vl53l0x-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 model (TEPVL53L1X.DLL), the symbols and artwork, the other parts of ours in the demo and the
Arduino Library V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, with its built-in TEP Serial Monitor
Advance) are made by The Engineering Projects. The models use only standard Windows libraries; no
Visual C++ redistributable is needed.
The C++ source code is not included.
* Arduino UNO V4.0 (ArduinoV4TEP.LIB / TEPARDUINO.DLL, our Arduino Library V4.0 - its
microcontroller is Proteus's own AVR model): The Engineering Projects,
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
* The .hex file is built from the demo sketch and the Arduino AVR core 1.8.6, which includes
LGPL-licensed code; its source code is available at
https://github.com/arduino/ArduinoCore-avr/tree/1.8.6
* Proteus is a product of Labcenter Electronics and is not included. Arduino is a trademark of Arduino SA.
This library is not made or endorsed by Arduino or Labcenter.
REBUILDING THE FIRMWARE (OPTIONAL)
The HEX file is supplied; Arduino IDE is not needed to run the demo. To edit the sketch, open
Arduino Code\VL53L1X_Demo\VL53L1X_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 11,388 bytes of flash
and 546 bytes of RAM.
MODEL SCOPE AND LIMITS
Modelled: the ULD register interface (16-bit addresses, boot, model ID, the configuration block, the
distance modes, the timing
budget values, the inter-measurement period, start / stop / clear, the range status, the distance,
the signal and ambient rates, GPIO1
and its polarity, the I2C address change, XSHUT); the scene and the chips. Our choices: the signal
and range formula, the noise, the
oscillator value, the LEDs. Not modelled: the region of interest, crosstalk and offset calibration,
the thresholds and window
interrupts, more than one object in the beam.
VERSION
TEP VL53L1X Distance Sensor library V1.0 (Nov 2026). Device VL53L1XTEP (TEPVL53L1X.LIB /
TEPVL53L1X.DLL). Demo sketch VL53L1X_Demo V1.0 (Wire - no library; it carries ST's ULD default
configuration, BSD-3-Clause, (c) STMicroelectronics). The demo also uses our SSD1306 OLED library
(TEPOLED12864: OLED12864YELLOWBLUEADVTEP, TEPOLED.DLL), our 5 mm LED library (TEPLED5MM) and our
resistor library (TEPRESISTOR), shipped in this package. Demo board: ARDUINO UNO V4.0 (TEP Arduino
Library V4.0) with its built-in serial monitor.Development1 release
-
V1.0VL53L1X Distance Sensor 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.
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 fb2901dae14047b3a5a21907d8841475.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (VL53L1X-Distance-Sensor-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB, TEPLED5MM.LIB and TEPOLED12864.LIB and 2 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 TEPARDUINO.DLL, TEPLED5MM.DLL and TEPOLED.DLL and 2 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 VL53L1X_Demo.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 VL53L1X_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open VL53L1X-Parking-ArduinoUnoV4.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
VL53L1X Distance Sensor Library for 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 VL53L1X Distance Sensor 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?
VL53L1X Distance Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.2 MB, 4.9 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 19 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, 62196cbdcc068eca4670dfb7b7f417c34b5414cfcddc4e93ec9aa88154222d2b. In PowerShell run Get-FileHash "fb2901dae14047b3a5a21907d8841475.zip"; on macOS or Linux run shasum -a 256 "fb2901dae14047b3a5a21907d8841475.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
- 27 Nov 2026Uploaded at
62196cbdcc068eca4670dfb7b7f417c34b5414cfcddc4e93ec9aa88154222d2b



























Comments
0