CardioSync
Live web dashboard for a WiFi-connected health sensor
An Arduino board with a finger pulse sensor and an optional ECG. It makes its own WiFi network and shows a live monitor on up to three phones or laptops at once, or over USB, with alarms, recordings and a printable report in Arabic and English.
Educational prototype. Not a certified medical device.
Try the live demo
The problem
The first WiFi version of this monitor crashed and lost most of its data. The board opened a new connection for every few readings, the heart signal was sent too slowly, and the oxygen value was not even measured: it was a fixed number.
What I built
- Hardware: Arduino UNO R4 WiFi, a MAX30102 finger sensor (red and infrared light) and an optional AD8232 ECG.
- Firmware: samples the ECG 250 times a second on a timer, reads the finger sensor, and computes SpO₂ with the real Maxim algorithm instead of a fixed number.
- WiFi streaming: the board creates its own network and keeps one steady connection per viewer. Up to three phones or laptops can watch at once, plus one more over USB. The board shows its address on its LED matrix.
- Dashboard: runs in the browser with no app to install. It shows heart rate, SpO₂ and perfusion with quality bars, a live waveform, alarms with limits, a recording to Excel (one row per second) and a printable report. Arabic and English, phone and desktop.
- Signal processing: pulse rate from the waveform itself, with checks that reject double counting, finger movement and weak signals instead of showing a wrong number.
How it was tested
- 15 minutes of continuous WiFi streaming: no samples lost and no reconnects.
- Three viewers at the same time for 5 minutes: no gaps and no loss.
- Recordings from several people, compared beat by beat, to tune the heart rate method until it stayed steady on difficult fingers.
Limits
SpO₂ can only be calibrated against a certified reference oximeter, which is the next step. The ECG works with fresh electrode pads; it is optional and off by default.

