Submitted:
08 October 2026
Posted:
19 October 2026
You are already at the latest version
Abstract
The expansion of the Internet of Medical Things (IoMT) has increased the demand for real-time electrocardiogram (ECG) monitoring on wearable devices. However, implementing signal processing on ultra-low-power edge nodes is constrained by hardware limitations, specifically the absence of a Floating-Point Unit (FPU) and restricted SRAM capacity. This paper presents a resource-efficient framework for real-time R-peak detection optimized for 8-bit microcontrollers. The core component is a piecewise-polynomial smoothing algorithm based on Hermite splines, integrated directly into the ADC sampling loop. To maintain signal integrity under motion artifacts, a cascading filtering architecture is employed, operating on fixed-size frame buffers with a peak memory footprint of approximately 2.3 KB. Detection performance was evaluated on physical hardware signals (AD8232/ATmega2560) recorded during rest and physical activity, while reference recordings from the MIT-BIH Arrhythmia Database served as a morphological reference. Statistical analysis using ensemble averaging and point-wise confidence intervals (96% confidence level, D = 2.05) confirmed that the filtering process suppresses quantization noise and myographic artifacts without distorting the physiological morphology of the ECG. Experimental evaluation demonstrated a sensitivity (SEN) of 94.67–99.83%, a positive predictive value (PPV) of 99.30–100%, and a mean F-score of 98.95%. Extracting and transmitting metadata (RR intervals) instead of raw signal samples reduces network traffic and overall power consumption in autonomous edge-based cardiac monitoring nodes.
Keywords:
electrocardiogram
; piecewise-polynomial approximation
; R-peaks
; smoothing
; differentiation
; MIT-BIH
; edge computing
1. Introduction
The development of the Internet of Medical Things (IoMT) enables a transition from episodic clinical examinations to continuous, autonomous electrocardiogram (ECG) monitoring. For patients with cardiovascular diseases, continuous monitoring must be reliable and accessible in daily life, driving the adoption of wearable devices based on low-cost microcontrollers and sensors.
However, using low-cost hardware components introduces data quality limitations. Unlike standardized clinical records acquired by professional electrocardiographs (which form reference databases such as the MIT-BIH Arrhythmia Database [1]), ECG signals from portable devices contain notable instrumental errors and interference. Signal quality is degraded by low-frequency baseline wander (caused by patient respiration and changes in electrode contact resistance) and high-frequency myographic motion artifacts. The combined impact of these factors distorts the QRS complex morphology, making direct analysis unfeasible without prior mathematical processing.
In conventional IoMT architectures, this problem is addressed by transmitting raw signals to external mobile devices, personal computers, or cloud services for further processing (e.g., using wavelet transforms [2] or convolutional neural networks [3]). However, this cloud-centric approach has functional limitations: continuous wireless transmission of raw analog-to-digital converter (ADC) samples depletes battery power, creates network overhead, and introduces latency during critical event detection.
The Edge Computing paradigm shifts data processing directly to the end node—the wearable device microcontroller. However, standard digital filtering and machine learning algorithms require significant computational resources, specifically hardware Floating-Point Units (FPUs) and substantial Random-Access Memory (RAM). Low-cost, energy-efficient microcontrollers (such as the 8-bit ATmega family) used in entry-level edge devices possess constrained resources (2 to 8 KB SRAM) and lack FPU support, preventing the direct deployment of conventional algorithms.
To address these constraints, this paper presents a resource-efficient framework for local ECG morphology restoration and R-peak detection optimized for ultra-low-power edge nodes. The approach utilizes a piecewise-polynomial smoothing method executed directly within the data acquisition loop. This enables signal filtering and metadata extraction (cardiac cycle timings) without buffering large data arrays.
The main scientific and practical contributions of this work are as follows:
- Optimization of a polynomial smoothing algorithm for 8-bit microcontrollers lacking an FPU, utilizing integer arithmetic and fixed-length frame buffers to bound SRAM consumption.
- Development of a cascading filtering architecture that suppresses high-frequency noise and hardware artifacts during streaming ADC data acquisition prior to QRS complex logical analysis.
- Experimental validation of the algorithm on both reference clinical data (MIT-BIH) and raw noisy signals acquired from an entry-level AD8232 analog front-end under rest and physical activity conditions.
- Demonstration of a processing paradigm shifting from raw ECG data streaming to metadata-only transmission (R-peak timestamps), thereby reducing network traffic and wireless communication module energy consumption.
The remainder of this paper is organized as follows. Section 2 provides a review of existing digital filtering methods and hardware architectures for ECG monitoring, focusing on their limitations for entry-level edge devices. Section 3 details the methodology, including the overall framework concept, mathematical formulation of the piecewise-polynomial approximation, frame-based algorithmic implementation, and hardware setup parameters. Section 4 presents experimental results, including signal morphology restoration, statistical validation, and quantitative detection accuracy metrics. Section 5 discusses computational efficiency, energy consumption, and study limitations. Section 6 summarizes the conclusions and outlines future research directions.
2. Related Works
Existing approaches to automated electrocardiogram analysis can be broadly categorized into three domains: classical digital signal processing algorithms, machine/deep learning methods, and hardware-software solutions for Internet of Medical Things (IoMT) systems. Each category exhibits specific constraints when deployed on ultra-low-power edge devices.
2.1. Classical Algorithms and Digital Filtering
Threshold-based algorithms analyzing the rate of signal change remain a foundational approach to automated ECG processing. A classic representative of this family is the Pan-Tompkins algorithm [4], which established a benchmark in biomedical engineering due to its balance between accuracy and computational complexity. However, its conventional implementation involves multi-stage digital filtering (bandpass filtering, differentiation, squaring, and moving-window integration). These stages require careful state and buffer management on basic 8-bit architectures; floating-point arithmetic is not inherently required. More complex mathematical techniques, such as wavelet transforms [2], provide superior morphology extraction but demand even greater computational resources.
2.2. Cloud Computing and Neural Network Approaches (Deep Learning)
Recent studies increasingly propose complex mathematical frameworks and deep learning methods. Studies [5,6] introduced neural network architectures to improve arrhythmia detection accuracy, with [5] utilizing convolutional neural networks (CNNs) achieving performance comparable to clinical cardiologists.
Because deploying such models on microcontrollers is challenging, most systems rely on a cloud-oriented (Cloud-IoT) paradigm, where the sensor node solely acquires raw data and transmits it to a server [7]. The primary limitation of this approach is energy consumption: continuous wireless transmission of uncompressed ECG signals (typically sampled at 250–500 Hz) is the primary contributor to battery depletion in wearable devices [8]. Although the TinyML domain (deploying reduced neural networks on microcontrollers) [9] has expanded in recent years, such solutions typically target 32-bit processors (e.g., ARM Cortex-M or ESP32) and may require substantially more RAM than ultra-budget 8-bit hardware platforms.
2.3. Hardware IoMT Prototypes and Their Limitations
An evaluation of existing hardware solutions for ECG monitoring reveals structural limitations. Comprehensive platforms, such as the e-Health Sensor Platform V2.0 [10], are legacy systems, physically bulky, and commercially unavailable, hindering study reproducibility.
Most contemporary projects built on off-the-shelf components depend on external computing (PC-dependent). For example, in the ArdMob-ECG project [11] and the system described in [12], the microcontroller acts exclusively as a data acquisition and transmission interface, while processing is offloaded to external environments such as MATLAB, Unity, Python, or LabVIEW. This reliance negates device autonomy. Conversely, efforts to build autonomous IoT prototypes with wireless transmission (e.g., based on Arduino Uno [13]) frequently encounter signal integrity issues. As noted in [14], breadboard connections act as antennas for electromagnetic interference, introducing noise that low-resource microcontrollers cannot suppress programmatically.
Consequently, an operational trade-off exists: mitigating hardware noise from low-cost sensors requires mathematical processing, yet hardware constraints of wearable devices (specifically the lack of an FPU and SRAM capacity under 10 KB) make naive floating-point or batch implementations impractical. This justifies the development of algorithmically lightweight approximation methods capable of streaming processing on edge devices.
2.4. Relation to the Authors’ Previous Work
Two components of the proposed framework originate in the authors’ earlier work, and the boundary between that work and the present contribution is stated here explicitly. The controlled cubic spline construction that underlies the approximation scheme of Section 3.2 was introduced in [15], which establishes its approximation properties in analytical form. The threshold rule applied to the squared derivative, on which the detector of Section 3.3 is based, was introduced in [16], which also reported its evaluation on the MIT-BIH Arrhythmia Database.
The present study neither modifies the detection criterion of [16] nor claims its reference evaluation as a contribution. What is new here is the realization of that criterion under the constraints of an 8-bit microcontroller without a floating-point unit. The spline is specialized to a uniform grid, where the constraint imposed in Section 3.2 reduces the cubic polynomial to a quadratic one and each smoothing step collapses to integer additions and a right bit shift. The detector is implemented as a pipeline operating on buffers of fixed length, so that memory consumption is bounded by the frame length rather than by the duration of the recording. The node is then validated on signals acquired from a low-cost analog front-end under both rest and physical motion conditions, rather than on curated reference recordings alone. Finally, the transmission strategy of Section 5.3, in which the node emits R-peak metadata instead of the raw sample stream, is introduced here and has no counterpart in [15] or [16].
Accordingly, the two data sources used in this study serve distinct purposes. The MIT-BIH recordings are employed solely as a morphological reference, in the ensemble-averaged cardiac cycles of Section 4.2, and not for detection benchmarking: the evaluation of the detection criterion on that database was already reported in [16] and is not repeated here. The quantitative detection performance of Section 4.3 is instead obtained on signals acquired with the proposed hardware node under rest and physical motion, the operating conditions that the reference database does not represent.
3. Materials and Methods
This section details the architecture, mathematical foundation, and hardware implementation of the proposed resource-efficient ECG analysis framework. To address the hardware limitations of wearable nodes, conventional digital filtering methods are replaced with an optimized streaming processing pipeline. The following subsections describe the general framework concept (Section 3.1), the mathematical background of piecewise-polynomial approximation (Section 3.2), the frame-based algorithmic implementation (Section 3.3), the hardware setup (Section 3.4), and the datasets and evaluation metrics used for validation (Section 3.5).
3.1. Edge Computing Framework for ECG Analysis
The primary obstacle to deploying signal processing algorithms on 8-bit microcontrollers is limited Random-Access Memory (RAM). Conventional approaches (such as batch processing or infinite impulse response filtering) require buffering large arrays of analog-to-digital converter (ADC) samples prior to execution. For microcontrollers with 2 to 8 KB SRAM (such as the ATmega family), buffering several seconds of ECG data leads to memory overflow (stack/heap overflow) and system instability.
To resolve this limitation, processing is organized around buffers of fixed length. The acquisition loop fills a frame buffer of L samples, and the smoothing and R-peak detection pipeline is then executed on the completed frame, in place, before the next frame is acquired. Memory occupancy is therefore determined by L rather than by the duration of the recording.
The edge processing pipeline operates through the following stages:
- Acquisition and Primary Amplification: The Analog Front-End (AFE) captures biopotentials from the patient’s body, amplifies the signal, and performs hardware-level analog filtering.
- Digitization: The internal ADC converts the analog signal into discrete integer samples.
- Local Approximation: Rather than storing global data arrays, incoming samples are accumulated in a frame buffer of fixed length. Within this micro-window, piecewise-polynomial function parameters are calculated to smooth the signal and determine its local derivative.
- Threshold Detection: Using the derivative value, the algorithm identifies the QRS complex and records the R-peak timestamp.
- Metadata Generation: Instead of continuously broadcasting raw ECG samples via wireless communication modules (Wi-Fi/Bluetooth), the edge node transmits metadata—specifically inter-beat intervals (RR intervals).
This approach converts a high-frequency raw data stream into a low-frequency stream of diagnostic metadata. The mathematical framework selected for local approximation (Stage 3) must exhibit low computational complexity, avoid floating-point operations, and guarantee function continuity (C1). Second- and third-order piecewise-polynomial functions satisfy these criteria, as detailed in the following subsection.
3.2. Mathematical Background
Standard QRS detection algorithms (such as the Pan-Tompkins algorithm) rely on two core operations: signal smoothing (to attenuate high-frequency noise) and differentiation (to locate maximum slope points of the QRS complex). Applying standard FIR or IIR filters requires numerous multiplication-and-accumulation (MAC) operations, overburdening 8-bit processors.
Alternatively, a piecewise-polynomial approximation technique based on the controlled cubic spline construction of [15] is employed. This method reconstructs a continuous representation of a noisy discrete signal while calculating its analytical derivative with low computational overhead.
The Savitzky–Golay (SG) filter constructs an independent least-squares polynomial within each window. While this approach is optimal in the least-squares sense and effectively preserves the amplitude of narrow peaks, the polynomials of adjacent windows lack mutual consistency: when evaluated at the same point, they yield different values for both the function and its derivative. Therefore, the SG filter does not define a unified function between the grid nodes, and any positional refinement of characteristic points within inter-nodal intervals necessitates external interpolation, which is not an inherent component of the filter itself. In contrast, the proposed approach constructs a single continuously differentiable (C1) function across the entire observation interval. The continuity of the first derivative is fundamental here: it renders the derivative suitable for computation outside the grid nodes, whereas the continuity of the function alone is insufficient for this purpose. Consequently, the peak position of the QRS complex is determined by finding the roots of the derivative equation, rather than by searching for a maximum among discrete samples. As a result, the accuracy of its localization is no longer constrained by the discretization step.
Let the input ECG signal digitized by the ADC be represented at discrete uniform time points τi ∈ [τ1,τN], where the signal assumes values Fi. To construct a piecewise-polynomial approximation on each subinterval between adjacent grid nodes τi and τi+1, Hermite interpolation polynomials are constructed assuming known function values Fi,Fi+1 and first derivatives .
An auxiliary time grid Δx:τ1 ≤ x2<…<xN ≤ τN is defined, where the coordinates of the new nodes are calculated as:
At the nodes of the auxiliary grid xi, approximate function values fi and derivatives are determined:
Note: Because the ADC sampling frequency is constant, the denominator (τi − τi−1) remains constant, allowing division operations on the microcontroller to be replaced by multiplication by a precalculated constant or a bit-shift operation.
For intervals [xi,xi+1], where i = 2, …, N − 1, the third-degree piecewise polynomial is expressed in general form as:
With the imposed constraint ai = 0, the derivative boundary conditions in (4) lead to the following equations:
Setting ai = 0 reduces polynomial (3) from cubic to quadratic. The conditions imposed on H3i(x) are:
Thus, for a uniform grid, polynomials H2i(x) form a continuous quadratic function along with its first derivative, offering low computational overhead for 8-bit architectures.
Smoothed signal values are obtained by evaluating H2i(x) at points τi. Substituting equations (1)–(2) and (5)–(6) into equation (3) for a uniform grid yield:
The first derivative of the smoothed function for each local interval [xi,xi+1] is calculated as:
At x = τi, the term containing bi vanishes, and the derivative simplifies to a central difference derivative, which is exact for quadratic functions:
This formulation isolates the QRS complex slope thresholding without requiring floating-point arithmetic. Figure 1 illustrates the grid nodes used in the algorithm.
3.3. Algorithmic Implementation
Because the denominator in formula (7) is a power of two, a single smoothing step requires only three additions and three-bit shifts (the multiplication by six is realized as two left shifts and one addition, and the division by eight as a right shift by 3), avoiding floating-point computations. Formula (7) is structurally equivalent to a 3-tap FIR filter with coefficients [1,6,1]/8, where Hermite spline interpolation guarantees C1-continuity.
Based on these equations, a four-stage processing pipeline is constructed: cascading smoothing, calculation of the squared central difference derivative on falling slopes, thresholding, and peak localization.

