Getting Started

Getting Started with the Protocentral easyECG Single-Lead ECG Breakout

Last updated Nov 8, 2026

The Protocentral easyECG is a single-lead ECG breakout built from parts you can point at and probe. This guide takes you from the box to a heartbeat in the OpenView desktop app, by way of the wiring, the electrodes and the one safety rule that matters most.

Where you’ll end up: your single-lead ECG in OpenView, with heart rate and a signal check beside it. This one is from an ECG simulator. Seeing your first heartbeat, below, shows how.

Research use only. easyECG is for education, research and experimentation. It is not a medical device and must not be used for diagnosis or monitoring of any medical condition.

Before you put electrodes on anyone

easyECG has no isolation. With electrodes on a person, the host must run from a battery, or connect through an easyISO isolated Qwiic adapter.

On a mains-powered computer, leakage current through the USB ground drives the right-leg circuit to its rail, and you get a flat line, not a noisy trace. A laptop on battery is fine, as long as its charger is unplugged.

The same applies to test equipment. A mains-earthed bench scope connects the person wearing the electrodes to earth, so probe with a battery-powered scope, or use an ECG simulator instead of a person.

Introduction

An ECG electrode picks up about a millivolt of heart signal, sitting on an offset that can be a hundred times larger. Most ECG boards handle this inside one chip, so all you see is the output. easyECG does it in stages:

  • A TI INA333 instrumentation amplifier takes the difference between the left-arm and right-arm electrodes, with a gain of ×11.
  • An RC high-pass at about 0.5 Hz removes the electrode offset.
  • A TI OPA2333 op-amp adds a gain of ×48.6, for ×535 in total.
  • A Sallen-Key low-pass limits the band to about 31 Hz.
  • A TI TLA2024 12-bit ADC digitises the result and sends it over I²C.
  • A further OPA2333 stage and a third electrode form the right-leg drive, which holds the body near the amplifier’s common mode.

The whole chain is printed on the back of the board, and each stage has a test point on the front. The Arduino library finishes the job in software, with a 50/60 Hz notch, a 40 Hz low-pass and heart-rate detection.

Key Features

  • Discrete, probeable front end: INA333, OPA2333 and TLA2024, with every stage labelled.
  • Labelled test points: INA OUT, OUT, DRL and VMID, plus a GND point for your probe clip.
  • Two Qwiic / STEMMA QT ports for daisy-chaining, plus a 0.1″ header for 3.3 V or 5 V hosts.
  • Filters and heart rate in the library: mains notch, low-pass and Pan-Tompkins beat detection.
  • Shares a bus with easyEMG: easyECG ships at 0x49 and easyEMG at 0x48.
  • Open hardware (CERN-OHL-P v2) and an MIT-licensed library.

What’s in the Box

Protocentral easyECG kit: the breakout board, a 1×4 header, a 3-lead snap electrode cable with a 3.5 mm plug, and ten disposable snap electrodes

Qty Item
1 Protocentral easyECG breakout board
1 1×4 0.1″ header (not soldered)
1 3-lead snap electrode cable, 3.5 mm TRS
10 Disposable Ag/AgCl snap electrodes

A Qwiic cable and a host board are not included.

Specifications

Parameter Value
Lead Single lead (Lead I), 3 electrodes (LA, RA, RL)
Gain ×535 total (×11 in-amp, ×48.6 second stage)
Analog bandwidth 0.5 – 31 Hz (−3 dB)
Input range ±3.1 mV; electrode offset tolerance ±145 mV
ADC TI TLA2024, 12-bit, ±2.048 V range
Resolution 1.87 µV per count at the electrodes
Sample rate 1 kSPS paced by the library; 500 SPS on 8-bit AVR Arduinos
Interface I²C / Qwiic, address 0x49 (0x48 via the ADDR jumper)
Supply 3.3 V on Qwiic; 3.3 – 5 V on the header
Right-leg current limit 390 kΩ (≤ 4.2 µA into the body)
Board 40.0 × 28.8 mm, 4 × M2 mounting holes

Hardware Overview

Protocentral easyECG front: two Qwiic ports, the 1×4 header labelled SCL, SDA, VCC and GND, test points labelled INA OUT, OUT, DRL, VMID and GND, the ADDR jumper and the 3.5 mm electrode jack

