Software apps and online services
Due to the spread of COVID-19, the overwhelming the capacity of the health care system causes increasing persons who have to stay home even if they are suspected as a infection. Many person are concerned about their health, especially elderly people living alone.
This project can help that person by sharing their health condition like heartbeat and blood oxygen level.Measuring Heartbeat and SpO2
You can wire a Heart Rate Unit directly to M5Stack Basic via I2C.
The heart rate unit for M5Stack includes a MAX30100 chip, so you add "MAX30100lib" library with Adruino IDE Library Manager.
This library simply provide the functions that retrieving your heartbeat (getHeartRate()) and SpO2 (getSpO2()).Connect a Sigfox Breakout board
Sigfox Breakout board [BRKWS01] only requires 3.3V input and Serial communication. so the following pins are connected to the breakout board.
- 3V3 -> (+)
- Ground -> (-)
- RXD2(16) -> TX
- TXD2(17) -> RX
Sigfox backend cloud has a callback function that deliver messages to some email addresses. This function allow us to alert the health condition to family.
On the sample code, an alert message is sent when a button on M5Stack is pushed though, you can customize the message trigger, for instance when the vital sign is worse.