Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

Starting development with HRM

Rank

Total Posts: 1

Joined 2009-10-12

PM

Hello at all,

I am a beginner and a little confused / overwhelmed by the options. Let me first describes the goal.

As 1. step, using the ANTware, I established a connection and received the right data: fine, so it works the easy way. smile

As 2. step I want to extend the software running on our MCU to receive and store the data from the HRM.

The C Device Profile source code can be used as an application for the MCU? Is there an example application how to use 2 independent channel for receiving and transmitting? :huh:

Thanks for any help.
---
Ben      
RankRankRankRank

Total Posts: 116

Joined 2008-11-21

PM

Yes you should be able to port the example Device Profile source code for your MCU application.

We dont have a simple example of two independent channels. If you already have one channel operating successfully, opening a second shouldn't present too much of a problem for you. The best advice is to set up both channel's parameters prior to opening the channels... once the channels are configured, open them concureently.

Then check the channel numbers when processing the messages from ANT (channel event messages etc), and process your data accordingly...      
Rank

Total Posts: 1

Joined 0

PM

Hello,

I am also a beginner and i have the same problem as HTCM.

I understood what kind of configurations i have to do at my ANTAP281M5IB in order to receive packets from my HRM.

I try now to implement this embedded using a freescale 32bit-uc.

I have an asynchronous communication over UART between my MCU and my ANT+.

My question is a bit naive but in order to set up a channel between my ANTAP281M4IB and my HRM i have to do the ANT+ initialisation over UART. So the example code at page 10 of 21 at Heart Rate configuration doc. is not that helpful as the communication with the ANT+ is done over UART and not over USB.

Could u please give me any tip how to initiate a channel?      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi Sailer,

The "Establishing a channel" page of the Ant Message and Protocol Usage Document has a clear visual example of opening a slave channel which can currently be found on page 23 here.

Page 6 of the Interfacing with ANT General Purpose Chipsets and Modules Document also shows the message structure of what you need to send ANT, found here.

You will have to use the ANT+ managed network key to get heart rate data from an ANT+ certified heart rate monitor.

To get started you can fully wildcard the device type, transmission type, and device ID to see if you can find any device at first.

Hope that helps.

Cheers,
Harrison      
Rank

Total Posts: 5

Joined 0

PM

Harrison - 17 November 2011 10:40 AM
Hi Sailer,

The "Establishing a channel" page of the Ant Message and Protocol Usage Document has a clear visual example of opening a slave channel which can currently be found on page 23 here.

Page 6 of the Interfacing with ANT General Purpose Chipsets and Modules Document also shows the message structure of what you need to send ANT, found here.

You will have to use the ANT+ managed network key to get heart rate data from an ANT+ certified heart rate monitor.

To get started you can fully wildcard the device type, transmission type, and device ID to see if you can find any device at first.

Hope that helps.

Cheers,
Harrison


Can you clarify the line
You will have to use the ANT+ managed network key to get heart rate data from an ANT+ certified heart rate monitor.

How do I get this?      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

Did you try and use the forum search?
There should be several posts (with answers) that address your question.      
Avatar
RankRankRankRank

Total Posts: 662

Joined 2012-10-09

PM

You can find more information on that here
http://www.thisisant.com/developer/resources/tech-faq/category/network-keys/