TEP DOWNLOAD CENTER

Project Files of UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation

Libraries Code Projects Simulation
tep://download-terminal 6f20c74614d743ef876341a30e16594c.zip ZIP archiveV1.0Verified0 downloadsFree
UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation: the ESP32, the ML8511 sensor, the WS2812B UV index gauge, the buzzer and the OLED
Proteus library · File 1 of 1

UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation V1.0

UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.6 MB, 11.4 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

UV-Index-Sunburn-Timer-ML8511-ESP32-Proteus-Simulation-v1.0.zip: the complete Proteus simulation project (an ESP32 DevKit V1, an ML8511 UV sensor, a WS2812B ring, a passive buzzer, an SSD1306 OLED, the Laptop and Mobile WiFi Monitors), the Arduino sketch ESP32_Sunburn_Timer.ino and its HEX, every LIB and DLL and a README.

Read UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation

File Structure

6f20c74614d743ef876341a30e16594c.zip24 files · 5 folders · 11.4 MB unpacked
ESP32-Sunburn-Timer-TEP-v1.0/24 files · 11.4 MB
Arduino Code/1 file · 14.1 KB
ESP32_Sunburn_Timer/1 file · 14.1 KB
INO ESP32_Sunburn_Timer.inoArduino sketch 14.1 KB
Proteus Library Files/8 files · 2.1 MB
LIB TEPESP32V1.LIBProteus library 36.6 KB
LIB TEPLAPTOP.LIBProteus library 39.5 KB
LIB TEPML8511.LIBProteus library 14.5 KB
LIB TEPMOBILE.LIBProteus library 13.1 KB
LIB TEPOLED12864.LIBProteus library 112.4 KB
LIB TEPPASSIVE.LIBProteus library 13.4 KB
LIB TEPRESISTOR.LIBProteus library 306.9 KB
LIB TEPWS2812.LIBProteus library 1.6 MB
Proteus Model Files/6 files · 4.5 MB
DLL TEPML8511.DLLSimulation model 316 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPPASSIVE.DLLSimulation model 288.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPWS2812.DLLSimulation model 312.5 KB
Proteus Simulation/8 files · 4.7 MB
DSN ESP32-Sunburn-Timer.pdsprjProteus simulation 43.2 KB
HEX ESP32_Sunburn_Timer.hexCompiled HEX file 115.8 KB
DLL TEPML8511.DLLSimulation model 316 KB
DLL TEPNET.DLLSimulation model 3.0 MB
DLL TEPOLED.DLLSimulation model 342.5 KB
DLL TEPPASSIVE.DLLSimulation model 288.5 KB
DLL TEPRESISTOR.DLLSimulation model 311 KB
DLL TEPWS2812.DLLSimulation model 312.5 KB
TXT README.txtText file 10.9 KB

README

README.txt 145 lines
===============================================================================================================
  UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation - Project V1.0
  The Engineering Projects - www.TheEngineeringProjects.com
===============================================================================================================

IMPORTANT LINKS
  The project tutorial (circuit, code, simulation results):
  https://www.theengineeringprojects.com/2026/11/uv-index-sunburn-timer-ml8511-esp32-proteus-simulation.html
  The libraries this project is built from (each post has its own full download and tutorial):
    ESP32 DevKit V1 board:
      https://www.theengineeringprojects.com/2026/10/esp32-devkit-v1-library-for-proteus-v2-0.html
    ML8511 UV sensor:
      https://www.theengineeringprojects.com/2026/11/ml8511-uv-sensor-library-for-proteus.html
    WS2812B NeoPixel:
      https://www.theengineeringprojects.com/2026/10/ws2812b-neopixel-library-for-proteus-v1-0.html
    Passive buzzer:
      https://www.theengineeringprojects.com/2026/11/passive-buzzer-library-for-proteus.html
    Resistor:
      https://www.theengineeringprojects.com/2026/11/resistor-library-for-proteus.html
    OLED SSD1306:
      https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.html
    Laptop WiFi Monitor:
      https://www.theengineeringprojects.com/2026/10/laptop-wifi-monitor-library-for-proteus.html
    Mobile WiFi Monitor:
      https://www.theengineeringprojects.com/2026/10/mobile-wifi-monitor-library-for-proteus.html
  Support our free work: https://www.theengineeringprojects.com/donate

