İrem TÜRKOĞLU, Ahmet Fatih DEVECİ
Baltalimanı Dergisi - 2026;2(3):81-85
Objective: To develop an end to end, low cost system that simultaneously acquires electrocardiogram (ECG) and photoplethysmogram (PPG) signals, computes heart rate (HR), heart rate variability (HRV) metrics (SDNN, RMSSD), and peripheral oxygen saturation (SpO2), and enables direct comparison of electrical versus optical methods while generating a custom dataset. Methods: An Arduino Nano Matter microcontroller was interfaced with a DFRobot SEN0213 ECG module (three electrode configuration) and a MAX30102 PPG/SpO2 sensor. Raw signals were streamed via serial communication to a host computer. A custom software pipeline performed preprocessing, peak detection (R peaks for ECG, pulse peaks for PPG), calculation of HR/SDNN/RMSSD/SpO2, real time dashboard visualization, and session based data logging to build a personal dataset. Results: In a representative 10 minute resting recording, mean HR was identical between methods (96 BPM for both ECG and PPG). SDNN values were closely matched (107 ms ECG vs 109 ms PPG), while RMSSD showed a modest difference (170 ms ECG vs 192 ms PPG). Mean SpO2 was 95%. Short recordings exhibited larger transient HR discrepancies that diminished with longer acquisition duration. Conclusion: The system successfully demonstrates simultaneous dual modality acquisition and comparative analysis of ECG and PPG derived cardiac parameters. It provides a practical educational and prototyping platform for biomedical signal processing and digital health applications. The device is not intended for clinical diagnosis