engineeringuofs
Published © GPL3+

Interfacing IR temperature sensor with Arduino UNO

Non-contact temperature measurement using GY-90615 IR sensor.

IntermediateFull instructions provided10,025
Interfacing IR temperature sensor with Arduino UNO

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Jumper wires (generic)
Jumper wires (generic)
×1
MLX90615 Digital Infrared Temperature Sensor Module for Arduino GY Series
×1
2x 4.7kohm Resistors
×1
Capacitor 0.1uF
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Breadboard, Plain
Breadboard, Plain

Story

Read more

Schematics

Schematic for GY-90615

Schematic for MLX90615 Sensor

For the resistors, use 4.7k for each one. Capacitor is 0.1uF

Code

MLX90615 code

C/C++
Copy paste into Arduino IDE software and upload onto arduino. Run serial monitor and watch the action happen live.
#include <mlx90615.h>
#include <Wire.h>
MLX90615 mlx = MLX90615();

void setup() {

  //setup MLX IR sensor

  mlx.begin();

  // initialize serial communication:

  Serial.begin(9600);

 }

void loop() {
  Serial.print("Ambient = ");
  Serial.print(mlx.get_ambient_temp()); 
  Serial.print(" *C\tObject = ");
  Serial.print(mlx.get_object_temp());
  Serial.println(" *C");
}

Credits

engineeringuofs
1 project • 2 followers

Comments