{"product_id":"heart-beat-detector-module-ky039-in-pakistan","title":"Heart Beat Detector Module Ky 039 Heart Rate Sensor","description":"\u003cdiv\u003e\n\u003cspan style=\"font-size: 14px;\"\u003e\u003c\/span\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003eThis KY-039 Finger Detection Heartbeat Measuring Sensor Module uses bright infrared (IR) LED and a phototransistor to detect the pulse of the finger, a red LED flashes with each pulse.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003e\u003cem\u003eThe LED is the light side of the finger, and the 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 slightly changed.\u003c\/em\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003e\u003cstrong\u003eWe chose a very high resistance resistor R1 because most of the light through the finger is absorbed, it is desirable that the phototransistor is 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.\u003c\/strong\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cspan style=\"font-size: 14px;\"\u003eFor home lighting that is particularly important because the lights at home mostly based 50HZ or 60HZ fluctuate, so faint heartbeat will add considerable noise.\u003c\/span\u003e\u003c\/p\u003e\n\u003ch5\u003e\u003cstrong\u003eExample Code:\u003c\/strong\u003e\u003c\/h5\u003e\n\u003cblockquote data-o-mail-quote=\"1\"\u003e\n\u003cp\u003e\/\/ Pulse Monitor Test Script\u003cbr\u003eint sensorPin = 0;\u003cbr\u003edouble alpha = 0.75;\u003cbr\u003eint period = 100;\u003cbr\u003edouble change = 0.0;\u003cbr\u003edouble minval = 0.0;\u003cbr\u003evoid setup ()\u003cbr\u003e{\u003cbr\u003eSerial.begin (9600);\u003cbr\u003e}\u003cbr\u003evoid loop ()\u003cbr\u003e{\u003cbr\u003estatic double oldValue = 0;\u003cbr\u003estatic double oldChange = 0;\u003c\/p\u003e\n\u003cp\u003eint rawValue = analogRead (sensorPin);\u003cbr\u003edouble value = alpha * oldValue + (1 – alpha) * rawValue;\u003c\/p\u003e\n\u003cp\u003eSerial.print (rawValue);\u003cbr\u003eSerial.print (“,”);\u003cbr\u003eSerial.println (value);\u003cbr\u003eoldValue = value;\u003c\/p\u003e\n\u003cp\u003edelay (period);\u003cbr\u003e}\u003c\/p\u003e\n\u003c\/blockquote\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003chr\u003e\n\u003ch4\u003e\u003cstrong\u003eFeatures :\u003c\/strong\u003e\u003c\/h4\u003e\n\u003col\u003e\n\u003cli\u003eUse IR LED and an optical transistor to detect pulsation in fingers\u003c\/li\u003e\n\u003cli\u003eSmall and Compact module\u003c\/li\u003e\n\u003cli\u003eEasy to use.\u003c\/li\u003e\n\u003c\/ol\u003e\n\u003chr\u003e\n\u003ch4\u003e\u003cb\u003ePackage Includes :\u003c\/b\u003e\u003c\/h4\u003e\n\u003cp\u003e1 x KY-039 Finger Detection Heartbeat Measuring Sensor Module\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cdiv\u003e\u003cspan style=\"font-size: 14px;\"\u003eBest online shopping website for Heart Beat Detector Module KY 039 Heart Rate Sensorat cheap price in Lahore, Islamabad, Karachi, Faislabad, Multan, Quetta, Sukkur, Peshawar, Rawalpindi, Sialkot, Gujranwala and all over Pakistan\u003c\/span\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\u003cimg alt=\"Heart Beat Detector Module Ky 039 Rate Sensor\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/Heart-Beat-Detector-Module-KY-039-Heart-Rate-Sensor-In-Lahore-Islamabad-Karachi-Pakistan-1.jpg\" style=\"width: 500px; height: 500px;\" data-original=\"https:\/\/hallroad.digilog.pk\/images\/watermarked\/detailed\/35\/Heart_Beat_Detector_Module_KY_039_Heart_Rate_Sensor_In_Lahore_Islamabad_Karachi_Pakistan___1_.jpg\" loading=\"lazy\" data-files=\"Heart-Beat-Detector-Module-KY-039-Heart-Rate-Sensor-In-Lahore-Islamabad-Karachi-Pakistan-1.jpg\"\u003e\u003c\/div\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\u003cimg alt=\"Heart Beat Detector Module Ky 039 Rate Sensor\" src=\"https:\/\/digilog.pk\/cdn\/shop\/files\/Heart-Beat-Detector-Module-KY-039-Heart-Rate-Sensor-In-Lahore-Islamabad-Karachi-Pakistan-2.jpg\" style=\"width: 500px; height: 500px;\" data-original=\"https:\/\/hallroad.digilog.pk\/images\/watermarked\/detailed\/35\/Heart_Beat_Detector_Module_KY_039_Heart_Rate_Sensor_In_Lahore_Islamabad_Karachi_Pakistan___2_.jpg\" loading=\"lazy\" data-files=\"Heart-Beat-Detector-Module-KY-039-Heart-Rate-Sensor-In-Lahore-Islamabad-Karachi-Pakistan-2.jpg\"\u003e\u003c\/div\u003e","brand":"China","offers":[{"title":"Default Title","offer_id":43962277199937,"sku":"B751,krt107,IMP100,Th50,A","price":90.0,"currency_code":"PKR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0727\/2805\/1777\/files\/Heart_Beat_Detector_Module_KY_039_Heart_Rate_Sensor_In_Lahore_Islamabad_Karachi_Pakistan___1.jpg?v=1779568033","url":"https:\/\/stem.pk\/products\/heart-beat-detector-module-ky039-in-pakistan","provider":"stem.pk","version":"1.0","type":"link"}