Clear Filters
Clear Filters

how to connect Fitbit accelerometer to matlab

4 views (last 30 days)
Hi to all, i'am trying to get data from a tri axial accelerometer using MATLAB.
My problem is that i don't know how connect my Fitbit accelerometer to matlab, please suggest me which function should i use to obtain data from accelerometer.
thanks in advance
  2 Comments
Mahdi
Mahdi on 14 Oct 2014
Hi inti, Did you manage to connect your Fitbit accelerometer to Matlab. I tried many ways but unsuccessful. Could you please advise how you have done it.
MeEngr
MeEngr on 27 Oct 2014
Hey, has either of you figured out how to do it yet? I contacted the Fitbit company and they say raw accelerometer data is not accessible to anyone.

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Dec 2013
For the moment you could write an interface to libfitbit, perhaps using loadlib()
The formal FitBit API description is at https://wiki.fitbit.com/display/API/Fitbit+API
I do not see anything in the File Exchange designed to talk to FitBit devices.
  6 Comments
inti
inti on 25 Dec 2013
Edited: Walter Roberson on 25 Dec 2013
Thanks for your response.
i found this script which collect and plot data from an instrument in real time at matlab ( http://www.mathworks.fr/matlabcentral/fileexchange/25519-collect-and-plot-data-from-an-instrument-in-real-time )? i think that it should just update it to work with Fitbit. what do you think about that?
thanks in advance
Walter Roberson
Walter Roberson on 25 Dec 2013
The protocol is not documented, so you would have to figure it out by reading the fitbitd source. The source you found was for a device that has a quite simple protocol.

Sign in to comment.

More Answers (1)

MeEngr
MeEngr on 27 Oct 2014
I don't think there's any way for you to do that. I've been in touch with the Fitbit company and they say raw accelerometer data is not accessible to anyone. There's just no way to access it. All you have is the result of the Fitbit software's processing of the accelerometer data: number of steps, stairs climbed etc.

Categories

Find more on Historical Contests in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!