how to connect Fitbit accelerometer to matlab

8 ビュー (過去 30 日間)
inti
inti 2013 年 12 月 22 日
回答済み: MeEngr 2014 年 10 月 27 日
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 Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by