Why I built it
I built this on my own to explore how edge devices and the cloud can work together. I designed it as a small, independent validation device that could cross-check the readings from a clinic's heart monitor.
The hard part
The hardest part was coordinating the Pico's two cores. Core 0 reads the incoming stream, runs the network and updates a shared timestamp with every sample. Core 1 waits for the first sample, then monitors that timestamp and raises an alarm if it stops updating for more than a second. Both cores share one LED, so the output had to stay distinguishable from the alarm: one to three blinks for the beat type, and a fast 30 ms strobe for a fault.