Integrated smart sensor calibration