手可摘棉花

IoT ECG monitoring based on ESP32

 
Overview

Heart disease is not something to be taken lightly. By monitoring and analyzing a patient's electrocardiogram (ECG) signals in the early stages of the disease, the progression of heart disease can be prevented. An electrocardiogram is a recording of the heart's electrical signals that can provide important information used to determine a patient's heart condition and diagnose arrhythmias, pacemaker function, heart failure, and more.
The IoT ECG monitoring product using the AD8232 sensor and ESP32 is not a medical device and is not intended to be used as a medical device, but this project demonstrates how IoT technology can be used to improve patient cardiac monitoring. More importantly, the project also shows that IoT technology can eliminate the distance between doctors and patients in remote areas, and doctors can remotely monitor the ECG signals emitted by the patient's heart online.


The components required for this project are as follows:
AD8232 ECG sensor and electrodes
ESP32
5V adapter power supply with micro USB interface


Alex Newton's tutorial demonstrates how to monitor the same ECG online on any IoT cloud platform. First, the AD8232 ECG sensor needs to be connected to the ESP32. The ECG leads are then connected to the patient's chest or hand to generate an ECG signal. Finally, use Ubidots parameters (such as API key or token) to send the ECG to the cloud through MQTT Broker.
The AD8232 ECG sensor is a cost-effective PCB board for measuring ECG activity. It is designed to collect, amplify and filter weak bioelectrical signals in the presence of noise, such as that caused by motion or placement of remote electrodes. The AD8232 single-lead heart rate monitor acts like an operational amplifier, making it easy to obtain a clear heart signal.
ESP32 can interface with such systems through its SPI/SDIO or I2C/UART interface, providing Wi-Fi and Bluetooth functionality. The Espressif ESP32 module used in the AD8232 ECG sensor project is ESP32-WROOM-32. The module includes an ESP32 chip, Flash memory, high-precision discrete components, and a PCB antenna with excellent RF performance in limited space.
The circuit diagram connects the AD8232 ECG sensor to the ESP32-WROOM-32. The power supply voltage of the module is 3.3 V. Then connect GND to GND. The output pin of AD8232 is an analog signal, connect it to the VP pin of ESP32-WROOM-32. Likewise, the LO+ and LO- pins on the AD8232 should be connected to the D2 and D3 pins on the ESP32-WROOM-32 respectively.
We also need an IoT platform like Ubidots to publish data on the cloud, allowing developers to easily obtain sensor data and transform the data into useful information.

参考设计图片
×

Blockdiagram

 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 04:42:43

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号