3.4. Hardware Setup
To validate the proposed mathematical and algorithmic framework, an experimental hardware prototype was constructed. Because comprehensive commercial IoT platforms (such as the e-Health Sensor Platform V2.0 [10]) are legacy systems and largely unavailable, the setup was assembled using off-the-shelf discrete modules, ensuring study reproducibility and cost efficiency for edge computing deployment.
The experimental setup was implemented on a breadboard for rapid circuit reconfiguration. Electromagnetic noise introduced by unshielded wiring represented an experimental constraint, which was mitigated by the proposed filtering algorithm.
3.4.1. Analog Front-End (AFE)
Biopotential acquisition and signal conditioning were performed using a specialized AD8232 analog front-end module [18]. The integrated circuit provides adjustable high-pass and low-pass filtering; in the present module configuration, the low-pass cutoff was approximately 40 Hz, providing attenuation well below the Nyquist frequency at the measured ~358 Hz sampling rate. The physical module layout and electronic schematic diagram are shown in Figure 2a and Figure 2b, respectively.
Integrating the AD8232 with 8-bit microcontrollers requires voltage level matching. The analog output amplifies the differential input ECG signal by a factor of approximately 100 and adds a DC bias offset equal to half the supply voltage (1.65 V at a 3.3 V power supply). This ensures that both positive and negative cardiac wave deflections remain within the microcontroller’s ADC input range.
The analog signal is digitized by an internal 10-bit ADC [19], returning integer code values ranging from 0 to 1023. Processing integer ADC counts avoids floating-point conversion overhead. Additionally, the module’s digital outputs (LO+ and LO-) provide hardware lead-off detection, allowing the microcontroller to suspend processing when electrode-skin contact is lost.
The target sampling frequency was set to 360 Hz to match the MIT-BIH Arrhythmia Database standard [1], ensuring direct comparability between experimental and reference clinical data. A nominal sampling interval of 2778 μs was used. The effective sampling frequency measured via PC timestamps was 354–358 Hz. The deviation from the target 360 Hz is under 2% and does not impact algorithm performance, allowing the sampling interval to be treated as a constant.
3.4.2. Edge Microcontroller Platform
The processing pipeline was first evaluated on an Arduino Uno R3 board (ATmega328P microcontroller). Compilation for that target allocates 1233 bytes of SRAM statically, that is 60% of the 2 KB available, leaving 815 bytes for the stack and local variables. Because frame output requires about one further kilobyte of stack, peak allocation reaches approximately 2300 bytes and exceeds the 2 KB capacity of the device, which prevented stable real-time operation. The Arduino Mega 2560 platform, with 8 KB of SRAM, was therefore selected as the primary edge node of this study.
Consequently, the Arduino Mega 2560 platform (based on the Atmega2560 microcontroller) [17] was selected as the primary edge node. The experimental setup is shown in Figure 3. Connection wiring was configured as follows: power supply (3.3 V, white wire); ground (GND, orange wire); amplified signal output (OUTPUT, blue wire connected to analog input A0); lead-off detection lines (LO+ and LO-, yellow and green wires connected to general-purpose digital input pins); and ECG electrode leads (grey wires).
The Atmega2560 provides 8 KB of SRAM (Table 1), providing sufficient memory headroom for frame buffer operation while retaining resources for future wireless module integration (Wi-Fi/BLE).
Although the Atmega2560 offers larger memory capacity, it remains an 8-bit architecture lacking a hardware FPU. Thus, integer arithmetic and memory optimization strategies (Section 3.2 and Section 3.3) remain fully applicable. Electrode placement on the subject’s body (in accordance with the Declaration of Helsinki) is illustrated in Figure 4.
3.5. Memory Optimization and Artifact Suppression
3.5.1. Memory Optimization: Fixed-Length Frame Buffers
Rather than accumulating the entire recording in memory, as is typical of PC-oriented software, the algorithm operates on buffers of fixed length. According to equations (2)-(7), calculating polynomial parameters at any given time instant requires only a few adjacent grid points, so the processing neighborhood never extends beyond a small number of samples around the current one. Samples are acquired into a frame buffer of length L; once the frame is complete, the smoothing cascade, the derivative and the threshold scan are applied to it in place, without reallocation and without copying data between stages. The three frame buffers together occupy 1024 bytes of SRAM, a footprint fixed by L and independent of the duration of the monitoring session (N)(1).
On the ATmega2560 platform (16 MHz clock rate), processing a single sample with buffer size L and K = 3 cascading iterations requires approximately 200 clock cycles (~12 μs), representing less than 0.5% of the available sampling period (2778 μs at 360 Hz). This ensures complete execution of the processing pipeline before the next ADC conversion interrupt occurs.
3.5.2. Artifact Suppression: Cascading Smoothing Architecture
Low-cost analog front-ends (such as the AD8232) exhibit notable high-frequency noise and susceptibility to myographic motion artifacts. To achieve signal smoothness within the sliding window, a multi-iteration (cascading) filtering architecture is applied. The smoothed value H2i(x) computed via equation (7) at the first iteration is not immediately analyzed; instead, it serves as the input parameter Fi for the subsequent Hermite spline cascade. Execution profiling demonstrated that three consecutive smoothing iterations (K = 3) directly within the microcontroller loop represent an optimal trade-off, attenuating the high-frequency sawtooth signal structure while maintaining real-time processing of every acquired sample.
3.6. Datasets and Evaluation Metrics
To evaluate the performance and robustness of the proposed edge processing algorithm, validation was conducted in two stages using two distinct data sources: standardized clinical databases and raw hardware signals acquired under real-world operational conditions.
3.6.1. Experimental Datasets
- Standard Reference Clinical Data (MIT-BIH Arrhythmia Database)
For theoretical validation of the polynomial smoothing model, open reference recordings from the MIT-BIH Arrhythmia Database [1] were evaluated. Records 115 and 223 were selected due to notable morphological variability, specifically QRS complex width variations and prominent T-waves. From each record, 38 cardiac cycles were randomly extracted to construct ensemble averages. Signals are represented in physical units (mV) according to WFDB calibration parameters: a gain of 200 ADC counts/mV and an 11-bit ADC with a zero-level code at 1024 [20].
- 2.
- Real-World Hardware Evaluation Data
Because algorithms demonstrating high accuracy on clinical databases frequently exhibit performance degradation when processing data from low-cost sensors, a custom dataset was acquired using the developed hardware prototype (Arduino Mega 2560 + AD8232). Recordings were conducted in accordance with the Declaration of Helsinki; a healthy subject (male, 30 years old, no cardiovascular history) provided informed consent. Prototype signals were recorded in relative ADC units (10-bit integer codes from −512 to +511), representing raw microcontroller data without unit conversion. Because individual AD8232 calibration was not performed, comparison between MIT-BIH and prototype recordings is restricted to morphological evaluation (wave shapes and durations) rather than absolute amplitude matching.
3.6.2. Physiological Test Conditions and Data Acquisition
Experiments were conducted under two physiological states:
- Rest State: Characterized by a stable baseline and low noise levels, simulating controlled clinical conditions.
- Active Motion State: The subject performed vigorous physical movement, generating high-frequency myographic artifacts and baseline wander caused by electrode-skin contact variations.
For offline statistical analysis, streaming discrete data were logged to an external PC using a custom Python script (PySerial library). Four parameters were recorded synchronously: raw ADC signal, smoothed signal, squared first derivative, and detected R-peak timestamps.
3.6.3. Detection Accuracy Metrics
R-peak detection performance was evaluated according to the ANSI/AAMI EC57:2012 cardiac standard [21]. Sensitivity (SEN) and Positive Predictive Value (PPV) served as primary metrics, calculated using:
- TP (True Positives): Correctly identified R-peaks.
- FP (False Positives): Incorrect detections (e.g., myographic noise or T-waves detected as R-peaks).
- FN (False Negatives): Missed cardiac beats.
Sensitivity, reflecting the algorithm’s ability to detect true beats, was calculated as:
Positive Predictive Value, reflecting resistance to false detections, was calculated as:
The overall performance balance was evaluated using the Fscore (harmonic mean of SEN and PPV):
3.6.4. Morphological Consistency Analysis
In addition to peak detection, beat-to-beat morphological preservation across cardiac segments was verified using ensemble averaging. Statistical variability in reconstructed signal morphology was quantified by constructing point-wise normal-approximation confidence intervals (CI) at each time instant t [22]:
where is the mean signal value at time t,σt is the standard deviation at time t, n is the sample size of cardiac cycles (n = 38), and D is the standard-normal critical value (D = 2.05 for a two-sided 96% confidence level). A narrow confidence band indicates algorithm stability and suppression of stochastic noise and quantization errors.
4. Results
The performance of the proposed framework was evaluated across three levels: real-time visual ECG morphology restoration, statistical stability analysis of cardiac cycles (using confidence intervals), and quantitative R-peak detection accuracy metrics on hardware.
4.1. Signal Morphology Restoration and Noise Suppression
Initial algorithm execution and derivative calculations were evaluated on a synthetic test signal. As shown in Figure 5, the algorithm computes squared local derivatives (orange peaks) located on the falling slope of the QRS complex immediately following the R-peak vertex. This behavior aligns with theoretical expectations: the maximum squared derivative corresponds to the point of steepest signal decrease rather than the peak vertex. The actual R-peak location is determined as the maximum raw signal value within a search window preceding the derivative peak.
Figure 5a displays a 10-second sliding window: the grey curve represents raw ADC signal data, the blue curve shows smoothed data after K = 3 iterations, and red markers denote detected R-peak locations. The algorithm correctly identifies each QRS complex without false detections.
Figure 5b presents the squared first derivative of the smoothed signal over the same 10-second interval. Orange peaks correspond to steep signal descent regions (falling QRS slopes), and the dashed red line represents the fixed detection threshold R_TH. Peak amplitudes exceeding the threshold ensure detection despite heart rate variability.
Figure 5c shows accumulated signal data over 300 seconds: the blue curve represents smoothed buffer data from session start, and red markers indicate detected R-peaks. Uniform marker spacing confirms streaming algorithm stability in real time.
Hardware evaluation on the prototype (Arduino Mega 2560 + AD8232) yielded two streaming data modes: rest state (Figure 6a) and active motion state (Figure 6b). Analog ECG signals (black curves) exhibit sensor-level noise. Figure 6b shows pronounced low-frequency baseline wander and motion artifacts. Additionally, raw signal data revealed a hardware anomaly: during steep QRS slopes, the microcontroller periodically registered abnormally low derivative values (green ticks on lower plots), which was mitigated by the subsequent smoothing pipeline.
To evaluate filtering performance, a local signal segment (from Figure 6b, 7.7–8.5 s interval) was magnified. As shown in Figure 7a, the raw ADC signal exhibits high-frequency fluctuations and a sawtooth structure, making it unsuitable for thresholding. Applying cascading polynomial smoothing (K = 3 iterations in microcontroller buffer) yields a smooth curve (Figure 7b) matching physiological ECG morphology.
4.2. Statistical Consistency of the Cardiac Cycle
To verify that cascading smoothing attenuates noise without distorting diagnostic cardiac segments, ensemble averaging with a 96% confidence interval (CI) was conducted.
Figure 9b displays the ensemble average of 38 cardiac cycles acquired from the microcontroller without smoothing. A broad confidence band (representing an uncertainty interval) is present, particularly across isoelectric segments and surrounding the T-wave, indicating ADC quantization noise.
Applying the Hermite piecewise-polynomial spline (Figure 9a) stabilized the baseline, narrowing the confidence interval throughout the cardiac cycle. The ensemble mean (solid black curve) accurately reproduces the P-QRS-T complex morphology.
For comparative analysis, the same ensemble method was applied to reference records 115 and 223 from the MIT-BIH database (Figure 10 (a,b)). Despite natural physiological morphology variations in these records (a wider QRS complex in record 115 and a prominent T-wave in record 223), the post-approximation confidence band remains narrow around the ensemble mean.
4.3. R-Peak Detection Performance
Quantitative evaluation of the edge algorithm was conducted across 10 independent recording episodes, each containing 600 reference cardiac cycles. Episodes 1–5 correspond to the rest state, while Episodes 6–10 correspond to active physical motion. The detection performance counts (TP, FP, FN) and evaluated metrics (SEN,PPV,Fscore) are summarized in Table 2.
Under rest conditions (Episodes 1–5), algorithm sensitivity (SEN) ranged from 97.67% to 99.83%, with false positive counts (FP) remaining under 4 instances per episode.
Under physical motion artifacts (Episodes 6–10), false negative counts (FN) increased, most prominently in Episode 6 (FN = 32, SEN = 94.67%). Nevertheless, the positive predictive value (PPV) remained consistently high across all motion episodes (ranging from 99.30% to 100%). The mean Fscore across all evaluation episodes was 98.95%, demonstrating overall detection balance between minimizing false detections and missed cardiac cycles in streaming real-time execution.
5. Discussion
The experimental results confirm the functional performance of the proposed algorithmic framework for autonomous ECG monitoring nodes. The evaluation demonstrates that mathematical signal processing can be executed under hardware constraints on edge microcontrollers without offloading computation to cloud servers.
5.1. Diagnostic Accuracy and Robustness
Evaluation metrics (Table 2) indicate that the proposed framework achieves detection accuracy comparable to standard algorithms. The mean Fscore of 98.95% reflects an operational balance between minimizing false positive detections and missed cardiac beats.
Analysis across physiological conditions revealed a decrease in sensitivity during active movement (SEN = 94.67% minimum in Episode 6). This reduction occurs because myographic motion artifacts and baseline wander abruptly distort QRS slope steepness, falling below the fixed threshold. However, the positive predictive value (PPV) remained at or above 99.30% under noisy conditions. This indicates conservative algorithm behavior: heavily corrupted cardiac cycles are omitted (FN increase) rather than misclassified (FP increase). In continuous monitoring applications, this behavior reduces false alarm generation (alarm fatigue) for clinical monitoring.
5.2. Computational Efficiency and Hardware Constraints
The primary architectural feature of the proposed method is its adaptability to ultra-budget microcontrollers. Unlike deep learning frameworks [3,5], which rely on 32-bit microcontrollers (e.g., ARM Cortex-M) and hundreds of kilobytes of RAM for TinyML deployment, the proposed algorithm operates on an 8-bit architecture lacking a hardware FPU.
Execution profiling showed that the processing pipeline allocates 1233 bytes of SRAM statically, distributed as shown in Table 3. The three frame buffers account for 1024 of those bytes, the squared-derivative buffer alone for 512 because its values are held in 32-bit words. Frame output requires approximately one further kilobyte of stack, so peak allocation reaches about 2300 bytes. This is what limits deployment on entry-level microcontrollers: on an ATmega328P with 2 KB of SRAM the peak exceeds the available capacity, which is why the ATmega2560 platform with 8 KB was used. Memory consumption nevertheless remains substantially smaller than the buffering arrays required by conventional Pan-Tompkins’s filtering [4] or by wavelet transforms, and it is bounded by the frame length rather than by the length of the recording.
5.3. Power Consumption and Network Traffic Optimization
To support extended patient monitoring, an edge processing strategy was implemented. Instead of continuously transmitting raw digitized ECG signals, the edge node performs local processing and transmits metadata consisting solely of detected R-peak timestamps.
Because the hardware prototype integrates a Bluetooth communication interface, energy efficiency was evaluated specifically for this wireless protocol. Data throughput directly dictates radio channel load and overall power consumption.
Let fds = 360 Hz be the sampling frequency, and r = 2 bytes be the sample resolution. The raw data rate Vraw is calculated as:
Vraw = fds ⋅ r = 360 ⋅ 2 = 720 bytes/s.
Assuming a mean heart rate of 75 beats per minute, the detection rate is approximately 1.25 R-peaks per second (75 / 60). Information for each detected R-peak is transmitted in a 10-byte packet (comprising a 4-byte sample index and protocol headers). The mean metadata transmission rate Vopt is:
Vopt = 1.25 ⋅ 10 = 12.5 bytes/s.
This metadata-only strategy reduces wireless data throughput by a factor of 57.6 (720 / 12.5).
The overall device current consumption Itot is expressed as the sum of component currents:
Itot = IMCU + ISens + Icom.
For the theoretical energy comparison, the component currents were set to representative values: IMCU = 93 mA for the ATmega2560 microcontroller, and ISens = 0.17 mA for the AD8232 analog front-end [18]. The 93 mA microcontroller value is treated as a modeling assumption rather than a value taken from the Arduino datasheet.
The communication module current Icom varies as a function of the transmitter duty cycle DWL:
where Itx = 35 mA is the active transmission current of the HC-05 Bluetooth module, and Iidle = 2 mA is the standby current. Under the simplified assumption that active radio time scales with application-layer payload rate, the duty cycle DWL represents the ratio of metadata traffic to raw traffic (DWL = Vopt/Vraw). For raw signal streaming, DWL = 1 (100%), whereas for R-peak metadata transmission, DWL = 0.0173 (1.73%). The current values used below are representative assumptions for the theoretical comparison.
Icom = DWL ⋅ Itx + (1 − DWL) ⋅ Iidle,
Transmitting metadata shortens active radio transmission bursts to 1.73% of operating time. Device operational autonomy Taut for a battery capacity C = 5000 mAh is calculated as:
The comparative energy evaluation results are summarized in Table 4.
Under the simplified theoretical model, local R-peak detection directly on the edge node reduces total system current consumption by approximately 25%, extending operational autonomy by about 13 hours under the same battery capacity.
5.4. Research Limitations
This study exhibits certain limitations. First, the hardware prototype (Arduino Mega 2560 and AD8232) lacks official medical certification (e.g., CE/FDA clearance) and serves solely as a scientific prototyping tool. Second, the current implementation allocates approximately 2.3 KB of SRAM at peak execution, which exceeds the capacity of 2 KB devices such as the ATmega328P. Restructuring the pipeline to process samples individually rather than in frames would remove this limitation and is the subject of ongoing work. Third, the real-world hardware dataset was acquired from a single healthy participant; therefore, the reported detection metrics cannot be generalized to broader patient populations without multi-subject validation. Fourth, the ground-truth annotation procedure and the beat-matching tolerance used for TP/FP/FN assignment should be specified to make the accuracy evaluation reproducible.
6. Conclusions
This study addresses the implementation of mathematical ECG signal processing on resource-constrained Internet of Medical Things (IoMT) edge nodes.
A resource-efficient algorithmic framework based on piecewise-polynomial Hermite spline smoothing was developed and adapted for 8-bit microcontrollers lacking a hardware Floating-Point Unit (FPU). Implementing fixed-length frame buffers enabled continuous real-time execution, restricting static allocation to 1233 bytes and peak allocation to approximately 2300 bytes of SRAM.
Experimental validation on a hardware prototype (Arduino Mega 2560 and AD8232) demonstrated processing efficacy under both rest conditions and physical motion artifacts. Evaluation metrics confirmed local processing accuracy: sensitivity of 94.67–99.83%, positive predictive value of 99.30–100%, and a mean Fscore 98.95%. Statistical evaluation via ensemble averaging (96% confidence intervals) confirmed that cascading smoothing attenuates quantization noise without altering physiological ECG wave morphology.
The practical contribution of this work is a data transmission paradigm shift: transitioning from continuous raw ECG signal streaming to metadata-only transmission (R-peak timestamps) reduces network traffic, extending wearable device operational autonomy.
Primary limitations include the use of non-certified hardware components (Arduino) and memory allocation exceeding the capacity of 2 KB SRAM microcontrollers such as the ATmega328P. Future research will focus on restructuring the pipeline for sample-by-sample execution to reach compatibility with 2 KB SRAM devices, and on deploying the proposed edge architecture onto medically certified hardware platforms for clinical trials.
Author Contributions
Conceptualization, M.Y., O.S., O.B., and I.K.; methodology, O.S., I.K.; software, M.Y.; validation, M.Y. and O.S.; formal analysis, O.B. and I.K.; investigation, M.Y., O.S. and I.K.; resources, O.S., O.B. and I.K.; data curation, M.Y., O.S. and I.K.; writing-original draft preparation, M.Y., O.S. and I.K.; writing-review and editing, O.B., O.S., M.Y. and I.K.; visualization, M.Y., O.S. and O.B.; supervision, I.K. and O.S.; project administration, I.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
The study was conducted in accordance with the Declaration of Helsinki. The non-invasive ECG recording procedures performed on the human subject involved no diagnostic risks, and all measurements were conducted solely for algorithm verification purposes with the participant’s full voluntary agreement.
Informed Consent Statement
Informed consent was obtained from the participant for ECG recording and for use of the resulting data in this publication.
Data Availability Statement
The Arduino C++ firmware for the ATmega2560 edge node, the Python host and evaluation scripts (PySerial acquisition, Matplotlib visualization, and the offline detector simulation used for the reference evaluation), and the raw hardware ECG recordings acquired during rest and physical activity are openly available at https://github.com/Cheppy/arduino-ecg-r-peak-detector and archived at https://doi.org/10.5281/zenodo.22637816. The MIT-BIH Arrhythmia Database used for reference evaluation is publicly available from PhysioNet [1].
Acknowledgments
The authors acknowledge the maintainers of PhysioNet and the MIT-BIH Arrythmia Database for public ECG resources. The GPT-5.6 family of language models (OpenAI Inc.) and the language service Grammarly (Grammarly, Inc.) were used to draft and edit the manuscript text; numerical values, citations, and computational outputs were checked against their sources. The authors take full responsibility for the content of the manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
| ADC | Analog-to-Digital Converter |
| CI | Confidence Interval |
| CNN | Convolutional Neural Network |
| ECG | Electrocardiogram |
| FIR/IIR | Finite / Infinite Impulse Response |
| FN/FP/TP | False Negative / False Positive / True Positive |
| FPU | Floating-Point Unit |
| IOMT | Internet of Medical Things |
| MAC | Multiply–Accumulate |
| MIT-BIH | Massachusetts Institute of Technology—Beth Israel Hospital |
| PPV | Positive Predictive Value |
| RAM/SRAM | (Static) Random-Access Memory |
| RR | Interval between successive R-peaks |
| SEN | Sensitivity |
| SG | Savitzky–Golay |
| TinyML | Tiny Machine Learning |
| WFDB | WaveForm Data Base |
References
- Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.-K.; Stanley, H.E. PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, e215–e220. [Google Scholar] [CrossRef]
- Martínez, J.P.; Almeida, R.; Olmos, S.; Rocha, A.P.; Laguna, P. A wavelet-based ECG delineator: Evaluation on standard databases. IEEE Trans. Biomed. Eng. 2004, 51, 570–581. [Google Scholar] [CrossRef]
- Hannun, A.Y.; Rajpurkar, P.; Haghpanahi, M.; Tison, G.H.; Bourn, C.; Turakhia, M.P.; Ng, A.Y. Cardiologist-level arrhythmia detection and classification in ambulatory electrocardiograms using a deep neural network. Nat. Med. 2019, 25, 65–69. [Google Scholar] [CrossRef]
- Pan, J.; Tompkins, W.J. A real-time QRS detection algorithm. IEEE Trans. Biomed. Eng. 1985, BME-32, 230–236. [Google Scholar] [CrossRef]
- Kovalchuk, O.; Barmak, O.; Radiuk, P.; Klymenko, L.; Krak, Iu. Towards transparent AI in medicine: ECG-based arrhythmia detection with explainable deep learning. Technologies 2025, 13, 34. [Google Scholar] [CrossRef]
- Rahman, M.; Morshed, B.I. Resource-constrained on-chip AI classifier for beat-by-beat real-time arrhythmia detection with an ECG wearable system. Electronics 2025, 14, 2654. [Google Scholar] [CrossRef]
- Gia, T.N.; Jiang, M.; Rahmani, A.M.; Westerlund, T.; Liljeberg, P.; Tenhunen, H. Fog computing in healthcare Internet of Things: A case study on ECG feature extraction. In Proceedings of the 2015 IEEE International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing, Liverpool, UK, 26–28 October 2015; pp. 356–363. [Google Scholar] [CrossRef]
- Mamaghanian, H.; Khaled, N.; Atienza, D.; Vandergheynst, P. Compressed sensing for real-time energy-efficient ECG compression on wireless body sensor nodes. IEEE Trans. Biomed. Eng. 2011, 58, 2456–2466. [Google Scholar] [CrossRef]
- David, R.; Duke, J.; Jain, A.; Janapa Reddi, V.; Jeffries, N.; Li, J.; Kreeger, N.; Nappier, I.; Natraj, M.; Regev, S.; Rhodes, R.; Wang, T.; Warden, P. TensorFlow Lite Micro: Embedded machine learning for TinyML systems. Proceedings of Machine Learning and Systems (MLSys 2021), Virtual, 5–9 April 2021; Volume 3, pp. 800–811. [Google Scholar]
- Nazário, D.C.; de Andrade, A.; Borges, L.; Ramos, W.R.; Todesco, J.L.; Dantas, M.A.R. An enhanced quality of context evaluating approach in the e-Health sensor platform. In Proceedings of the 11th ACM Symposium on QoS and Security for Wireless and Mobile Networks (Q2SWinet ‘15), Cancun, Mexico, 2–6 November 2015; pp. 1–7. [Google Scholar] [CrossRef]
- Möller, T.; Georgie, Y.; Voss, M.; Kaltwasser, L. An Arduino based heartbeat detection device (ArdMob-ECG) for real-time ECG analysis. In Proceedings of the 2022 IEEE Signal Processing in Medicine and Biology Symposium (SPMB), Philadelphia, PA, USA, 3 December 2022; pp. 1–3. [Google Scholar] [CrossRef]
- Islam, S.; Islam, M.R.; Sanjid-E-Elahi; Abedin, M.A.; Dökeroğlu, T.; Rahman, M. Recent advances in the tools and techniques for AI-aided diagnosis of atrial fibrillation. Biophys. Rev. 2025, 6, 011301. [Google Scholar] [CrossRef]
- Iskandar, W.J.; Roihan, I.; Koestoer, R.A. Prototype low-cost portable electrocardiogram (ECG) based on Arduino-Uno with Bluetooth feature. AIP Conf. Proc. 2019, 2193, 050019. [Google Scholar] [CrossRef]
- Webster, J.G. (Ed.) Medical Instrumentation: Application and Design, 4th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2009. [Google Scholar]
- Stelia, O.; Krak, I.; Potapenko, L. Controlled spline of third degree: Approximation properties and practical application. In Lecture Notes in Computational Intelligence and Decision Making; Advances in Intelligent Systems and Computing; Lytvynenko, V., Babichev, S., Wójcik, W., Vynokurova, O., Vyshemyrskaya, S., Radetskaya, S., Eds.; Springer: Cham, Switzerland, 2020; Volume 1020, pp. 215–224. [Google Scholar] [CrossRef]
- Yefremov, M.; Liashko, A.; Krak, Iu.; Stelia, O. An efficient threshold method for detecting R-peaks in electrocardiogram. Radioelectron. Comput. Syst. 2026, 1, 22–34. [Google Scholar] [CrossRef]
- Devices, Analog. Single-Lead, Heart Rate Monitor Front End AD8232; Analog Devices: Norwood, MA, USA, 2012; Available online: https://www.analog.com/media/en/technical-documentation/data-sheets/ad8232.pdf (accessed on 14 September 2026).
- Arduino. analogRead()—Arduino Language Reference. Available online: https://docs.arduino.cc/language-reference/en/functions/analog-io/analogRead/ (accessed on 14 September 2026).
- Arduino. Arduino Mega 2560 Rev3 Datasheet. Available online: https://docs.arduino.cc/resources/datasheets/A000067-datasheet.pdf (accessed on 14 September 2026).
- Moody, G.B. WFDB header file format. In WFDB Applications Guide; PhysioNet: Cambridge, MA, USA, 2022; Available online: https://physionet.org/physiotools/wag/header-5.htm (accessed on 14 September 2026).
- ANSI/AAMI EC57:2012 (R2020); Testing and Reporting Performance Results of Cardiac Rhythm and ST Segment Measurement Algorithms. Association for the Advancement of Medical Instrumentation: Arlington, VA, USA, 2012. [CrossRef]
- Gardner, M.J.; Altman, D.G. Confidence intervals rather than P values: Estimation rather than hypothesis testing. Br. Med. J. 1986, 292, 746–750. [Google Scholar] [CrossRef]
Figure 1.
(a) ECG signal fragment with a highlighted QRS complex; (b) QRS complex, where black dots denote ECG signal values Fi at sampling points τi, and grey dots denote values fi at nodes of the auxiliary grid xi.
Figure 1.
(a) ECG signal fragment with a highlighted QRS complex; (b) QRS complex, where black dots denote ECG signal values Fi at sampling points τi, and grey dots denote values fi at nodes of the auxiliary grid xi.

