sensor circuit