What is a Pulse Sensor?
Upon pumping blood through a blood vessel, the volume of the vessels expands, causing a change in the pulse wave. A detector that monitors this volume change is a pulse rate sensor or pulse oximeter sensor and is used by doctors to check for signs of arrhythmia (unusually high blood pressure).
It's simple to check your pulse with just your fingers using either your wrist or the side of your neck, according to the Harvard Medical School Special Health Report on Diseases of the Heart. Apply pressure at the wrist, just below the base of the thumb, with the index and middle fingers of one hand, below your jawbone, and lightly press the side of your neck. Taking a count of heart in 15 seconds is multiplied by four is the number is your heart rate. Microcontrollers such as Arduino and Raspberry Pi can be interfaced with a pulse sensor to receive alert messages when the heartbeat meets the threshold through sensing the heartbeat by a pulse sensor.
Pulse Sensor Working Principle
You may feel a pulse in some of the blood vessels close to the skin's surface when your heart pumps blood through your body, such as in your wrist, neck, or upper arm. How quickly your heart is beating can be easily determined by counting your pulse rate.
Students, artists, athletes, mobile and game developers can easily incorporate live heart rate data into their projects with the pulse sensor, which is designed to be an easy-to-use plug-and-play heart rate sensor. One requirement is that the sensor should clip onto a fingertip or earlobe or any part of the body that can measure the heartbeat accurately. With the help of jumper cables, it can easily connect to the microcontroller and get data or draw real-time graphs of your pulse.
A basic optical heart rate sensor is combined with this sensor via a circuit. This circuit is used to quickly obtain reliable pulse readings by amplifying and cancelling noise. It is excellent for mobile applications because it only consumes 4mA at 5V.
Now, let us look at what the sensor looks like from the front and back views shown above, as you can see a pretty heart shape on the side that contacts the skin. An LED is in the center of the sensor, and a little square below the LED is an ambient sensor used to eliminate the noise called Noise elimination circuitry. The back view of the sensor as the electronic components are mounted at the centre LED is reversely mounted. This is done because it does not meet the skin.
Types of the Pulse Sensor
To begin with, there are four main methods of measuring heart rate: electrocardiogram, photoelectric pulse wave, and blood pressure measurement.
Pulse sensors are implemented by a photoelectric method.
Transmission Type
During heartbeats, transmission types detect the change in blood flow as a change in the amount of light transmitted through the body by emitting red or infrared light. A fingertip or earlobe is a good area to place the sensor because light can easily penetrate there.
Reflection Type
This type of sensor produces infrared, red, or green light that is directed at the human body and then detects the light that is reflected off a phototransistor or photodiode. Oxygenated hemoglobin, which is found in the arteries of humans, can absorb light. We can compute the pulse signal by identifying the blood flow rate that fluctuates at the precise moment that the heart begins to pump. To avoid an unstable operation, IR rays should be minimized in sunlight while measuring pulse wave signals using red or IR light. This is the case, so indoors or semi-indoors are used. A green-coloured source has a high rate of absorption within the hemoglobin and is used for pulse wave measurement.
In other words, A photodiode or phototransistor is used to quantify the amount of light reflected by the body via reflection-type pulse sensors (Optical Sensors for Heart Rate Monitor), which produce infrared, red, or green light (550nm) in the direction of the body. We can measure the pulse wave signal by detecting the blood flow rate (change in blood vessel volume) that changes over time because of cardiac contractions because oxygenated hemoglobin, which is present in the blood of the arteries, has the property of absorbing incident light.
Additionally, unlike with transmission-type pulse sensors, the range of eligible regions is not constrained because reflected light is detected.
Features and specifications
Features:
- This sensor measures the heart rate and biometric pulse rate.
- This sensor is a plug-and-play model.
- This sensor operates at a voltage of +5V/+3.3V.
- Integral amplification circuit for noise cancellation,
- Low power consumption
Specifications
Specifications |
Parameters |
maximum current |
100mA |
Heartbeat deduction output |
LED |
VCC |
+5v DC (high-quality regulation) |
Light source |
660nm super Red LED |
Output data level |
5V TTL |
Pin Configuration
There are three pins in the sensor module GND, VCC and analog pins.
How to use Pulse Sensor
If you have ever checked your heart rate by shining a flashlight on your fingertips, the theory of optical heart rate sensors should be solid. A pulse sensor, or any optical heart rate sensor, works by shining a green light (~550 nm) on your finger and measuring the amount of reflected light with a photo sensor. Oxygen-rich hemoglobin in arterial blood has the property of absorbing green light. The redder the blood (higher the hemoglobin level), the greener light it absorbs. As blood is pumped out of the finger with each heartbeat, the amount of reflected light changes, producing a varying waveform at the output of the light sensor. You can read your heart rate immediately by exposing it to light and continuing to read the photosensor.
Since this signal from a photo sensor is typically small and noisy, the signal is passed through an R/C filter network and amplified with an op-amp to produce a much louder, cleaner, and easier-to-see signal.
To get analog data from the sensor, pulse sensors can be interfaced with a microcontroller such as Arduino, Raspberry Pi, or any other controller.
Circuit Diagram
Arduino UNO |
Pulse Sensor |
5V |
VCC |
GND |
GND |
A0 |
A0(Analog Pin) |
Code
Download the Arduino Sketch coding software on the computer. You write the code here, which will be compiled and uploaded to the Arduino board.
Before uploading the code, you must add the “PulseSensorPlayground” library to IDE. For getting basic code go to File >> Examples >>Pulse sensor or copy and paste the below simple code to your IDE.
#define USE_ARDUINO_INTERRUPTS true
#include <PulseSensorPlayground.h>
const int PulseWire = 0;
const int LED13 = 13;
int Threshold = 550;
PulseSensorPlayground pulseSensor;
void setup() {
Serial.begin(9600);
pulseSensor.analogInput(PulseWire);
pulseSensor.blinkOnPulse(LED13);
pulseSensor.setThreshold(Threshold);
if (pulseSensor.begin()) {
Serial.println("We created a pulseSensor Object !");
}
}
void loop() {
int myBPM = pulseSensor.getBeatsPerMinute();
if (pulseSensor.sawStartOfBeat()) {
Serial.println(" A HeartBeat Happened ! ");
Serial.print("BPM: ");
Serial.println(myBPM);
}
delay(20);
}
Applications of Pulse Sensor
- Sleep Tracking: Usually heartbeat is lower at the time of sleep.
- Monitoring of anxiety: When anxiety happens heartbeat increases gradually that is measured by the pulse sensor
- Alarm system: When the heartbeat reaches to threshold alarm will activate automatically.
- Remote patient monitoring: If the patients are in a remote area, then this sensor can monitor the patient's heartbeat and relay it to a remote location using IoT.
- Health bands
- Advanced gaming consoles
Conclusion
In this blog post, we have learned a pulse sensor is a revolutionary device that measures and tracks the rhythmic beat of one's heart, detecting pulse signals with unparalleled accuracy. Its working principle is based on the detection of blood flow, rendering it an indispensable tool for a wide spectrum of applications, from healthcare to sports and beyond. With its various types, striking features, intricate pin configurations, and versatility, the pulse sensor is a must-have for anyone seeking to monitor their pulse signals with unrivalled precision. So ignite your pulse, seize the moment, and experience the thrill of pulse monitoring with the pulse sensor, today!
If you appreciate our work don't forget to share this post and leave your opinion in the comment box.
Please do check out other blog posts about Popular electronics
Make sure you check out our wide range of products and collections (we offer some exciting deals!)