Figure 2.
Specialized AD8232 analog front-end module: (a) physical module board; (b) electronic schematic diagram.
Figure 2.
Specialized AD8232 analog front-end module: (a) physical module board; (b) electronic schematic diagram.

Figure 3.
Photograph of the experimental setup: Arduino Mega 2560 connected to the AD8232 module and ECG electrode leads.
Figure 3.
Photograph of the experimental setup: Arduino Mega 2560 connected to the AD8232 module and ECG electrode leads.

Figure 4.
Placement schematic of experimental ECG electrode leads on the human body connected to the AD8232 module and microcontroller setup.
Figure 4.
Placement schematic of experimental ECG electrode leads on the human body connected to the AD8232 module and microcontroller setup.

Figure 5.
ECG Viewer interface—real-time microcontroller output visualization software (PySerial + Matplotlib): (a) 10-second sliding window; (b) squared derivative over 10 s; (c) accumulated signal over 300 s.
Figure 5.
ECG Viewer interface—real-time microcontroller output visualization software (PySerial + Matplotlib): (a) 10-second sliding window; (b) squared derivative over 10 s; (c) accumulated signal over 300 s.

Figure 6.
ECG signal fragments: (a) rest state; (b) active motion state.

Figure 7.
(a) Unprocessed ECG signal segment affected by high-frequency noise; (b) smoothed ECG signal segment after cascading processing with highlighted cardiac cycle.
Figure 7.
(a) Unprocessed ECG signal segment affected by high-frequency noise; (b) smoothed ECG signal segment after cascading processing with highlighted cardiac cycle.

