External battery gets totally depleted on Xiao BLE sense nRF52840

Hello everyone! This is my first post.
I am experimenting with a Xiao nRF52840, and I noticed that my external LiPo battery can get totally depleted if left attached to the Xiao! How can I prevent the battery from discharging when it is lower than 3V? Is there logic I can program the Xiao with?
Thanks for any help and guidance!

Hi Van,
The XIAO_nRF52840 has a mechanism to measure battery voltage. See the circuit diagram. However, there is no function to automatically switch off the battery if it falls below 3V. A simple solution is to use a battery with an over-discharge protection circuit.

2 Likes

Thank you for your advice! Can I monitor the battery voltage and set the internal LDO to off?

i have noticed the XIAO will brown out so maybe you can write some code to cause it to run another routine when it recoveres from a brownout… but still i dont know of any way to turn it completely off via software…

1 Like

The LDO EN pin is not connected to any port.