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
- TEL0149 Gravity: BLE Sensor Beacon (configured per Configuration Guide)
- Gravity: Analog LM35 Temperature Sensor (or other analog sensors)
- Mobile phone (iOS/Android)
Software Preparation
Operation Steps
- Install and open the nRF Connect app.
- Filter by the device name "Gravity: Sensor Beacon" (configured in the Configuration Guide) to locate the beacon.
- 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?
