analog in will not read true

and the voltage should be a steady reading out, as it is the light reading from a diode, used as a light sensor.

Well there's the obvious issue - what light is falling on the diode? Fluorescent? compact fluorescent? Or is it really a constant
light source such as the sun or tungsten filament bulb?