

The Pulse Sensor is a compact and easy-to-use device designed to detect and measure the pulse rate by monitoring blood flow through the skin. It is widely used in health and fitness applications, such as heart rate monitoring, fitness tracking, and biofeedback systems. The sensor is ideal for wearable devices and can be easily integrated into microcontroller-based projects, including Arduino and other development platforms.








| Pin Name | Description |
|---|---|
| VCC | Power supply pin. Connect to 3.3V or 5V. |
| GND | Ground pin. Connect to the ground of the circuit. |
| SIG | Analog output pin. Provides the pulse signal as a varying voltage. |
Connect the Pins:
VCC pin to the 3.3V or 5V power supply of your microcontroller.GND pin to the ground of your circuit.SIG pin to an analog input pin on your microcontroller (e.g., A0 on Arduino UNO).Place the Sensor:
Read the Signal:
SIG pin.// Include the PulseSensor library
#include <PulseSensorPlayground.h>
// Define the analog pin connected to the Pulse Sensor
const int PULSE_PIN = A0;
// Create a PulseSensor object
PulseSensorPlayground pulseSensor;
// Variable to store the BPM (beats per minute)
int bpm;
void setup() {
Serial.begin(9600); // Initialize serial communication for debugging
// Configure the PulseSensor object
pulseSensor.analogInput(PULSE_PIN);
pulseSensor.setSerial(Serial); // Optional: Output data to Serial Monitor
// Start the PulseSensor
if (pulseSensor.begin()) {
Serial.println("Pulse Sensor initialized successfully!");
} else {
Serial.println("Failed to initialize Pulse Sensor.");
}
}
void loop() {
// Read the pulse rate
bpm = pulseSensor.getBeatsPerMinute();
// Check if a valid BPM is detected
if (pulseSensor.sawStartOfBeat()) {
Serial.print("Heartbeat detected! BPM: ");
Serial.println(bpm);
}
delay(20); // Small delay to allow for stable readings
}
No Signal Detected:
VCC and GND pins are connected to the correct power supply and ground.Inconsistent Readings:
High Noise in Signal:
Can the Pulse Sensor be used with a 3.3V microcontroller? Yes, the sensor operates at both 3.3V and 5V, making it compatible with a wide range of microcontrollers.
What is the maximum sampling rate of the Pulse Sensor? The sensor can sample up to 100 Hz, which is sufficient for most heart rate monitoring applications.
Can the Pulse Sensor be used for continuous monitoring? Yes, the sensor is designed for continuous use, but ensure proper placement and minimize movement for accurate readings.
Is the Pulse Sensor waterproof? No, the sensor is not waterproof. Avoid exposing it to water or excessive moisture.