IoT Based Heart Attack Detection & Heart Rate Monitoring System

IoT or the internet of things is characterized as a forthcoming innovation that empowers us to create worldwide networked machines and also the devices that can be helped for exchanging of communication. As we all know that the real-time application has been increasing day by day, the smart connection also has increased. Rapid population growth led to the increase in global life expectancy and the advance of technology, paving the pathway for the creation of age-friendly environments. This had led to the necessity in designing new products for elderly people’s healthcare. It is quite important to monitor various health parameters of patients.

Heart Disease is nowadays common all over the world. These days’ an enormous number of people are losing their life to coronary failure and lack of clinical consideration regarding quiet at the right stage. So heart rate monitoring has become a fundamental part of keeping up heart safe. Individuals of various ages have diverse pulses, the checking framework must be sufficiently proficient to handle this circumstance. In this paper, the heart rate and heart attack detection recognition system using IoT is discussed. Mainly, the patient will convey equipment having sensors with android application and the heartbeat sensor will permit checking heartbeat readings and transmit them over the web.

Hence, in this project, we are implementing a heart rate monitoring and heart attack recognition system using IoT. The patient will carry hardware having sensors with an android application. The heartbeat sensor will allow checking heartbeat readings and transmitting them over the internet. The user may set the high and low level of heartbeat limits. Once these limits are set the system can start monitoring the patient’s heartbeat and as soon as the heartbeat readings go above or below the limit set by the user the system will send an alert about high or low heartbeat as well as chances of a heart attack.


The health monitoring system emerges as an upcoming technology to change the traditional management of patients. Moreover, this solution reduces the cost of healthcare and helps the hospital to improve the treatment process, and provides a remote health monitoring system. This system comprises a wearable wireless device like a bracelet with sensors that are paired with an application for a doctor to access medical information. 

These days we have an increased number of heart diseases including an increased risk of heart attacks. Our proposed system users sensors that allow detecting the heart rate of a person using heartbeat sensing even if the person is at home and checks for the possibility of occurring attack. The sensor is then interfaced to a microcontroller that allows checking heart rate readings and transmitting them over internet. The user may set the high as well as low levels of heart beat limit. After setting these limits, the system starts monitoring and as soon as the patient heartbeat goes above a certain limit, the system sends an alert to the controller which then transmits this over the internet and alerts the doctors as well as concerned users. Also the system alerts for lower heartbeats. Whenever the user logs on for monitoring, the system also displays the live heart rate of the patient. Thus concerned ones may monitor heart rate as well get an alert of heart attack to the patient immediately from anywhere and the person can be saved on time.



  • Arduino Uno:

Arduino Uno is an open-source based on the Microchip ATmega328P developed by Arduino. cc. The current version of Arduino Uno comes with a USB interface, 14 digital I/O pins, 6 analog pins, an ICSP header, 16 MHz ceramic resonators, a power jack,  and a reset button. And an Atmega328 microcontroller is used to connect with external electronics circuits.


A Heart Beat Sensor is one of the common sensors used to detect the heartbeat per minute. It provides a digital output of the heartbeat. This Heartbeat sensor comes with a bright infrared (IR) LED and a phototransistor to detect the pulse of the finger. The phototransistor in the sensor detects the presence of light, which means, how much light is passing through a finger.  When blood passes through the finger, the number of light changes, and that change can be detected as a pulse.

  • WiFi MODULE:

      ESP8266 Wifi Module AP & Station Remote Serial Wireless IoT Board designed based on an integrated chip specifically to fulfill the needs of a new connected world. It can handle all  the necessary overhead for communicating with your network, such as TCP/IP stack and  communicating with your 802.11 networks.


 A Liquid  Crystal  Display commonly abbreviated as LCD is basically a display unit built using Liquid Crystal technology. When we  build real-life/real world electronics-based projects, we need a medium/device to display output values and messages.


An IoT module is designed as a small electronic device embedded in objects, machines, and things connected to wireless networks and sends and receives data.


In the circuit, the Arduino board and LCD module need a 5V regulated DC while relays need 12V regulated DC for their operation. The AC mains is used as the primary source of power. The supply from the mains is stepped down by a transformer and rectified by a full-bridge rectifier. The rectified output is regulated to 5V and 12V using 7805 and 7812 ICs.


  •   An LCD screen to  be utilized to display  a variations  in  heart  rate over a period of  time
  •  Sound to be added to  the  device so that a sound signal is  output every  time a pulse is received
  • The  maximum  and  minimum  values of  heart  rates over a duration of  time can be  shown.
  •  Serial output  heartbeats  to  be attached  to  the  device so  that the heart  rates  can be  sent  to  a  PC  for future analysis.
  •  Functionalities  of  the  prototype can be improved by  adding  a GPS tracker.  The GPS tracker will alert  the user/patient  with  a list of  hospitals near him  so that  he  can seek immediate help.  This  list  of  hospitals  and clinics will be  sent  with the alert message through internet or  GSM  module  when the pulse  rate  falls short  of  60  bpm  or  crosses  110  bpm. 
  • GPS follows distance measurements to satellites. Thereby helps to identify the location of the user


This is one of the interesting IoT project ideas to create. This real-time heart beat monitoring system is a highly efficient and cost-effective method used for the complete care of elderly people as well as heart patients. The doctors can then provide patients with immediate solutions and guidance based on their health conditions. The sensors in the application can monitor patient vitals heartbeat. If the vital stats are higher/lower than usual, the system will immediately alert the doctor. The idea behind creating this system is to allow patients and doctors to connect remotely for the exchange of medical data and expert supervision.

Leave a Reply

Your email address will not be published.