added adjustable 5V calibration