FILE STRUCTURE
ESP32-Sunburn-Timer-TEP-v1.0/
|-- Proteus Library Files/
|   |-- TEPESP32V1.LIB                                 36.6 KB   a part of the project -> LIBRARY folder
|   |-- TEPLAPTOP.LIB                                  39.5 KB   a part of the project -> LIBRARY folder
|   |-- TEPML8511.LIB                                  14.5 KB   a part of the project -> LIBRARY folder
|   |-- TEPMOBILE.LIB                                  13.1 KB   a part of the project -> LIBRARY folder
|   |-- TEPOLED12864.LIB                              112.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPPASSIVE.LIB                                 13.4 KB   a part of the project -> LIBRARY folder
|   |-- TEPRESISTOR.LIB                               306.9 KB   a part of the project -> LIBRARY folder
|   |-- TEPWS2812.LIB                                  1.59 MB   a part of the project -> LIBRARY folder
|-- Proteus Model Files/
|   |-- TEPML8511.DLL                                 316.0 KB   a model -> MODELS folder
|   |-- TEPNET.DLL                                     3.01 MB   a model -> MODELS folder
|   |-- TEPOLED.DLL                                   342.5 KB   a model -> MODELS folder
|   |-- TEPPASSIVE.DLL                                288.5 KB   a model -> MODELS folder
|   |-- TEPRESISTOR.DLL                               311.0 KB   a model -> MODELS folder
|   |-- TEPWS2812.DLL                                 312.5 KB   a model -> MODELS folder
|-- Proteus Simulation/
|   |-- ESP32_Sunburn_Timer.hex                       115.8 KB   the firmware U1 runs
|   |-- ESP32-Sunburn-Timer.pdsprj                     43.2 KB   the project simulation
|   |-- TEPML8511.DLL                                 316.0 KB   copy of the model
|   |-- TEPNET.DLL                                     3.01 MB   copy of the model
|   |-- TEPOLED.DLL                                   342.5 KB   copy of the model
|   |-- TEPPASSIVE.DLL                                288.5 KB   copy of the model
|   |-- TEPRESISTOR.DLL                               311.0 KB   copy of the model
|   |-- TEPWS2812.DLL                                 312.5 KB   copy of the model
|-- Arduino Code/
|   |-- ESP32_Sunburn_Timer/ESP32_Sunburn_Timer.ino    14.1 KB   the sketch (source of the .hex)
|-- README.txt                                        ~10.8 KB   this file
Total: 11.39 MB (unzipped). The C++ source code of the models is not included.