Test point What you’ll see there
INA OUT The in-amp output, ×11, including the electrode offset
OUT The final signal going into the ADC, ×535, centred on VMID
VMID The buffered 1.65 V mid-rail that the signal is centred on
DRL The right-leg drive output
GND Ground, for your probe clip

Protocentral easyECG back: the signal chain printed as a block diagram, from ESD and RF protection through the in-amp, high-pass, gain stage and low-pass to the 12-bit ADC

I²C address

The board ships at 0x49. To move it to 0x48, cut the bridge on the ADDR jumper and bridge the 0x48 side, then construct the library object with easyECG ecg(EASYECG_I2C_ADDR_ALT);.

Wiring

Option 1 — Qwiic (solderless)

Connect a Qwiic / STEMMA QT cable from your board’s Qwiic port to either port on easyECG. That’s all: the cable carries power, ground, SDA and SCL. The Qwiic port runs at 3.3 V.

Protocentral easyECG connected by a Qwiic cable to a Qwiic port on an I²C shield, on an Arduino-format host board, with the electrode cable plugged into its 3.5 mm jack

On some boards the Qwiic port is a second I²C bus. On an Arduino UNO R4 WiFi, for example, it’s Wire1, so call ecg.begin(Wire1); and Wire1.setClock(400000);.

Option 2 — I²C over the 0.1″ header

No Qwiic port? easyECG needs only two I²C lines plus power and ground. Solder the included header and wire it up:

easyECG pin Arduino Uno / Nano ESP32 (default I²C) Raspberry Pi Pico Raspberry Pi
VCC 5V 3.3V 3V3 OUT (pin 36) 3V3 (pin 1)
GND GND GND GND (pin 38) GND (pin 6)
SDA A4 GPIO21 GP4 (pin 6) GPIO2 (pin 3)
SCL A5 GPIO22 GP5 (pin 7) GPIO3 (pin 5)

SCL is the square pad. The header takes 3.3 – 5 V and has its own regulator and level shifting, so a 5 V Arduino can drive it directly. On the Pico and the Raspberry Pi, use the MicroPython driver rather than the Arduino library.

Through easyISO

For a mains-powered host, connect the host to the IN side of an easyISO and easyECG to the OUT side. No code changes are needed. See the easyISO guide.

Placing the electrodes

Plug the cable into the 3.5 mm jack and snap a fresh electrode onto each lead.

Three-electrode placement for easyECG: LA below the left collarbone, RA below the right collarbone, RL on the lower right abdomen. The recorded lead is Lead I, LA minus RA.

Lead Colour Jack contact Chest (recommended) Limb
LA Green Sleeve Below the left collarbone Left wrist or forearm
RA Red Ring Below the right collarbone Right wrist or forearm
RL Yellow Tip Lower right abdomen, or over the hip bone Right leg or ankle

Chest placement gives a larger R-wave than wrists, and it keeps forearm muscle noise out of the trace. For a clean signal:

  • Wipe the skin with alcohol and let it dry.
  • Twist the three leads together.
  • Sit still with your arms relaxed and supported.
  • Give the gel a minute or two to settle.

Installing the library

  1. In the Arduino IDE, open Tools → Manage Libraries.
  2. Search for ProtoCentral easyECG and click Install.

Or download the library from GitHub and use Sketch → Include Library → Add .ZIP Library. It has no other dependencies.

Seeing your first heartbeat

OpenView is our desktop app for live plotting and recording, and it’s the way to see the ECG. The Arduino Serial Plotter can’t keep up with the sample rate, so the trace isn’t visible there.

  1. Install OpenView, and keep your laptop on battery with the charger unplugged.
  2. Upload File → Examples → ProtoCentral easyECG → 04.OpenView. Sit still for the first second while it zeroes the baseline.
  3. Close any Serial Monitor or Serial Plotter window, because they hold the port.
  4. In OpenView, open Connect and choose USB. Select easyECG Breakout on OpenView 3.4 or later, or ADS1292R Breakout on earlier versions. Don’t select MAX86150: its baud rate doesn’t match, so it never locks on.

