sunlight sensor

Photo resistors are temperature sensitive, you ideally use a reverse-biased photodiode for
more accurate and repeatable light measurements. The current in such a diode is pretty well linear
with light intensity across a wide range.