All work

VitalSync

Android app for a Bluetooth health monitor

An Arduino that measures heart rate, SpO₂ and body temperature, and an Android app that shows them like a bedside monitor, sounds alarms, records sessions and exports PDF and Excel reports. Only the paired phone can use the device.

Educational prototype. Not a certified medical device.

The VitalSync app showing heart rate 75, SpO₂ 100 % and temperature, with Hold and Record buttons

What it does

VitalSync turns a small Arduino board into a vital signs monitor that you read on your Android phone. It shows heart rate, SpO₂ and temperature once a second, with each sign in its own colour and its alarm limits next to the value, the way a bedside monitor does.

What I built

  • Hardware: Arduino UNO R4 WiFi with a MAX30102 pulse oximeter and an MLX90614 infrared thermometer on the same I²C bus.
  • Firmware: my own heartbeat detector (the standard algorithm counted 115 to 166 bpm at rest; mine measured 75 against an independent 76.7), SpO₂ from the Maxim algorithm, and never a made-up value when no finger is on the sensor.
  • Android app: a live monitor, alarms with a medical-style beep, vibration and notification, recording sessions with the patient’s name, age and sex, charts, and PDF and Excel reports saved to the phone.
  • Hold and accuracy checks: when the values are stable for 5 seconds, Hold freezes them. You can save them next to a reference device’s values, and the app calculates the error.
  • Secure pairing: the board asks every phone a new random question, and only a phone that knows the pairing key can answer it (HMAC-SHA256). Any other phone is disconnected within 5 seconds.
  • Works in the background: recording and alarms keep running when the screen is off.

How it was tested

  • Screen off and phone locked: 321 readings in 5 minutes 21 seconds, exactly one per second.
  • 72 automated tests, including the official test vector for the pairing code.
  • Wrong pairing key, no key and an old app version were all rejected.

Limits

The readings are not encrypted over the air. Encryption and accuracy studies with reference devices are planned next.

WhatsApp