Here is basic tutorial about Infrared Sensor, different types of IR sensors, IR transmitter and receiver, IR sensor circuit diagram and its working.