Introduction: Infrared Non-contact Temperature Measuring Kit
A sudden outbreak at the start of the New Year in 2020
left the world at a loss
Mask ,thermometer gun
The suppliers needed to fight the outbreak are even more scarce
The disease is merciless
As an electronics research and development company
Our programmers
Make one yourself, of course
Step 1: Goods Inspection
After the Suite received, you can firstly opened the package:
8 dupont thread is used to connect the modules;
A piece of bread board is used to place module, convenient connection;
A Nano development board, as the master drive display and sensor;
An OLED 12864 screen, is used for displaying the sensor data;
And a MLX 90614 sensor module, temperature data only.
Step 2: The Module of Attachment
The MLX90614 sensor module has four pins, namely VIN, GND, SCL and SDA. The VIN is the positive pole of the power supply, which can be connected to the 3.3V or 5V power interface on the Arduino Nano. GND is the negative pole of the power supply, which is connected to the GND on the Arduino Nano.SCL is the clock line of IIC bus, connected to A5 interface of Arduino, SDA is the data line of IIC bus, connected to A4 interface of Arduino.
The communication mode of OLED12864 display is the same as that of MLX90614, and it also has four pins, namely VIN, GND, SCL and SDA.SCL is the clock line of IIC bus, connected to A5 interface of Arduino, SDA is the data line of IIC bus, connected to A4 interface of Arduino.
Want to see the wiring more intuitively? I will bring the following schematic diagram for you.
Step 3: Software Preparation
A windows computer
Install Arduino IDE correctly
Install CH340 driver
(Our free information package is provided, you can download and install directly)
Step 4: Library Installation
Unzip the three downloaded libraries and add them all to the libraries folder of the Arduino IDE
Step 5: Burning Code
Pin connector
MLX90614 Arduino
SDA -- -- -- -- -- -- -- > A4
SCL -- -- -- -- -- -- -- > A5
VCC -- -- -- -- -- -- -- > 3.3 V / 5 V
GND -- -- -- -- -- -- -- > GND
Open the Arduino software, copy and paste the above test code into the Arduino software, and burn the code.
Use OLED screen to display sensor data
OLED Arduino
SDA -- -- -- -- -- -- -- > A4
SCL -- -- -- -- -- -- -- > A5
VCC -- -- -- -- -- -- -- > 3.3 V / 5 V
GND -- -- -- -- -- -- -- > GND
Use the following OLED display test code, follow the above serial port output sensor data test steps, continue to verify.
Note: this code does not output data through the serial port, the data is directly displayed on the screen, so you do not need to open the serial port monitor, directly look at the OLED display.
NOTE:
• select "Arduino Nano" in the column of "development board", "328P" in the column of "processor", and "port" according to the actual port displayed. • the serial port communication baud rate set in the code is 9600, so the serial port monitor should also be set to 9600 to display data properly.
Step 6: Test Result
Step 7: Sensor's Q&A
1. How far is the temperature measurement distance of this type of sensor?
The Angle of view of this sensor is 90°, and the distance of temperature measurement is related to the size of the target. For a target with a diameter of one centimeter, the distance of temperature measurement is 1cm, while for a target with a diameter of 5cm, the distance of temperature measurement is 5cm. However, if the actual measurement is larger than 10cm, it is better not to exceed 10cm.If distance is a requirement, you can buy a narrow viewing Angle or a sensor with an optical lens, and the code can be ported directly.
2. What is the response time of this type of sensor?
The response time for MLX90614 is 200ms.
3. What is the temperature range of this type of sensor?
The temperature range of this sensor is -70℃~+380℃, but the temperature range of the sensor is -40℃~+125℃, beyond which the sensor will be damaged.
4. What is the working voltage of the sensor?
The working voltage of this type of sensor is 3V~5V, which can directly enter 3.3V or 5V power supply, and support direct communication with 3.3V and 5V SCM, without the need to install level conversion.
5. After downloading the program, the temperature is always displayed as 1037.55℃
This is because there is not a good connection between the sensor and the Arduino. You can first check whether the wiring is correct. If the wiring is correct, you can try to re-plug the dupont wire or try to replace it.
Step 8: Display Application Video
What can you do with this sensor? The simple temperature products what you can think of all can try to homemade, today, I bring a set of sensors with the DIY temperature gun. Let's see the below video.
If you're an electronics enthusiast
Or need an infrared thermometer
Come and learn more about our style
Comments