Sun sensor.

Well, thats seems overly complicated it...anyways... I had a sun sensor design using a arduino using a AD820, thing didn't work ..anyone has a sun sensor design with the Arduino that DOES work ?