A simple guide for people with limited electronics experience

Build your own experimental ECG recorder step by step.

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.

  • Android app
  • Windows ECG reader
  • Arduino sketch
  • Parts list and wiring diagram
Easy ECG device enclosure, electrode cables and an example recording screen on an Android phone
Easy ECG device and an example Android recording screen.
Important medical and electrical safety warning This device is not a medical diagnostic device. In an emergency, or in case of chest pain, fainting, shortness of breath or severe palpitations, do not rely on this device or delay seeking care; contact emergency medical services or go to the nearest healthcare facility. Operate the device only from battery power. Never connect the Arduino to USB, a computer, mains power, an adapter or a charger while electrodes are attached to the body. The user is responsible for setup and use.

What is an ECG, and what does this project do?

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.

1

Electrodes pick up the signal

Electrodes attached to the skin detect very small electrical changes generated by the heart.

2

AD8232 and Arduino process it

The AD8232 conditions the signal. The Arduino Nano converts the analog signal into digital data.

3

Bluetooth sends it to the phone

An HC-05/HC-06-type Bluetooth module wirelessly transfers the data to the Android app.

Diagram showing the signal path from electrodes through the ECG module, Arduino and Bluetooth to an Android phone
Simple flow: electrodes → ECG module → Arduino → Bluetooth → Android phone.

Required components

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.

A

AD8232 ECG module

The module used to acquire the ECG signal. It typically has RA, LA, RL, OUTPUT, 3.3V and GND pins.

B

Arduino Nano

Reads the analog data from the ECG module and sends serial data to the Bluetooth module.

C

HC-05/HC-06 Bluetooth

Wirelessly transmits data from the Arduino to the Android phone. Locate the Vcc, GND, TX and RX pins on your module.

D

9V battery and cable

Power the device from a battery to keep it electrically isolated from external power sources. A power switch is recommended.

Recommended additional parts

A power switch, enclosure, jumper wires, electrode cable and disposable ECG electrodes can make the setup more organized and practical.

Bluetooth module, Arduino Nano, AD8232 ECG module, standard ECG cables and an example device installed in an enclosure
Components and an example device installed in an enclosure.

Wiring table

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 componentConnect toSimple explanation
AD8232 OUTPUTArduino A0Input point for the ECG signal to the Arduino.
AD8232 3.3VArduino 3V3Power input for the ECG module. Use 3.3V rather than 5V.
AD8232 GNDArduino GNDCommon ground connection.
Bluetooth VccArduino 5VPower input for the Bluetooth module. Check the voltage allowed by your specific module.
Bluetooth GNDArduino GNDCommon ground connection for Bluetooth and Arduino.
Bluetooth RXArduino TX1Line carrying data from the Arduino to the Bluetooth module.
Bluetooth TXArduino RX0Line 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 switchIf a power switch is used, the positive battery lead goes to the switch first and then to the Vin pin.
9V battery −Arduino GNDThe negative battery lead goes to the common ground.
Wiring diagram for the AD8232, Arduino Nano, Bluetooth module, battery and switch
Wiring diagram. Pin labels may appear in a different order on your module; follow the pin names, not their physical order.

Setup: 7 simple steps

This section is intended for users with limited electronics experience. Complete each step before moving to the next.

Lay out the components

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.

Make connections with the device off

Connect the AD8232 to the Arduino first, then the Bluetooth module, and finally the battery and power switch.

Upload the Arduino code

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.

Place the device in the enclosure

Make sure the wires do not touch each other, the battery is secured, and the power switch is accessible from outside the enclosure.

Install the Android app

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.

Pair Bluetooth

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.

Place the electrodes and record

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.

Electrode placement

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.

Different electrode placement positions P1, P2, P3 and P4
Different recording positions. The face is obscured in the image; make sure you have the appropriate permission to publish the image before going live.

To improve recording quality

  • Attach electrodes to clean, dry skin.
  • Do not pull on the lead ends; keep the cables stable.
  • Do not talk, move your arm or shake the device during recording.
  • If there is interference, replace the electrodes and reconnect Bluetooth.
  • If you see a lead-off warning or a flat line, check the RA, LA and RL connections.
Safety reminder Never connect the device to USB or a charger while the electrodes are attached to the body.

Download center

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.

Android

EasyECG_4.6.apk

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.

File: APK · 3.0 MB
SHA-256: d054b18dff3e86f0dd054c160863d27dd7e4d259834355f1caf0b3766f3371af
Download APK
Windows

ecg_reader_for_windows.exe

A Windows application for reading ECG recordings for clinicians or researchers.

File: EXE, Windows only Download Windows app
Arduino

EasyECG_arduino_sketch.ino

Sketch to upload to the Arduino Nano. It samples the ECG signal on A0 at 600 Hz and sends it over serial at 9600 baud.

File: INO Download Arduino code
Google Play and the APK on this website EasyECG is being prepared for Google Play and is currently in testing. The APK on this website and the Google Play version are signed differently, so one cannot be installed over the other. To switch, first share any recordings you want to keep (OPEN → WHATSAPP or the share icon), then uninstall the installed version and install the other one.

Common problems

The most common setup issues are incorrect pin connections, a depleted battery, loose electrodes and Bluetooth pairing.

The Bluetooth device does not appear on the phone.

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.

I see a flat line in the app.

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.

There is too much interference.

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.

The Arduino code will not upload.

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.

Can I make a diagnosis from this recording?

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.

Project team

Team members involved in the development and medical testing of the current application.

Mariano Ruffo

Italy