← All parts
MLX90614 IR Thermometer
MLX90614
Melexissensor light distance
The MLX90614 is a compact, low-cost infrared thermometer sensor that measures object and ambient temperatures non-contact. It features a factory-calibrated TO-39 package with SMBus or PWM digital interfaces for easy integration into various applications.
In stock
Specifications
8- Operating Voltage
- 3.0, 5.0 V
- Supply Current
- 1.3 mA
- Interface
- SMBus, PWM
- Temperature Range Sensor
- -40 to +125 °C
- Temperature Range Object
- -70 to +380 °C
- Accuracy
- 0.5 °C
- Resolution
- 0.02 °C
- Package
- TO-39
Pinout
4| Pin | Name | Functions | Notes |
|---|---|---|---|
| 1 | SCL / Vz | I2C | SMBus serial clock; 5.7V zener for MLX90614Axx versions |
| 2 | SDA / PWM | I2CPWM | SMBus serial data / PWM output |
| 3 | VDD | POWER | External supply |
| 4 | VSS | GND | Negative supply (Ground) |
Interactive pinout
Highlight:
MLX90614
Click a pin to copy its name · tap a tag above to spotlight a bus.
Starter code
Community starter examples — minimal, unofficial, and provided to get you wiring fast. Verify against the manufacturer datasheet before relying on them.
Arduino (C++)
Arduino library: Adafruit MLX90614 Library
arduino
// MLX90614 non-contact IR thermometer (I2C) — community starter example
#include <Adafruit_MLX90614.h>
Adafruit_MLX90614 mlx;
void setup() {
Serial.begin(115200);
mlx.begin();
}
void loop() {
Serial.print("Object="); Serial.print(mlx.readObjectTempC());
Serial.print(" C Ambient="); Serial.print(mlx.readAmbientTempC()); Serial.println(" C");
delay(1000);
}MicroPython
MicroPython library: mlx90614 (mcauser/micropython-mlx90614)
python
# MLX90614 (ESP32) — community starter example
# lib: mcauser/micropython-mlx90614 (mlx90614.py on the board)
from machine import Pin, I2C
import mlx90614, time
i2c = I2C(0, scl=Pin(22), sda=Pin(21))
sensor = mlx90614.MLX90614(i2c)
while True:
print("ambient", sensor.read_ambient_temp(), "object", sensor.read_object_temp())
time.sleep(1)Wiring
| Pin | Arduino Uno R3 | ESP32 DevKitC (WROOM-32) | Notes |
|---|---|---|---|
| VCC | +5V | 3V3 | 3.3 V part; many breakouts add a 3-5 V regulator |
| GND | GND | GND | |
| SCL / Vz | A5/SCL | GPIO22 | I2C clock |
| SDA / PWM | A4/SDA | GPIO21 | I2C data |
Typical uses
- Non-contact (IR) temperature
- Forehead thermometers, hotspot detection