TEP DOWNLOAD CENTER

Project Files of VEML7700 Light Sensor Library for Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal 49211252e93d48ea882951a9f8021275.zip ZIP archiveV1.0Verified0 downloadsFree
VEML7700 Light Sensor Library for Proteus Simulation: the VEML7700 breakout, an I2C LCD 16x2 and a white LED street lamp with an Arduino UNO V4.0
Proteus library · File 1 of 1

VEML7700 Light Sensor Library for Proteus V1.0

VEML7700 Light Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 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

VEML7700-Light-Sensor-Library-for-Proteus-v1.0.zip with the VEML7700 ambient light sensor for Proteus simulation (TEPVEML7700.LIB and TEPVEML7700.DLL), our I2C LCD, LED and resistor, our Arduino UNO V4.0, the A4 demo, its sketch and a README.

Read VEML7700 Light Sensor Library for Proteus Simulation

File Structure

49211252e93d48ea882951a9f8021275.zip19 files · 5 folders · 5.1 MB unpacked
VEML7700-Light-Sensor-TEP-v1.0/19 files · 5.1 MB
Arduino Code/1 file · 4.9 KB
VEML7700_Demo/1 file · 4.9 KB
INO VEML7700_Demo.inoArduino sketch 4.9 KB
Proteus Library Files/5 files · 726.6 KB
LIB ArduinoV4TEP.LIBProteus library 201.9 KB
LIB TEPI2CLCD16X2.LIBProteus library 181.4 KB
LIB TEPLED5MM.LIBProteus library 21.8 KB
LIB TEPRESISTOR.LIBProteus library 306.9 KB
LIB TEPVEML7700.LIBProteus library 14.5 KB
Proteus Model Files/5 files · 2.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPVEML7700.DLLSimulation model 318 KB
Proteus Simulation/7 files · 2.2 MB
DLL TEPARDUINO.DLLSimulation model 883.5 KB
DLL TEPLCD.DLLSimulation model 409 KB
DLL TEPLED5MM.DLLSimulation model 289.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPVEML7700.DLLSimulation model 318 KB
DSN VEML7700-Light-Meter-Street-Lamp-ArduinoUnoV4.pdsprjProteus simulation 26.4 KB
HEX VEML7700_Demo.hexCompiled HEX file 34.7 KB
TXT README.txtText file 14 KB

README

README.txt 235 lines
VEML7700 LIGHT SENSOR LIBRARY FOR PROTEUS SIMULATION - V1.0 (0.0042 to 140,000 lx on I2C, auto-ranging, 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/12/veml7700-light-sensor-library-for-proteus.html
Report a bug or suggest a feature (our forum):
  https://www.theengineeringprojects.com/forum/category/bh1750-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
Support us (the libraries are free):
  https://www.theengineeringprojects.com/donate

FILE STRUCTURE
VEML7700-Light-Sensor-TEP-v1.0/
|-- Proteus Library Files/
|   |-- ArduinoV4TEP.LIB                              201.9 KB   TEP Arduino boards V4.0 (UNO) -> LIBRARY
|   |-- TEPI2CLCD16X2.LIB                             181.4 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPLED5MM.LIB                                  21.8 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPRESISTOR.LIB                               306.9 KB   a part the demo uses -> LIBRARY folder
|   |-- TEPVEML7700.LIB                                14.5 KB   the library -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPARDUINO.DLL                                883.5 KB   the Arduino board model -> MODELS folder
|   |-- TEPLCD.DLL                                    409.0 KB   its model -> MODELS folder
|   |-- TEPLED5MM.DLL                                 289.5 KB   its model -> MODELS folder
|   |-- TEPRESISTOR.DLL                               311.0 KB   its model -> MODELS folder
|   |-- TEPVEML7700.DLL                               318.0 KB   the model -> MODELS folder
|-- Proteus Simulation/
|   |-- TEPARDUINO.DLL                                883.5 KB   copy of the board model
|   |-- TEPLCD.DLL                                    409.0 KB   copy of its model
|   |-- TEPLED5MM.DLL                                 289.5 KB   copy of its model
|   |-- TEPRESISTOR.DLL                               311.0 KB   copy of its model
|   |-- TEPVEML7700.DLL                               318.0 KB   copy of the model
|   |-- VEML7700_Demo.hex                              34.7 KB   the demo firmware
|   |-- VEML7700-Light-Meter-Street-Lamp-ArduinoUnoV4.pdsprj   26.4 KB   the demo project
|-- Arduino Code/
|   |-- VEML7700_Demo/VEML7700_Demo.ino                 4.9 KB   the demo sketch (source of the .hex)
|-- README.txt                                        ~14.5 KB   this file
Total: 5.11 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
The common VEML7700 ambient light breakout, drawn from the top at its real size: the 20 x 15 mm
board, the VEML7700 in its clear
6.8 x 2.35 mm package (the die and the photodiode visible), the 3.3 V regulator, the I2C pull-ups,
the PWR LED and the header VIN GND SCL SDA.
The drawing is our own; the model follows the VEML7700 datasheet and the maker's application note:
  * I2C at 0x10; 16-bit registers sent LSB first. 00 ALS_CONF_0: the gain (x2, x1, x1/4, x1/8), the
    integration time (25, 50, 100, 200,
    400, 800 ms), the persistence (1, 2, 4, 8), the interrupt enable and the shutdown bit. It is
    0x0001 at power-on: the sensor starts SHUT
    DOWN - write 0 to bit 0, wait 2.5 ms, then one integration time for the first result.
  * 01 / 02 the high / low threshold, 03 the power saving modes (refresh = the integration time +
    0.5 / 1 / 2 / 4 s), 04 ALS, 05 WHITE,
    06 the interrupt status (bit 15 low, bit 14 high; cleared when read), 07 the ID 0xC481. The
    VEML7700 has no INT pin.
  * The counts are the light averaged over the integration time. Resolution 0.0042 lx per count at
    x2 / 800 ms, doubled for each halving
    of the time; x1 = 2x, x1/4 = 8x, x1/8 = 16x. 65,535 counts is full: past it the reading
    saturates.
  * Above about 1,000 lx the output is non-linear, as on the real sensor: the maker's correction
    formula gives the true light back.
  * The light: PROFILE DEMO is a day in fast time (night, dawn, the sun at 40 klx, a cloud, dusk,
    night); STEADY holds LUX (the pop-up's
    chips: x10, /10, sunlight, dark).
  * Click the board for the pop-up: the light and the counts, the resolution table with the setting
    in use, the last commands; 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 "VEML7700" or "light" in Pick Devices):
  VEML7700TEP  "VEML7700 Light Sensor V1.0" in TEPVEML7700.LIB (Modules > Sensors), prefix U, model
  TEPVEML7700.DLL (mixed).
               Pins: VIN GND SCL SDA (left).
  The demo also uses our I2C LCD 16x2 (TEPI2CLCD16X2 / TEPLCD), a white 5 mm LED (TEPLED5MM) and a
  resistor (TEPRESISTOR).

