Forums > Gear

Heart Rate Monitor Interface

March 11, 2011 | 3:12 pm

hello rescue team,
a couple of days ago I have purchased the polar heart Rate Monitor interface from sparkfun.
I was spoiled untill now to be able to plug things in and find preprogrammed patches to make thinks work. Now I sat down and failed to make this thing work over the serial object.

I had this information:
(from another client, who apparently made it work with max/msp)
1 – set the raw mode: S+0+CR (ascii commands)
2 – get the heart rate data: G+1+CR (id.) as fast as possible (every 60ms is fine for me)
3 – then you get 3 values from the hrmi: status byte, count and heart rate.
____________________________________________________
and
(this general information from the product page)

Get Heart Rate Data
ASCII Command Value: G
Hex Command Value: 0×47
Command Argument: Number of heart rate history buffer entries 0-32
Response: 2 – 34 8-bit values
Description: Get the specified number of heart rate values and status information from the heart rate history buffer.

Set Mode
ASCII Command Value: S
Hex Command Value: 0×53
Command Argument: 3 bit mode
Response: -
Description: Set the heart rate algorithm and optionally set the power-on defaults for heart rate algorithm and Utility port direction and value

____________________________________________________

this is my patch, which doesn´t work!! Why? why?
can anyone help me to get this godmanfrzxklicks thing working? please?
thanx a million,
dan

– Pasted Max Patch, click to expand. –

May 3, 2011 | 2:35 pm

Don’t know if you already found your solution,
but there seems to be a typo in your serial object..
it says 600 instead of 9600..
I got your patch working by correcting this and adding the dropbars from the serial object help (so baud 9600, bitrate 8 and bit 1)..

Hope this helps..


July 13, 2011 | 8:34 am

thanks a lot.


Viewing 3 posts - 1 through 3 (of 3 total)