Indicated for testing remote controls, this circuit was obtained from the June 1997 issue of Electronics Now magazine. The LED can be any color and the sensor is a common photodiode.