Monitor ECG Anywhere

by Upside Down Labs in Circuits > Sensors

2069 Views, 13 Favorites, 0 Comments

Monitor ECG Anywhere

NPG CARDIO SCREEN RECORDING (4).gif
NPG CARDIO SCREEN RECORDING (4).gif

In this project, you'll build a live ECG monitoring system using NPG Lite Cardio and Neuro PlayGround Lite. It's a web-based ECG monitor that lets you visualize your heart's electrical activity and measure your heart rate in real time—without installing any software.

Simply connect your NPG Lite over Bluetooth to view a live ECG waveform along with your heart rate. It works on Windows, Mac, Linux, Android, and basically any device with a Chromium-based browser. If you're using any iOS device, simply use a BLE-enabled browser such as Bluefy to connect with NPG Lite Cardio.

Before we jump into the setup, let's quickly understand what an ECG is.

ECG stands for Electrocardiogram. It records the electrical activity of your heart. The waveform you'll see has three main parts: the P wave, which represents atrial contraction; the QRS complex, which is the large spike produced when the ventricles contract; and the T wave, which represents the heart relaxing before the next beat.

This pattern repeats with every heartbeat, and observing these waveforms helps us better understand how the heart is functioning.

By the end of this project, you'll know how to connect your Neuro PlayGround Lite over Bluetooth, place the electrodes correctly, and start monitoring your ECG and heart rate directly from your browser in just a few minutes.

Watch the complete tutorial for this project on YouTube.

Supplies

Explorer pack with text.png
NPG Ninja Pack Main with text.png
NPG Beast with text main.png

Before getting started, gather the following items:

Hardware

  1. Neuro PlayGround Lite (Explorer, Ninja, or Beast Pack)
  2. 3 BioAmp Snap Cables
  3. Gel Electrodes
  4. NuPrep Skin Preparation Gel / Alcohol swabs
  5. USB Type-C cable
  6. Phone or laptop with Bluetooth

Software

  1. Chromium-based browser such as Chrome, Edge, Brave, Opera, or Vivaldi. For iOS, use a BLE-enabled browser like Bluefy.
  2. NPG Lite Flasher Web
  3. NPG Lite Cardio

What Is an ECG?

NPG Lite Cardio YT Video Assests.png

ECG stands for Electrocardiogram.

It records the electrical activity of your heart. Every heartbeat creates an electrical signal, and this signal appears as a waveform on the screen.

A normal ECG contains:

  1. P Wave – Upper chambers of the heart contract.
  2. QRS Complex – The large spike showing the main heartbeat.
  3. T Wave – The heart relaxes before the next beat.

Watching these waves helps you understand how your heart works.

Prepare Your Skin

ECG monitoring on mobile phone.gif
ECG.png

Before applying the electrodes, it's important to prepare your skin properly. Good skin preparation improves electrode contact and helps produce a much cleaner ECG signal.

You can choose either of two electrode placement methods:

  1. Chest placement, which generally provides cleaner ECG recordings.
  2. Wrist placement, which is more convenient for quick demonstrations.


Clean the electrode placement areas with an alcohol swab or wet wipe.

For even better signal quality, you can optionally apply a small amount of Nuprep Skin Preparation Gel before cleaning the skin.

Allow the skin to dry before placing the electrodes.

Proper skin preparation removes oils and dead skin cells, improving electrode contact and signal quality.

Place the Electrodes

ECG monitoring on mobile phone (1).gif
ECG.png

Now, connect the snap cables to the gel electrodes and peel off the plastic backing.

Option 1 – Chest ECG Placement

For a cleaner ECG signal, use the chest placement:

  1. Place one electrode on the left side of your chest, just below the collarbone.
  2. Place the second electrode slightly to its right, leaving a small gap between them.
  3. Place the third electrode on the right side of your chest.

Option 2 – Wrist ECG Placement

For a quick and convenient setup:

  1. Place one electrode on your left hand.
  2. Place one electrode on your right hand.
  3. Place the third electrode on the back of your palm.

Connect the Snap Cables

ECG monitoring on mobile phone (2).gif
ECG.png

Once the electrodes are in place, connect the other ends of the snap cables to your Neuro PlayGround Lite as follows:

  1. Connect the negative (−) cable (from the left chest electrode or left hand) to A0N.
  2. Connect the positive (+) cable (from the middle chest electrode or right hand) to A0P.
  3. Connect the reference cable (from the right chest electrode or the back of your palm) to REF.

Flash the NPG Lite Firmware

