Stufin
Home Quick Cart Profile

MLX90614ESF Infrared IR Temperature Sensor Module

Buy Now on Stufin

Supply Voltage

3.3 V to 5 V

Operating Current

15 mA (typical)

Temperature Range

-40C to 125C

Accuracy

0.5C (typical)

Response Time

<100 ms (typical)

IC Bus Frequency

Up to 400 kHz

Package Type

SMD (Surface Mount Device)

Operating Temperature

-40C to 125C

Storage Temperature

-40C to 150C

Conclusion

The MLX90614ESF Infrared IR Temperature Sensor Module offers a high-accuracy, compact, and reliable solution for non-contact temperature measurement applications. Its wide temperature range, fast response time, and low power consumption make it an ideal choice for various industries and applications.

Pin Configuration

  • MLX90614ESF Infrared IR Temperature Sensor Module Pinout
  • The MLX90614ESF Infrared IR Temperature Sensor Module is a popular and widely used component in IoT and automation projects. This module has 5 pins, which are explained below:
  • Pin 1: VCC (Power Supply)
  • Function: Provides power to the module
  • Voltage: Typically 3.3V to 5V
  • Connection: Connect to a power source, such as a microcontroller's VCC pin or a battery
  • Pin 2: GND (Ground)
  • Function: Provides ground reference to the module
  • Voltage: 0V
  • Connection: Connect to a ground reference point, such as a microcontroller's GND pin or the negative terminal of a battery
  • Pin 3: SCL (Clock)
  • Function: Used for I2C communication clock signal
  • Connection: Connect to the SCL pin of a microcontroller or other I2C devices
  • Pin 4: SDA (Data)
  • Function: Used for I2C communication data signal
  • Connection: Connect to the SDA pin of a microcontroller or other I2C devices
  • Pin 5: NC (Not Connected)
  • Function: Not connected internally, can be left unconnected
  • Connection: None
  • Connection Structure:
  • To connect the MLX90614ESF Infrared IR Temperature Sensor Module to a microcontroller, such as an Arduino or Raspberry Pi, follow this structure:
  • 1. Connect VCC (Pin 1) to the microcontroller's VCC pin or a power source (3.3V to 5V).
  • 2. Connect GND (Pin 2) to the microcontroller's GND pin or a ground reference point.
  • 3. Connect SCL (Pin 3) to the microcontroller's SCL pin (typically labeled as SCL or CLOCK).
  • 4. Connect SDA (Pin 4) to the microcontroller's SDA pin (typically labeled as SDA or DATA).
  • 5. Leave Pin 5 (NC) unconnected.
  • Important Notes:
  • Make sure to use a compatible voltage level (3.3V to 5V) for the VCC pin.
  • Use a 4.7k pull-up resistor for the SDA and SCL lines if your microcontroller doesn't have built-in pull-up resistors.
  • Refer to the microcontroller's datasheet for specific I2C communication protocols and pin connections.
  • Ensure proper decimal point accuracy when using the sensor, as the temperature readings are represented as 16-bit values.
  • By following this pinout and connection structure, you can successfully integrate the MLX90614ESF Infrared IR Temperature Sensor Module into your IoT project.

Code Examples

MLX90614ESF Infrared IR Temperature Sensor Module Documentation
Overview
The MLX90614ESF is a non-contact infrared temperature sensor module that measures the temperature of an object without touching it. It uses a thermopile detector to sense the infrared radiation emitted by an object, and converts it into an electrical signal that is proportional to the object's temperature. This module is widely used in various applications, including industrial automation, medical devices, and consumer electronics.
Technical Specifications
Temperature range: -40C to 125C
 Accuracy: 1C ( typical )
 Resolution: 0.02C
 Response time: 10ms
 Supply voltage: 3.3V to 5V
 Communication protocol: I2C (Inter-Integrated Circuit)
Pinout
VCC: Power supply (3.3V to 5V)
 GND: Ground
 SCL: I2C clock
 SDA: I2C data
 Vin: Input voltage (optional)
Code Examples
### Example 1: Using the MLX90614ESF with an Arduino Uno
In this example, we will use the MLX90614ESF to measure the temperature of an object and display it on the serial monitor.
```cpp
#include <Wire.h>
#define MLX90614ESF_I2C_ADDRESS 0x5A
void setup() {
  Serial.begin(9600);
  Wire.begin();
}
void loop() {
  byte data[2];
  Wire.beginTransmission(MLX90614ESF_I2C_ADDRESS);
  Wire.write(0x07);
  Wire.endTransmission();
  Wire.requestFrom(MLX90614ESF_I2C_ADDRESS, 2);
  data[0] = Wire.read();
  data[1] = Wire.read();
float temperature = (data[0]  256 + data[1])  0.02 - 273.15;
Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println("C");
delay(1000);
}
```
### Example 2: Using the MLX90614ESF with a Raspberry Pi (Python)
In this example, we will use the MLX90614ESF to measure the temperature of an object and display it on the terminal.
```python
import smbus
import time
bus = smbus.SMBus(1)
address = 0x5a
def read_temperature():
  bus.write_byte(address, 0x07)
  time.sleep(0.1)
  data = bus.read_i2c_block_data(address, 0x07, 2)
  temperature = (data[0]  256 + data[1])  0.02 - 273.15
  return temperature
while True:
  temperature = read_temperature()
  print("Temperature: {:.2f}C".format(temperature))
  time.sleep(1)
```
Note: Make sure to install the necessary libraries and modules for your platform before running the code examples.
Tips and Considerations
Make sure to connect the VCC pin to a stable power supply (3.3V to 5V) and the GND pin to a common ground.
 Use a level shifter or voltage divider if your microcontroller operates at a different voltage level.
 The MLX90614ESF has a built-in LED indicator that can be used to indicate the presence of an object or the temperature measurement process.
 When using the MLX90614ESF with an Arduino or other microcontrollers, make sure to use a pull-up resistor for the SCL and SDA lines.
 Follow proper safety precautions when handling the module, as it can be damaged by static electricity or excessive voltage.
I hope this documentation helps you in your project!