SMART PORTABLE ECG MACHINE
Main Reasons: Measuring the Electrocardiogram (ECG) signal is an important method for the identification of heart diseases. The ECG signal knows the degree how much the heart performs its function. Some health parameters like ECG and heart rate can give some important clues a
2025-06-28 16:35:39 - Adil Khan
SMART PORTABLE ECG MACHINE
Project Area of Specialization Internet of ThingsProject SummaryMain Reasons:
Measuring the Electrocardiogram (ECG) signal is an important method for the identification of heart diseases. The ECG signal knows the degree how much the heart performs its function. Some health parameters like ECG and heart rate can give some important clues about the illness to a doctor.
According to the WHO data published in 2018, Heart Disease Deaths in Pakistan reached 251,220 or 20.28% of total deaths. The age-adjusted Death Rate is 237.98 per 100,000 population ranks Pakistan #18 in the world. Rural people of Pakistan are suffering for a long time for a lack of good doctors and health checkups point. They need to travel a long way to take the health service and it is very difficult for old, children and ill people. Frequently it creates unexpected death. But leveraging IoT technology and advanced medical sensors the suffering of remote people can be reduced greatly.
Need of Design:
Heart diseases need quick treatment and any missed or delayed diagnosis can be led to serious health problems. For reducing heart disease mortality, the traditional methods of diagnosing heart disease in hospitals should be changed to more effective approaches. Using portable ECG monitoring devices at home (for long-term ECG monitoring) is one of the effective approaches that could reduce the mortality rate.
The existing devices cannot store the ECG information, which results in the loss of ECG information. using Internet-of-things (IoT) we propose a new methodology for ECG recording and monitoring. A wearable monitoring node gathers the ECG information and using Wi-Fi technology is transmitted directly to the IoT cloud. The ECG wave is displayed through the local LCD and developed Web Interface/Mobile Application. The ECG information can be conveniently acquired using smart devices with a web browser, which has diminished the cross-platform issue.
Ideas to be achieved:
Over the past decades, many studies have been conducted to develop more portable ECG devices. Although some of these developed portable devices are accurate, those are expensive. The goal of this project is to design and implementation of a low-cost ECG monitoring device with a 7" inch Nextion LCD screen.
We aimed to address the ECG monitoring access barrier that causes many patients not to seek diagnosis during the early stages of heart diseases. The proposed device will use a low-cost STM32F103C8T6 ARM Cortex-M3 32bit micro-controller to acquire the ECG signal and display it on the LCD screen.
Project ObjectivesProject Objective:
In most of the medical institutions, Electrocardiogram is observed using bulky and fixed instruments. This sort of hardware normally utilizes twelve electrodes to gather Electrocardiogram Recordsbecause of their great execution and accuracy in less time. However the equipment isn't compact, which implies that patients' movements are constrained at the time of data gathering. As these devices are costly and cumbersome for home utilization, patient need to visit the hospital on regular basis, which will increase the load on clinics and hospitals. In this manner, a minimal effort convenient ECG detecting framework is exceptionally required.
In this study, using Internet-of-things (IoT) cloud, the architecture of ECG monitoring system is put forward. In perspective of this design, we plan to execute an adaptable ECG checking framework. The ECG data, which is gathered from the human body will be sent directly to the Internet-of-Things Cloud storage, utilizing Wi-Fi convention.A Graphical userinterface and local LCD is enforcedin order to provide simple access for eachpatient as well as doctors.
1.Data Collection Network:
The Data gathering structure is the base of the total ECG system, which is committed to gathering the anatomical data from the surface of the body. As Wi-Fi protocol can give higher data esteems and more extensive inclusion regions, the ECG information assembled from the sensors is sent to IoT Cloud by methods of Wi-Fi convention
2.Cloud Server
The ECG information can store and inspect enough and successfully with the enhancement of the progressed Internet-of-Things systems. With the help of an Internet-of-Things Cloud, information activities and scrutinizes can be done in high power servers, which incredibly decreases the heap of smart gadgets.
3.ECG Sensor module:
The sensor module is the basic component of the system that collects ECG information from the human body. With the AD8232 ECG Sensor guide and certain peripheral circuits, sensitive signals can be linked to adequate precision. Since the ECG signal frequency ranges from 0.5 Hz to 100 Hz, a bandpass channel is used in AD8232 to clear the commotion outside the frequency band.
4.Micro-controller module:
To interface the Stm32f103c8t6 controller with AD8232 ECG Sensor to get the signal, ESP8266 to transfer the received data of ECG to the IoT Cloud, Nextion 7” inch Touch Screen LCD for the display of ECG data and SD Card for the offline storing of ECG Data. The electrocardiogram signal is made up of five waves, i.e. P, T, Q, R and S. The controller will be programmed in c language to get the accurate waves intervals.
5.Communication Module:
The Wi-Fi device can get the ECG medical information through the UART. The Wi-Fi device provides quick and efficient web access that can send and receive consistent electrocardiogram information to the IoT cloud.


