A photosensor is provided, which includes a sensor, a reference voltage
generator and a processor. The sensor receives an external light and
generates a sensing voltage in response to an amount of the external
light received. The reference voltage generator is blocked from the
external light and generates a reference voltage. The processor receives
the sensing voltage from the sensor and the reference voltage from the
reference voltage generator to generate a sensor output voltage in
response to a difference between the sensing voltage and the reference
voltage.