Electorials Electronics
Published © GPL3+

Review 012: MLX90614 Infrared Temperature Sensor Review

A review of the MLX90614 Infrared Temperature Sensor from ICStation.

BeginnerProtip18 minutes562
Review 012: MLX90614 Infrared Temperature Sensor Review

Things used in this project

Hardware components

ICStation MLX90614 Infrared Temperature Sensor
×1
PCBWay Custom PCB
PCBWay Custom PCB
×1

Story

Read more

Code

Arduino MLX90614 Infrared Temperature Sensor Sample Code

C/C++
#include <Wire.h>
#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx = Adafruit_MLX90614();

void setup() {
  Serial.begin(9600);
  Serial.println("Adafruit MLX90614 test");  
  mlx.begin();  
}

void loop() {
  Serial.print("Ambient = "); Serial.print(mlx.readAmbientTempC()); 
  Serial.print("*C\tObject = "); Serial.print(mlx.readObjectTempC()); Serial.println("*C");
  Serial.print("Ambient = "); Serial.print(mlx.readAmbientTempF()); 
  Serial.print("*F\tObject = "); Serial.print(mlx.readObjectTempF()); Serial.println("*F");
  Serial.println();
  delay(500);
}

Credits

Electorials Electronics
85 projects • 67 followers
I'm an electronic hobbyist interested in anything, from Arduino to drones. I plan to educate people with the content on my website.

Comments