Skip to content

A Tizen native service app for collecting and syncing raw data of Samsung Gear Fit 2 Pro sensors.

Notifications You must be signed in to change notification settings

Subangkar/Tizen-Sensor-Raw-Data-Saving-Service

Repository files navigation

Raw Data Collection from Sensors of Tizen Device

This repo contains a tizen studio project of a tizen native background service to collect raw sensor data from a tizen OS based smartwatch device.
This service is started by by pressing the “Start” button from the native app screen of this repo.

System Diagram

SENSOR DATA COLLECTION:

  • This Logger service activates sensor periodically using timers
  • At the same time two timers are set one with 5 minutes for current recording to stop and another with 30 minutes to start the recording again
  • Once sensors are activated Data recording starts & the recording continues up to 5 minutes if watch is on hand
  • After sensors are stopped, recorded data are saved into a single CSV file for that segment with device id as part of the filename for identifying individuals uniquely
  • After each recording, the logger service checks for Wi-Fi availability and tries to upload all the csv files present locally to a remote Heroku server via Wi-Fi if it is available - Successfully uploaded files are deleted from watch storage

DATA SPECIFICATIONS:

  • Device: Samsung Gear Fit 2 Pro Smartwatch
  • Sensors:
    • PPG
    • Accelerometer
    • Gyro
    • Pressure
    • Gravity
    • Activity (Stationary/Walking/Running/In Vehicle)
  • Data Collection Frequency: 10Hz
  • Sample CSV columns:
    HR | PPG | Accelerometer_(X|Y|Z) | Gyro_(X|Y|Z) | Pressure | Gravity_(X|Y|Z) | Activity(N/S/W/R/V) | Reading UNIX Timestamp

System Requirements:

  • Tizen SDK-2.3.1

How to Build/Run:

  • Load both this project and native app project in tizen studio
  • Link this background service with native app
  • Build and Run the native app in emulator/device

Tizen studio might have some issues while loading projects due to mismatch in version of tizen-manifest.xml. Then try to create new background service & native app project and replace source files to build properly.


N.B. This project was a part of a research work based on a tizen based smartwatch device.

About

A Tizen native service app for collecting and syncing raw data of Samsung Gear Fit 2 Pro sensors.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages