HeartyPatch – Open source ECG patch with Wifi

HeartyPatch is a completely open source, single-lead, ECG-HR wearable patch with HRV (Heart Rate Variability) analysis. It is based on the popular ESP32 system-on-a-chip. By using low-cost, highly-integrated components, we are able to keep the BOM’s cost low, while the simplicity of the circuit design means future expansion will be easier. HeartyPatch can be used both as a lifestyle device for managing fitness and stress as well as for diagnostics and medical research, with the potential for even more interesting applications.


Currently available low-cost, wearable heart monitors are usually based on less accurate optical measurements while the actual electrocardiography-based monitors are either too expensive or difficult to use. Similarly, heart-rate variability (HRV) data is used in fitness and training, but can also be used to detect some of the basic cardiac arrhythmias. Getting accurate R-R intervals for HRV studies is also tricky with most heart-rate monitors.

What is Heart-rate Variability?

Heart-rate variability, or HRV, is a measure of the variance of heart-rate in real-time. More specifically, it is the time difference between two R-R intervals (the signal peaks) in an electro-cardiogram (ECG or EKG) plot.

Studies of heart-rate variability have shown that HRV can be indicative of some common forms of arrhythmia, including atrial fibrillation (AF) and atrial tachycardia (AT), among others. HRV can be detected with a single lead ECG, like HeartyPatch, which, for cardiac patients being monitored for such forms of arrhythmia, is much easier to wear long term than a full Holter configuration (three or five leads).

In fitness applications, some high-performance athletes train using biofeedback for heart-rate control and also for knowing when to start and stop training (based on heart-rate).

HRV has also be known to reflect emotion, mood, anxiety, and stress. When such psychological events happen, there is a known pattern of variance in heart rate. This makes HRV useful tool for studying mood and managing stress in people who are prone to such psychological states.

Finally, since HeartyPatch can detect individual heart-beats in real-time, it can also be used in the areas of design and non-medical wearables to detect heart beats to activate lights or any other form of feedback. Cardio-biofeedback is an example of controlling heart-rate.

Who Needs HeartyPatch

  • Medical professionals, caregivers, and researchers (for continuous event monitoring)
  • High performance sports and fitness professionals (for precision cardio training)*
  • Hardware/software developers (as a reference design)
  • Curious poeple (because knowing your own heart-patterns is cool)

*Activities that cause sweating can prevent adhesive electrodes from adhering properly.

HeartyPatch Modes of Operation

HeartyPatch is open source. This means that the software on the device can be modified to work in any way you choose, providing access to raw heart-rate and inter-beat interval (IBI) data. Because of this flexibility, HeartyPatch can be operated in any or all of the following modes. * Continuous ECG streaming mode displays live ECG recording from the chest. This works similar to a heart-rate monitor. Below is a screen capture of the device working in ECG mode.

Read more: HeartyPatch – Open source ECG patch with Wifi

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.