Microcontroller › 8051 › Distance measurement using InfraRed sensor with ADC0804 & 8051 microcontroller (AT89C51) › IR sensors are very much
IR sensors are very much prone to sunlight. their perfomance deteriorates in sunlight.
they are mostly used in indoor applications
resolution i dont know that you have to check with the datasheet