I have build a chicken coop controller currently it is only set up to open close the door.
Let me first say I dont really know what I am doing but am good with logic and can stumble my way through things.
Everything seems to work perfectly for several days or weeks and then the LDR fails. The track looks physically burnt. The resistance of the LDR drops permanently and the door stay open. (this is about the 6th time it has failed this year.)
I just went out to the coop and the readings on the LDR are (as long as I am measuring correctly)
It is displaying on the LCD 120 (it usually reads between 0=dark 600 bright)
The multimeter reads
I have attached a picture of the latest damaged LDR and where the ldr is connected to the Arduino on A0 (blue and red wires)
It is covered under the roof of the coop in a piece of translucent pex plumbing pipe (No rain or direct sunlight)
Entire system is running off of a Car battery being trickle charged with a 1 amp charger.
door is controlled by a 12v linear actuator.
Any ideas what might be causing them to fail?
I have googled ldr failure / photo resistor failure and found nothing and no pictures that show the damage I am getting.