0% found this document useful (0 votes)
50 views

Heart Attack Detection Using Arduino8888888888

This document describes a heart attack detection system using an Arduino board. The system monitors a person's heart rate and blood oxygen levels continuously using a heart rate sensor module connected to an Arduino. If the heart rate exceeds a threshold, it sends a signal to an LCD screen and also sends a GET request to a server to indicate a potential heart attack. The system aims to help people with heart problems monitor their heart and get early warnings of a potential heart attack. It uses affordable and customizable Arduino components to achieve this goal.

Uploaded by

Ravi Kant Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views

Heart Attack Detection Using Arduino8888888888

This document describes a heart attack detection system using an Arduino board. The system monitors a person's heart rate and blood oxygen levels continuously using a heart rate sensor module connected to an Arduino. If the heart rate exceeds a threshold, it sends a signal to an LCD screen and also sends a GET request to a server to indicate a potential heart attack. The system aims to help people with heart problems monitor their heart and get early warnings of a potential heart attack. It uses affordable and customizable Arduino components to achieve this goal.

Uploaded by

Ravi Kant Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Heart Attack Detection

Using Arduino

Assigned to: Ravi Kant Assigned by


: Shahid Ahmad :Professor Rohit Medwal
WHY THIS???
WITH THE HEART ATTACK DETECTION SYSTEM IN PLACE,
YOU CAN MONITOR YOUR HEART RATE AND BLOOD
OXYGEN LEVELS CONTINUOUSLY AND TAKE NECESSARY
PRECAUTIONS IN CASE OF ANY ABNORMALITIES. THIS CAN
BE ESPECIALLY USEFUL FOR PEOPLE WITH A HISTORY OF
HEART PROBLEMS OR THOSE WHO ARE AT RISK OF HEART
ATTACKS.
COMPONENTS USED
• ARDUINO BOARD
• A HEART RATE SENSOR MODULE
• AN LCD SCREEN
• ESP8266
• A FEW JUMPER WIRES
Flow Chart

Start

Sensing
Heartbeat Signal
Arduino Uno LCD

Heart rate
Wifi-Module application
WHY ARDUINO??
1.AFFORDABILITY
2.OPEN-SOURCE COMMUNITY
3.EDUCATIONAL TOOL
4.CUSTOMIZATION
1.5.RAPID PROTOTYPING
CODE USED
• include <Wire.h> • void setup() {
• lcd.begin(16, 2);
• #include <LiquidCrystal.h> • lcd.print("Heart Attack");
• #include <MAX30100_PulseOximeter.h> • lcd.setCursor(0, 1);
• #include <WiFi.h> • lcd.print("Detector");

• #define WIFI_SSID "ESP_D8416A" • WiFi.begin(WIFI_SSID,WIFI_SSID );


• #define WIFI_PASSWORD"ravikant" • while (WiFi.status() != WL_CONNECTED) {
• #define SERVER_IP "192.168.4.3" • delay(1000);
• #define SERVER_PORT 80 • lcd.clear();
• #define THRESHOLD 80 • lcd.print("Connecting...");
• }
• LiquidCrystal lcd(12,11,5,4,3,2);
• lcd.clear();
• PulseOximeter pox;
• lcd.print("Connected!");
• WiFiClient client;
• pox.begin();
• if (client.connect(SERVER_IP, SERVER_PORT))
{

pox.setIRLedCurrent(MAX30100_LED_CURR_50MA • client.println("GET /heartattack
); HTTP/1.1");
• } • client.println("Host: " +
String(SERVER_IP));
• void loop() { • client.println("Connection: close");
• pox.update(); • client.println();
• }
• if (pox.getHeartRate() > THRESHOLD) { • }
• lcd.clear(); • } else {
• lcd.print("Heart Attack"); • lcd.clear();
• lcd.setCursor(0, 1); • lcd.print("Heart Rate:");
• lcd.print("Detected!"); • lcd.setCursor(0, 1);
• lcd.print(pox.getHeartRate());
• if (!client.connected()) {
• }
THANK YOU

You might also like