
Brand: HiLetgo | Weight: 0.018 kilograms | Dimensions: 2.9972 x 6.5024 x 9.0932 centimeters
Key Features
- 5V Heartbeat Detect Sensor
- INT led Pin=13
- INT sensor Pin=0
- Double alpha=0.75
- INT period=20
Product Description
Description:
Finger heartbeat measurement module
arduino test code:
INT led Pin=13;
INT sensor Pin=0;
Double alpha=0.75;
INT period=20;
Double change=0.0;
Void setup {Pin Mode (led Pin, OUTPUT)}
void loop
Static double old Change=0;
INT raw Value=analog Read (sensor Pin);
Double value=alpha*old Value+(1-alpha)*raw Value;
Change=value-old Value;
Digital Write (led Pin,(change0.0));
Old Value=value;
Old Change=change;
Delay (period);
Package Included:
5 * Finger Measuring Heartbeat Sensor Module
Product Images

Check current price on Amazon →
As an Amazon Associate, this site may earn from qualifying purchases. Product prices and availability are accurate as of the date/time indicated and are subject to change.
