See the stars

GentleCardia Specification

Home / GentleCardia / GentleCardia Specification

GentleCardia

Open infrastructure for human health.


GentleCardia is an open, modular specification for cardiac biosensing systems. Released under the GNU Affero General Public License v3.0 or later (AGPL-3.0+), the specification defines a standardized architecture for acquiring, processing, analyzing, and exchanging cardiac electrical signals while emphasizing patient safety, transparency, interoperability, and extensibility.

Rather than defining a single hardware device, GentleCardia establishes a reusable framework that hardware manufacturers, software developers, researchers, healthcare innovators, educators, and open-source communities can implement and extend. Every layer of the specification is modular, allowing implementations ranging from educational development boards to advanced research platforms and future clinical-grade systems.


Objectives

  • Create an open cardiac biosensing infrastructure.
  • Standardize ECG acquisition architectures.
  • Promote transparent and reproducible biosignal processing.
  • Encourage modular hardware and software ecosystems.
  • Improve interoperability between devices.
  • Enable AI-assisted cardiac research.
  • Support privacy-first, local-first deployments.
  • Eliminate vendor lock-in through open specifications.
  • Encourage community-driven innovation.
  • Prioritize safety-first engineering practices.

Design Principles

  • Modular architecture
  • Safety-first engineering
  • Hardware independence
  • Software interoperability
  • Open communication standards
  • Human-centered design
  • Local-first operation
  • Privacy by default
  • AI-assisted, not AI-controlled
  • Transparent processing pipelines
  • Extensible specification ecosystem
  • Long-term backward compatibility

Core Specification Modules

1. Sensor Acquisition Module

Defines standardized interfaces for cardiac signal collection.

Features

  • 3-lead ECG support
  • 5-lead ECG support
  • Expandable multi-lead architectures
  • Ag/AgCl electrode compatibility
  • Dry electrode compatibility
  • Lead impedance monitoring
  • Electrode identification
  • Lead-off detection
  • Signal quality metrics
  • Motion artifact detection
  • Noise characterization
  • Standardized connector definitions

2. Analog Signal Acquisition Module

Reference architecture for safe biopotential acquisition.

Features

  • Instrumentation amplifier architecture
  • High common-mode rejection
  • Low-noise analog design
  • Configurable gain stages
  • Hardware filtering
  • Right-leg drive support
  • Input protection circuits
  • ESD protection
  • Patient isolation requirements
  • Hardware diagnostics
  • Calibration procedures
  • Self-test capability

3. Digital Signal Processing Module

Defines standardized digital processing pipelines.

Features

  • Configurable sampling rates
  • 16-bit ADC support
  • 24-bit ADC support
  • Baseline wander removal
  • Adaptive filtering
  • Notch filtering
  • Motion compensation
  • Signal normalization
  • Noise reduction
  • Signal quality scoring
  • Peak detection
  • Waveform segmentation

4. Embedded Runtime Module

Provides real-time embedded operation.

Features

  • Hardware abstraction layer
  • Real-time scheduling
  • DMA acquisition
  • Interrupt management
  • Power management
  • Sleep modes
  • Secure boot
  • Firmware verification
  • OTA update support
  • Fault recovery
  • Watchdog supervision
  • Configuration management

5. Communication Module

Defines interoperable communication standards.

Features

  • Bluetooth Low Energy
  • USB
  • UART
  • SPI
  • I²C
  • Ethernet support
  • Wi-Fi support
  • Local network discovery
  • Secure communications
  • Device capability negotiation
  • Standard messaging protocol
  • Multi-device synchronization

6. Data Standardization Module

Provides portable cardiac data formats.

Features

  • Open waveform formats
  • Timestamp synchronization
  • Metadata schemas
  • Patient anonymization
  • Event annotations
  • Recording sessions
  • Device metadata
  • Signal provenance
  • Calibration records
  • Version compatibility
  • Import/export standards

7. Visualization Module

Reference interfaces for waveform presentation.

Features

  • Real-time ECG display
  • Multi-lead visualization
  • Historical playback
  • Interactive measurements
  • Annotation tools
  • Signal overlays
  • Trend graphs
  • Zoom and pan
  • Custom dashboards
  • High-resolution rendering

8. AI Intelligence Module

Defines transparent AI integration.

Features

  • QRS detection
  • Heart rate calculation
  • Heart rate variability
  • Rhythm classification
  • Signal anomaly detection
  • Artifact classification
  • Confidence scoring
  • Explainable AI interfaces
  • Human review workflows
  • Local inference support
  • Model interoperability
  • AI audit logging

9. Security Module

Protects device integrity and data.

Features

  • Secure boot
  • Firmware signing
  • Encrypted storage
  • Encrypted communication
  • Authentication
  • Authorization
  • Key management
  • Audit logs
  • Secure configuration
  • Device identity
  • Tamper detection

10. Safety Module

Defines patient protection requirements.

Features

  • Battery-powered operation
  • Electrical isolation guidance
  • Current limiting
  • Fault monitoring
  • Lead failure detection
  • Thermal monitoring
  • Emergency shutdown
  • Diagnostic self-tests
  • Hardware validation
  • Safety event logging
  • Risk assessment framework

Optional Plug-in Modules

Implementations may include any combination of optional modules.


Wearable Module

  • Chest straps
  • Smart clothing
  • Patch ECG
  • Wearable power management
  • Low-power optimization

