Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use mlx90614: Examples, Pinouts, and Specs

Image of mlx90614Design with mlx90614 in Cirkit Designer

Introduction

The MLX90614 is a contactless infrared (IR) temperature sensor that provides a digital output corresponding to the temperature of the object it is pointed at. This sensor is manufactured by Melexis and is designed for non-contact temperature measurements in various applications, including industrial controls, automotive systems, medical equipment, and home appliances.

Explore Projects Built with mlx90614

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity: A project utilizing mlx90614 in a practical application
ESP32-Based Multi-Sensor Health Monitoring System with Bluetooth Connectivity

This circuit features an ESP32-WROOM-32UE microcontroller as the central processing unit, interfacing with a variety of sensors and modules. It includes a MAX30100 pulse oximeter and heart-rate sensor, an MLX90614 infrared thermometer, an HC-05 Bluetooth module for wireless communication, and a Neo 6M GPS module for location tracking. All components are powered by a common voltage supply and are connected to specific GPIO pins on the ESP32 for data exchange, with the sensors using I2C communication and the modules using UART.

Open Project in Cirkit Designer
Image of Arduino Mega 2560-Based Autonomous Robot with GPS, Bluetooth, and Environmental Sensors: A project utilizing mlx90614 in a practical application
Arduino Mega 2560-Based Autonomous Robot with GPS, Bluetooth, and Environmental Sensors

This circuit is a robotic system controlled by an Arduino Mega 2560, which uses multiple sensors including temperature sensors (MLX90614), gas sensors (MQ-136), a GPS module, and a Bluetooth module to navigate and detect environmental conditions. The system drives motors via an L298N motor driver and displays information on a 16x2 I2C LCD, with the ability to receive commands via Bluetooth.

Open Project in Cirkit Designer

Common Applications and Use Cases

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Name Description
1 Vdd Power supply (3.3V to 5V)
2 SDA I2C Data Line
3 SCL I2C Clock Line
4 GND Ground

Usage Instructions

How to Use the Component in a Circuit

  1. Power Supply: Connect the Vdd pin to a 3.3V or 5V power supply.
  2. Ground: Connect the GND pin to the ground of the power supply.
  3. I2C Communication: Connect the SDA and SCL pins to the I2C data and clock lines of your microcontroller.

Important Considerations and Best Practices

Example Code for Arduino UNO

#include <Wire.h>
#include <Adafruit_MLX90614.h>

Adafruit_MLX90614 mlx = Adafruit_MLX90614();

void setup() {
  Serial.begin(9600);
  mlx.begin();  
}

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

Code Comments

Troubleshooting and FAQs

Common Issues

Solutions and Tips for Troubleshooting

FAQs

Q: Can the MLX90614 measure the temperature through glass? A: No, the sensor cannot measure through glass as it blocks IR radiation.

Q: Is the MLX90614 waterproof? A: The sensor itself is not waterproof. It requires additional protection if used in a moist environment.

Q: How can I calibrate the MLX90614? A: Calibration should be done against a known temperature reference in the same environmental conditions as the intended application.

Q: What is the I2C address of the MLX90614? A: The default I2C address is 0x5A. However, it can vary with different versions of the sensor.

This documentation provides a comprehensive guide to the MLX90614 IR temperature sensor, ensuring users can effectively integrate and utilize this component in their projects.