I am using LDR in direct sunlight to detect the level of light intensity on the solar panels. The LDR is connected with the arduino analog input using a 10 meter wire (panels to the inverter). I have programmed the arduino in a way that when max. light intensity is there, the arduino setups a particular inverter mode.
However, i have seen that after a month of usage of LDR, it becomes less responsive (? denature) and dont respond it used to do in the new setup. LDR on close examination, showed some degenerated changes. I have tried several different types of LDRs (direct / water proof) but all show the same problem.
How to solve this LDR problem in the direct sunlight? Is it due to UV radiation or temperature?