Light Sensor Overwhelmed


#1

Raspberry Pi 3, latest Raspian Jessie. So I have a project that’s using a TSL2561 light sensor and when the sun is shining directly at it the sensor is overwhelmed and it reports an eronious number (364). Looking into the data sheets on this device shows that it has a gain adjustment and the ability to reduce the frequency of readings which would help in this particular situation. However, as I’m running it through Cayenne I don’t believe I can adjust those parameters.

My other option is to give the sensor some sunglasses and reduce the amount of light going in. I’d prefer to get as accurate a reading as possible, but if that’s all I can do at this time then so be it. Anyone else bump into this before?


Scheduling Feature - Random on/off Cycles & Dusk/Dawn
#2

Unfortunately you’re correct that we don’t have direct access to change the reading frequency. There’s a similar post here: Scheduling Feature - Random on/off Cycles & Dusk/Dawn Look’s like he is going the sunglasses route.


#3

I almost hate to say it, but with the Arduino integration, that code flexible route is now an option.

One thing I find odd is in my installation of a TSL2561 I’m not seeing anything close to max readings.

Ian


#4

Thank you for the answers. :sunglasses: it is.