รหัสสินค้า | AS00305 |
หมวดหมู่ | โมดูลเซ็นเซอร์ทางชีวภาพ Biometrics Sensor |
ราคา | 1,085.00 บาท |
สถานะสินค้า | พร้อมส่ง |
จำนวน | ชิ้น |
ดูรายละเอียดเพิ่มเติมการใช้งานและตัวอย่าง code ได้ที่
Introduction:
A Gravity Interface is adapted to allow plug&play to ease the barrier of usage. The IO sensor shield is the best option to connect this heart rate sensor with your Arduino or other microcontrollers. Besides, this sensor can also be compatible with Raspberry Pi, intel edison, joule and curie by means of 3.3V Input Voltage.
IoT Based Heart Rate Monitoring System is a very basic project on sending the pulse rate to Blynk Application and monitoring it from anywhere.
NOTE:
1. This product is NOT a professional medical device and should not be used to diagnose or treat medical conditions.
2. This sensor is designed to work when the user is not moving. If used while moving it will give inaccurate results.
The sample code could be found in the Github Page, open the example "DFRobot_Heartrate_Digital_Mode".
/*!
* @file DFRobot_Heartrate.h
* @brief DFRobot_Heartrate.h detailed description for Heartrate.cpp
*
* This is written for the heart rate sensor the company library. Mainly used for real
* time measurement of blood oxygen saturation, based on measured values calculate heart rate values.
*
* @author linfeng(Musk.lin@dfrobot.com)
* @version V1.1
* @date 2016-8-16
* @version V1.0
* @date 2015-12-24
*/
#define heartratePin A1
#include "DFRobot_Heartrate.h"
DFRobot_Heartrate heartrate(DIGITAL_MODE); ///< ANALOG_MODE or DIGITAL_MODE
void setup() {
Serial.begin(115200);
}
void loop() {
uint8_t rateValue;
heartrate.getValue(heartratePin); ///< A1 foot sampled values
rateValue = heartrate.getRate(); ///< Get heart rate value
if(rateValue) {
Serial.println(rateValue);
}
delay(20);
}
/******************************************************************************
Copyright (C) <2015> <linfeng>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact: Musk.lin@dfrobot.com
******************************************************************************/
Expected results:
/*
DigitalReadSerial
Reads a digital input on pin 2, prints the result to the serial monitor
This example code is in the public domain.
*/
// digital pin 2 has a pushbutton attached to it. Give it a name:
int pushButton = 2;
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
// make the pushbutton's pin an input:
pinMode(pushButton, INPUT);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input pin:
int buttonState = digitalRead(pushButton);
// print out the state of the button:
Serial.println(buttonState);
delay(10); // delay in between reads for stability
}
/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Graphical representation is available using serial plotter (Tools > Serial Plotter menu)
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A1);
// print out the value you read:
Serial.println(sensorValue);
delay(10); // delay in between reads for stability
}
/*!
* @file HeartrateDisplay
* @brief Waves of blood oxygen saturation and heart rate value is displayed on the LCD
*
* @brief Waves of blood oxygen saturation and heart rate value is displayed on the LCD
*
* @author linfeng(490289303@qq.com)
* @version V1.1
* @date 2016-8-16
* @version V1.0
* @date 2015-12-24
*/
#define heartratePin A1
#include "Heartrate.h"
#include "Lcd12864Shield.h"
uint16_t heartrateValue=0,heartrateValueLast=0;
uint8_t count;
Lcd12864Shield lcddisplay(10,9,8,13,11);
Heartrate heartrate(DIGITAL_MODE); ///< ANALOG_MODE or DIGITAL_MODE
char wordDisplay[]= ///< word
{
0x00,0x00,0x01,0x03,0x07,0x0F,0x1F,0x3F,
0x1F,0x0F,0x07,0x03,0x01,0x00,0x00,0x00,
0x00,0x00,0xC0,0xE0,0xE0,0xE0,0xC0,0x80,
0xC0,0xE0,0xE0,0xE0,0xC0,0x00,0x00,0x00,///< ♥
};
char letterDisplay[]= ///< character
{
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,///< 0
0x00,0x10,0x10,0xF8,0x00,0x00,0x00,0x00,
0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x00,///< 1
0x00,0x70,0x08,0x08,0x08,0x88,0x70,0x00,
0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,///< 2
0x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,
0x00,0x18,0x20,0x20,0x20,0x11,0x0E,0x00,///< 3
0x00,0x00,0xC0,0x20,0x10,0xF8,0x00,0x00,
0x00,0x07,0x04,0x24,0x24,0x3F,0x24,0x00,///< 4
0x00,0xF8,0x08,0x88,0x88,0x08,0x08,0x00,
0x00,0x19,0x21,0x20,0x20,0x11,0x0E,0x00,///< 5
0x00,0xE0,0x10,0x88,0x88,0x18,0x00,0x00,
0x00,0x0F,0x11,0x20,0x20,0x11,0x0E,0x00,///< 6
0x00,0x38,0x08,0x08,0xC8,0x38,0x08,0x00,
0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x00,///< 7
0x00,0x70,0x88,0x08,0x08,0x88,0x70,0x00,
0x00,0x1C,0x22,0x21,0x21,0x22,0x1C,0x00,///< 8
0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,
0x00,0x00,0x31,0x22,0x22,0x11,0x0F,0x00,///< 9
0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,
0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x00,///< =
};
void lcdBegin(void)
{
lcddisplay.initialLcd(); ///< Enable LCD
lcddisplay.clearScreen(); ///< Clear LCD
lcddisplay.drawXLine(48); ///< Draw a horizontal line
lcddisplay.drawYLine(7); ///< Draw a vertical line
lcddisplay.drawWord(7,10,0,wordDisplay); ///< Displays a word
lcddisplay.drawLetter(7,30,10,letterDisplay); ///< Displays a character
}
void setup() {
Serial.begin(115200);
lcdBegin();
}
void loop() {
unsigned char rateValue;
heartrateValueLast = heartrateValue;
heartrateValue = heartrate.getValue(heartratePin); ///< A1 foot sampled values
count = heartrate.getCnt();
if(count)
{
lcddisplay.drawYLine(count+8,heartrateValue/24,heartrateValueLast/24); ///< Draw a vertical line,Step 24
}
else
{
lcddisplay.drawYLine(count+8,heartrateValue/24,heartrateValueLast/24);
}
rateValue = heartrate.getRate(); ///< Get heart rate value
if(rateValue)
{
lcddisplay.drawLetter(7,50,3,rateValue,letterDisplay); ///< Display values
Serial.println(rateValue);
}
delay(20);
}
ชำระเงินค่าสินค้าโดยการโอนเงินเข้าบัญชีธนาคาร KBANK, SCB, BBL,TMB
กรุณาเก็บหลักฐานการโอนเงินของท่านไว้เพื่อแจ้งการชำระเงินด้วยค่ะ
ท่านสามารถแจ้งการชำระเงินผ่านระบบอัตโนมัติได้โดย Click Link ข้างล่างค่ะ
https://www.arduitronics.com/informpayment
หน้าที่เข้าชม | 15,375,197 ครั้ง |
ผู้ชมทั้งหมด | 5,878,275 ครั้ง |
เปิดร้าน | 21 พ.ค. 2556 |
ร้านค้าอัพเดท | 5 ก.ย. 2568 |