The data is gathered by the DA14583, processed and transferred over Bluetooth Low Energy to the application running on the smartphone.
Using the ‘Scan’ button the application scans for Bluetooth devices in the area. Once a device is found, the name and RSSI value of the device and a connect button is shown. After a certain period the app stops scanning to save the phone’s battery.
Once the phone is connected to the sensor a list of available sensors is shown. Clicking one of the sensors opens a graphical view as seen below. Data is automatically updated every time new sensor data is available.
Via the settings menu the sensor can be configured. The settings menu is split up in three parts: sensor configuration, calibration and sensor fusion settings. Changes in the settings are automatically stored in the sensor and can also be stored in flash memory. A ‘Reset to default’ button restores all settings of the sensor to default.
You can browse the source code for this example at the Evothings GitHub repository.
This example works with an Dialog IoT Sensor. Visit dialog-semiconductor.com for further details.
Using Dialog’s SmartSnippets Bluetooth software platform you can store the image file to flash memory of the device. The SmartSnippets software can be found on Dialog’s customer support site (registration required).
Run the app in Evothings Viewer on Android or iOS.
An iOS device (7+) or an Android device with support for Bluetooth 4.0 (which includes BLE) is required. For Android, version 4.3 or later is needed.
Follow these steps to get started with this example: