Arduino UNO and MLX90614 Temperature Sensor with I2C Communication
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an MLX90614 infrared temperature sensor, an Arduino UNO microcontroller, and two resistors. The circuit is designed to interface the MLX90614 sensor with the Arduino UNO for temperature measurement. The resistors are used for pull-up purposes on the I2C communication lines.
Component List
MLX90614
- Description: Infrared temperature sensor
- Pins: SDA, SCL, GND, VIN
Arduino UNO
- Description: Microcontroller board based on the ATmega328P
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Resistor (4.7k Ohms)
- Description: Resistor with a resistance of 4700 Ohms
- Pins: pin1, pin2
Resistor (4.7k Ohms)
- Description: Resistor with a resistance of 4700 Ohms
- Pins: pin1, pin2
Wiring Details
MLX90614
- SDA: Connected to Resistor pin2, Arduino UNO A4
- SCL: Connected to Resistor pin2, Arduino UNO A5
- GND: Connected to Arduino UNO GND
- VIN: Connected to Resistor pin1, Resistor pin1, Arduino UNO 3.3V
Arduino UNO
- A4: Connected to Resistor pin2, MLX90614 SDA
- A5: Connected to Resistor pin2, MLX90614 SCL
- GND: Connected to MLX90614 GND
- 3.3V: Connected to Resistor pin1, Resistor pin1, MLX90614 VIN
Resistor (4.7k Ohms)
- pin1: Connected to Arduino UNO 3.3V, MLX90614 VIN
- pin2: Connected to Arduino UNO A4, MLX90614 SDA
Resistor (4.7k Ohms)
- pin1: Connected to Arduino UNO 3.3V, MLX90614 VIN
- pin2: Connected to Arduino UNO A5, MLX90614 SCL
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your sensor and any other peripherals. The loop() function is where you will write the main logic to read data from the MLX90614 sensor and process it as needed.
Additional Documentation
// This file is intended for additional documentation purposes.
This section is reserved for any additional documentation that may be required for the project.