Libelium / waspmoteapi

Tested and stable Waspmote API repository
137 stars 129 forks source link

TSL2561 wrong readings in bright light (P&S Smart Agriculture Xtreme) #54

Closed andikulla closed 2 years ago

andikulla commented 2 years ago

Summary

Reading the luminosity sensor (which uses the TSL2561) returns wrong values in bright light. Instead returning approximately 30000 to 40000 luxes, it mostly reads 384 luxes. Sometimes the value goes slightly up to little above 400 luxes but mostly sticks to 384 luxes. Readings in dimmer light up to approx. 25000 seem to be correct. This issue also appears using the example code provided by Libelium here. (The TSL2561 Library included in the Waspmote IDE is identical to the library in this repo (Version 3.3, 2018))

How to reproduce

Background Information

Libelium commented 2 years ago

Hi, To solve your issue, please contact our colleagues from technical service here: https://www.libelium.com/contact/ Thank you.