Skip to product information
1 of 3
sales

KY-039 Finger Heartbeat Heart Rate Detector For Arduino

KY-039 Finger Heartbeat Heart Rate Detector For Arduino

Regular price HK$35.00
Regular price Sale price HK$35.00
Sale Sold out
Shipping calculated at checkout.
Quantity

KY-039 Finger Heartbeat Heart Rate Detector Measurement Sensor Module 3.3V 5V compatible with Arduino

The KY-039 heartbeat sensor module has several notable features:

·         Non-invasive Detection: It performs heartbeat detection without requiring direct contact with the skin1.

·         High Sensitivity: It can detect subtle changes in blood volume to accurately measure heartbeats and pulse rates1.

·         Analog Output: The sensor provides an analog output signal that can be read by microcontrollers like Arduino2.

·         Simple Connection: The module has three pins: GND (ground), VCC (power supply, 5V), and Signal (analog output)3.

·         Infrared LED and Phototransistor: It uses an infrared LED and a phototransistor to detect the pulse by measuring the light passing through a finger3.

·         Working Votage: 3.3v – 5v

 

Required Materials

Arduino UNO board

KY-039 heartbeat sensor module

Jumper wires

 

Connection Steps

Connect the Pins:

GND (ground) to Arduino’s GND.

VCC (power supply, 5V) to Arduino’s 5V.

S (signal output) to Arduino’s A0 pin.

 

Code

Upload the following code to your Arduino:

void setup() {
  pinMode(A0, INPUT);
  Serial.begin(9600);
}

void loop() {
  float pulse;
  int sum = 0;
  for (int i = 0; i < 20; i++) {
    sum += analogRead(A0);
  }
  pulse = sum / 20.0;
  Serial.println(pulse);
  delay(100);
}

 

Running the Project

Place your finger between the infrared LED and the phototransistor on the KY-039 module.

Open the Serial Monitor or Serial Plotter in the Arduino IDE to see the heartbeat signal output.

How It Works

The KY-039 module uses an infrared LED and a phototransistor to detect the pulse. When blood flows through your finger, it changes the amount of light passing through, which the phototransistor detects. This change is reflected in the analog output signal.

 

Package Including:

      1pcs Finger Measuring Heartbeat Sensor Module

 

 

View full details