calibration and read raw values