Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

transmit my heart rate readings to my PC

Rank

Total Posts: 2

Joined 2016-05-09

PM

Hello

I wish to transmit my heart rate readings to my PC. Is there any free software to do this?

My devices are:

Cardiosport TP3 Heart Rate Transmitter
http://www.cardiosport.com/products.html

ANTUSB2 Stick

I have installed the drivers.

Many thanks

Sam      
Rank

Total Posts: 2

Joined 2016-05-09

PM

""""I finally got some details on the ANT forum, which I will paraphrase here to my limited understanding level:

Some ANT USB dongles use a Nordic chip for ANT, but a separate chip for USB; that second chip either from SiLabs or FTDI, thus the possibility of using a VCP driver. Other dongles use a Nordic chip which has USB integrated, and that "requires writing code to interface with". This is the case for my dongle "ANT USB Stick 2", which uses the nRF24AP2-USB chip with USB integrated, that uses the driver libusb.

Thankfully, there are quite a few code examples for me to look at, in particular from the ANT developer site. If I get this to work, I'll probably post the code on the file exchange, but it could take a little while."""


http://uk.mathworks.com/matlabcentral/answers/142677-capturing-heart-rate-from-usb-ant-dongle-and-chest-strap?requestedDomain=www.mathworks.com

Could someone help me with the code

Thanks      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Sorry about the late reply, but we don't have much experience supporting MATLAB here. We do have free and open source examples on the Downloads page for other languages and platforms. If you're looking for a programmatic way to pull in and decode HR data, I would say the easiest example to work with would be to look at the SimulANT+ Library Application Note for C#.      
Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

C++ code can be integrated into Matlab, for instance to use Matlabs potential to plot and visualize data, as can be seen in this expample here:

https://youtu.be/3zdVQf1MotY

Do other have experience in using ant+ sensors with Matlab?      

Signature

Peter Gamma

Avatar
RankRankRankRank

Total Posts: 243

Joined 2018-09-10

PM

Quote from "THIS IS ANT FORUM" Harrison Administrator , 04 March 2016 10:58 AM:

https://www.thisisant.com/forum/viewthread/6429/

"Most of the latest tools we offer directly for desktop development are written in "C" languages (C, C++, C#).

SimulANT+ uses IronPython to interface Python Scripts with the C# based Simulation Library. There's an application note on using the library in C# here."


When "C" languages (C, C++, C#) code can be integrated in MATLAB, as shown in this video:

https://youtu.be/3zdVQf1MotY


Is there a "C" languages (C, C++, C#) code example which can be run in MATLAB and can be modified to use it as a ANT+ MATLAB Interface?



     

Signature

Peter Gamma