Remote Monitoring Module

  • Remote telemetry
  • Home monitoring
  • Caregiver dashboards
  • Event notifications
  • Offline synchronization

Clinical Research Module

  • Research metadata
  • Multi-subject studies
  • Trial management
  • Long-duration recording
  • Protocol management

AI Research Module

  • Machine learning datasets
  • Federated learning
  • Model benchmarking
  • Explainability tools
  • Synthetic signal generation

Developer SDK Module

  • REST API
  • C SDK
  • C++ SDK
  • Rust SDK
  • Python SDK
  • Java SDK
  • JavaScript SDK
  • WebAssembly SDK

Cloud Integration Module

  • Hybrid deployments
  • Distributed processing
  • Secure synchronization
  • Multi-device aggregation
  • Cloud APIs

Mobile Module

  • Android support
  • iOS support
  • Offline operation
  • Local visualization
  • BLE management

Educational Module

  • Interactive tutorials
  • Simulated ECG generation
  • Training datasets
  • Learning exercises
  • Classroom deployments

Accessibility Module

  • High-contrast interfaces
  • Screen reader compatibility
  • Keyboard navigation
  • Configurable typography
  • Color accessibility

Hardware Expansion Module

  • Environmental sensors
  • Pulse oximetry
  • Respiration monitoring
  • Blood pressure integration
  • Temperature sensing
  • IMU support
  • Multi-sensor fusion

Future Specification Modules

The architecture is designed for future expansion.

Examples include:

  • Digital Twin Module
  • Predictive Health Module
  • Biofeedback Module
  • Rehabilitation Module
  • Emergency Response Module
  • Hospital Integration Module
  • Edge AI Module
  • Robotics Interface Module
  • Medical Imaging Integration Module
  • Multi-Biosignal Fusion Module

Reference Technology Stack

Hardware

  • Open PCB reference designs
  • Precision analog front ends
  • 16–24 bit ADC architectures
  • Low-power microcontrollers
  • ARM Cortex-M support
  • RISC-V support
  • FPGA compatibility
  • Isolated power systems
  • Battery management systems

Firmware

  • C
  • C++
  • Rust
  • Embedded RTOS support
  • Secure firmware updates
  • Hardware abstraction layers

Software

  • Python
  • Rust
  • C++
  • JavaScript
  • TypeScript
  • WebAssembly
  • Cross-platform desktop applications
  • Browser-based visualization

Data

  • JSON
  • CBOR
  • Protocol Buffers
  • CSV
  • EDF
  • HDF5
  • SQLite
  • Time-series databases

Artificial Intelligence

  • ONNX
  • TensorFlow Lite
  • PyTorch
  • TinyML
  • Explainable AI pipelines
  • Federated learning
  • Edge inference

Intended Applications

  • Open-source ECG devices
  • Educational laboratories
  • Biomedical engineering
  • Research platforms
  • Wearable technologies
  • Telehealth systems
  • Human-computer interaction
  • AI health research
  • Remote patient monitoring
  • Emergency response systems

Project Goals

GentleCardia aims to establish an open ecosystem for cardiac biosensing that enables collaboration across academia, industry, healthcare, and open-source communities. By defining interoperable standards instead of proprietary implementations, the specification encourages innovation while maintaining transparency, safety, and long-term sustainability.


Specification Branding License (SBL)

Standard

Optional


License & Notice Requirements

GentleCardia is released under the GNU Affero General Public License v3.0 or later (AGPL-3.0+).

By contributing to any Open Arsenal project, you agree that your contributions will also be released under this license.

Please note the following:

  • All contributions must comply with the AGPL-3.0+ terms.
  • Under Section 7 of the license, all redistributions, forks, and derivative works must preserve attribution to Roxanne Ardary and https://www.roxanneardary.com/.
  • GentleCardia specifications are free to use with attribution. A Specification Branding License can be negotiated upon request.
  • The project’s notice.md file tracks attribution requirements and contributor acknowledgments. Any update that adds new contributors or modifies attribution should also update notice.md.
  • When submitting a pull request, ensure that any new files maintain the attribution headers where applicable.
  • Network-deployed versions of this software must also remain fully AGPL-3.0+ compliant, including exposure of source code modifications when applicable under the license.

For full legal details, please refer to the AGPL-3.0+ license and the project’s notice.md file.


Notice – GentleCardia

Attribution Requirement: Under Section 7 of the AGPL 3.0+ license, all redistributions, forks, and derivative works, including network-deployed versions of this project, must provide attribution to Roxanne Ardary and roxanneardary.com.

Contributors

This file tracks contributors and their specific contributions to the project.

  • Roxanne Ardary, roxanneardary.com – July 30, 2026
    Created the GentleCardia repository and authored the open, modular AGPL-3.0+ specification defining a safety-first infrastructure for cardiac biosensing, signal acquisition, processing, interoperability, and future extensible health technologies.
  • [Add other contributors here] – [Date]
    [Describe contribution in one sentence]

License – GentleCardia

This repository is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0+).

Key Points:

  • You are free to use, modify, and distribute the code.
  • All redistributions, forks, and derivative works or network-deployed versions must also be licensed under AGPL-3.0+ and provide attribution to Roxanne Ardary and roxanneardary.com as required under Section 7 of the license.
  • The software is provided “as is,” without warranty of any kind.

For the full license text, see GNU AGPL-3.0 License.