WHAT IS IT?
  A UV station for a day at the beach or the pool. It measures the sun's UV with an ML8511 sensor, shows the UV
  index in its colour, and counts the UV dose your skin takes while you are out - so it can tell you how long you
  have before you burn, remind you to put on sunscreen and to reapply it, and tell you when to get out of the sun.
    * U1 ESP32 DEVKIT V1 runs ESP32_Sunburn_Timer.hex on TEP-WiFi at 192.168.1.101.
    * U2 the ML8511 module (ML8511TEP, PROFILE DAY, PEAK 6.5 mW/cm2, SPEED 300 - a summer day from 06:00, 5 minutes
      each simulated second, a cloud from 12:30 to 13:30): VIN on the VCC rail (its regulator makes 3.3 V), OUT on
      D34; its 3V3 pin to EN (always on) and through R1 / R2 (10k / 10k) to GND, the middle (REF, 1.65 V) on D35.
    * NEO1 a WS2812B ring of 12 (WS2812RING12ADVTEP): 5V on VCC, DIN on D13, GND - the UV index gauge.
    * BZ1 our passive buzzer from D33 through R3 100 ohm.
    * OLED1 an SSD1306 128x64 OLED (OLED12864WHITEADVTEP, 0x3C) on I2C: SDA D21, SCL D22, VCC +3.3V.
    * Laptop WiFi Monitor (PC1) and Mobile WiFi Monitor (MOB1) open http://192.168.1.101/.
  What the sketch does (twice a second):
    the reading   16 readings of OUT and of REF; VOUT = 3.3 x A(OUT) / (2 x A(REF)) - the module's own 3.3 V is the
                  reference (the ESP32's ADC tops out at 3.3 V, so the divider halves it); the intensity from the
                  maker's line (0.99 V dark, 2.8 V at 15 mW/cm2); the UV index for sunlight = 1.7 x mW/cm2 (a rough
                  rule)
    the dose      the UV index = 40 x the sunburn-weighted irradiance in W/m2, so the skin takes UVI / 40 J/m2 each
                  second; while you are OUT it adds up, divided by the sunscreen's SPF; 100 J/m2 = 1 SED (standard
                  erythema dose). The burn dose (MED) by skin type: I 200, II 250, III 300, IV 450, V 600, VI 1000
                  J/m2 (typical values); the project starts with type II
    the timer     burn in = (the burn dose - your dose) / (UVI / 40 / SPF): the day's time left at today's UV now;
                  indoors it shows how long bare skin would last
    the alerts    50 % of the burn dose: sunscreen and shade (2 beeps); 80 %: get out of the sun (a chirp every 2 s
                  until you go in); 100 %: the burn dose; SPF 30 counts in full for 2 hours, then at half until you
                  reapply (a reminder, 3 beeps)
    the gauge     the ring: LED k lights when the UV index reaches k, in its band's colour - green (1 - 2), yellow
                  (3 - 5), orange (6 - 7), red (8 - 10), violet (11 - 12)
    the OLED      the UV index, its band, the clock, OUT / IN, the skin type, the SPF, the dose bar and the timer
    TIME_SCALE    300: the sketch counts the dose and the clock at the sun's pace in the simulation (U2's SPEED);
                  on a real station TIME_SCALE = 1 and the clock comes from NTP
  Its pages:
    /             the dashboard with the links Refresh, OUT/IN, SPF 30, SKIN and NEW DAY        /data   JSON
  Libraries: WiFi and WebServer (part of the ESP32 core), Wire, Adafruit NeoPixel, Adafruit SSD1306 and Adafruit GFX.

