Comments (2)
I received my sensor,started playing around with it, it seems to work with simple reptile tube ( arcadia call them Shadedweller pro, they are 8W, 400lumen, 6000kelvin )
I get a UVI of +/- 0.7 at 25cm from the light source so that seems fine
But for my other tubes ( arcadia t5 desert 12%, 54w, 2400 lumen, 7000kelvin ) I should get something around 8.5 UVI at 30cm from light source and I get something around 2.5 2.7 UVI
If I multiply the value I get for those tube by ~3 I almost get what I should expect but i'm not sure that it is the right way to do it because if I multiply by 3 then the values for my shadeweller is wrong...
Any tips to share ?
FYI, these tubes are "white" and therefore does not output infrared
from ltr390.
I don't know if that can help your issue, but it could be related to the WFAC value. Se library notes in h file
#define UV_SENSITIVITY 1400
#define WFAC 1
- For device under tinted window with coated-ink of flat transmission rate at 400-600nm wavelength,
- window factor is to compensate light loss due to the lower transmission rate from the coated-ink.
-
a. WFAC = 1 for NO window / clear window glass.
-
b. WFAC >1 device under tinted window glass. Calibrate under white LED.
Which is used in the calculation of UVI.
float uvi = (float)(raw) / ((gain_factor[_gain] / gain_factor[LTR390_GAIN_18]) * (res_factor[_resolution] / res_factor[LTR390_RESOLUTION_20BIT]) * (float)(UV_SENSITIVITY)) * (float)(WFAC);
return uvi;
So you need to change it to whatever number is right for you. You could change the library to make WFAC a variable so you can change it when you need to in your code.
from ltr390.
Related Issues (9)
- Hello, why do UVI calculate in this way ? HOT 7
- UV Index shows zero! HOT 9
- LTR390 Not Connected Error HOT 6
- High UV Index value HOT 2
- LTR390 incorrect readings when too much light HOT 12
- Max lux HOT 2
- Wfac for perspex HOT 1
- About 'unused-variable' in LTR390.cpp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltr390.