Devices & Components
Arduino Uno Rev3
2x 4.7kohm Resistors
Capacitor 0.1uF
Jumper wires (generic)
MLX90615 Digital Infrared Temperature Sensor Module for Arduino GY Series
Hardware & Tools
Breadboard, Plain
Software & Tools
Arduino IDE
Project description
Code
MLX90615 code
c_cpp
Copy paste into Arduino IDE software and upload onto arduino. Run serial monitor and watch the action happen live.
1#include <mlx90615.h> 2#include <Wire.h> 3MLX90615 mlx = MLX90615(); 4 5void setup() { 6 7 //setup MLX IR sensor 8 9 mlx.begin(); 10 11 // initialize serial communication: 12 13 Serial.begin(9600); 14 15 } 16 17void loop() { 18 Serial.print("Ambient = "); 19 Serial.print(mlx.get_ambient_temp()); 20 Serial.print(" *C\ Object = "); 21 Serial.print(mlx.get_object_temp()); 22 Serial.println(" *C"); 23} 24
MLX90615 code
c_cpp
Copy paste into Arduino IDE software and upload onto arduino. Run serial monitor and watch the action happen live.
1#include <mlx90615.h> 2#include <Wire.h> 3MLX90615 mlx = MLX90615(); 4 5void setup() { 6 7 //setup MLX IR sensor 8 9 mlx.begin(); 10 11 // initialize serial communication: 12 13 Serial.begin(9600); 14 15 } 16 17void loop() { 18 Serial.print("Ambient = "); 19 Serial.print(mlx.get_ambient_temp()); 20 Serial.print(" *C\ Object = "); 21 Serial.print(mlx.get_object_temp()); 22 Serial.println(" *C"); 23} 24
Downloadable files
Schematic for MLX90615 Sensor
For the resistors, use 4.7k for each one. Capacitor is 0.1uF
Schematic for MLX90615 Sensor

Schematic for MLX90615 Sensor
For the resistors, use 4.7k for each one. Capacitor is 0.1uF
Schematic for MLX90615 Sensor

Schematic for GY-90615
Schematic for GY-90615

Comments
Only logged in users can leave comments