HELP with Infrared emitter + sensor problems

Ok, tried that but it seems weird to connect an analog pin to ground and the collector 2 5v. So I'm clear... this is how I would set this up using the atmega328 on a breadboard...

VCC ____ - Receiver + _____ A0 pin __________________
|

  • _____ 10k ohm ____ ground ______|

... or what??

This is what I am using... http://www.instructables.com/image/F4M09OIF6S98GAG/IR-Detector-Circuit.jpg