Presenting a multipurpose infrared sensor that works well with obstacle sensing, Color detection between basic contrasting colors, Along with, Line sensing others as, Fire detection an encoder sensor. The sensor provides a digital ouput. The sensor outputs a logic one, 5v at the digital output when an object is placed in leading edge of the sensor and a logic zero 0v, When not any object in front of the sensor. An onboard led functions as a means to indicate the existence of an object. This digital output can be directely connected to an arduino, Raspberry pi, Avr, Pic, 8051 or any additional microcontroller to read the sensor output. Other detail ir sensors are highly susceptible to ambient light and the ir sensor on this sensor is suitably covered to reduce effect of ambient light on the sensor. For maximum, Range the onboard potentiometer should suitable for application in calibrate the sensor. Designed to configure the potentiometer, Use a screw driver and turn the potentiometer till the output led just turns off. Feature may serve as for obstacle sensing, Color detection between basic contrasting colors, Line sensing, Etc and, Fire detection also as an encoder sensoroutput pins vcc, Gnd, O/pis fitted with an User-friendly design digital outputcan be used for wireless communication and sensing ir remote signalssensor comes with ambient light protection