This project is meant to display motion data provided by the ICM-20948 sensor on the BLUEIO-TAG-EVIM sensor board through BLE.
-
Bluetooth Low Energy (BLE) Connectivity: Connects to the sensor board using the GATT communication protocol after requesting Bluetooth permissions.
-
Real-Time Data Visualization: Displays real-time motion data from the 9-axis ICM-20948 sensor's 3-axis accelerometer, gyroscope, and magnetometer on a dynamic motion/time chart.
-
Data Recording: Records the displayed data to a local CSV file on the device, which can be downloaded after the session ends.
To run and use this application, you will need the following:
-
An Android device: The app is designed for Android, so you will need a smartphone or tablet running Android OS. It's recommended to use a device with Android 6.0 (Marshmallow) or higher for full BLE compatibility.
-
I-Syst's BLUEIO-TAG-EVIM sensor board: This android application is configured for this specific sensor.
Follow these steps to use the Accelerometer-Demo application:
-
Enable Bluetooth: Make sure Bluetooth is turned on on your Android device.
-
Install the App: As of now, fork this repository and launch it on Android Studio
-
Connect to the Sensor: Tap the "Connect" button in the app's interface to scan for and select your BLUEIO-TAG-EVIM sensor board.
-
View Data: Once connected, the motion data will begin streaming and be displayed in real-time on the chart.
-
Record Data: To start recording, tap the "Record" button. The data will be saved within the app's local storage.
-
Download CSV: After you have finished your session, use the "Download" option within the app to save the recorded CSV file to your device.
This project is licensed under the MIT License - see the LICENSE.md file for details.