HeartRateMonitorSensorSKU:SEN0213
FromRobotWiki
HeartRateMonitorSensorSKU:SEN0213
Contents
1Introduction
2Specification
3BoardOverview
4Tutorial
o
4.1Requirements
o
4.2ConnectionDiagram
o
4.3SampleCode
o
4.4ExpectedResult
Introduction
The DFRobot Heart Rate Monitor Sensor is used to measure the electrical activity of the heart.
This electrical activity can be charted as an ECG and output as an analog reading. An ECG
signal can be extremely noisy so we have included an AD8232 chip on the PCB which will
provide a clear signal from the PR and QT Intervals. Using the Arduino IDE "Serial Plotter"
feature you are also able to view plotted ECG output on your PC!
GI\D
VCC
Awg 09 Out
3.5mm Jac< fo'="" biomed'ca="" pad="" comect'm="">
Please Note: This product is NOT a medical device and is not intended
to be used as such or as an accessory to such nor diagnose or treat any
conditions.
Specification
InputVoltage:3.3‐6V(5Vrecommended)
OutputVoltage:0‐3.3V
Operatingcurrent:<10mA
Dimension:35x22(mm),1.378"x0.866"(in)
InterfaceType:PH2.0‐3P
BoardOverview
Tutorial
Requirements
Hardware
o DFRduinoUNO(orsimilar)x1
o HeartRateMonitorSensorx1
o Sensorcable‐ElectrodePads(3connectors)x1
o BiomedicalSensorPadx1
o Jumperwires
Software
o ArduinoIDEV1.6.6orabove,ClicktoDownloadArduinoIDEfromArduino®
o https://www.arduino.cc/en/Main/Software
ConnectionDiagram
NOTE: An ECG signal can be quite noisy because of muscle activity. The further
sensor pads are from the heart, the more muscle noise you will see. To improve the
signal quality, follow these simple tips:
Keepsensorpadsasclosetotheheartasyoucan
MakesuretheRAandLAsensorpadsareoncorrectsidesoftheheart
Trynottomovetoomuchwhiletakingameasurement
Trytousefreshpadsforeachmeasurement.Thepadsloosetheabilitytopass
signalswithmultipleapplications
Prepareandcleantheareayouplantostickpads.Thiswillhelpmakeagood
connection(hairisnotagoodconductor)
Youmayhavetoadjustsensorplacementfordifferentindividuals
SampleCode
1 /*!
2 * @file HeartRateMonitor.ino
3 * @brief HeartRateMonitor.ino Sampling and ECG output
4 *
M905. | Atduino 1.6.9 — El
ad- [HI Help
MW and
mm
‘905 Fm Enamfilg a Rdmd
set Saiallhnilm cwsmm
put —
5 * Real-time sampling and ECG output
6 *
7 * @author linfeng(490289303@qq.com)
8 * @version V1.0
9 * @date 2016-4-5
10 */
11 const int heartPin = A1;
12 void setup() {
13 Serial.begin(115200);
14 }
15 void loop() {
16 int heartValue = analogRead(heartPin);
17 Serial.println(heartValue);
18 delay(5);
19}
ExpectedResult
1. OpentheArduinoIDE1.6.6(orabove)"SerialPlotter";
Open"SerialPlotter"
2. Thenyoucouldseetheoutputsignalfromthemicrocontroller‐A1port,theECG.
Sampleoutputofthissensor
NOTE: If you found there was a lot of jamming waveforms, they may come from the
body's static electricity. Touch something metal to discharge any static electricity.
More read on WikiHow.
Powered By DFRobot © 2008-2017
Products related to this Datasheet
GRAVITY: HEART RATE MONITOR SENS