DFRobot TS01 IR temperature sensor is a non-contact thermal sensor, which can be used to measure the infrared intensity of the object so as to calculate its surface temperature without touching. The built-in temperature compensation for the sensor greatly ensures the accuracy of the temperature measurement. The all metal package of the sensor makes it able to protect against impact, water, dust and so on. Given stable output data, this temperature sensor can exhibit a much better measurement performance than most other similar products on the market. The product has been calibrated in wide temperature range before leaving the factory. With an operating temperature of -40℃-85℃, the sensor can be used to measure the temperature of -70℃~380℃ while providing a maximum accuracy of 0.5°C.
An optical filter (long-wave pass) that cuts off the visible and near infrared radiant flux is integrated in the package to provide ambient and sunlight immunity. Its FOV is small as 5°, which means for a heat source of 10cm outer diameter, the maximum measuring distance of the sensor can reach up to 116cm.
TS01 Non-Contact Analog Infrared Temperature Sensor (-70℃~380℃, IP65, 0-3V) x1
Tutorial
Preparation
Hardware
Arduino UNO Main Board(or analogous main board ) ×1
TS01 Infrared Temperature Sensor 0-3V ×1
Object Detected ×1
Software
Arduino IDE(1.0×or 1.8×), click to download Arduino IDE.
Connection Diagram
Ground the shield.
Sample Code
void setup() {
Serial.begin(115200);
}
void loop() {
unsigned int ADC_Value = analogRead(A5);
float i=((double)ADC_Value*340/614.4-70);
//If the measured temperature is wrong please change 340 to 450
Serial.print(i);
Serial.println("\u2103");//Printed temperature value
delay(100);
}
Result
Gradient Diagram of Measuring Accuracy
The field of view(FOV) of the sensor is 5°. The target dimension and the optical properties of the IR temperature sensor decided the maximum distance between the target and the probe. The field of view of the sensor is shown below.
The gradient diagram of measuring accuracy of the sensor is shown below (To is the measured temperature; Ta is the temperature of the environment the sensor locates in). Please note that the temperature error only applies to a certain isothermal condition, and it’s only valid when the detected object is fully filling in the FOV of the sensor.