Hi Team,
I am working on NRF52832 based on the BLE mesh protocol
here I am using the Light_switch example of SDK - nrf5sdkformeshv500src
Here I need to detect and monitor my battery level, kindly help me
Thanks in Advance
Hi Team,
I am working on NRF52832 based on the BLE mesh protocol
here I am using the Light_switch example of SDK - nrf5sdkformeshv500src
Here I need to detect and monitor my battery level, kindly help me
Thanks in Advance
Hi,
You can have a look at the Proximity Application in nRF5 SDK. This shows how to sample the supply voltage and convert this to battery percentage.
Note that battery level based on voltage may not be very accurate. You may need to look into external solutions if you need more accurate battery level monitoring.
Best regards,
Jørgen
I'm not aware of any good examples for the nRF5 SDK/Mesh SDK, but you can have a look at this example from Zephyr/nRF Connect SDK. Most external devices will have a I2C/TWI or SPI interface for reading the sensor. You should find the device you want to use, and then read the datasheet of the device to learn how to get the sensor data.
Hi Jorgen
Thanks , i will check on it
Hi Jorgen
Thanks , i will check on it