Categorías
Ref. AKC-108.KS0015
Sensor pulse rate monitor para arduino/funduino
Stock: 7 Ref. AKC-108.KS0015
Precio (IVA inc.) 3,99 €


Envío Rápido
en 14h o 24/48h

Pago Seguro
Tarjeta, Bizum...

Garantía
Calidad asegurada

Especialistas
Consulta tus dudas
Especificaciones
Módulo sensor detector de ritmo cardíaco en dedo, este sensor es una alternativa económica para medir el ritmo cardíaco, es compatible con arduino, raspberry y microcontroladores.
Especificaciones:
Voltaje de operación
Peso: 4 g
Dimensiones: 25 x 12 x 12 mm
Sample Code
The program for this project is quite tricky to get right. Indeed, the first step is not to run the entire
final script, but rather a test script that will gather data that we can then paste into a spreadsheet and chart to test out the smoothing algorithm (more on this later).
The test script is provided in Listing Project 12.
int ledPin = 13;
int sensorPin = 0;
double alpha = 0.75;
int period = 20;
double change = 0.0;
void setup()
{
pinMode(ledPin, OUTPUT);
Serial.begin(115200);
}
void loop()
{
static double oldValue = 0;
static double oldChange = 0;
int rawValue =
analogRead(sensorPin);
double value = alpha * oldValue
+ (1 - alpha) * rawValue;
Serial.print(rawValue);
Serial.print(“,”);
Serial.println(value);
oldValue = value;
delay(period);
}
This script reads the raw signal from the analog input and applies the smoothing function and then
writes both values to the Serial Monitor, where we can capture them and paste them into a spreadsheet for analysis. Note that the Serial Monitor’s communications is set to its fastest rate to
minimize the effects of the delays caused by sending the data. When you start the Serial Monitor, you will need to change the serial speed to 115200 baud.
Copy and paste the captured text into a spreadsheet. The resultant data and a line chart drawn from the two columns are shown in Figure 5-17. The more jagged trace is from the raw data read from the analog port, and the smoother trace clearly has most of the noise removed. If the smoothed trace shows significant noise-in particular, any false peaks that will confuse the monitor-increase the level of smoothing by decreasing the value of alpha.
Once you have found the right value of alpha for your sensor arrangement, you can transfer this
value into the real sketch and switch over to using the real sketch rather than the test sketch. The real sketch is provided in the following listing on the next page.
int ledPin = 13;
int sensorPin = 0;
double alpha = 0.75;
int period = 20;
double change = 0.0;
void setup()
{
pinMode(ledPin, OUTPUT);
Serial.begin(115200);
}
void loop()
{
static double oldValue = 0;
static double oldChange = 0;
int rawValue =
analogRead(sensorPin);
double value = alpha * oldValue
+ (1 - alpha) * rawValue;
Serial.print(rawValue);
Serial.print(“,”);
Serial.println(value);
oldValue = value;
delay(period);
}
Link: http://wiki.keyestudio.com/index.php/Ks0015_keyestudio_Pulse_Rate_Monitor
OTROS PRODUCTOS RELACIONADOS
- Ref.: AKC-108.KS0023Modulo 18b20 sensor de temperatura para arduino/funduinoStock: 40Precio (IVA inc.) 1,513 €
Unidades ≥ 10 ≥ 20 ≥ 30 ≥ 40 DescuentoDescuentoprecio -3%-0,051,47 -5%-0,081,44 -7%-0,111,41 -10%-0,151,36 - Ref.: AKC-108.MD9076Dc 4v-30v lm35d lm35dz sensor de temperatura digitalStock: 63Precio (IVA inc.) 2,178 €
Unidades ≥ 10 ≥ 15 ≥ 20 ≥ 25 DescuentoDescuentoprecio -3%-0,072,11 -5%-0,112,07 -7%-0,152,03 -10%-0,221,96 - Ref.: AKC-108.MD0718Sn04-n npn sensor inductivo de proximidad 6-36v n/oStock: 0Precio (IVA inc.) 4,066 €
Unidades ≥ 3 ≥ 5 ≥ 10 DescuentoDescuentoprecio -3%-0,123,94 -5%-0,203,86 -10%-0,413,66 - Ref.: AKC-108.MD9223Max30102 modulo sensor de pulso cardiaco y saturación de oxigenoStock: 28Precio (IVA inc.) 4,283 €
Unidades ≥ 5 ≥ 10 ≥ 20 ≥ 30 DescuentoDescuentoprecio -3%-0,134,15 -5%-0,214,07 -7%-0,303,98 -10%-0,433,86 - Ref.: AKC-108.MD9111Qtr-8rc modulo sensor seguimiento de lineas 8 vias / 8 ways trackerStock: 0Precio (IVA inc.) 8,289 €
- Ref.: AKC-108.MD9043/1KHx711 sensor de pesaje de hasta 1 kgStock: 0Precio (IVA inc.) 4,296 €
Unidades ≥ 3 ≥ 5 ≥ 10 ≥ 15 DescuentoDescuentoprecio -3%-0,134,17 -5%-0,214,08 -7%-0,303,99 -10%-0,433,87 - Ref.: AKC-108.TMP36GT9ZTmp36gt9z sensor de temperaturaStock: 25Precio (IVA inc.) 4,646 €
Unidades ≥ 5 ≥ 10 ≥ 15 ≥ 20 DescuentoDescuentoprecio -3%-0,144,51 -5%-0,234,41 -7%-0,334,32 -10%-0,464,18 - Ref.: AKC-108.MD9043/10KHx711 y sensor de pesaje de hasta 10kgStock: 46Precio (IVA inc.) 4,283 €
Unidades ≥ 3 ≥ 5 ≥ 7 ≥ 10 DescuentoDescuentoprecio -3%-0,134,15 -5%-0,214,07 -7%-0,303,98 -10%-0,433,86 - Ref.: AKC-108.MD0037Modulo sensor de vibracion para arduino/funduinoStock: 64Precio (IVA inc.) 5,627 €
- Ref.: AKC-108.DS18B20Ds18b20 sensor de temperatura to-92Stock: 170Precio (IVA inc.) 1,125 €
Unidades ≥ 25 ≥ 50 ≥ 100 DescuentoDescuentoprecio -3%-0,031,09 -5%-0,061,07 -10%-0,111,01












