Sensors for Arduino , Finger Heartbeat Measurement Module With Demo Code

Trade on HiSupplier, Worry Free Guarantee
Trading safety, secure your money, lower the risk, protect both buyers and suppliers
HiSupplier is a Chinese multinational company in U.S, it helps to coordination and order landing.
More ›
  • Product Details
  • Company Profile
  • Product Reviews

 

Sensors for Arduino , Finger Heartbeat Measurement Module With Demo Code

 

Specifications:

 

Finger heartbeat measurement  module

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);
}

 

 

Competitive Advantage:

 

1. Convenient & Friendly Customer Service
2. Low Prices Direct From Factory Suppliers
3. Fast Delivery Around the World. 
4. High Quality With Global Standards. 
5. 1 Year Factory Warranty
6. Safe Shipping Way and Payment

 

 


Send message to this supplier
Ms. Erica Teng
Tel: 86-755-23578860
Enter between 20 to 3,000 chatacters.
Contact Method
Oky Newstar Technology Co., Ltd
Room1105, Block B, Chinto Technology Building, Minzhi Road, LongHua, Shenzhen, Guangdong, China (Mainland)
Didn't find what you're looking for? Post Buying Lead or contact our customer service specialist for help!
Buyer Help Center