Hello,
I'm powering a Readbear BLE nano using a CR2450 coin cell battery. The firmware application is written using mbed. How can I measure the battery level of the CR2450 over time using the Nordic mbed API and libraries?
Thanks, Chris
Hello,
I'm powering a Readbear BLE nano using a CR2450 coin cell battery. The firmware application is written using mbed. How can I measure the battery level of the CR2450 over time using the Nordic mbed API and libraries?
Thanks, Chris
I guess there should be API calls for using the ADC in mbed as well (I've never used it though). Using a divider that yields below 2.5V when battery is at 3V should be sufficient. So by just using the ADC on the divided battery voltage every now and then should suffice.
I guess there should be API calls for using the ADC in mbed as well (I've never used it though). Using a divider that yields below 2.5V when battery is at 3V should be sufficient. So by just using the ADC on the divided battery voltage every now and then should suffice.