Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Is it possible to stream ant+ sensor data live to Matlab?

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

post deleted by yoyo2014      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

post deleted by yoyo2014      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

C++ code can be converted to C#:

https://www.youtube.com/watch?v=ffWuRMigBQ0
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

post deleted by yoyo2014      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Now, it is also possible to stream ant+ sensor data live to Microsoft Excel (Moxy ANT+ to serial converter), personal communication from Moxy CEO Roger Schmitz:

https://www.eevblog.com/forum/cloud-computing/live-stream-from-garmin-watches-via-ant-stick-virtual-box-(evtl-coud-iot)/25/

next to Matlab (Moxy ANT+ to serial converter) and Microsoft Power BI (Dave Lustys Microsft Azure solution)      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

And to any application that can read and decode a serial strings.      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Is there an example how to stream ANT+ sensor data live to Matlab?

https://www.mathworks.com/matlabcentral/answers/518101-is-there-an-example-how-to-stream-ant-sensor-data-live-to-matlab?s_tid=prof_contriblnk
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Another option: keep and modify Darren Hague's (excellent programmer from SAP UK and former brain scientist) virtual power Rasperry Pi zero project, redirect it to Matlab or Python and add an SD card as a storage device and data buffer:

https://www.mathworks.com/matlabcentral/answers/518101-is-there-an-example-how-to-stream-ant-sensor-data-live-to-matlab?s_tid=prof_contriblnk
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

There is already a Rasperri ANT project which sends data to a MQTT-Broker

https://infinityflow.ch/raspberry-pi-ant/
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

and Matlab supports MQTT

https://ch.mathworks.com/matlabcentral/answers/300785-does-matlab-support-mqtt      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

and also Python

https://pypi.org/project/paho-mqtt/
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Here is another Python Rasperri ANT+ project:

https://github.com/clivemjeffery/qbike
     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

I miss standard API s for ANT+ devices. Guiding star is Bitalino Biometical Tool Kit:

https://bitalino.com/en/development/apis


     

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

What is an MQTT Broker Clearly Explained grin:

https://www.youtube.com/watch?v=WmKAWOVnwjE      

Signature

Peter Gamma