Skip to content
/ io_ot Public

This is an IoT project that aims to track human body motion using TI Sensortag CC2650 and visualize the real-time movements in 3D on an Android app. Developed by Team Io_oT: Sijun Zhu, Yi Xiao and Ziming Zheng.

Notifications You must be signed in to change notification settings

yixiaoyx/io_ot

Repository files navigation

Accurate Body Motion Tracking

This is an IoT project that aims to track human body motion using TI Sensortag CC2650 and visualize the real-time movements in 3D on an Android app. It is developed by Team Io_oT: Sijun Zhu, Yi Xiao and Ziming Zheng.

Prerequisites

To run the system, you will need the following:

  • TI Sensortag CC2650 with default firmware
  • Android smartphone or tablet with Bluetooth enabled and Android version 7.0 or above
  • Any elastic bands for wearing the Sensortag on arms or legs

To install the Android app, you may need the Android Debug Bridge adb installed on a computer connected to the Android device, see the official Android documentation.

Installing

  • Make sure the default firmware is running on the Sensortag.

  • Install the app from APK:

    • The apk file is located at: platforms/android/app/build/outputs/apk/debug/app-debug.apk.
    • Connect your Android device with your computer and install the app using ADB: adb install -r /path/to/apk. Note that the path to the APK file is dependent on where you downloaded this project repository. Also note that you might need to give permissions on your phone to allow USB debugging.
    • Alternatively, if your Android device is in developer mode, you might be able to simply transfer the file onto your device and install the APK directly by tapping on it.
  • Install the app from source:

    • Alternatively, you may build the app from the source code and generate your APK file to be installed. This requires that you have Cordova installed on your computer.
    • Once you have Cordova installed, run this command in the project root directory: cordova build android. This will generate an APK file located at the above mentioned path. You may follow the above steps to install the APK.
  • Note: The app has been tested on Nexus 5X with Android 8.0. However every Android device is slightly different, so let us know if you encounter any problems with your specific device.

Built With

  • Apache Cordova - The app is written in Javascript and built with Cordova in order to run natively on Android.
  • EasyBLE - The BLE library used to retrieve sensor data from the Sensortag.
  • Three.js - Used to render the 3D human body model.
  • Madgwick Algorithm - The Madgwick AHRS algorithm has been used to reconstruct the body movmement geometry from accelerometer, gyroscope and magnetometer sensor data.

Acknowledgments

We have taken reference from several official examples from Evothings EasyBLE and Three.js to build the Bluetooth communication stack and the 3D model respectively. We give our thanks to the people who created these examples.

We have also used the Javascript version of the Madgwick algorithm created by ZiCog.

About

This is an IoT project that aims to track human body motion using TI Sensortag CC2650 and visualize the real-time movements in 3D on an Android app. Developed by Team Io_oT: Sijun Zhu, Yi Xiao and Ziming Zheng.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published