



Product Details
1. 5V Heartbeat Sensor

Features:
1.This project uses bright infrared (IR) LED and a phototransistor to detect the pulse of the finger, a red LED flashes with each pulse
.Pulse monitor works as follows: The LED is the light side of the finger, and phototransistor on the other side of the finger, phototransistor used to
obtain the flux emitted, when the blood pressure pulse by the finger when the resistance of the phototransistor will be slight changed.
2.Chosing a very high resistance resistor R1, because most of the light through the finger is absorbed,it is desirable phototransistor sensitive enough.
Resistance can be selected by experiment to get the best results.The most important is to keep the shield stray light into the phototransistor. For home
lighting that is particularly important because the lights at home mostly based 50HZ or 60HZ fluctuate, so faint heartbeat will add considerable noise.
Arduino Test Code
int ledPin=13;
int sensorPin=0;
double alpha=0.75;
int period=20;
double change=0.0;
void setup()
{
pinMode(ledPin,OUTPUT);
}
void loop()
{
static double oldValue=0;
static double oldChange=0;
int rawValue=analogRead(sensorPin);
double value=alpha*oldValue+(1-alpha)*rawValue;
change=value-oldValue;
digitalWrite(ledPin,(change<0.0&&oldChange>0.0));
oldValue=value;
oldChange=change;
delay(period);
}
Package Included:1PC* KY-039 5V Heartbeat Sensor Senser Detector Module Finger Measuring For Arduino
2. Heart Rate Pulse Sensor

1. We only ship to the confirmed address provided by eBay. please make sure your ebay address is 100% matches the address you would like us to ship to. If not, please let us know before we sent you the package, or we will not be responsible for any loss. hope you could understand.
2. Orders will be processed instantly and dispatched within 1-3 business days except hoilday, so we do NOT accept any email/message note after you place orders.
3. All package need to wait 30 days,Please take care it.Less than 30 days,we can't take a refund.
We maintain high standards of excellence and strive for 100% customer satisfaction! Feedback is very important to us. We request that you keep in touch with us immediately BEFORE you give us neutral or negative feedback, so that we can satisfactorily address your concerns.