Electrodes pick up the signal
Electrodes attached to the skin detect very small electrical changes generated by the heart.
Easy ECG is an educational and research project based on an AD8232 ECG module, Arduino Nano and a classic Bluetooth module that wirelessly sends ECG signals to an Android phone.
An ECG records the electrical activity of the heart. Recordings made during symptoms such as palpitations or an irregular heartbeat may provide a clinician with information about heart rhythm. The Easy ECG project is intended for experimental recording at home or in educational settings; interpretation and diagnosis are the responsibility of a qualified healthcare professional.
Electrodes attached to the skin detect very small electrical changes generated by the heart.
The AD8232 conditions the signal. The Arduino Nano converts the analog signal into digital data.
An HC-05/HC-06-type Bluetooth module wirelessly transfers the data to the Android app.
Check the pin labels on each product before making connections. Colors and physical layouts may vary by manufacturer; follow the pin names rather than the colors.
The module used to acquire the ECG signal. It typically has RA, LA, RL, OUTPUT, 3.3V and GND pins.
Reads the analog data from the ECG module and sends serial data to the Bluetooth module.
Wirelessly transmits data from the Arduino to the Android phone. Locate the Vcc, GND, TX and RX pins on your module.
Power the device from a battery to keep it electrically isolated from external power sources. A power switch is recommended.
A power switch, enclosure, jumper wires, electrode cable and disposable ECG electrodes can make the setup more organized and practical.
Make all connections with the device switched off. If you are unsure about any connection, seek assistance from a qualified electronics technician. Do not attach the electrodes to the body until the wiring is complete and the enclosure is closed.
| Pin on component | Connect to | Simple explanation |
|---|---|---|
| AD8232 OUTPUT | Arduino A0 | Input point for the ECG signal to the Arduino. |
| AD8232 3.3V | Arduino 3V3 | Power input for the ECG module. Use 3.3V rather than 5V. |
| AD8232 GND | Arduino GND | Common ground connection. |
| Bluetooth Vcc | Arduino 5V | Power input for the Bluetooth module. Check the voltage allowed by your specific module. |
| Bluetooth GND | Arduino GND | Common ground connection for Bluetooth and Arduino. |
| Bluetooth RX | Arduino TX1 | Line carrying data from the Arduino to the Bluetooth module. |
| Bluetooth TX | Arduino RX0 | Line carrying data from Bluetooth to the Arduino. In this project, the primary data direction is from the Arduino to the phone. |
| 9V battery + | Arduino Vin through the switch | If a power switch is used, the positive battery lead goes to the switch first and then to the Vin pin. |
| 9V battery − | Arduino GND | The negative battery lead goes to the common ground. |
This section is intended for users with limited electronics experience. Complete each step before moving to the next.
Lay out the Arduino Nano, AD8232, Bluetooth module, battery cable, electrode cables and jumper wires so that they are clearly visible. Read the pin labels on each component.
Connect the AD8232 to the Arduino first, then the Bluetooth module, and finally the battery and power switch.
Connect the Arduino to the computer while the electrodes are not attached to the body. Open the downloaded EasyECG_arduino_sketch.ino file in the Arduino IDE and upload it to the Arduino Nano.
Make sure the wires do not touch each other, the battery is secured, and the power switch is accessible from outside the enclosure.
Download EasyECG_4.6.apk to the phone and open it. If Android requests permission to install it, grant installation permission only for this app. If an older Easy ECG app (easyecgV1.apk or EcgSmartApp) is installed, uninstall it first.
Turn on the device. In the phone’s Bluetooth settings, find the HC-05 or HC-06 device. If required, try 1234 or 0000 as the default pairing code.
Attach the electrodes to clean, dry skin, preferably a hair-free area. Open the app, select the device and monitor the recording screen. Remain as still as possible during recording.
The AD8232 leads are labeled RA, LA and RL. Follow these labels rather than wire colors when placing the electrodes. Hair can introduce significant noise; use a clean, dry and preferably hair-free area when possible.
Download and install the files at your own responsibility. On managed computers, check your IT/security policy before installing Windows .exe or Android .apk files.
EasyECG Android app, version 4.6 (Android 6.0 or newer, tested on Android 16). Live ECG over Bluetooth, recording, digital filters, and sharing a recording via WhatsApp as a paper-style PDF together with the raw data file.
Download APKA Windows application for reading ECG recordings for clinicians or researchers.
Download Windows appSketch to upload to the Arduino Nano. It samples the ECG signal on A0 at 600 Hz and sends it over serial at 9600 baud.
Download Arduino codeThe most common setup issues are incorrect pin connections, a depleted battery, loose electrodes and Bluetooth pairing.
Make sure the battery is charged and the device is switched on. The LED on the Bluetooth module should be blinking. Turn Bluetooth off and on again on the phone. If the device still does not appear, check the Vcc, GND, TX and RX connections.
Make sure the AD8232 OUTPUT pin is connected to Arduino A0, the RA/LA/RL electrodes are correctly placed, and the electrodes are firmly attached to the skin.
Remain still during recording. Replace the electrodes, secure the cables, and keep the device and phone away from strong electrical equipment. Make sure the skin is clean and dry.
In the Arduino IDE, select Arduino Nano and the correct port. Some Nano clones may require the “Old Bootloader” option. The electrodes must not be attached to the body while uploading the code.
No. This system is not a medical diagnostic device. A recording may be experimental information to discuss with a healthcare professional; diagnosis, treatment and emergency decisions require appropriate medical care.
Team members involved in the development and medical testing of the current application.
Italy