Infrared Thermometer MLX90614 (GY-906) [S034]



https://www.youtube.com/watch?v=eTCWtF9uRcc


*GitHubhttps://github.com/rdiot/rdiot-s034.git


* Specs

Small size, low cost

Mounted on a breakout board with two types of pins

10k Pull up resistors for the I2C interface with optional solder jumpers

Easy to integrate

Factory calibrated in wide temperature range:-40…+125°C for sensor temperature and -70…+380°C for object temperature.

High accuracy of 0.5°C over wide temperaturerange (0…+50°C for both Ta and To) High (medical) accuracy calibration

Measurement resolution of 0.02°C

Single and dual zone versions

SMBus compatible digital interface

Customizable PWM output for continuousreading

Simple adaptation for 8-16V applications

Sleep mode for reduced power consumption

Different package options for applications andmeasurements versatility

Automotive grade


* Contents

- Library : http://code.bildr.org/download/994.zip


- Connect

VIN ----- 5V / 3.3V 

GND ----- GND

SCL ----- SCL

SDA ----- SDA 


- Key Code

double tempFactor = 0.02; // 0.02 degrees per LSB (measurement resolution of the MLX90614)

double tempData = 0x0000; // zero out the data


tempData = (double)(((data_high & 0x007F) << 8) + data_low);

tempData = (tempData * tempFactor)-0.01;

    

float celcius = tempData - 273.15;

float fahrenheit = (celcius*1.8) + 32;



Posted by RD IoT RDIoT

댓글을 달아 주세요