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!
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!
Hi Luke
A likely problem is that you have to big values in the voltage divider, which causes strain on it and your measurements to be inaccurate. Please have a look at how to measure lithium battery voltage with the nRF52 for a thorough explanation on the matter.
Best of luck, and just ask if any problems persist!
Simon
Hi Luke
A likely problem is that you have to big values in the voltage divider, which causes strain on it and your measurements to be inaccurate. Please have a look at how to measure lithium battery voltage with the nRF52 for a thorough explanation on the matter.
Best of luck, and just ask if any problems persist!
Simon
Hi Simonr
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