Search

HiLetgo 5pcs 5V Heartbeat Detect Sensor Heart Rate Detect Measuring Module Measure Finger

KWD 3

Brand
HiLetgo
Weight
18 g
1 +

Special Features

  • 5V Heartbeat Detect Sensor
  • INT led Pin=13
  • INT sensor Pin=0
  • Double alpha=0.75
  • INT period=20

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

Related Items


{"error":"Error","cart_limit":"You have too many items in your cart.","prod_limit":"You cannot add any more of this item"}