Usage Example for Mobile App - Get Sensor Data

This example demonstrates how to get sensor data from the BLE Sensor Beacon using a mobile app (nRF Connect).

Hardware Preparation

Software Preparation

Operation Steps

  1. Install and open the nRF Connect app.
  2. Filter by the device name "Gravity: Sensor Beacon" (configured in the Configuration Guide) to locate the beacon.
  3. Click the device name to view detailed data.

Data Interpretation & Calculation

  • "Gravity: Sensor Beacon": Configured device name
  • "06:05:04:03:02:01": Configured device address
  • "0X00E3": ADC-sampled data

Sensor Data Calculation

The hex value "0X00E3" converts to decimal 227, meaning the sampled voltage is 227mV.
For the LM35 temperature sensor (10mV/°C), the temperature is 227mV ÷ 10mV/°C = 22.7°C.

Was this article helpful?

TOP