Be the first to rate this file! 7 Downloads (last 30 days) File Size: 49.2 KB File ID: #42821
image thumbnail

Android sensor data acquisition - accelerometer example

by MathWorks Mobile Sensor Connectivity Team

 

31 Jul 2013

Count steps by capturing the acceleration data from a mobile device with a computer running MATLAB.

| Watch this File

File Information
Description

This example shows how to capture the acceleration of an Android mobile device such as a mobile phone or tablet. The acceleration is a three dimensional quantity representing the acceleration on each axis of the mobile device. The example shows how to access current values of acceleration and also demonstrates how to plot logged acceleration values. The data is then further analyzed in MATLAB to determine how many steps the person walked during the data collection period.

This example requires the user to first install the MATLAB Support Package for Android Sensors which is available here:

http://www.mathworks.com/matlabcentral/fileexchange/40876

To use this example, you will also be required to download the mobile app: SensorUdp app by Takashi, Sasaki from Google Play.

For more information on acquiring sensor data from your Android device, see the following resource page:

http://www.mathworks.com/android-sensor

Required Products MATLAB
MATLAB release MATLAB 8.1 (R2013a)
Other requirements Please see description for additional requirements.
Tags for This File  
Everyone's Tags
accelerometer, android, data acquisition, mobile sensor
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us