EE-SPY411 Reflective Photomicrosensor

Why are you using the analog input ? It's a digital sensor isn't it ?
Where did you find that schematic you are using ?

The data sheet says it is supposed to read a reflection from a mirror ("glass with aluminum deposition " is the technical name for a mirror)