THE POP-UP
Click the part at Run. Tabs:
    Sensor      The light on a log scale with the host's last reading, the counts (0 - 65,535); the
    maker's resolution table with the setting
                in use and the last commands; tiles: the address and the supply, the ALS and WHITE
                counts, the lux the host read,
                ALS_CONF_0, the integrations and saturations, the writes and reads, the interrupt
                status, the ID and the chip's current.
                Chips: Demo day, Light x 10, Light / 10, Sunlight 50 klx, Dark 0 lx.
    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 6.0 simulated seconds in about 2 minutes 22
    seconds on our PC with the pop-up open
    and the pictures being taken.
  * Power-on: shut down (ALS_CONF_0 = 0x0001) until the sketch's first configuration; ID 0xC481 read
    back.
  * Night (0.4 lx): the sketch climbed from x1/8 / 100 ms through x1/4, x1, x2 and longer times; at
    6.0 s x2 / 400 ms read 64 counts =
    1.08 lx (the average over that integration) and the lamp was at 100 %.
  * Dawn outran the meter: at 2.38 s 5,826 lx at x2 / 100 ms (full scale 2,202 lx) - 65,535 counts,
    saturated; the sketch stepped down to
    x1/8 / 25 ms. 3 saturated integrations in all, all at dawn.
  * The cloud: 8,000 lx at x1/8 / 25 ms = 2,890 counts; the sketch with the maker's correction read
    8,009.1 lx.
  * Dusk: the counts fell at x1/8 / 25 ms to 119 at 4.8 s, then x1/4 (138 lx), x1 (67.7 lx), x2; the
    lamp faded up from 29 % at 45.2 lx
    to 100 % at 7.1 lx.
  * In all: 112 integrations, 20 configuration writes, 65 reads.
  * The pop-up (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" (TEPVEML7700.LIB, TEPI2CLCD16X2.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 TEPVEML7700.DLL, TEPLCD.DLL, TEPLED5MM.DLL, TEPRESISTOR.DLL and TEPARDUINO.DLL from "Proteus
Model Files" to the MODELS folder (...\Proteus 8 Professional\MODELS).
4. Delete TEPVEML7700.IDX from the LIBRARY folder if it is there (Proteus makes a new index).
5. Start Proteus. In Pick Devices (P) search "VEML7700".

RUN THE DEMO
"Proteus Simulation\VEML7700-Light-Meter-Street-Lamp-ArduinoUnoV4.pdsprj" (an A4 sheet) - keep the
.hex file and the DLLs beside the project.
  ARD1:     Arduino UNO V4.0 running VEML7700_Demo.hex (window "TEP Arduino UNO - ARD1"): A4 / A5 =
  SDA / SCL, D9 = the street lamp (PWM).
  U1:       the VEML7700 on the DEMO day.
  LCD1:     a 16x2 LCD on its I2C backpack at 0x27: the light in lux on top, the gain, the time and
  the lamp below.
  D1, R1:   a white 5 mm LED through 220 ohm - the street lamp: off above 60 lx, full below 10 lx,
  dimmed in between.
  The sketch auto-ranges the way the maker's note shows (start at x1/8 / 100 ms; 100 counts or less:
  more gain, then more time; over 10,000
  counts: less time, then less gain) and applies the correction formula at x1/8 and x1/4.
