A sensor device for generating a logic output in accordance with intensity of a physical quantity applied to a sensor element , the sensor device comprising: a switch circuit , which is connected to a first terminal pair (A, C) and a second terminal pair (B, D) of the sensor element , for controlling switching between a terminal pair supplied with power and a terminal pair for outputting a detection voltage corresponding to the intensity of the physical quantity, the switch circuit comprising a first output terminal for outputting the detection voltage and a second output terminal for outputting the detection voltage; a differential amplifier comprising: a first input terminal (V1) and a second input terminal (V2), which are connected to the first output terminal and the second output terminal of the switch circuit , respectively; and a first output terminal (V3) and a second output terminal (V4) for outputting a result of differentially amplifying the detection voltage; an amplifier comprising a first input terminal (V5) and a second input terminal (V6) forming a first differential input pair, a third input terminal (V7) and a fourth input terminal (V8) forming a second differential input pair, and an output terminal (VO), the first input terminal of the amplifier being connected to the output terminal of the amplifier via a first switch (S1), the first input terminal of the amplifier being connected to the first output terminal of the differential amplifier via a first capacitor (C1), the second input terminal of the amplifier being connected to the second output terminal of the differential amplifier ; and a detection voltage setting circuit for outputting different voltages to the third input terminal and the fourth input terminal of the amplifier. a switch circuit , which is connected to a first terminal pair (A, C) and a second terminal pair (B, D) of the sensor element , for controlling switching between a terminal pair supplied with power and a terminal pair for outputting a detection voltage corresponding to the intensity of the physical quantity, the switch circuit comprising a first output terminal for outputting the detection voltage and a second output terminal for outputting the detection voltage; a differential amplifier comprising: a first input terminal (V1) and a second input terminal (V2), which are connected to the first output terminal and the second output terminal of the switch circuit , respectively; and a first output terminal (V3) and a second output terminal (V4) for outputting a result of differentially amplifying the detection voltage; an amplifier comprising a first input terminal (V5) and a second input terminal (V6) forming a first differential input pair, a third input terminal (V7) and a fourth input terminal (V8) forming a second differential input pair, and an output terminal (VO), the first input terminal of the amplifier being connected to the output terminal of the amplifier via a first switch (S1), the first input terminal of the amplifier being connected to the first output terminal of the differential amplifier via a first capacitor (C1), the second input terminal of the amplifier being connected to the second output terminal of the differential amplifier ; and a detection voltage setting circuit for outputting different voltages to the third input terminal and the fourth input terminal of the amplifier. <EOS>