Giter VIP home page Giter VIP logo

Comments (2)

cmur2 avatar cmur2 commented on June 9, 2024

I also researched that when I wrote this library and sadly the conclusion is that it's difficult. You can get a glimpse from Wikipedia:

The UV power spectrum (expressed as watts per square metre per nanometre of wavelength) is therefore multiplied by a weighting curve known as the erythemal action spectrum, and the result integrated over the whole spectrum.

Since the VEML6070 from Vishay (peak sensitivity according to datasheet at 355 nm +/- 20 nm) does not measure the wavelengths that are most important for the UV index (around 300 nm as far as I understood) you could only get rough estimates. The best you can do is doing relative comparisons for your own... submitting the estimate to Wunderground might have some downsides e.g. for other people who trust the value and get hurt.

Maybe there is also another sensor out there that matches the required wavelength spectrum more appropriately. Anyways happy that it works for you :)

from python-veml6070.

marianowadel avatar marianowadel commented on June 9, 2024

That's so disappointing :(. I've read a little more and from here I understand that the really harmful UV light is UVB (VEML6070 measures only UVA). Anyway, before this I was using a SI1145 (visible light meter) to estimate UV index. VEML6070 seems much more realistic and close to nearby stations. I guess the way to go would be VEML6075 (also measures UVB), but the wavelengths don't seem that different from VEML6070's (355nm +/- 20nm vs 365nm, 330nm +/- 10nm).
I divided by 10 your library readings and my values are somewhat close to a nearby Davis Vantage Pro. I also had to take into account the attenuation of the enclosure, which is made of glass.
Anyway thanks for answering!
Cheers and again thanks for your work.

from python-veml6070.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.