easyECG in OpenView 3.4 with the easyECG Breakout profile, scaled with Auto: tall QRS spikes with P and T waves on the filtered ECG, a heart rate of 80 bpm and a signal check reading OK

Reading the trace

You should see a repeating heartbeat: a small P wave, the tall narrow QRS spike, then a broader T wave. The heart rate needs about two seconds to learn your signal level, and a few beats more to settle. Until then it has no reading.

If the trace is upside down, LA and RA are swapped.

On OpenView 3.4 or later, two tiles sit beside the trace:

  • Heart rate, in bpm.
  • Signal, the library’s check on the electrodes: OK, Lead-off or mains pickup, or Amplifier saturated.

When the signal isn’t OK, the heart-rate tile dims, because a reading from a bad signal can’t be trusted. A loose or missing electrode looks like this:

OpenView with an easyECG electrode pulled off: the filtered ECG wanders and jumps instead of showing heartbeats, the heart-rate tile is dimmed, and the Signal tile warns Lead-off or mains pickup

Press the electrode back on and give the trace a few seconds. The warning clears, and the heart rate comes back a few beats later.

Paper draws an ECG-paper grid at a fixed scale, printed at the bottom of each strip; Gain changes it. Auto fits the trace to the strip instead.

Before OpenView 3.4, the ADS1292R Breakout profile keeps its own labels, so here’s what each one means for easyECG:

OpenView shows Actually is
ECG Filtered ECG, in counts
Respiration Unfiltered ECG, so you can see what the filters remove
heartRate Heart rate, bpm
respRate Signal status: 0 = OK, 1 = lead-off or mains pickup, 2 = amplifier saturated

Using the library in your own sketch

This sketch prints the filtered ECG and heart rate, as a starting point for your own code:

#include <Wire.h>
#include "ProtoCentral_easyECG.h"

easyECG ecg;

void setup() {
    Serial.begin(115200);

    if (!ecg.begin()) {
        Serial.println("easyECG not found - check wiring and I2C address (0x49).");
        while (1) delay(1000);
    }
    Wire.setClock(400000);

    // ecg.setNotch(60.0f);       // uncomment where mains is 60 Hz

    ecg.calibrateBaseline(1000);  // one second, sitting still
}

void loop() {
    if (ecg.update()) {           // true each time a filtered sample is ready
        Serial.print("ECG_uV:");
        Serial.print(ecg.ecgMicrovolts(), 1);
        Serial.print(",BPM:");
        Serial.println(ecg.heartRate(), 0);
    }
}

Disconnect the charger if you’re on a laptop, upload the sketch, then open Tools → Serial Monitor at 115200 baud.

Call update() as often as you can and keep the rest of loop() short. The filters are built for an exact sample rate, so update() samples on a fixed clock and never blocks.

Microvolt readings use the design gain of ×535. The trace shape and heart rate don’t depend on it.

Other examples

Find these under File → Examples → ProtoCentral easyECG:

Example What it does
01.BasicReading Filtered ECG in counts and µV
02.SerialPlotter Filtered and unfiltered values for the Serial Plotter, which can’t keep up with the sample rate; use 04.OpenView to see the ECG
03.HeartRate Heart rate on every beat, with an LED blink and signal-quality messages
04.OpenView Streams to the OpenView desktop app
05.Diagnostics I²C scan, config read-back, ADC check, then noise, mains and heart rate every 2 s

Troubleshooting

Start with 05.Diagnostics. It reports whether the board is on the bus, whether the configuration took, and what the signal is doing.

Symptom Likely cause What to try
“easyECG not found” Wiring, or a different address Check the cable and run 05.Diagnostics. The board ships at 0x49
Flat line, saturated Mains-powered host Unplug the charger, or use an easyISO
Flat line, saturated Electrode off Check all three snaps and pads
Small R-wave Limb placement Move to the chest positions
Busy baseline between beats, little mains Muscle tension or poor contact Relax, re-prep the skin, use fresh electrodes
Strong mains hum Loose electrode, long untwisted leads, a nearby mains cable, or the wrong notch Fix the contact, twist the leads, and set the notch to your mains frequency
missedSamples() keeps growing loop() is doing too much Shorten it, or lower the ADC rate with setSampling()
Inverted trace LA and RA swapped Swap the two electrodes

Where next