Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

renducsharp

Fork (WIP)

This is a fork, there's no plotting etc. but it's generetating CBOR files instead of csv. There's also additional metadata like username and position.

The current version is logging all sensors that can be phone on the device.

TODO

  • file splitting following a max size.
  • data sending.
  • clean files.
  • other stuff ?

Original README

# SensorRecorder
Simple Sensor Data Recorder for Smartphone and Watch using Android. The application was developed using Android Studio with minSdkVersion 14 and targetSdkVersion 28. However, Android 7 or higher is recommended.

# Download
- The apks can be found here https://github.com/Antidote00/SensorRecorder/releases 
- The app is also disributed in Google Play under: https://play.google.com/store/apps/details?id=de.tonifetzer.sensorrecorder

# Description
A very simple application which writes all sensor data into a .csv by pressing a button. Works with smartphone and smartwatch. Missing sensors are ignored. The .csv is structured as follows:

*Timestamp in milliseconds since start; Sensor ID; Values*

The file is named after the current System.currentTimeMillis () timestamp and is stored under 

*MainStorage/Android/Data/de.tonifetzer.sensorrecorder/files/documents/sensorOutFiles/...*

However, the path may differ from device to device, depending on whether an SD card is included or not. The Sensors have the following ID's:

    - ACCELEROMETER(0),
    - GRAVITY(1),
    - LINEAR_ACCELERATION(2),
    - GYROSCOPE(3),
    - MAGNETIC_FIELD(4),
    - PRESSURE(5),
    - ORIENTATION_NEW(6),
    - ROTATION_MATRIX(7),
    - WIFI(8), (not supported)
    - BEACON(9), (not supported)
    - RELATIVE_HUMIDITY(10),
    - ORIENTATION_OLD(11),
    - ROTATION_VECTOR(12),
    - LIGHT(13),
    - AMBIENT_TEMPERATURE(14),
    - HEART_RATE(15),