The problem
Ultraviolet radiation from sunlight is invisible, so people cannot judge its strength by looking at the sky or feeling the heat, and that gap is what the UV Index Meter Project using ML8511 Sensor and OLED Display addresses. This handheld meter measures ultraviolet light with the ML8511 sensor, converts the sensor voltage into an estimated UV index, and shows the reading with its WHO risk band on an OLED display, turning an invisible quantity into a readable number. The problem matters because sunburn and skin and eye damage depend on UV intensity, not on temperature, so a bright but cool morning can carry a High UV index while a hot hazy afternoon reads lower. Weather apps give a city forecast, not the UV level at the spot where a person is standing, under a tree or behind glass. A pocket meter reporting the local reading closes that gap for students, teachers and anyone curious about sunlight.
Most students meet the UV index only as a number in a weather app, with no sense of where it comes from or how it is measured. Building the meter closes that gap: the student wires a real UV sensor, reads its analogue voltage, converts it with the datasheet characteristic, and displays a result they can check against the sky outside.
UV sensor on top of the enclosure; its amplifier turns UV photocurrent into voltage.
Follow the working sequence
How it works
The UV Index Meter Project using ML8511 Sensor and OLED Display turns ultraviolet light into a voltage, the voltage into a number, and the number into a risk band on the display. The ML8511 sensor sits on top of the enclosure with its window facing the sky, and its internal amplifier converts UV photocurrent into an analogue voltage that rises linearly with UV intensity, from about 1.0 V in shade to about 2.8 V at 15 mW/cm² (datasheet values). The Arduino Nano reads that voltage on its 10-bit analogue input, averages 8 samples to smooth flicker, and maps it to an estimated UV index from 0 to 15, using the board's 3.3 V pin as the ADC reference. The firmware matches the index to the WHO bands — Low, Moderate, High, Very High and Extreme — and writes the index, the band and the raw sensor voltage on the 0.96-inch OLED, refreshing about once per second.
- The ML8511 sensor on top of the enclosure faces the sky; its photodiode responds to UV-A and UV-B light in the 280–390 nm wavelength range (datasheet value).
- The sensor's internal amplifier converts the UV photocurrent into an analogue voltage that rises linearly with UV intensity, about 1.0 V in shade and about 2.8 V at 15 mW/cm² (datasheet values).
- The Arduino Nano reads that voltage on its 10-bit analogue input and averages 8 samples to smooth short flicker.
- The firmware maps the averaged voltage to an estimated UV index from 0 to 15 using the linear characteristic from the ML8511 datasheet, with the 3.3 V pin as the ADC reference.
- The index is matched to the WHO Global Solar UV Index bands, and the OLED shows the index, the band name and the raw sensor voltage.
- The meter is powered by a 9 V battery or a 5 V USB supply, and the sensor's enable pin puts it into standby between readings.
- The student verifies the build with the calibration procedure: a shaded reading near the low end of the scale and a bright outdoor reading in a higher band, both recorded in the report.
Bench observation (design note, not a measured result): moving the meter from a shaded room to a sunlit window lifts the displayed index from the Low band into the Moderate or High band within a reading or two, while the sensor output sits near 1.0 V in full shade — the behaviour a student should see on their own build and record in the report.
Tech stack:
- Arduino Nano (ATmega328P)
- ML8511 UV sensor module
- 0.96-inch OLED display (SSD1306 · I2C)
- Arduino IDE (C/C++ firmware)
- 9 V battery · 5 V USB power
- 3D-printed enclosure
- WHO Global Solar UV Index scale
| Parameter | Value |
|---|---|
| Sensor | ML8511 UV sensor (LAPIS Semiconductor, datasheet FEDL8511A-02) |
| Sensing range | 280–390 nm wavelength (datasheet value) |
| Operating voltage | 2.7–3.6 V, 3.3 V typical (datasheet value) |
| Sensor output | Approximately 1.0 V at 0 mW/cm²; 2.2 V typical at 10 mW/cm² (datasheet values) |
| UV index range | 0–15 (estimated, derived from sensor voltage) |
| Controller | Arduino Nano, ATmega328P, 10-bit ADC |
| Display | 0.96-inch OLED, 128×64 pixels (SSD1306) |
| Supply current | 300 µA typical active, 0.1 µA typical standby (datasheet values) |
| Operating temperature | −20 to +70 °C (datasheet value) |
| Power | 9 V battery or 5 V USB (design choice) |
| Refresh rate | Approximately 1 reading per second (design behaviour) |
| Enclosure | Compact handheld 3D-printed enclosure (design choice) |
Project features
The UV Index Meter Project using ML8511 Sensor and OLED Display is built around four capabilities that make it a complete electronics project: live UV-index readout, WHO band classification, a clear OLED display, and a documented voltage-to-index conversion a student can explain in a viva. The live readout turns the ML8511 sensor voltage into an estimated UV index from 0 to 15, updated continuously as the student moves between shade and sunlight. The band classification maps every reading to the WHO Global Solar UV Index bands — Low, Moderate, High, Very High and Extreme — so the number always arrives with its meaning. The 0.96-inch OLED shows the index, the band and the raw sensor voltage at a glance, with no phone or computer needed. The conversion itself is the teaching core: the linear voltage-to-intensity relationship from the ML8511 datasheet, a 10-bit ADC read, sample averaging and a documented mapping, all visible in the firmware source.
- [Live UV-index readout] The ML8511 sensor voltage is converted into an estimated UV index from 0 to 15, refreshed about once per second (design behaviour), so the reading follows the light as the meter moves.
- [WHO risk-band classification] Every reading is labelled with its WHO Global Solar UV Index band — Low (0–2), Moderate (3–5), High (6–7), Very High (8–10) or Extreme (11+) — so the number always comes with its meaning.
- [OLED display readout] A 0.96-inch OLED display shows the UV index, the band name and the raw sensor voltage at a glance, with no phone, app or computer needed.
- [Sample averaging] The firmware averages 8 ADC samples per reading to smooth flicker from passing cloud and hand movement, giving a steadier display.
- [Low-power standby] The sensor enable pin drops the ML8511 to a 0.1 µA standby current (datasheet value), and the meter runs from a 9 V battery or a 5 V USB supply.
- [Documented calibration procedure] A buyer-run two-point check — a shaded reading and a bright outdoor reading, recorded against the datasheet characteristic — lets the student verify and report their own meter's behaviour.
- [Compact handheld enclosure] The sensor sits on top of a compact 3D-printed enclosure with its window facing the sky, while the Arduino Nano and OLED sit inside, making a pocket-sized meter for outdoor demos.
What is included
- Working handheld UV index meter prototype (ML8511 sensor, Arduino Nano, OLED display, enclosure)
- Firmware source code (Arduino IDE, C/C++)
- Circuit and wiring documentation
- Voltage-to-UV-index conversion and calibration procedure
- Project abstract PDF (background, methodology, architecture, outcomes, applications, future scope)
- Project report and PPT presentation
- Viva Q&A preparation document (sensor theory, ADC conversion, WHO bands, calibration)
Limitations & prerequisites
- The displayed UV index is a derived estimate from sensor voltage, not a calibrated radiometer reading; it must not be used for medical, safety-critical or sun-protection decisions.
- The ML8511 responds to UV-A and UV-B (280–390 nm) but its response is not flat across the band, so readings under different light sources (sun, UV lamp, fluorescent tube) are not directly comparable.
- Window glass blocks most UV-B, so readings taken behind glass read lower than outdoors; the meter measures the light reaching the sensor, not the forecast.
- The OLED display is readable indoors and in shade but can be hard to read in direct bright sunlight (design limitation).
- Accuracy depends on the two-point calibration the student performs; an uncalibrated meter can differ noticeably from a reference meter, and the report documents the student's own comparison.
- The base build has no data logging or wireless connectivity; both are optional extensions.
- This is an educational UV-awareness prototype, not a health or medical device; it gives no diagnostic or sun-safety advice.
Frequently Asked Questions
How does the ML8511 sensor measure UV light?
The ML8511 is a UV sensor with an internal amplifier that converts the photocurrent from its UV-sensitive photodiode into an analogue voltage, so stronger UV light produces a higher output voltage. Its photodiode responds to UV-A and UV-B light in the 280–390 nm wavelength range (datasheet value), and the output rises linearly with UV intensity from about 1.0 V in shade to about 2.8 V at 15 mW/cm² (datasheet values). The Arduino reads that voltage, averages several samples, and maps it to an estimated UV index using the linear characteristic from the LAPIS Semiconductor datasheet.
Is the displayed UV index the same as the weather forecast UV index?
No. A weather forecast UV index is a modelled prediction of the maximum UV level expected at solar noon for a whole city, while this meter measures the UV light actually reaching its sensor at that moment and in that exact place. The two agree most closely outdoors at midday under a clear sky, and differ under cloud, shade or glass. Treat the meter reading as a local estimate for learning and comparison, not as a replacement for the official forecast.
What do the Low, Moderate, High, Very High and Extreme bands mean?
They are the five bands of the WHO Global Solar UV Index scale, which the firmware uses to label every reading: 0–2 Low, 3–5 Moderate, 6–7 High, 8–10 Very High and 11+ Extreme. Each band describes the risk of harm from unprotected sun exposure, with protection recommended from a UV index of 3 upward (WHO guidance). The OLED shows the band name next to the number, so the reading is readable without memorising the scale.
Can this meter test sunscreen, sunglasses or skin safety?
No. The meter measures the ultraviolet light falling on its sensor, and it cannot test how well a sunscreen, lens or fabric blocks UV, nor can it judge whether a person's skin is safe in the sun at any given moment. It is an educational UV-awareness prototype, not a health or medical device, and it gives no diagnostic or sun-safety advice. What it can do is compare readings — open sun against shade, or indoors against a window — to show how much UV different spots actually receive.
Does the meter need internet, a phone or an app?
No. The meter is fully self-contained: the ML8511 sensor, Arduino Nano and OLED display run entirely offline, and every reading appears on the display with no phone, app, internet connection or computer needed at any point. Power comes from a 9 V battery or a 5 V USB supply, so it works anywhere outdoors. Logging readings to a phone or computer is an optional extension, not part of the base build.
Is this project suitable for a final-year project?
Yes, for Electronics & Telecommunication and Electrical Engineering students. It demonstrates sensor interfacing, analogue-to-digital conversion, datasheet-based calibration, embedded C firmware and display driving in one compact, demonstrable build, with a clear report structure, a documented calibration procedure and viva-ready explanations. The voltage-to-index conversion and the WHO band mapping give the student genuine technical content to explain, and the calibration procedure provides original work for the report.
Components & software requirements
- Arduino Nano (ATmega328P)
- ML8511 UV sensor module
- 0.96-inch OLED display (SSD1306 · I2C)
- Arduino IDE (C/C++ firmware)
- 9 V battery · 5 V USB power
- 3D-printed enclosure
- WHO Global Solar UV Index scale
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.