单导联心电检测传感器

简介

心脏是人最重要器官之一,心脏的好坏直接关系到一个人身体的健康与否。DFRobot最新推出的单导联心电传感器可以直接测量人体的心电活动,绘制心电图!不用去医院也能“看到”自己那颗蓬勃跳动的心,是不是非常的酷炫!(恩!这下测谎仪就有了!) 人体的心脏周围的组织和体液都能导电,因此可将人体看成为一个具有长、宽、厚三度空间的容积导体。心脏好比电源,无数心肌细胞动作电位变化的总和可以传导并反映到体表。在体表很多点之间存在着电位差,也有很多点彼此之间无电位差是等电的。心脏在每个心动周期中,由起搏点、心房、心室相继兴奋,伴随着生物电的变化,这些生物电的变化称为心电。 心电包含了大量的噪声,DFRobot单导联心电检测传感器采用AD8232信号调理模块,专用于ECG及其他生物电测量应用,具有运动或远程电极放置产生的噪声的情况下提取、放大及过滤微弱的生物电信号能力。配合超低功耗模数转换器(ADC)和Arduino 主控器,就能够轻松地采集输出信号,绘制心电图。

warning_yellow.png 注意:
本品非专业医疗仪器,不能作为辅助配件参与诊断和治疗。

参数规格

AD8232参数

引脚说明

连线图

标号 名称 功能描述
1 GND
2 VCC 电源
3 Signal 信号线
4 导联接线口 导联接线口

使用教程

使用本传感器打印出心电图。

注意: 当观察到很多干扰波形时,很有可能是人体静电造成,用手接触一下地平面(如金属平面)即可。

准备

接线图

连线图

样例代码 1

/*!
      @file HeartRateMonitor.ino
      @brief HeartRateMonitor.ino  Sampling and ECG output

       Real-time sampling and ECG output

      @author linfeng(490289303@qq.com)
      @version  V1.0
      @date  2016-4-5
*/
const int heartPin = A1;
void setup() {
  Serial.begin(115200);
}
void loop() {
  int heartValue = analogRead(heartPin);
  Serial.println(heartValue);
  delay(5);
}

结果 1

  1. 打开“串口绘图器”
    打开Arduino串口绘图器
  2. 您就可以观察到传感器的检测数据了
    实测心电图

注意:由于人体的独特性,每一个人显示出的心电图都会有所不同

样例代码 2

点击下载库文件HeartSpeed

/*!
       @file heart_test.ino
       @copyright   [DFRobot](https://www.dfrobot.com), 2016
       @copyright   GNU Lesser General Public License
       @author [jianghao](hao.jiang@dfrobot.com)
       @version  V1.0
       @date  20160-07-8
*/

/*!
   @brief Library for DFRobot's IR Position RAW_DATA
   @author [jianghao](hao.jiang@dfrobot.com)
*/
#include "HeartSpeed.h"

HeartSpeed heartspeed(A1);                  ///<Åbn den serielle port for at observere pulsværdi.
//HeartSpeed heartspeed(A1,RAW_DATA);       ///<Åbn den serielle port mapper, observation af ECG diagram.

/* Print the position result */
void mycb(uint8_t rawData, int value)
{
  if (rawData) {
    Serial.println(value);
  } else {
    Serial.print("HeartRate Value = "); Serial.println(value);
  }
}
void setup() {
  Serial.begin(115200);
  heartspeed.setCB(mycb);    ///<Indstiller callback funktion.
  heartspeed.begin();///<Åben puls test.
}

void loop() {

}

/******************************************************************************
  Copyright (C) <2016>  <jianghao>
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
  Contact: hao.jiang@dfrobot.com
 ******************************************************************************/

结果 2

打开“串口监视器”,您就可以观察到心率值

warning_yellow.png注意:
本品并非专业医疗仪器,不能作为辅助配件参与诊断和治疗。
检测心率时身体保持静止状态为佳

常见问题

还没有客户对此产品有任何问题,欢迎通过qq或者论坛联系我们!

更多问题及有趣的应用,可以 访问论坛 进行查阅或发帖!

更多

DFshopping_car1.png DFRobot商城购买链接