SEN0203

SEN0203 Datasheet


Heart Rate Sensor SKU SEN0203

Part Datasheet
SEN0203 SEN0203 SEN0203 (pdf)
PDF Datasheet Preview
Heart Rate Sensor SKU SEN0203

From Robot Wiki

Heart Rate Sensor SKU SEN0203

Contents
• 1 Introduction
• 2 Specification
• 3 Board Overview
• 4 Tutorial
o Requirements o Before start o Connection Diagram o Sample Code
• Digital Mode o Draw the ECG Electrocardiography
• Digital Mode
• Analog Mode o Use it with LCD12864 shield

Introduction

The DFRobot heart rate sensor is a thumb-sized heart rate monitor designed for Arduino microcontrollers. It includes a Gravity interface, for easy plug-and-play connectivity. This sensor is a pulse sensor which is developed based on PPG PhotoPlethysmoGraphy techniques. This is a simple and low-cost optical technique that can be used to detect blood volume changing in the microvascular bed of tissues. It is relatively easy to detect the pulsatile component of the cardiac cycle according to this theory. The sensor has two holes that you can use to attach to your belt. You can wrap on your finger,
wrist, earlobe or other areas where it has contact with skin. The heart sensor has two kinds of signal output mode analog pulse mode and digital square wave mode. You can change its output mode using the dial switch. There are many user scenarios, including education, sport or maker/interactive projects!

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
• Input Voltage Vin 6V 5V recommended
• Output Voltage 0 Vin Analog , 0/ Vin Digital
• Operating current <10mA
• Dimension 28 x 24 mm , x 0.945" in

Interface Type:

Board Overview

NOTE The switch is to set the working mode, it will change the signal type to be Digital or Analog. If it was NOT set as consistent as the code or wiring, i.e. the switch was set as "A", but you write your code as digitalRead and or you wire the module onto Arduino digital pin, in this case, you will fail to get any readings, vice versa.

Tutorial

Through this tutorial, you will learn how to use this Heart Rate sensor in digital mode as well as analog mode, more than this, at the end of this tutorial, we will show you how to use this sensor to draw the ECG to a LCD module. Requirements
• Hardware o 1 x DFRduino UNO or similar o 1 x This Heart Rate Sensor o 1 x IO Expansion Shield for Arduino suggested o Some wires
• Software o Arduino IDE Click to Download Arduino IDE from
• Library o Sample Code on Github, How to install Libraries in Arduino IDE?

Before start Once you opened the box, you could find the black belt inside of the package. Thread it through the holes of the sensor as indicted out in the photo. And then you could attach it on your finger suggested , wrist or any other places where exposes blood vessels. Do not attach the belt too tight or too loose to your finger, or the reading might be not stable. Besides that, during the test, you should steady your finger, do not move too much, or the readings would be bad.

Thread the belt through the holes

Wrap on finger

Wrap on wrist

Wrap on the back of wrist

Connection Diagram

Sample Code The sample code could be found in the Github Page, open the example "DFRobot_Heartrate_Digital_Mode".
1 /*! 2 * DFRobot_Heartrate.h 3 * DFRobot_Heartrate.h detailed description for Heartrate .cpp 4* 5 * This is written for the heart rate sensor the company librar y. Mainly used for real 6 * time measurement of blood oxygen saturation, based on measur ed values calculate heart rate values. 7* 8 * 9 * V1.1 10 * 2016-8-16 11 * V1.0
12 * 2015-12-24
13 */
14 #define heartratePin A1
15 #include "DFRobot_Heartrate.h"
17 DFRobot_Heartrate heartrate DIGITAL_MODE ///< ANALOG_MODE or DIGITAL_MODE
19 void setup
20 Serial.begin 115200 ;
23 void loop
24 uint8_t rateValue;
25 heartrate.getValue heartratePin ///< A1 foot sampled values
26 rateValue = heartrate.getRate ///< Get heart rate value
More datasheets: FQB5P20TM | VFG9000-SERIAL | CLPS145V0-G | FDZ201N | CX2016DB38400C0WPLA2 | FJY3010R | 18433 | S5U13T03D00C000 | S2745-S-T | S2745-S-M


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0203 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0203 509105