Rushil Saraswat
Published © CC BY-ND

COVID-19 Detection Eyeware

It is an eye ware which can help in detection of corona virus patients by notifying the user if anyone is suspected to have COVID-19.

IntermediateFull instructions provided1,275
COVID-19 Detection Eyeware

Things used in this project

Hardware components

Arduino Nano R3
Arduino Nano R3
×1
Female/Female Jumper Wires
Female/Female Jumper Wires
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
Buzzer, Piezo
Buzzer, Piezo
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1

Software apps and online services

MIT App Inventor 2
MIT App Inventor 2
Arduino Web Editor
Arduino Web Editor

Hand tools and fabrication machines

Tape, Electrical
Tape, Electrical
Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Custom parts and enclosures

3D model

This is the 3D model of the device.

The App

This is the app which will be connected with the device.

Schematics

Schematics

This is how the components are wired.

Code

Code for COVID-19 Detection Eye Ware

C/C++
This is the code for the device.
#include <OneWire.h>

#include <OneWire.h>
#include <DallasTemperature.h>
int buzzer = 8;



int temp_sensor = 2;

float temperature = 0;
int lowerLimit = 15;
int higherLimit = 38.5;
OneWire oneWirePin(temp_sensor);
DallasTemperature sensors(&oneWirePin);
void setup(void){
  Serial.begin(9600);
  
  pinMode(buzzer,OUTPUT);

  sensors.begin();
}
void loop(){
  int c = Serial.parseInt();
  if (c == "temperature")
  Serial.println(temperature);
  Serial.print("Requesting Temperatures from sensors: ");
  sensors.requestTemperatures(); 
  Serial.println("DONE");
  
  temperature = sensors.getTempCByIndex(0);
  digitalWrite(buzzer, LOW);
  Serial.print("Temperature is ");
  Serial.print(temperature);

if(temperature <= lowerLimit){ 
    Serial.println(", You are safe."); 
    digitalWrite(buzzer, LOW); } 

 
else if(temperature >= higherLimit){
    Serial.println(", COVID-19 detected");
    digitalWrite(buzzer, HIGH);
}
delay(250);
}

Credits

Rushil Saraswat

Rushil Saraswat

0 projects • 18 followers

Comments