I made an IRED distance detector circuit based on MX-171 AF IC from Macronix. I have covered the Photodiode and the IRED LED with a filter. The filter is a focusing lens with IRED-pass-filter material. It works perfectly in indoor. But it really unstable when I tried to use it outdoor. I live...