cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor

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
Reply
1 Solution
Honored Contributor

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
Moderator
Moderator

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
Reply
New Contributor

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
Reply
Honored Contributor

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