Is it difficult for you to choose a temperature sensor from the maker market that is full of different kinds? Therefore, we have prepared a guide of temperature sensors that compatible with Arduino for your reference.
What is a temperature sensor?
The temperature sensor is a sensor can convert temperature to output signal. It is the core of measuring instrument for temperature and comes in a wide variety. It can be classified according to measuring ways as contact one and non-contact one; It can also be classified according to materials and electrical characteristics as a resistance thermometer or a thermocouple.
A guide of Arduino compatible temperature sensors
*You can open picture in new tab to have a clear view.
Caution: Different environments will lead to deviation in the temperature measurement.
In the image, we offer the real data for your reference only.
Gravity: i2C BMP280 Barometer Sensor SKU: SEN0226
The new published BMP280 Barometer sensor supports Arduino and can measure both temperature and atmospheric pressure.
Improvements based on BMP180:
Based on mature piezoelectric pressure transducer technologies of BOSCH, BMP280 has many advantages, such as high EMC stability, high precision, low power consumption etc. The precision is about ±0.12 hPa, which means the deviation is ±1m. It also supports temperature measurement from 0℃ to 65℃. It adopts Gravity-IIC 4Pin standard interface and communicate with Arduino by I2C interface. Moreover, it can calculate latitude according to temperature data and pressure data.
Gravity: Analog LM35 Temperature Sensor For Arduino SKU: DFR0023
LM35 is a popular temperature sensor produced by National Semiconductor. The voltage produced is linear with temperature change. For example, the output voltage is 0V of 0℃ and an increase in the temperature by 1℃ advances the output voltage of 10mV.
LM35 module could not just plug into Arduino Sensor expansion board directly with a 3P sensor wire but also connects to different SCM develop boards and robot controllers. These features make LM35 a sensor master environment temperature easily and an ideal sensor for interactive works and intelligent robots.
Caution: Due to output voltage of LM35 is relatively low, once we choose normal Arduino master board to measure, it may leads to deviation and jittery. It also needs greater significant bit of ADC master board. Therefore, we have published an upgraded version: V3 to solve these problems. The version has onboard precise amplification circuit that advances the sensitivity to 30mV/℃, and of better stability and stronger anti-jamming capacity.
Waterproof DS18B20 Sensor Kit SKU: KIT0021
Waterproof temperature sensor DS18B20 is widely used in many fields, such as soil temperature measurement, hot tank temperature control etc. Additionally, we designed a Pluggable Terminal adapter for DS18B20. However, we must satisfy two conditions: 1. Add a pull-up resistor. 2. Switch to jumper-cap alternatively. Only satisfy these conditions, can we connect DS18B20 to Arduino.
Interface of three-wire: Divided to type A and type B.
Type A: Red (VCC), Black (GND), Yellow (DATA)
Type B: Red (VCC), Yellow (GND), Green (DATA)
*Please pay attention to interface of DS18B20.
*Caution: DS18B20 can protect itself from damage of wrong connection of positive and negative poles; the chip will not burnt but stop working. In the multipoint temperature measurement, eight DS18B20 can parallel connected at the most or voltage of power supply is too low to transport signals steadily.
DS18B20 Temperature Sensor (Arduino Compatible) provides with relatively simple temperature measure system and high precision. Moreover, it is convenient to connect for less interface in need (Only one I/O interface is enough). However, it is not waterproof.
*Caution: Users of V5 please note that its wiring order is compatible with V7 I/O.
Below are the updates of interface layout.
Gravity: Analog High Temperature Sensor SKU:SEN0198
What sensor will you need for temperature measures?
Most people will think of a DS18B20 temperature sensor at first, but this sensor can only measure temperatures up to 125°C. In order to measure temperatures more than 100°C, you must need a sensor with wider temperature range and better resistance. This is the sensor that you need! With electric resistance high-temperature PT100 probe that is popular in industrial applications, it broadens temperature range to 30-350 °C. The module supports input voltage: 3.3V-5.5V, so it is compatible with Arduino, STM32 and other microcontrollers.
*Caution: You need to know reference voltage of analog interfaces before download programs. If supply voltage of develop board is 3.3V, you should change the code const float voltageRef = 5.000 to const float voltageRef = 3.300. If supply voltage is 5V, change it accordingly. If you want to increase precision, you need to measure voltage value of IOREF and replace value in the code accordingly.
Temperature measurement is always divide to two types: contact and non-contact. Contact measurement can only measure temperature when the object and the sensor reach thermal equilibrium, which means longer response time and reading inaccuracies offset by ambient temperature. Below is the analysis of non-contact measurement sensors based on contact ones.
Our latest infrared temperature measurement module is MLX90614. This module measures the surface temperature by detecting infrared radiation energy and wavelength distribution. MLX90614 itself calibrating and has a low noise amplifier integrated into the signal processing chip. The chip is a 17-bit ADC and DSP device, giving accurate and reliable results.
*Caution: Before using the infrared temperature measurement module, it is important to understand the concept of ‘field of view’ (FOV). FOV is determined when a thermopile receives 50% of the radiation signal; it is also relate to the main axis of the sensor. As shown in the figure below, the size of the FOV is indicated on the horizontal axis. This measured temperature is actually the weighted average temperature of the object in the FOV and the measurement accuracy can only be ensured when the testing object totally covers the FOV of the infrared sensor. This means that the distance between the measurement terminal point and the bus bar must be ensured to meet the demands to guarantee the temperature measurement accuracy.
In detail, this module has a FOV of 35°, so tan35° = the radius of the testing object ÷ the distance between the infrared sensor and testing object.
E.g. the radius of the testing object is 5cm, so the measuring distance is 7cm (that means the measurement result is most accurate within this scope). The FOV graph of this sensor is below:
The points of measurement all need to be in the field of view
Infrared Thermometer Module SKU:SEN0093
The high-quality non-contact infrared thermometer module is a TN9 module of high sensitivity and high accuracy.
If the operating voltage is 4.5V, the operating current is 6mA~9mA and quiescent current is 3μA~4.5μA.
Gravity:SHT1x Humidity and Temperature Sensor SKU: DFR0066
Sensirion in Switzerland introduced SHT1x single chip digital sensors, which integrates humidity and temperature measurements. CMOSens technology makes it of advantages such as low power consumption, fast response, strong anti-jamming capacity, good stability.
*Caution: temperature and humidity sensor is not a normal electronic component; it cannot exposed to high concentration chemical vapors; nor overheating environment, for temperature influence humidity, so we should keep the sensor of same temperature and humidity during humidity measurement. We also need to keep both testing sensor and referencing sensor under same temperature.
This DHT11 Temperature and Humidity Sensor features a calibrated digital signal output with the temperature and humidity sensor complex. Deviation of humidity and temperature is ±5%RH and ±2℃. The humidity range is 20-90%RH and temperature range is 0~50℃.
it’s exclusive digital module collection, temperature and humidity sense technologies contribute high reliability and excellent long-term stability.
*Caution: Please avoid exposing to sunshine or intense radiation.
DHT22 Temperature and Humidity Sensor SKU: SEN0137
Similar to DHT11, DHT22 capacitive humidity sensing digital temperature and humidity module also has single line serial interface, small and low power consumption, and super-long signals transmission distance up to 20 meters. The biggest difference between them is that DHT11 is made up of resistance moisture-sensitive components, but DHT22 is made up of capacitive moisture-sensitive components.
*Caution: DHT22 digital temperature and humidity sensor is designed for analog sensor interfaces. The analog port will be used as the digital, which will not occupy the original digital port of the Arduino. The lines of the sensor, which can transform the analog function to digital that can be used on digital port.
These are types of basic temperature sensors and we have designed remarks in the DFRobot boards to help you distinguish temperature sensors and temperature and humidity sensors: