Research Article
Enhancing Healthcare through Detection and Prevention of COVID-19 Using Internet of Things and Mobile Application
Algorithm
2 Procedure to read heartbeat from pulse sensor.
| | Step 1: start. | | | Step 2: [check NodeMCU connection]. | | | If(connected) { | | | Read heartbeat of the user. | | | } else { | | | NodeMCU connection failed. | | | } | | | Step 3: [read the heartbeat]. | | | Get data from pulse sensor. | | | Step 4: send the heartbeat data to firebase real-time database. | | | Step 5: display the data in user and admin android application. | | | Step 6: check the data with applied conditions. | | | Step 7: if (heartbeat > normal) { | | | Buzzer = ON. | | | Red LED = ON. | | | Notify the user and admin. | | | } else { | | | Green LED = ON. | | | } | | | Step 8: repeat steps 3 to 7. | | | Step 9: end. |
|