- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Tags:
- psoc5lp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
Will this configuration work? or I need a voltage divider (sense path) to prevent battery discharge.
Greetings.
Jordan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
"Engineering is an Art. The Art of Compromise."