Figure 8.
(a) Real ECG signal smoothed via three cascading iterations on the microcontroller; (b) squared first derivative of the smoothed signal shown in (a).
Figure 8.
(a) Real ECG signal smoothed via three cascading iterations on the microcontroller; (b) squared first derivative of the smoothed signal shown in (a).

Figure 9.
Ensemble averaging of ECG cardiac cycles: (a) processed using the proposed framework with Hermite polynomial smoothing; (b) processed without smoothing.
Figure 9.
Ensemble averaging of ECG cardiac cycles: (a) processed using the proposed framework with Hermite polynomial smoothing; (b) processed without smoothing.

Figure 10.
Ensemble averaging of ECG cardiac cycles from the MIT-BIH database [1]: (a) record 115; (b) record 223.
Figure 10.
Ensemble averaging of ECG cardiac cycles from the MIT-BIH database [1]: (a) record 115; (b) record 223.

Table 1.
Technical specifications of edge microcontrollers.
| Platform | Microcontroller | SRAM Capacity | Flash Memory | Hardware FPU |
| Arduino Nano/ Uno | Atmega328P | 2 KB | 32 KB | None |
| Arduino Mega 2560 | Atmega2560 | 8 KB | 256 KB | None |
Table 2.
Microcontroller R-peak detection performance evaluation.
| Episode | TP | FP | FN | SEN(%) | PPV(%) | Condition | Fscore(%) |
| 1 | 594 | 2 | 6 | 99.00 | 99.66 | rest | 99.33 |
| 2 | 599 | 3 | 1 | 99.83 | 99.50 | rest | 99.67 |
| 3 | 596 | 2 | 4 | 99.33 | 99.67 | rest | 99.50 |
| 4 | 586 | 4 | 14 | 97.67 | 99.32 | rest | 98.49 |
| 5 | 598 | 0 | 2 | 99.67 | 100.00 | rest | 99.83 |
| 6 | 568 | 4 | 32 | 94.67 | 99.30 | motion | 96.93 |
| 7 | 593 | 1 | 7 | 98.83 | 99.83 | motion | 99.33 |
| 8 | 588 | 2 | 12 | 98.00 | 99.66 | motion | 98.82 |
| 9 | 594 | 0 | 6 | 99.00 | 100.00 | motion | 99.50 |
| 10 | 582 | 4 | 18 | 97.00 | 99.32 | motion | 98.15 |
Table 3.
SRAM allocation of the processing pipeline (ATmega328P target, frame length 128 samples).
| Element | Bytes |
| Raw sample frame buffer, 128 x 16 bits | 256 |
| Smoothed frame buffer, 128 x 16 bits | 256 |
| Squared-derivative frame buffer, 128 x 32 bits | 512 |
| Peak index and amplitude arrays | 24 |
| Counters and run-time settings | 10 |
| Arduino core and serial ring buffers | 175 |
| Static allocation, total | 1233 |
| Peak stack during frame output | ~1070 |
| Peak allocation, total | ~2300 |
Table 4.
Theoretical energy efficiency evaluation based on component specifications.
| Parameter | Continuous Raw Data Transmission | R-Peak Metadata Only |
| Data Traffic | ~720 bytes/s | ~12.5 bytes/s |
| Transmitter Duty Cycle | ~100% | ~1.73% |
| Total Current (Calculated) | ~128 mA | ~96 mA |
| Autonomy (5000 mAh battery) | ~39 hours | ~52 hours |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.