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

   

Arduino - ANT+ with HRM

Rank

Total Posts: 2

Joined 2014-01-14

PM

Hello,

I'm trying to establish communication between Arduino UNO and the Premium heart rate monitor (http://www.thisisant.com/directory/premium-heart-rate-monitor-soft-strap). I have tried sending the configuration such as Channel ID, Network KEY, etc. But I'm not sure about my code.

Config:

TX: A4 1 4A 0 EF // Reset
TX: A4 2 4D 0 54 BF // Assign Channel 0
TX: A4 2 4D 0 3D D6 // Assign Channel 1
TX: A4 3 42 0 0 0 E5 // Assign Channel 2
TX: A4 5 51 0 0 0 0 0 F0 // Assign Channel 3
TX: A4 9 46 0 [Network key] // Assign Channel 4
TX: A4 2 44 0 A E8 // Timeout
TX: A4 2 45 0 39 DA // Frequency
TX: A4 3 43 0 1F 86 7D // Channel Period
TX: A4 1 4B 0 EE // Open Channel

I'm not able to receive information. The RF I'm using is Sparkfun transceiver (https://www.sparkfun.com/products/retired/8565) with a logic level converter to get to it (https://www.sparkfun.com/products/11978).

I think I have a problem in setting the parameters for the communication.

Thanks for all your help      
Avatar
RankRankRankRank

Total Posts: 296

Joined 0

PM

You should at first try to establish communication on a PC, using ANTware II.
Just to make sure that you're setting all parameters correct.
The debug output of ANTware II shows you exactly what to send to the ANT stick.

As soon as that works well, write your Arduino code, using the parameters sorted out in step 1.      
Rank

Total Posts: 2

Joined 2014-01-14

PM

Thank you for your quick reply.

I have been working with ANT Ware and now I'm sure about my parameters but I'm still not able to receive without the ANT Ware configuration.

I send this message and wait for reply, but nothing.

Reset: A4 1 4A 0 EF
Assign Channel: A4 3 42 0 0 0 E5
Set Channel ID: A4 5 51 0 0 0 78 0 88
Set Network Key: A4 9 46 0 {ANT+ Network Key}
Channel Search Timeout: A4 2 44 0 FF 1D
Channel Freq: A4 2 45 0 39 DA
Channel Period: A4 3 43 0 86 1F 7D
Open Channel: A4 1 4B 0 EE

Do you know any hint?

Thank you before hand      
Avatar
RankRankRankRank

Total Posts: 235

Joined 2012-08-31

PM

Edited post to remove the ANT+ Network Key. Please do not post this key in public forums, and respect the terms of use: http://www.thisisant.com/developer/ant-plus/ant-plus-basics/network-keys - see item 3.

I've also moved this thread to the heart rate monitor forum as it includes details of the device profile.

To solve your problem, please take a look at the interfacing with "ANT general purpose chipsets and modules" document, and see if that helps you. If not can you post some details of your setup - are you using synchronous or asynchronous serial connection to the ANT chip etc.

Thanks!