Skip to main content

Grove - Chest Strap Heart Rate Sensor

This heart rate chest strap kit contains a chest belt and a 5.3 KHz AM receiver module. The heart rate measurement kit can be used to monitor the heart rate of patients and athletes, meanwhile the result can be displayed on a screen via serial port and saved for analysis. The entire system has lots of advantages, e.g. high sensitivity, low power consumption and portability. Because the modules communicate with each other via AM, it is very convenient to let you move (notice that the effective distance is 30cm).

Features

  • Low power consumption
  • Wireless
  • Convenient to use
  • Built-in ferrite antenna
  • High sensitivity
  • Fully RoHS compliant
tip

More details about Grove modules please refer to Grove System

Specifications

ItemMinTypicalMaxUnit
Voltage3.05.05.5V
bust range65-145cm
Modulation mode5.3KHz AM modulate/
Battery lifemore than a half year (depending on your usage)/
Effective receiving distance30cm
Receiving modules48 X 25 X 10mm

Application Ideas

  • Heart rate monitor.
caution

1. The chest belt is powered by a CR2032 coin battery. Open the back cover with a coin to replace it.

2. If not used for a long time please remove the battery.

Usage

The following sketch demonstrates a simple application of using the Chest Strap Heart Rate Sensor to measure heart rate.

  • Connect this module to the digital port D2 on your base shield. And connect Grove-LED to Digital port 4.
  • Plug the Base Shield into Arduino/Seeeduino.
  • Copy and paste code below to a new Arduino sketch.
    #define LED 4//indicator, Grove - LED is connected with D4 of Arduino
boolean led_state = LOW;//state of LED, each time an external interrupt
//will change the state of LED
unsigned char counter;
unsigned long temp[21];
unsigned long sub;
bool data_effect=true;
unsigned int heart_rate;//the measurement result of heart rate

const int max_heartpluse_duty = 2000;//you can change it follow your system's request.
//2000 meams 2 seconds. System return error
//if the duty overtrip 2 second.
void setup()
{
pinMode(LED, OUTPUT);
Serial.begin(9600);
Serial.println("Please ready your chest belt.");
delay(5000);
arrayInit();
Serial.println("Heart rate test begin.");
attachInterrupt(0, interrupt, RISING);//set interrupt 0,digital port 2
}
void loop()
{
digitalWrite(LED, led_state);//Update the state of the indicator
}
/*Function: calculate the heart rate*/
void sum()
{
if(data_effect)
{
heart_rate=1200000/(temp[20]-temp[0]);//60*20*1000/20_total_time
Serial.print("Heart_rate_is:\t");
Serial.println(heart_rate);
}
data_effect=1;//sign bit
}
/*Function: Interrupt service routine.Get the sigal from the external interrupt*/
void interrupt()
{
temp[counter]=millis();
Serial.println(counter,DEC);
Serial.println(temp[counter]);
switch(counter)
{
case 0:
sub=temp[counter]-temp[20];
Serial.println(sub);
break;
default:
sub=temp[counter]-temp[counter-1];
Serial.println(sub);
break;
}
if(sub>max_heartpluse_duty)//set 2 seconds as max heart pluse duty
{
data_effect=0;//sign bit
counter=0;
Serial.println("Heart rate measure error,test will restart!" );
arrayInit();
}
if (counter==20&&data_effect)
{
counter=0;
sum();
}
else if(counter!=20&&data_effect)
counter++;
else
{
counter=0;
data_effect=1;
}

}
/*Function: Initialization for the array(temp)*/
void arrayInit()
{
for(unsigned char i=0;i < 20;i ++)
{
temp[i]=0;
}
temp[20]=millis();
}
  • Upload the code.
  • This is the signal when we are measuring the heart rate:

In the first of the figures which is a waveform diagram of the detected heartbeat, a high pulse comes when beating.

note

1. The chest belt's wings must have contact with your skin to get a high accuracy.

2. The maximal distance between chest belt and receive module must be less than 30cm.

Schematic Online Viewer

Resources

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...