

It is typically connected to the 3.3V pin on the Arduino board. VCC pin: This pin is used to supply power to the sensor. The pin diagram of an ECG sensor typically includes three pins: VCC, GND, and OUT. This sensor can connected to an Arduino or any other microcontroller to monitor and display heart rate data.

Pulse sensor that is used to measure the electrical activity of the heart. High Resolution: The OLED display provides high resolution and can display text, graphics, and animations with great detail. Low Power Consumption: The OLED display consumes very low power and can be used with battery-powered device. High Contrast: The OLED display provides high contrast and sharp images, even in low light conditions. Non-Invasive: The pulse sensor is a non-invasive device that does not require any penetration of the skin.Įasy to Use: The pulse sensor is easy to use and can be attached to a finger or earlobe using a clip or strap. The program uses the Adafruit_GFX and Adafruit_SSD1306 libraries to control the OLED display.įeatures of the Pulse Sensor and OLED Display Pulse Sensor:Īnalog Sensor: The pulse sensor is an analog sensor that measures the changes in blood volume in the finger or earlobe. The program clears the graph and restarts the measurement every 128 data points. The user's BPM is calculated by measuring the time between high pulses (values above 540) and storing the number of counts per minute. The program also calculates the user's BPM (beats per minute) and displays it on the OLED screen.
Adafruit arduino camera code#
The code reads the sensor values and maps them to a range between 0 and 45 to create a graph that shows the user's pulse rate. The program uses an analog heart rate sensor connected to pin A0 of the Arduino board. This project is an Arduino-based heart pulse sensor that uses an OLED display to show the user's pulse rate.
