calibration on arduino side