To read comments about this application and/or leave a comment, go to:
Read and/or Write Comments.


To install the application click on the following links from you Android device:
[Free Version] [Pro Version]


Purpose of the Sensor2File application

The Sensor2File application allows you to record the output of a wide variety of sensors available on your Android device. You can use the recorded data for any kind of scientific/engineering projects and hobbies. This application allows you to look at the sensors output, which can be very helpful with your own Android application development, to satisfy your curiosity, etc.

This application allows to record the sensors output simultaneously, so one can relate one type of reading to another, for example to see how compass/magnetometer changing of direction is related to the rotation speed from the gyroscope.


Features



How to use the application

The application has the following screen/views

The "Record Control" and "Help" screens have a menu tool-bar on top of the screen:
menu tool-bar The description and operation of each screen/view mode is given below in the following sections of this manual.


Record Control

record control view
Or in the landscape orientation:
record control view
The top two buttons in portrait orientation or left two buttons in landscape orientation are "Recording Start/Stop" and "Erase":

Pressing the Start/Stop button will start the recording of the sensors output into a file. The button will begin to blink indicating that the record is in progress. If you press on the Start/Stop button while it's blinking it will stop the recording. If you don't stop the recording manually it will be stopped at the expiration of recording timer. To change the recording timer, file name, and frequency of recording refer to the settings section.

Pressing the Erase button while the application is not recording will pop-up a dialog:
erase dialog
Press Ok to erase the sensors data from the recording file (except for the header), or press Cancel otherwise. The file name can be selected via settings.

Pressing the Erase button while the application is recording will pop-up a dialog:
erase dialog
Press Ok to stop the recording and erase the sensors data from the recording file (except for the header), or press Cancel to keep recording without erasing any data.

You can insert a marker in the recording to mark a certain event so that you can conveniently identify (search for it) within the recording.
marker buttons ⇚ To insert a marker press one of the buttons depicted on the picture. Then the following line will be added to the recorded file:
date-time-label Marker_XXX
where the XXX stands for the button text, e.g. 1, 2, A, B, Red, and Green.



Settings

record control view The first three options can be changed only in the "Pro" version of this application, while in the "Free" version they are read-only having the following default values:


Recording File Format and related details

Here is the list of sensors in the order they appear in the line of recorded data:
SensorMeasurement
AccelerometerTotal Acceleration vector (X,Y,Z), including gravity, measured in m/sec2
Compass (Magnetometer)Magnetic Field vector (X,Y,Z) measured in µTesla
Gyroscope (Rotation Sensor)Rotation Velocity vector (X,Y,Z) measured in rad/sec
GPS Location(Horizontal Accuracy meters, Latitude degree, Longitude degree) ⊕ Altitude in meters above Mean Sea Level
Photometer (Light Sensor)Illuminance measured in lux.
BarometerAtmospheric pressure measured in milli Bar
ThermometerTemperature measured in degrees Celsius
The (X,Y,Z) coordinate system is standard for Android devices and defined the following way:

Accessing the Data File

The location of the recorded file is on the external storage of the device - the one you can see when connecting the Android device to your Computer via USB (it is not necessarily removable SD card). When you connect your Android as USB drive to a computer, then you can transfer/read that recorded file on the computer. The directory name where the recorded files are located is: Sensor2FileRecData
Note: if you cannot see the Sensor2FileRecData directory, then you can try to restart the Android device. This likely to resolve the problem because some Android operational systems will not rescan for newly created files/folders. You'll need to do it only once, afterwards the folder will remain visible.