Post Offer Free
Oky Newstar Technology Co., Ltd
Oky Newstar Technology Co., Ltd  

Gold Index: 7733

You are here: home  > Sensors for Arduino  > Sensors for Arduino , Finger Heartbeat Measurement Module With Demo Code

Sensors for Arduino , Finger Heartbeat Measurement Module With Demo Code 

Place of Origin: Guangdong, China (Mainland) 
inquire
Add to My Favorites
HiSupplier Escrow
Share |

Product Detail

Model No.: Finger heartbeat measuremen...


 
Sensors for Arduino , Finger He

 

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

 

 

bigPhoto
 Ms. Erica Teng

Tel: 86-755-23578860
Contact to this supplier

Related Search

Find more related products in following catalogs on Hisupplier.com

Company Info

Oky Newstar Technology Co., Ltd [China (Mainland)]


Business Type:Manufacturer
City: Shenzhen
Province/State: Guangdong
Country/Region: China (Mainland)

You May Like: