Using mCerebrum to collect data

mCerebrum can be configured to collect data from any supported device including:

  • Onboard phone sensors (Accel, Gyro, Mag, GPS, etc…)
  • MotionSense and MotionSense HRV (Accel, Gyro, PPG)
  • AutoSense (ECG, RIP)
  • Microsoft Band 1 and 2 (Accel, Gyro, Mag, HR, etc…)
  • Omron blood pressure and weight devices
  • Oral-B smart toothbrushes

Before any applications can be installed and configured, mCerebrum-DataKit must be downloaded. This is a core component that provides data storage and routing capabilities to the platform. Once this is installed, one can install as many data collection apps as desired to begin collecting data from the sensors.

All these applications are built in similar ways and the first step is configuring the app for which sensor data to collect by pressing the gear icon in the upper right of the screen. If the sensors require pairing as part of each individual application, this must be done before proceeding to the configuration of individual sensors. Once the application is configured, save the settings and return to the initial launch screen. Here you will find a start/stop button at the top of the screen that, when pressed, starts the data collection process. The rest of the visuals are utilized to show the amount of data collected by the system and stored in DataKit.

Once data collection is complete, data files can be accessed by following the instructions here. Data is stored either in the SQLite database or more likely in a sequence of compressed (*.gz) CSV files located in the flash memory of the device. The SQLite database contains a table that can be used to determine what the corresponding numeric identifier is for each data stream.