Research Article

Enhancing Healthcare through Detection and Prevention of COVID-19 Using Internet of Things and Mobile Application

Algorithm 1 Procedure to read temperature from DHT11 Sensor.
Step 1: start.
Step 2: [check NodeMCU connection].
If(connected) {
Read temperature of the user.
} else {
NodeMCU connection failed.
}
Step 3: [read the temperature].
Get data from DHT11 sensor.
Step 4: send the temperature 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 (temperature > 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.