Does nRF52832 have battery monitor?
I can't find in the datasheet if there is an externarl circuit to monitor the battery. I'm using a CR2032 coin cell battery.
Thanks
Does nRF52832 have battery monitor?
I can't find in the datasheet if there is an externarl circuit to monitor the battery. I'm using a CR2032 coin cell battery.
Thanks
You can measure Vdd on the chip with the SAADC, Vdd is one of the inputs you can select for any of the channels. So as long as your battery is providing Vdd directly, you can measure it.
That's true, but recently I've been learning more about battery monitoring than I ever wanted to know. Battery voltage does not have a simple relationship to battery usage. If you are drawing a lot of current (and the SoC doesn't use much, but a peripheral might), the voltage will temporarily drop. Wait a few seconds or minutes, and the voltage will rise again, though perhaps not as high as before.
If what you really want to know is battery usage and remaining battery life, there are "fuel gauge" ICs for this task. These chips have both a voltmeter and an ammeter. They use algorithms which integrate the readings from the voltmeter and the ammeter over time.
That's true, but recently I've been learning more about battery monitoring than I ever wanted to know. Battery voltage does not have a simple relationship to battery usage. If you are drawing a lot of current (and the SoC doesn't use much, but a peripheral might), the voltage will temporarily drop. Wait a few seconds or minutes, and the voltage will rise again, though perhaps not as high as before.
If what you really want to know is battery usage and remaining battery life, there are "fuel gauge" ICs for this task. These chips have both a voltmeter and an ammeter. They use algorithms which integrate the readings from the voltmeter and the ammeter over time.