I have replaced the 10K resistors with more precise 3.2K resistors at the output of the LDR's to analoge pins of microcontroller. These resistors are calculated for the available LDR's.
Following Formula was used:
LDR resistance(Ohms) = SQRT ( Rdark x Rnoon)
Where Rdark = Resistance of the LDR in night (No light condition) =247 Ohm
Rnoon= Resistance of LDR at high noon (direct under the sunlight) =39000Ohm
LDR resistance = SQRT (247 x 39000)
= 3101 Ohm = 3.1 ohm
=3.2 is the nearest available resistance
Here is the spreadsheet version:
and a short video after 10K resistance replacement with 3.2K.
No comments:
Post a Comment