Hardware Required
- Arduino Uno With USB Cable - 1
- Heart Beat Module - 1
- Potentiometer 10k Ohm - 1
- 16*2 LCD Display - 1
- Bread Board 840 Point - 1
- Jumper Wire (male to male) - 40 pcs
- Jumper Wire (male to female) - 40 pcs
- Single Stand wire 1mt -1
- 9v Battery -1
- Snapper with DC jack -1
Introduction
In this project, we will use Heartbeat Sensor to measure the Heartbeat of a person and display its values on LCD.
HARDWARE REQUIRED
- Arduino Uno With USB Cable - 1
- Heart Beat Module - 1
- Potentiometer 10k Ohm - 1
- 16*2 LCD Display - 1
- Bread Board 840 Point - 1
- Jumper Wire (male to male) - 40 pcs
- Jumper Wire (male to female) - 40 pcs
- Single Stand wire 1mt -1
- 9v Battery -1
- Snapper with DC jack -1
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download :https://www.arduino.cc/en/Main/Software
SPECIFICATIONS
Heart Beat Module
This Finger Detection Heartbeat Measuring Sensor Module uses bright infrared (IR) LED and a phototransistor to detect the pulse of the finger, a red LED flashes with each pulse.
The LED is the light side of the finger, and the phototransistor on the other side of the finger, phototransistor used to obtain the flux emitted, when the blood pressure pulse by the finger when the resistance of the phototransistor will be slightly changed.
We chose a very high resistance resistor R1 because most of the light through the finger is absorbed, it is desirable that the phototransistor is sensitive enough. Resistance can be selected by experiment to get the best results. The most important is to keep the shield stray light into the phototransistor.
Arduino Uno
CIRCUIT CONNECTION
- Connect GND of Arduino Uno with Breadboard for further GND connections.
- Connect Pin 5V of Arduino Uno with Breadboard for further 5V power supply connections.
- Attach 1602 LCD and Potentiometer on Breadboard.
- Connect Pin VSS of LCD with GND rail of Breadboard.
- Connect Pin VDD of LCD with 5V rail of Breadboard.
- Connect Pin V0 of LCD with Pin Signal of Potentiometer.
- Connect Pin RS (Register Select) of LCD with Digital Pin 12 of Arduino Uno.
- Connect Pin RW (Read/Write) of LCD with GND rail of Breadboard.
- Connect Pin Enable of LCD with Digital Pin 11 of Arduino Uno.
- Connect Data Pin 4 of LCD with Digital Pin 5 of Arduino Uno.
- Connect Data Pin 5 of LCD with Digital Pin 4 of Arduino Uno.
- Connect Data Pin 6 of LCD with Digital Pin 3 of Arduino Uno.
- Connect Data Pin 7 of LCD with Digital Pin 2 of Arduino Uno.
- Connect Pin A (LED positive) of LCD with 5V rail of Breadboard.
- Connect Pin K (LED Negative) of LCD with GND rail of Breadboard.
- Connect VCC of Potentiometer with 5V rail of Breadboard.
- Connect GND of Potentiometer with GND rail of Breadboard.
- Connect GND of Heartbeat Sensor with GND rail of Breadboard.
- Connect VCC of Heartbeat Sensor with 5V rail of Breadboard.
- Connect Pin Signal of Heartbeat Sensor with Analog Pin A0 of Arduino Uno.
CODE
https://drive.google.com/open?id=1mwQxPsn18bm6svU5rjQkfP-QWOcHKEB8
WORKING
After doing these all connections connect the supply to arduino uno and put your finger over the heart beat sensor module and result will display on the LCD. There are several methods for calculating heart rate, but here we have read only five pulses. Then we have calculated total heart beat in a minute by applying below formula:
Five_pusle_time=time2-time1;
Single_pulse_time= Five_pusle_time /5;
rate=60000/ Single_pulse_time;
where time1 is first pulse counter value and time2 is list pulse counter value and rate is final heart rate. When first pulse comes, we start counter by using timer counter function in arduino that is millis();. And take first pulse counter value form millis();. Then we wait for five pulses. After getting five pulses we again take counter value in time2 and then we substarct time1 from time2 to take original time taken by five pulses. And then divide this time by 5 times for getting single pulse time. Now we have time for single pulse and we can easily find the pulse in one minute, deviding 600000 ms by single pulse time.
Rate= 600000/single pulse time.
This sensor module contains an IR pair which actually detect heart beat from blood. Heart pumps the blood in body which is called heartbeat, when it happens the blood concentration in body changes. And we use this change to make a voltage or pulse electrically.