Battery Level Measurement

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
JoRo_4248381
Level 1
Level 1
First like given

Hi, I'm working with the development kit, I need a way to measure the battery level based on the attached circuit.
Can I connect the battery terminals directly to a ADC converter?

0 Likes
1 Solution

Jordan,

If the maximum voltage measured by your 5V sourced PSoC is 4V or less, you can directly measure the battery voltage across the + and - terminals.  Although I would highly recommend at least a 1K series resistance in each terminal being measured.

If your PSoC is 3.3V, you would probably need a voltage divider to scale down the voltage to about 0.6V lower than the supply to the PSoC.

Len

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

3 Replies
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

Since the battery volatage/output voltage of the converter is DC, you can connect it directly to the analog pins of the PSoC. But please note that the voltage on any pin of the GPIO should be in the range (VSSD – 0.5) to (VDDIO + 0.5).  So the VDDIO should be greater than 5 volts in your application.

Thanks

Ganesh

0 Likes

Thanks for the reply. I think I didn't express myself well.

I want to measure the capacity of the battery by measuring the voltage at its terminals. Although the capacity is not directly related to the voltage and depends on more factors, it's close enough to reality.

Graphically:

Battery Power Supply simplified.jpg

Will this configuration work? or I need a voltage divider (sense path) to prevent battery discharge.

Greetings.

Jordan

0 Likes

Jordan,

If the maximum voltage measured by your 5V sourced PSoC is 4V or less, you can directly measure the battery voltage across the + and - terminals.  Although I would highly recommend at least a 1K series resistance in each terminal being measured.

If your PSoC is 3.3V, you would probably need a voltage divider to scale down the voltage to about 0.6V lower than the supply to the PSoC.

Len

Len
"Engineering is an Art. The Art of Compromise."