M2w instructable (3).gif
M2w instructable (4).gif
NPG CARDIO SCREEN RECORDING.png
24.png
21.png
20.png
23.png
59d9834f-2827-4fef-9235-308e45ca11ea.png

The first step is flashing the correct firmware onto your NPG Lite.

We'll be using the NPG Lite BLE firmware, and the easiest way to install it is with NPG Lite Flasher Web—no Arduino IDE required.

  1. Turn on your NPG Lite using the power switch and make sure the battery is connected correctly.
  2. Connect your NPG Lite to your computer using a USB Type-C cable.
  3. Open NPG Lite Flasher Web in your browser.
  4. Click Connect and select the USB device named USB JTAG.
  5. Select the NPG Lite BLE firmware and click Flash.
  6. Wait a few seconds while the firmware is uploaded.

Once flashing is complete, disconnect the USB cable.

Your NPG Lite is now ready to work completely wirelessly. Just make sure the battery is connected and sufficiently charged before using NPG Lite Cardio.

Connect to NPG Lite Cardio

Screenshot 2026-07-10 145444.png
25.png
26.png
27.png
28.png
29.png

Now it's time to connect your NPG Lite to the ECG monitor.

Before connecting, make sure your NPG Lite is not connected to a charger, and try to sit at least one meter away from AC-powered appliances for the cleanest possible ECG signal.

Enable Bluetooth on your phone or laptop.

Important: Do not pair your NPG Lite through your operating system's Bluetooth settings. Always connect directly from within the browser.

Now open NPG Lite Cardio in your browser.

  1. Click Connect.
  2. Select your NPG Lite from the list of available Bluetooth devices.
  3. Click Pair.

Within a few seconds, your live ECG waveform will begin streaming in real time, along with your heart rate.

Explore the Interface

download (2).gif

Once connected, you'll see:

  1. Live ECG waveform
  2. Heart Rate (BPM)
  3. Heartbeat animation

The app automatically detects each heartbeat using the Pan-Tompkins algorithm, making the heart rate measurement accurate even when there is a little noise.

Learn the Controls

30.png
31.png
32.png
33.png

The app includes several useful controls.

Information

Shows details about the ECG display and filters.

Theme

Switch between Light Mode and Dark Mode.

Fullscreen

Toggle full screen mode.

Disconnect

Safely disconnects your NPG Lite.

At the bottom of the screen you'll find:

  1. Connect
  2. Record
  3. Peaks (Show or hide heartbeat markers)
  4. DC Filter (Removes slow baseline movement)

If the ECG Looks Upside Down

Screenshot 2026-07-10 150556.png
download (5).gif

If your ECG waveform is inverted, don't worry.

Simply swap the positive (+) and negative (−) electrodes.

The waveform will immediately appear in the correct orientation.

Record Your ECG

download (6).gif
NPG CARDIO SCREEN RECORDING (2).png
NPG CARDIO SCREEN RECORDING (3).png

Click Record to start recording.

A timer shows how long you've been recording.

Recordings must be at least 12 seconds long.

When you stop recording, it is automatically saved in your browser.

View Your Recordings

NPG CARDIO SCREEN RECORDING (2).png
NPG CARDIO SCREEN RECORDING (3).png
43.png
download (8).gif

Open the Recordings section to:

  1. Replay old recordings
  2. Scroll through the ECG
  3. Use the minimap to jump to different parts
  4. Rename recordings
  5. Download them as CSV files
  6. Delete recordings you no longer need

Save Your Data

NPG CARDIO SCREEN RECORDING (2).gif
NPG CARDIO SCREEN RECORDING (5).png
NPG CARDIO SCREEN RECORDING (4).png
NPG CARDIO SCREEN RECORDING (6).png

Your recordings are stored locally in your browser.

If you clear your browser's site data, your recordings will be deleted.

If you want to keep them, download the CSV files before clearing your browser.

Conclusion

NPG CARDIO SCREEN RECORDING (3).gif

You've successfully set up NPG Lite Cardio!

You can now:

  1. View a live ECG
  2. Monitor your heart rate
  3. Record ECG sessions
  4. Replay recordings
  5. Export ECG data as CSV

All of this works directly in your browser without installing any software.

If you found this project helpful, leave a comment below and share what you build with NPG Lite. Happy making!

Video Tutorial

Introducing NPG Lite Cardio: Monitor Heartrate on your Phone or PC with Neuro PlayGround Lite

The full step-by-step tutorial for this project is available on our YouTube channel, where we explain every step in detail—from hardware setup and wiring to programming and testing.