Sunday, December 22, 2024

Contactless IR Thermometer For COVID-19 Detection

ashwiniDue to the break out of COVID-19, we need to check our body temperature wherever we go –  from hospitals to airports – to detect any symptoms of the disease. Since the virus spreads through physical contact, we need to come up with a solution that enables us to measure the body temperature without contact. 


So today we will design an IR-based contactless thermometer using the MLX90614 sensor. This contactless device can also be used for other purposes like measuring the environment temperature or for measuring the temperature of water, flame and other objects. 

- Advertisement -

Bill of Material

Let’s start our project by collecting the following components.

- Advertisement -

Coding

Open Arduino IDE. Go to Sketch and then open the Library Manager. Search the following libraries and install them.

  • U8g2
  • Adafurit_Mlx90614

To begin coding, add the libraries in the code and then create a setup function where the serial port baud rate is set to 9600. After that, initialise the sensor and the OLED communication.

Next, create a loop function where we will update the sensor readings and display that on the OLED display.

We will also make a small thermometer icon on the OLED display, which will show the rise and fall levels according to the readings of the temperature sensor. To do so, we have to map the sensor readings with the height of the OLED display and then draw a frame to show the rise and fall of temperature using the following code.

Connection

After writing the code, upload it to Arduino and then connect all the components as shown in the circuit diagram. 

Connection

Testing 

Congrats!! Now our device is ready. Power the device with 5V and then point the sensor towards your body. It will show your body temperature. By pointing the device towards flame, food or any other materials, their temperature can be detected as well. 

code

Ashwini Sinha
Ashwini Sinha
A tech journalist at EFY, with hands-on expertise in electronics DIY. He has an extraordinary passion for AI, IoT, and electronics. Holder of two design records and two times winner of US-China Makers Award.

7 COMMENTS

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics