5V Heartbeat Finger Measuring Sensor Module SEN31

Fr3,200

The sensor is made to shine an infrared led through your finger.

6 in stock

SKU: 150SEN Category: Tags: ,

Description

The sensor is made to shine an infrared led through your finger. The infrared sensor on the other side can then pick up slight changes in the light transmittance through your finger when blood is pumped in. When the sensor senses light, it becomes more resistant, causing the voltage reading in the serial monitor to go down.

Specification:

  • Working voltage: 5V
  • Use IR LED and optical transistor to detect pulsation in fingers
  • Used for synthesized teaching experiment
  • Dimensions: 25 x 22 x 17mm
  • Weight: 2g

Getting started with 5V Heartbeat Finger Measuring Sensor  and Arduino UNO

Step1: Hardware required

Step2: Connecting the Hardware

Arduino UNO                   Heartbeat

5V                                      VCC +

GND                                  GND –

A0                                       S

Step3: Coding

// Pulse Monitor Test Script
int sensorPin = 0;
double alpha = 0.75;
int period = 100;
double change = 0.0;
double minval = 0.0;
void setup ()
{
  Serial.begin (9600);
}
void loop ()
{
    static double oldValue = 0;
    static double oldChange = 0;
 
    int rawValue = analogRead (sensorPin);
    double value = alpha * oldValue + (1 - alpha) * rawValue;
 
    Serial.print (rawValue);
    Serial.print (",");
    Serial.println (value);
    oldValue = value;
 
    delay (period);
}