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

nRF5340 - simple circuit for measuring steady voltage and current

Hi,
I want to add some auto-test capability to my nRF5340-based project.
I thought one useful feature would be to measure voltage AND current at the hot node when all devices are active.
I needed a solution which uses few of nRF5340 pins, robust and cheap enough.
This circuit exploits one ADC channel (with 0.6V internal reference) and one GPIO.

step 1. Set HVSEL Low. Measure HVMON = V+
step 2. Set HVSEL High. Measure HVMON = V-
step 3. calculate current I = 2*(V+ - V-)/0.1

The resistors have guess values.
I'd appreciate any criticism and suggestions to improve it.

Parents Reply
  • VDD_HV is 4.5V (nominal)
    VDD_nRF is 3.2V (nominal)
    BAT+ can be 1.8 to 3.1 V (depending on state of charge)

    The ADC uses 0.6V internal reference and gain set to G=1/5.
    The analog input span is 0 to 0.6/G, or 0 to 3.0V

    I see what you say. I cannot exploit the internal connection of VDDH to ADC, because I'm working in Normal Voltage Mode, thus VDDH and VDD pin are connected together. VDDH=VDD_nRF=3.2V.

Children
Related