Proximity sensor for HVAC systems, Industrial photosensor calibration