In this tutorial, we will see how we can interface GY906 non-contact infrared temperature sensor with ARIES v3.0 boards
GY906 Temperature Sensor
The GY906 (MLX90614) sensor measures temperature without being physically touched. This can be very useful for monitoring the temperature of something moving like a spinning motor shaft or objects on a conveyor belt for example. Simply point the sensor at what you want to measure and it will detect the temperature by absorbing the emitted IR waves.
The specifications are given below:
Object temperature | -70°C to 382.2°C |
Ambient temperature | -40°C to 85°C |
Accuracy | ±0.5°C (around room temperatures) |
Resolution | ±0.2°C |
Field of view | 90° |
Supply voltage | 3.3 to 5.5V |
Operating Current | 2mA |
Prerequisites
- Windows 10 or above/Linux (64 bit)
- Arduino IDE
- VEGA ARIES Board support package
Components Required
- ARIES v3.0 Board
- USB type C to USB type A cable
- GY906 (MLX90614) Temperature Sensor
- Jumper Wires
Note: All of the following boards can be used for this project
Connection Diagram
Connections
GY906 Temperature Sensor | ARIES V3 board |
VCC | 3.3V |
GND | GND |
SCL | GPIO-6 |
SDA | GPIO-5 |
Procedure
Open and set up the Arduino IDE as described in Getting Started with ARIES v3.0.
- Make sure you have selected ARIES v3 Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES v3
- Select Programmer as VEGA XMODEM from Tools -> Programmer -> VEGA XMODEM
- Also select appropriate port from Tools -> Port -> COM* (ARIES Board)
Now, Open Files -> Examples -> Under Examples for ARIES v3 -> SWIRE-> GY906_IRtempSensor
Output
Once the code is uploaded you can see the Ambient and Object temperature displaying on the serial Monitor. Show the sensor near various surface, to see the temperature reading of each surface. You can measure temperature of any object and display it in the serial monitor after uploading this code.