I want to make sure the sensor read normally but when i run it to read the object temperature, the result is 382.19°C. I have search for tutorials, and also the error but i couldn't find it except for emissivity. The board I am using right now is ESP8266 Nodemcu Lolin
And this is the code
#define INTERVAL 1000
#include <Wire.h>
#include <IR_Thermometer_Sensor_MLX90614.h>
IR_Thermometer_Sensor_MLX90614 mlx = IR_Thermometer_Sensor_MLX90614();
float T_ambient,T_object;
unsigned long int timer;
void setup()
{
Serial.begin(115200);
mlx.begin();
}
void loop()
{
if(millis()-timer>=INTERVAL)
{
timer=millis();
T_ambient=mlx.GetAmbientTemp_Celsius();
T_object=mlx.GetObjectTemp_Celsius();
Serial.println("Ambien = "+String (T_ambient));
Serial.println("Object = " +String (T_object));
}
delay(1);
}
Thank You