Sensor de pulso cardíaco

Sensor de pulso cardíaco

Introduction to Heart Rate Monitoring Application

Overview of the Project

  • This tutorial focuses on creating an interactive application using the SEN 11574 sensor to monitor heart rate. The project will also utilize wireless communication to send heart rate data to a smartphone.

Required Materials

  • To complete this tutorial, gather the following materials:
  • Arduino Mega
  • Heart rate sensor (SEN 11574)
  • Bluetooth module (HC-05)
  • Connection booster for wiring

Sensor Functionality

  • The heart rate sensor combines an optical pulse sensor with noise cancellation circuitry, allowing for reliable heart rate readings. Connection wires are approximately 20 cm long and feature male terminals, eliminating the need for soldering. Power supply requirements range from 3.3V to 5V with a current consumption of about 4000 microamperes.

Programming and Configuration

Arduino Programming

  • The program uploaded to the Arduino Mega reads analog values from the heart rate sensor and displays them using a serial plotter. When a strong heartbeat contraction is detected, the Arduino activates a buzzer briefly as an indication of pulse detection.

Bluetooth Module Setup

  • The HC-05 Bluetooth module is configured to transmit heart rate information wirelessly. Communication settings include:
  • Serial port speed set at 9600 baud.
  • Bluetooth communication speed set at 57600 baud.

The program checks if the signal corresponds to a heartbeat by adjusting a variable threshold value (set at 520). If met, it triggers the buzzer based on heartbeat frequency.

Connecting and Testing

Device Pairing and Data Transmission

  • Parameters such as device name, pairing password, communication speed, and role (configured as slave) are pre-set in the HC-05 module for effective operation.

Data transmission occurs through Serial1 print commands sent from Arduino Mega to the Bluetooth module, which then relays information to another Bluetooth-enabled device like an Android smartphone.

Monitoring Heart Rate on Smartphone

  • After compiling and uploading the program onto Arduino Mega:
  • Place the heart rate sensor on your finger.
  • Open Serial Plotter in Arduino IDE to visualize heart rate signals.

To verify data accuracy transmitted via HC-05:

  • Use "Bluetooth Electronic" app on your smartphone.
  • Create a new panel, select graphs, adjust axis scales accordingly.
  • Pair with HC-05 module for real-time monitoring of heartbeat frequency displayed in-app.

Conclusion and Resources

Project Accessibility

  • The SEN11574 pulse sensor provides an easy method for monitoring heart rates effectively in various applications requiring cardiac frequency analysis.
Video description

Siguenos en Instagram: https://www.instagram.com/setisaedu/ En esta ocasión realizamos un proyecto muy interactivo, utilizando el sensor de pulso cardíaco SEN-11574, el cual nos permitió realizar una medición sencilla del pulso cardíaco y con un Arduino Mega procesamos los datos recibidos del sensor para obtener la señal de los latidos. Además con el Arduino Mega realizamos una comunicación serial con el módulo Bluetooth HC-05 con el fin de enviar los datos obtenidos del sensor hacia otro dispositivo Bluetooth, que en esta ocasión hicimos uso de un Smartphone con sistema operativo Android. ¡No te lo pierdas! Para descargar los códigos y archivos usados en este vídeo: https://github.com/SETISAEDU/Sensor-de-ritmo-cardiaco Si quieres aprender mas de este equipo y sobre muchos mas. !!!!!!!!! SUSCRIBITE A NUESTRO CANAL !!!!!!!!!! O visitanos en nuestras redes sociales. https://www.facebook.com/setisaedu/ http://www.setisa.com.sv/index.php/electronica-y-telecomunicaciones ..........