My goal is to measure the deep sleep power consumption of an ESP32-H2 using the Digilent Analog Discovery 3. In my previous question on the Digilent forums, Digilent engineer @attila recommended me to use the AD3 Current & Power Adapter to measure the deep sleep current of my ESP32-H2.
In addition, pictures of the actual circuit that I created are shown below.
On the software side, I am using the Current and Power Adapter Reference WaveForms Workspace given in the Getting Started guide. I powered on my PPK2 to supply 3.3 volts, and I did not turn on the WaveForms supply, as the power supply was coming from the PPK2. When doing so, all I see in the "Scopes" mode of the WaveForms application is that C1, C2, and the current are flat lines, even though the device is on:
However, this is not the expected energy consumption of my ESP32-H2. In order to double check that my ESP32-H2 was on, I measured the energy consumption of the device. The measurements that I got from the PPK2 (shown below), is what I expect to see from the AD3 and WaveForms application.
However, I want to obtain these measurements from the AD3 with the Current and Power Adapter, and not on the PPK2. I described my reasons for doing so in the final three paragraphs of my previous question in the Digilent forums.
When investigating why I was not able to measure the current correctly using the AD3 and the Current & Power Adapter, I found this part helpful from the Getting Started guide:
Quote
My current and power in the plot seem to be flat instead of fluctuating like I would expect with my variable power input.
Make sure the positive 5 V supply is enabled.
This gave me the idea to set up the power supply of the AD3 to 3.3 volts in the WaveForms application:
I want to note that I did not set the supply to 5 volts, as given in the instructions, as (given my current configuration of the device) using 5 volts will risk frying my ESP32-H2.
When doing so, I noticed that I am able to capture a very small waveform that looks similar to the waveforms I found when measuring my ESP32-H2 current using the AD3 BNC Adapter.
However, when I try to zoom in on it, I get a very grainy and low quality resolution of the waveform.
These observations allow me to conclude that I am not using the AD3 Current and Power adapter properly. As a result, I would like to ask what am I doing wrong in the setup of the circuit and how I am using the WaveForms Reference workspace given in the Getting Started guide?
To the best of my knowledge, the only resource I could find on how to use the Current & Power Adapter is the Getting Started guide, so I do not know where else to look.
Any guidance, feedback, and advice on how I can properly use the AD3 Current & Power Adapter to measure the current of an ESP32-H2 under deep sleep (at the granularity of very small currents in uA), using the PPK2 for power supply, would be greatly appreciated.
Question
siatran
Hello everyone,
My goal is to measure the deep sleep power consumption of an ESP32-H2 using the Digilent Analog Discovery 3. In my previous question on the Digilent forums, Digilent engineer @attila recommended me to use the AD3 Current & Power Adapter to measure the deep sleep current of my ESP32-H2.
Following the instructions from the Getting Started guide (and improvising where need be), I had set up a circuit that uses the Nordic Semiconductors Power Profiler Kit II (PPK2) to provide 3.3 volts. A diagram of the circuit I created can be seen below.
In addition, pictures of the actual circuit that I created are shown below.
On the software side, I am using the Current and Power Adapter Reference WaveForms Workspace given in the Getting Started guide. I powered on my PPK2 to supply 3.3 volts, and I did not turn on the WaveForms supply, as the power supply was coming from the PPK2. When doing so, all I see in the "Scopes" mode of the WaveForms application is that C1, C2, and the current are flat lines, even though the device is on:
However, this is not the expected energy consumption of my ESP32-H2. In order to double check that my ESP32-H2 was on, I measured the energy consumption of the device. The measurements that I got from the PPK2 (shown below), is what I expect to see from the AD3 and WaveForms application.
However, I want to obtain these measurements from the AD3 with the Current and Power Adapter, and not on the PPK2. I described my reasons for doing so in the final three paragraphs of my previous question in the Digilent forums.
When investigating why I was not able to measure the current correctly using the AD3 and the Current & Power Adapter, I found this part helpful from the Getting Started guide:
This gave me the idea to set up the power supply of the AD3 to 3.3 volts in the WaveForms application:
I want to note that I did not set the supply to 5 volts, as given in the instructions, as (given my current configuration of the device) using 5 volts will risk frying my ESP32-H2.
When doing so, I noticed that I am able to capture a very small waveform that looks similar to the waveforms I found when measuring my ESP32-H2 current using the AD3 BNC Adapter.
However, when I try to zoom in on it, I get a very grainy and low quality resolution of the waveform.
These observations allow me to conclude that I am not using the AD3 Current and Power adapter properly. As a result, I would like to ask what am I doing wrong in the setup of the circuit and how I am using the WaveForms Reference workspace given in the Getting Started guide?
To the best of my knowledge, the only resource I could find on how to use the Current & Power Adapter is the Getting Started guide, so I do not know where else to look.
Any guidance, feedback, and advice on how I can properly use the AD3 Current & Power Adapter to measure the current of an ESP32-H2 under deep sleep (at the granularity of very small currents in uA), using the PPK2 for power supply, would be greatly appreciated.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now