Closed the monitor? Click the UNO's USB port.

WIRING (the same in Proteus and on a real board)
  VIN 3.3 - 5 V and GND (the board's regulator gives the chip 3.3 V), SCL / SDA to the I2C bus (the
  board has the pull-ups). The address is
  fixed at 0x10: two VEML7700 on one bus need a multiplexer.
REAL HARDWARE:
 * Start at a low gain: strong light can saturate x2 within one integration.
 * The window must see the light: a dark case or a tinted cover changes the reading - calibrate
   behind the final cover.
 * Each change of the gain or the time needs a whole new integration before the next valid reading.
 * The lux of a real sensor depends a little on the light source's spectrum; the WHITE channel helps
   to tell sources apart.

THE DEMO SKETCH ON THE SERIAL MONITOR (VEML7700_Demo V1.0, 9600 baud)
VEML7700_Demo prints every reading. EXPECTED MONITOR OUTPUT (shortened)
  Light meter: VEML7700 at 0x10, LCD at 0x27, street lamp on D9
  VEML7700 ID 0xC481
  ... counts  x2 800 ms  0.4.. lx  lamp 100 %
  ... counts  x1/8 25 ms  40... lx  lamp 0 %

PROPERTIES (double-click the part > Edit Properties)
  PROFILE  DEMO (a day in fast time) or STEADY (LUX). Default DEMO.
  LUX      The illuminance for STEADY, lx. Default 300.
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 TEPVEML7700.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
* The ALS register stays 0: the sensor is still shut down - write ALS_CONF_0 with bit 0 = 0.
* The reading is 65,535 counts: saturated - lower the gain or shorten the time.
* The lux is far too high or low: the resolution does not match the gain and the time written to
  ALS_CONF_0.
* The values are scrambled: the bytes are read in the wrong order - the low byte comes first.
* The part is not simulated: TEPVEML7700.DLL is missing from MODELS and from the project folder.
* The part is not simulated: TEPVEML7700.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/bh1750-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 (TEPVEML7700.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\VEML7700_Demo\VEML7700_Demo.ino, select Arduino Uno and use Sketch > Export Compiled
Binary. Replace the simulation's .hex with the exported HEX. The sketch needs 12,622 bytes of flash
and 528 bytes of RAM.

MODEL SCOPE AND LIMITS
Modelled: the registers 00 - 07 with their bits, the shutdown at power-on and the 2.5 ms wake-up,
the integration of the light, the
resolution of every gain and time, saturation, the non-linearity above 1,000 lx, the threshold
window with persistence and the interrupt flags,
the power saving refresh times.
Our figures: WHITE = 1.12 x ALS (daylight); a dark offset of 0.0126 lx and a small shot noise; the
DEMO day runs in fast time.
Not modelled: the spectral response to different light sources, the temperature drift.

VERSION
TEP VEML7700 Light Sensor library V1.0 (Nov 2026). Device VEML7700TEP (TEPVEML7700.LIB /
TEPVEML7700.DLL). Demo sketch VEML7700_Demo V1.0 (Wire only). Demo board: ARDUINO UNO V4.0 (TEP
Arduino Library V4.0) with its built-in serial monitor; our I2C LCD 16x2, 5 mm LED and resistor
libraries.
Advertisement

Development1 release

  1. V1.0VEML7700 Light 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. 1

    Extract the archive

    Right-click 49211252e93d48ea882951a9f8021275.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (VEML7700-Light-Sensor-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move ArduinoV4TEP.LIB, TEPI2CLCD16X2.LIB and TEPLED5MM.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. 3

    Add the simulation model

    Copy TEPARDUINO.DLL, TEPLCD.DLL and TEPLED5MM.DLL and 2 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 VEML7700_Demo.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 VEML7700_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open VEML7700-Light-Meter-Street-Lamp-ArduinoUnoV4.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

    VEML7700 Light Sensor Library for 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 VEML7700 Light 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?

VEML7700 Light Sensor Library for Proteus V1.0 comes as a ZIP archive of 19 files (2.3 MB, 5.1 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, 8b82e8e741550491c9aeff7f02890ed70a3586e9a2adc6c61174401021476bd4. In PowerShell run Get-FileHash "49211252e93d48ea882951a9f8021275.zip"; on macOS or Linux run shasum -a 256 "49211252e93d48ea882951a9f8021275.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 · 49211252e93d48ea882951a9f8021275.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

  • 0Total downloads
  • 4%Popularity
  • ProteusCategory
  • 0Comments
  • ssyedzainnasirUploaded by
  • 2 Dec 2026Uploaded at
Last 14 days0 downloads
SHA-256 8b82e8e741550491c9aeff7f02890ed70a3586e9a2adc6c61174401021476bd4
DocumentationVEML7700 Light Sensor Library for 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.