TSL2561 - Light Sensor Question
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 2
- Joined: Wed Aug 08, 2012 7:57 am
TSL2561 - Light Sensor Question
Individual readings with this sensor seem to max out at around 4935 - is this a limitation with the sensor or with the sketch?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: TSL2561 - Light Sensor Question
Are you reading luminosity or Lux? Post your sketch.
-
- Posts: 2
- Joined: Wed Aug 08, 2012 7:57 am
Re: TSL2561 - Light Sensor Question
Hi
I am using the sketch as per your tutorial available hear http://learn.adafruit.com/tsl2561/
I am reading both luminosity and calculating the lux.
I note that these diodes were designed to measure ambient light - my project is using one of these sensors to measure the light from 3w led's but I also have the same problem in sunlight.
Unfortunately, both the IR and the Full Spectrum max out at around the 4935 figure, with the result that the visible light reduces to zero - as the lux is primarily dependant on the visible light it also reduces to zero.
I also found a reference to the same problem here http://itp.nyu.edu/physcomp/sensors/Rep ... uitTSL2561
Cheers
I am using the sketch as per your tutorial available hear http://learn.adafruit.com/tsl2561/
I am reading both luminosity and calculating the lux.
I note that these diodes were designed to measure ambient light - my project is using one of these sensors to measure the light from 3w led's but I also have the same problem in sunlight.
Unfortunately, both the IR and the Full Spectrum max out at around the 4935 figure, with the result that the visible light reduces to zero - as the lux is primarily dependant on the visible light it also reduces to zero.
I also found a reference to the same problem here http://itp.nyu.edu/physcomp/sensors/Rep ... uitTSL2561
Cheers
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: TSL2561 - Light Sensor Question
The calculations in the library follow the recommended implementation in the data sheet pretty much verbatim. The example sketch is using the shortest integration time. Have you tried changing it to 101 or 402 MS?
Please be positive and constructive with your questions and comments.