Coder Social home page Coder Social logo

subangkar / tizen-sensor-raw-data-saving-service Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 2.0 129 KB

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

C 100.00%
samsung-gear-fit-2-pro gear-fit2-pro tizen tizen-native-service libcurl

tizen-sensor-raw-data-saving-service's Introduction

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.

tizen-sensor-raw-data-saving-service's People

Contributors

subangkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

tizen-sensor-raw-data-saving-service's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.