Project Implementation:
A prototype of a low-cost electrocardiogram (ECG) monitoring device will be IoT based (Internet of Things) and consist of a STM32F103C8 ARM 32-bit Cortex-M3 based Micro-controller, the AD8232 board as a single lead ECG sensor, and Liquid Crystal Display (LCD) as a monitor. A moving average filter will apply to smooth the signal and get a high-quality ECG signal.
In this Smart ECG machine, the real-time ECG signal can be collected with suitable accuracy using a wearable monitoring node with three electrodes. The Stm32f103c8t6 will act as a micro-controller which will proccesses the received signal and converts it into the electrocardiograph (ECG). As Wi-Fi can provide higher data rates and wider coverage areas,the ECG data gathered from the sensors are sent to IoT Cloud with the help of the ESP8266 Wi-Fi Module. The IoT cloud server visualizes the ECG information and stores this information for further analysis. The ECG output was displayed on the developed web interface and Nextion 7” Inch LCD.

Benefits of the Project:
The Smart Portable Machine will be made in a manner that anyone can use it anywhere. Especially, As the Rural people of Pakistan are suffering for a long time for a lack of good health services. They need to travel a long way to take the health service and it is very difficult for old, children and ill people. This smart portable ECG machine can be used in hospitals located in rural areas as well as in hospitals located in urban areas. People can have this in their homes so that it is cheaper than the other ECG machines. As the typical ECG machines are fixed and heavy they cannot be taken everywhere, this portable ECG machine can also be used in medical camps so that it will help doctors to check the patient’s heart performance.
The device is cost-effective and portable. It can be used for long-term ECG monitoring at home to help prevent heart disease.
Technical Details of Final DeliverableFinal Deliverable:
The deliverables of this projects are as mentioned below:
- STM32F103C8T6 Arm Cortex-M3 32-bit Controller
- Nextion 7” inch LCD
- ESP8266 WiFi module
- ECG Sensor AD8232
The STM32F103C8T6 is acting as a micro-controller for this project. The AD8232 ECG Sensor delivers the signal to the micro-controller received by the human body. The stm32f103c8t6 micro-controller then processes the received signal and converts it into the electrocardiograph (ECG). The Processed electrocardiograph will be displayed on a 7” inch Nextion LCD and the ESP8266 Wi-Fi module will be used to transfer the ECG data to the IoT Cloud.
Final Deliverable of the Project Hardware SystemCore Industry HealthOther IndustriesCore Technology Internet of Things (IoT)Other TechnologiesSustainable Development Goals Good Health and Well-Being for PeopleRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 41000 | |||
| Nextion 7” inch LCD | Equipment | 1 | 25000 | 25000 |
| STM32F103C8T6 Arm Cortex M3 MCU | Equipment | 1 | 1000 | 1000 |
| ESP8266 | Equipment | 1 | 800 | 800 |
| ECG Sensor AD8232 | Equipment | 1 | 2000 | 2000 |
| Battery + Holder | Equipment | 1 | 400 | 400 |
| Boost Converter | Equipment | 1 | 300 | 300 |
| Wires | Equipment | 1 | 500 | 500 |
| Casing | Equipment | 1 | 4000 | 4000 |
| Printing & Stationary | Miscellaneous | 1 | 7000 | 7000 |