Menu

PulseLink: an Arduino + Android patient-monitoring prototype, and the problems its design solves
📰

PulseLink: an Arduino + Android patient-monitoring prototype, and the problems its design solves

DEV Community: kotlin·م. Mohamed Salah·7 days ago
#mGxTozCT
#devtokotlin#devto#dev#arduino#sensor
Long article (345 words) — no AI summary yet.
Reading 0:00
15s threshold

I published PulseLink, an Arduino + Android patient-monitoring prototype.

An Arduino UNO reads a pulse sensor and a DS18B20 temperature sensor and sends one line per second over an HC-05 Bluetooth module. A native Android app (Kotlin, Jetpack Compose, Room) shows live charts, decides when to alarm, and tells the Arduino to sound or silence its buzzer.

Problems the design had to solve, and how

Noisy Bluetooth text: a parser that accepts two telemetry formats and rejects malformed lines.

Lost commands: every command waits for an ACK, with timeouts and queued retries.

Recovering a stuck board: the phone can send a RESET command that reboots the Arduino through the AVR watchdog, with a longer timeout on the phone side while it restarts.

A silent sensor: if no valid reading arrives for 5 s, the app raises a stale-data alert.

Several alarms at once: a priority order, with high temperature first.

Engineering details

Problem What the code does Where

Two telemetry formats, noisy lines SerialProtocolParser…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.