This project and its circuit are one of the most basic and popular sensor modules. In electronics, this sensor is analogous to human’s visionary senses which can [[wysiwyg_imageupload::]]be used to detect an obstacle which is one of its common applications. In robotics, a group of such modules are used so that a robot can follow a line pattern. This circuit is made using these components: LM358 IC,IR Transmitter and Receiver Pair, Resistors of the range of Kilo ohms, Variable Resistors and LED. The transmitter part of the sensor project is an Infrared (IR) Led which transmits continuous IR rays to be received by an IR receiver. The output of the receiver varies depending upon its reception of IR rays. Since this variation cannot be analyzed as such, therefore this output can be fed to a comparator. Here operational amplifier (op-amp) of LM 339 is used as comparator.