top of page

Interfacing of Pulse Rate Sensor with Arduino Uno.

What is a Pulse Rate Sensor?


The pulse sensor we are going to use is a plug and play heart rate sensor. This sensor is quite easy to use and operate. Place your finger on top of the sensor and it will sense the heartbeat by measuring the change in light from the expansion of capillary blood vessels. The pulse sensor module has a light which helps in measuring the pulse rate. When we place the finger on the pulse sensor, the light reflected will change based on the volume of blood inside the capillary blood vessels.


Material Required:


Material Quantity

  1. Arduino Uno 1

  2. Pulse Rate Sensor 1

  3. Jumper cables 6

  4. LED 1


Pinout Diagram:



Circuit Diagram:

Connect the pulse sensor with Arduino as follows:

  • GND pin of pulse sensor to GND of Arduino

  • VCC of pulse sensor to 5V of Arduino

  • A0 of pulse sensor to A0 of Arduino

After that, connect the LED to pin 13 and GND of Arduino as shown in the figure below.




Tested Programming Code:


int PulseSensorPurplePin = 0;

int LED13 = 13;

int Signal;

int Threshold = 550;


void setup() {

pinMode(LED13,OUTPUT);

Serial.begin(9600);

}


void loop() {

Signal = analogRead(PulseSensorPurplePin);

Serial.println(Signal);

if(Signal > Threshold){

digitalWrite(LED13,HIGH);

}

else

{

digitalWrite(LED13,LOW);

}

delay(10);

}



Precautions:


Double check the connections before powering on the circuit.

Don’t use loose jumper cables.

Check whether proper board is selected from Arduino IDE.

Ensure proper placement of pulse rate Sensor for correct working.

Don’t lose hope if pulse rate Sensor does not run properly for the first time, try again.


Conclusion:

Once your sketch is running, you have to open your serial monitor. There you can see the Pulse Rate (BPM) on the sensor.







GET IN TOUCH

We'd love to hear from you

bottom of page