https://pslab.io/blog/sensor-data-logging-in-the-pslab-android-app/
Sensor Data Logging in the PSLab Android App