Abstract: An analog sensor with digital compensation function includes a deformation part generating a deformation relating to a pressure sensed by the analog sensor; a strain gauge connected to the deformation part and generating a change in resistance relating to the deformation; a strain gauge bridge connected to the strain gauge and transferring the change in the resistance of the at least one strain gauge to output a first analog signal; and an analog-to-digital conversion module converting the first analog signal to a first digital signal, representative of weight. A signal processing and output circuit compensates the first digital signal and converts it into a second analog signal.