TEST STATUS
  Tested in Proteus 8 Professional on Windows 11, the run that made the tutorial's screenshots (the sketch's day clock):
  - Start: OUT 0.990 V (no UV); the morning indoors: 07:00 UV index 1.0 (OUT 1.061 V, 0.59 mW/cm2), 08:00 3.2
    (1.220 V, 1.91 mW/cm2) - the model's sun: 6.5 x sin(30 deg)^1.8 = 1.87 mW/cm2; the ring 3 LEDs (2 green, 1 yellow).
  - 08:05 OUT/IN on the dashboard: out, skin type II, no sunscreen. 08:26 HALF your burn dose (2 beeps, the OLED "PUT
    ON SUNSCREEN!"); 08:30 SPF 30 on: 61 %, burn in 7:07 at UV index 4.6.
  - 09:00 64 %, 10:00 73 % (UV index 8.6); 10:32 REAPPLY (counted at SPF 15: burn in 0:55); 10:36 SPF 30 again.
  - 10:41 WARNING 80 % (the OLED "GET OUT OF THE SUN!", a chirp every 2 s); 10:44 IN: your dose 2.02 SED = 81 % of
    the burn dose; the open sky since 06:00 gave 19.0 SED.
  - Noon: UV index 11.1 (6.50 mW/cm2, EXTREME, the ring 11 LEDs to violet); the cloud: 12:30 4.9, 13:00 4.7 (the ring
    2 green + 3 yellow). 86.3 s of simulation (06:00 - 13:10 of the day) in 518 s.

INSTALLATION
  1. Close Proteus. Extract the WHOLE zip file, for example to your Desktop.
  2. Copy the files from "Proteus Library Files" into the LIBRARY folder of Proteus, for example
     C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
  3. Copy the files from "Proteus Model Files" into the MODELS folder (next to LIBRARY).
  4. Start Proteus. Press P in the schematic and search for ESP32 DEVKIT V1 or ML8511TEP to check that the parts are
     there.

RUN THE SIMULATION
  1. Open "Proteus Simulation\ESP32-Sunburn-Timer.pdsprj". Keep ESP32_Sunburn_Timer.hex and the DLL files beside it.
  2. Press Play. The day starts at 06:00 and runs 5 minutes a second; the UV index rises through the morning.
  3. Open the Laptop or the Mobile WiFi Monitor and press Go for the dashboard: OUT/IN when you go out, SPF 30 when
     the sunscreen goes on, SKIN for your skin type. Click U2 for the sensor's pop-up (the sky, the UV, Cloud, Shade).

PROPERTIES USED IN THIS PROJECT
  U1 ESP32 DEVKIT V1           PROGRAM=ESP32_Sunburn_Timer.hex
  U2 ML8511TEP                 PROFILE=DAY, PEAK=6.5, SPEED=300, UV=0
  R1, R2 10k; R3 100; NEO1 WS2812RING12ADVTEP; BZ1 BUZZERPASSIVETEP; OLED1 OLED12864WHITEADVTEP;
  PC1, MOB1 HOMEPAGE=http://192.168.1.101/

TROUBLESHOOTING
  * "No ML8511: the reference on D35 reads 0": VIN on the VCC rail, the 3V3 pin to R1, the middle of R1 / R2 to D35.
  * The ring stays dark: DIN on D13, 5V on VCC; below UV index 0.5 no LED lights.
  * OUT stays at about 0.99 V: no UV - the night, the shade, or glass in the way on a real sensor.
  * The dose counts too fast or too slow: TIME_SCALE must equal U2's SPEED (300); on real hardware set it to 1.
  * The OLED stays dark: SDA / SCL on D21 / D22, VCC on +3.3V.

LICENCES
  * The project, the sketch, the parts (LIB files) and the models (DLL files) are made by The Engineering Projects
    and are free for learning and for your own projects. The models use only standard Windows libraries.
    The C++ source code of the models is not included; the source code is not included for any model.
  * The .hex file is built with the TEP Boards for Proteus and the Adafruit NeoPixel / SSD1306 / GFX libraries.
  * The skin types, the burn doses and the UV index rule are typical values for learning, not medical advice.
  * Proteus is a product of Labcenter Electronics and is not included. ESP32 is a product of Espressif Systems;
    ML8511 of LAPIS Technology (ROHM). This project is not made or endorsed by them.

VERSION
  V1.0 - the first release of the project.
===============================================================================================================
Advertisement

Development1 release

  1. V1.0UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation V1.0this page

    V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.

Installation8 steps

From the download to a working project, in order. The steps follow what the package contains.

You will need

  • Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
  • Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
  • Any archive toolWindows, macOS and Linux extract ZIP files on their own

Steps

  1. 1

    Extract the archive

    Right-click 6f20c74614d743ef876341a30e16594c.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (ESP32-Sunburn-Timer-TEP-v1.0) as it is.

  2. 2

    Copy the library files into Proteus

    Move TEPESP32V1.LIB, TEPLAPTOP.LIB and TEPML8511.LIB and 5 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 TEPML8511.DLL, TEPNET.DLL and TEPOLED.DLL and 3 more into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.

  4. 4

    Restart Proteus and place the component

    Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.

  5. 5

    Open the sketch in the Arduino IDE

    Open ESP32_Sunburn_Timer.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.

  6. 6

    Load the HEX file

    In Proteus double-click the microcontroller, set Program File to ESP32_Sunburn_Timer.hex and run the simulation. For real hardware, flash the same file with your programmer.

  7. 7

    Open the example simulation

    Open ESP32-Sunburn-Timer.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

    UV Index and Sunburn Timer with ML8511 and ESP32 - 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 UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation V1.0?

Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.

What is inside the archive?

UV Index and Sunburn Timer with ML8511 and ESP32 - Proteus Simulation V1.0 comes as a ZIP archive of 24 files (4.6 MB, 11.4 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 24 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, c75f5afc3c3db7490ab0d1969c32bc9d822c6ca70f61f4c1d2bc6ce6e077fe0b. In PowerShell run Get-FileHash "6f20c74614d743ef876341a30e16594c.zip"; on macOS or Linux run shasum -a 256 "6f20c74614d743ef876341a30e16594c.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 · 6f20c74614d743ef876341a30e16594c.zip
Rating
Your download will be ready shortly
Preparing your download…

Members skip the wait. Log in or join TEP.

Last 14 days0 downloads
SHA-256 c75f5afc3c3db7490ab0d1969c32bc9d822c6ca70f61f4c1d2bc6ce6e077fe0b
DocumentationUV Index and Sunburn Timer with ML8511 and ESP32 - 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.