0% found this document useful (0 votes)
8 views5 pages

Práctica Pulsómetro Arduino (1)

Uploaded by

angelmora.acuna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views5 pages

Práctica Pulsómetro Arduino (1)

Uploaded by

angelmora.acuna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Ingeniería Biomédica

LABORATORIO
Práctica
Pulsómetro Arduino
Nº Apellidos Nombre
1

REFERENCIAS

• J. G. Webster (ed.) Medical instrumentation: application and design 3rd ed. New York: John
Wiley & Sons, 1998

Recursos

❑ Ordenador personal
❑ Arduino Uno https://www.arduino.cc/en/Main/Software

❑ Módulo Pulse Sensor https://www.sparkfun.com/products/11574


https://pulsesensor.com/

❑ Aislador ADuM4160 https://www.analog.com/media/en/technical-documentation/data-sheets/ADuM4160.pdf

© Joaquín Roca González – UPCT 1


Ingeniería Biomédica

1.- Módulo Pulse Sensor

• Excellent responsivity
- Close responsivity to the human eye
• Miniature ChipLED Leadfree surface-mount package
Height – 0.55 mm
Width – 1.60 mm
Depth – 1.50 mm
• Low sensitivity variation across various light sources
• Operating temperature: -40°C to 85°C
• Vcc supply 1.6 to 5.5V
• Lead-free package, RoHS compliance
• Output linearity across wide illumination range
• High output saturation voltage

Figura 1.- APDS-9008

Figura 2.- Esquemático del módulo Pulse Sensor

© Joaquín Roca González – UPCT 2


Ingeniería Biomédica

2.- Conexión con Arduino

Pulse Sensor ARDUINO


V+ (Rojo) +5V
GND (Negro) GND
Out (Violeta) A0

Figura 3.- Conexiones Módulo MAX30102 - Arduino

Figura 4.- Conexiones Arduino - PC

© Joaquín Roca González – UPCT 3


Ingeniería Biomédica

3.- Programación Arduino

/* PulseSensor™ Starter Project http://www.pulsesensor.com


*
This an Arduino project. It's Best Way to Get Started with your PulseSensor™ & Arduino.
-------------------------------------------------------------
1) This shows a live human Heartbeat Pulse.
2) Live visualization in Arduino's Cool "Serial Plotter".
3) Blink an LED on each Heartbeat.
4) This is the direct Pulse Sensor's Signal.
5) A great first-step in troubleshooting your circuit and connections.
6) "Human-readable" code that is newbie friendly."
*/
// Variables
int PulseSensorPurplePin = 0; // Pulse Sensor PURPLE WIRE connected to ANALOG PIN 0
int LED13 = 13; // The on-board Arduion LED
int Signal; // holds the incoming raw data. Signal value can range from 0-1024
int Threshold = 550; // Determine which Signal to "count as a beat", and which to ingore.

// The SetUp Function:


void setup() {
pinMode(LED13,OUTPUT); // pin that will blink to your heartbeat!
Serial.begin(9600); // Set's up Serial Communication at certain speed.
}

// The Main Loop Function


void loop() {

Signal = analogRead(PulseSensorPurplePin); // Read the PulseSensor's value.


// Assign this value to the "Signal" variable.

Serial.println(Signal); // Send the Signal value to Serial Plotter.

if(Signal > Threshold){ // If the signal is above "550", then "turn-on" Arduino's on-Board LED.
digitalWrite(LED13,HIGH);
} else {
digitalWrite(LED13,LOW); // Else, the sigal must be below "550", so "turn-off" this LED.
}
delay(10);

Figura 5.- Programa Ejemplo Pulse Sensor

© Joaquín Roca González – UPCT 4


Ingeniería Biomédica

Figura 6.- Visualización con Serial Plotter

© Joaquín Roca González – UPCT 5

You might also like