Skip to main content
Visitor II
August 1, 2018
Question

ADC Channel Measurement Using Internal Reference

  • August 1, 2018
  • 1 reply
  • 654 views

Is it possible to use the ADC to measure the voltage on an external pin and use the internal reference at the same time? I have a product that is direct connected to battery, so my external reference voltage is variable. I'd like to use an external channel to measure a voltage, but use the internal reference. Are there any examples that exist for this?

    This topic has been closed for replies.

    1 reply

    Visitor II
    August 2, 2018

    In simplest form you can use this formula: Vrin = Vref * Dain / Dref , where Vrin - real input voltage, Vref - known voltage of reference source, Dain - conversion result of analog input , Dref - conversion result of reference source voltage.