how to connect Fitbit accelerometer to matlab

4 次查看(过去 30 天)
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 个评论
Mahdi
Mahdi 2014-10-14
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 2014-10-27
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.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2013-12-22
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 个评论
inti
inti 2013-12-25
编辑:Walter Roberson 2013-12-25
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 2013-12-25
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.

请先登录,再进行评论。

更多回答(1 个)

MeEngr
MeEngr 2014-10-27
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.

类别

Help CenterFile Exchange 中查找有关 Historical Contests 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by