This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 BLE UART + Proximity

Hi,

I am using NRF52832 to read the sensor data (BMI160 accelerometer sensor) by using I2C.

I try to send the sensor data to mobile by using BLE_UART. upto this i finished now. I need is.

1.calculate the BATTERY level without using ADC. is there any register used to read the battery?

2. need to know the paired device distance. or proximity?

Parents Reply Children
  • The SAADC of the nRF52 can measure VDD by setting NRF_SAADC_INPUT_VDD as the input. This is an internal connection so you do not have to use one of the GPIOs You can find examples for the nRF52 here

    This eliminates the need for any external protection circuits. 

  • thank you  i got the saadc value. i need to interlink with my code.

    is there any simple solution to find the distance between the mobile phone and the DK board

    is there any simple function to read the RSSI pin of bluetooth connection. so that i alert the person if the device is in out of range

    is it possible to merge both BLE_proximity and BLE_Beacon . because i need to know the distance, range in dBm and out of range need to alert the person. simultaneously it needs to read the sensor data and through it in BLE_UART.

    AIM is : NRF + TWI + BLE_UART + proximity + distance + saadc

Related