Effacer les filtres
Effacer les filtres

how to connect Fitbit accelerometer to matlab

4 vues (au cours des 30 derniers jours)
inti
inti le 22 Déc 2013
Réponse apportée : MeEngr le 27 Oct 2014
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 commentaires
Mahdi
Mahdi le 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 le 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.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 22 Déc 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 commentaires
inti
inti le 25 Déc 2013
Modifié(e) : Walter Roberson le 25 Déc 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 le 25 Déc 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.

Connectez-vous pour commenter.

Plus de réponses (1)

MeEngr
MeEngr le 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.

Catégories

En savoir plus sur Historical Contests dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by