A method and system for determining a respiratory rate of a user are disclosed. The method comprises measuring a differential voltage across first and second electrodes of a sensor device coupled to the user. The method includes sampling the differential voltage using an analog-to-digital converter to produce an output signal. The method includes processing the output signal to detect a breath of the user based on a positive voltage transition through a midpoint, wherein the breath of the user is utilized to determine the respiratory rate of the user.