A proximity sensor operable to collect proximity data, the proximity sensor comprising: a light-generating component operable to emit light , wherein the light-generating component exhibits temperature-dependent performance characteristics such that it has a shift to longer wavelengths with increasing temperatures; and a light-sensitive component operable to collect at least a portion of the light emitted by the light-generating component and generate a signal corresponding to the proximity data from the portion of light , wherein the portion of the light emitted by the light-generating component is reflected back to the light sensitive component , wherein the light sensitive component comprises a photodiode , which exhibits temperature-dependent performance characteristics such that it has a spectral response shift to longer wavelengths with increasing temperature, and wherein the light-sensitive component further comprises a dielectric optical filter configured to attenuate longer wavelengths of light with increasing temperature according to the temperature-dependent performance characteristics of the photodiode and the temperature dependent performance characteristics of the light generating component ; wherein the temperature-dependent performance characteristics of the light-generating component and the temperature-dependent performance characteristics of the light-sensitive component complement each other such that the proximity data collected by the proximity sensor varies by less than 2% over an operating temperature range of between -5°C and 45°C. a light-generating component operable to emit light , wherein the light-generating component exhibits temperature-dependent performance characteristics such that it has a shift to longer wavelengths with increasing temperatures; and a light-sensitive component operable to collect at least a portion of the light emitted by the light-generating component and generate a signal corresponding to the proximity data from the portion of light , wherein the portion of the light emitted by the light-generating component is reflected back to the light sensitive component , wherein the light sensitive component comprises a photodiode , which exhibits temperature-dependent performance characteristics such that it has a spectral response shift to longer wavelengths with increasing temperature, and wherein the light-sensitive component further comprises a dielectric optical filter configured to attenuate longer wavelengths of light with increasing temperature according to the temperature-dependent performance characteristics of the photodiode and the temperature dependent performance characteristics of the light generating component ; wherein the light sensitive component comprises a photodiode , which exhibits temperature-dependent performance characteristics such that it has a spectral response shift to longer wavelengths with increasing temperature, and wherein the light-sensitive component further comprises a dielectric optical filter configured to attenuate longer wavelengths of light with increasing temperature according to the temperature-dependent performance characteristics of the photodiode and the temperature dependent performance characteristics of the light generating component ; wherein the temperature-dependent performance characteristics of the light-generating component and the temperature-dependent performance characteristics of the light-sensitive component complement each other such that the proximity data collected by the proximity sensor varies by less than 2% over an operating temperature range of between -5°C and 45°C. <EOS>