0% found this document useful (0 votes)
24 views14 pages

Tele-ECG Monitoring System: Guide Mr.E.Konguvel Dhiwahar C V Arun Kumar S Raman G

This document describes a tele-ECG monitoring system that monitors a patient's heart rate remotely and reports any abnormalities to medical staff. The system uses an AD8232 heart rate monitor and MCP3008 ADC to read ECG and temperature sensor data. An Arduino code samples the sensors and sends the data to a cloud database via Thingspeak. The goals are to regularly monitor heart activity and meet doctor response times if issues arise.

Uploaded by

dhiwahar cv
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)
24 views14 pages

Tele-ECG Monitoring System: Guide Mr.E.Konguvel Dhiwahar C V Arun Kumar S Raman G

This document describes a tele-ECG monitoring system that monitors a patient's heart rate remotely and reports any abnormalities to medical staff. The system uses an AD8232 heart rate monitor and MCP3008 ADC to read ECG and temperature sensor data. An Arduino code samples the sensors and sends the data to a cloud database via Thingspeak. The goals are to regularly monitor heart activity and meet doctor response times if issues arise.

Uploaded by

dhiwahar cv
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/ 14

Tele-ECG Monitoring System

DHIWAHAR C V
GUIDE
ARUN KUMAR S
Mr.E.KONGUVEL
RAMAN G

Department of Electronics Engineering,


Anna University, MIT Campus,
Chromepet, Chennai
Overview
 Objective
 Block Diagram
 Components
 Code
 Result
 Work plan
 Reference
Objective
 To monitor the patient’s heart rate regularly and
respond immediately if any abnormalities in the
heart activity and report it to the attending medical
team.

 To meet with the response time of the doctors.


Block Diagram
Components

Heart Rate Monitor(AD8232) ADC Converter(MCP3008)


Components
 Temperature Sensor(LM35)
Code
 import thingspeak
 import spidev  # Function to read SPI data from
MCP3008 chip
 import time  # Channel must be an integer 0-7
 import os  def ReadChannel(channel):
 import array  spi.max_speed_hz=1350000
 import urllib2  adc = spi.xfer2([1,
 ECG_volts=[] (8+channel)<<4,0])
 data = ((adc[1]&3) << 6) + adc[2]
 myAPI = '2IW05ENUQAV2T8KF'  return data
 baseURL =
'https://api.thingspeak.com/updat  # Function to convert data to
e?api_key=%s' % myAPI voltage level,
 # rounded to specified number of
 # Enable SPI bus decimal places.

 def ConvertVolts(data,places):
 spi = spidev.SpiDev()  volts = (data * 3.3) / float(1024)
 spi.open(0,0)  volts = round(volts,places)
 channel_id = 972207  return volts
Code
 # Function to calculate
temperature from  while i<600:
 # TMP36 data, rounded to
specified
 # Read the ECG sensor data
 # number of decimal places.  ECG_level =
 def ConvertTemp(data,places): ReadChannel(ECG_channel)
 temp = ((data * 330)/float(1024)) 
 temp = round(temp,places) ECG_volts.append(ConvertVolts(EC
 return temp G_level,2))

 # Define sensor channels  # Read the temperature sensor
data
 ECG_channel = 1
 temp_channel = 2  temp_level =
ReadChannel(temp_channel)
 temp_volts =
 # Define delay between readings
ConvertVolts(temp_level,2)
 delay = 0.001  temp =
 i=0 ConvertTemp(temp_level,2)
Code
 # Print out results

 print("ECG_volts : {}
({}V)".format(i,ECG_volts[i]))

 print("Temp : {} deg
c".format(temp))

 conn = urllib2.urlopen(baseURL +
'&field1=%s&field2=%s&field3=%s'
% (ECG_vol$
 i=i+1

 # Wait before repeating loop


Result
Work Plan

 To develop a mobile apk to receive patient’s


data from online cloud database.
 The received data will be analyzed

continuously.
 If any abnormalities in the heart activity , it
sends an alert message to the medical team.
Reference
 https://components101.com/microcontrollers/raspberry-pi-
3-pinout-features-datasheet

 https://www.robomart.com/blog/digital-io-raspberry-pi-wit
h-temperature/

 https://learn.adafruit.com/raspberry-pi-analog-to-digital-co
nverters/mcp3008

 https://stackoverflow.com/questions/29382709/urllib-reque
st-module-fails-to-install-in-my-system

 https://pimylifeup.com/raspberry-pi-adc/
 http://invent.module143.com/daskal_tutorial/raspberry-pi-3
-gpio-analog-sensor-mcp3008-mcp3004
/

 https://iotdesignpro.com/projects/iot-based-temperature-m
onitoring-using-raspberry-pi-and-lm35

 https://www.robomart.com/blog/digital-io-raspberry-pi-wit
h-temperature/

You might also like