This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Measuring external voltage of a different power source

Hi,

    May I know what is the hardware layout for measuring external voltage using SAADC? I may not be understanding the infocenter or the datasheet for setting the external reference pin

Thank you!

Parents Reply Children
  • Hi

    Thank for the reply and various help. However I am encountering a quite a fair bit of fluctuations in the value when the voltage source is constant(on my multimeter).

    I am using 12 bit resolution and a 1/6 gain. The ADC is connected to a 1M/100k voltage divider circuit with a 10nf cap. There is no oversampling and the code is triggered by an RTC timer every 400ms, set to low power mode and an acq time of 3us

    <info> app: 5082.00

    <info> app: 546

    <info> app: 5280.00

    <info> app: 533

    <info> app: 5148.00

    <info> app: 525

    <info> app: 5016.00

    <info> app: 525

    <info> app: 5016.00

    <info> app: 533

    <info> app: 5148.00

    <info> app: 529

    <info> app: 5082.00

    <info> app: 539

    <info> app: 5148.00

    <info> app: 535

    <info> app: 5148.00

    <info> app: 545

    <info> app: 5214.00

    <info> app: 525

    <info> app: 5016.00

    <info> app: 527

    <info> app: 5082.00

    <info> app: 539

    <info> app: 5148.00

    <info> app: 544

    <info> app: 5214.00

    <info> app: 532

    <info> app: 5082.00

    <info> app: 524

    <info> app: 5016.00

    <info> app: 528

    <info> app: 5082.00

    <info> app: 537

    <info> app: 5148.00

    <info> app: 544

    <info> app: 5214.00

    <info> app: 540

    <info> app: 5214.00

    <info> app: 538

    <info> app: 5148.00

    <info> app: 544

    <info> app: 5214.00

    <info> app: 539

    <info> app: 5148.00

    <info> app: 540

    <info> app: 5214.00

    <info> app: 531

    <info> app: 5082.00

    <info> app: 533

    <info> app: 5148.00

    <info> app: 524

    <info> app: 5016.00

    <info> app: 528

    <info> app: 5082.00

    <info> app: 528

    <info> app: 5082.00

    <info> app: 525

    <info> app: 5016.00

Related