Ambient Light Sensor
-
The documentation for the light sensor says the function "returns a tuple with two values for light levels in lux". What data type are the values?
It also says "See the datasheet for more information about the wavelengths of the two sensors." I've looked in the PySense spec sheet and the LTR329ALS spec sheet and can't find it.
There's also no explanation of what the function parameters do, particularly integration and rate. I guess the integration parameter specifies giving an integrated value over a specified time period, perhaps in ms, but it is just a guess. I have no idea what the rate parameter could be for.
Is there another information sheet anywhere that I've missed or could someone please fill in the blanks?
Also, why are there 2 sensors? Are they oriented differently or tuned for different wavelengths? -
You can find the datasheet for this sensor here: http://www.mouser.com/ds/2/239/Lite-On_LTR-329ALS-01 DS_ver1.1-348647.pdf
You can see in this data sheet, a graph of the two sensors response to light wavelength. The reason there are two is because they are sensitive to different wavelengths of light. As for parameters like integration and rate, these refer directly to settings in the devices registers. I recommend reading the register descriptions in the datasheet to get a better idea of how it works.
If you still need help after this then please let us know.
-
@seb Ah, yes. I have the datasheet but I was searching through all of the text and missed the graphs. Wood vs.Trees!
That all makes sense. many thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login