Novice users or users who are just beginning to learn to use electronic boards often learn to use LED lights and related programs. After the lights, normally, many users begin to learn to use temperature sensors.
Next we are going to talk about the temperature sensors that exist for Arduino, their positive points, their negative points and what projects we can do with them exactly.
What is a temperature sensor?
A temperature sensor is a component that collects the temperature and / or humidity from the outside and transforms it into a digital or electronic signal that it sends to an electronic board such as an Arduino board. There are many types of sensors and for many areas. We have since the temperature sensor for amateurs that we can get for 2 euros to professional temperature sensors that cost about 200 euros per unit. The difference between a cheap temperature sensor and an expensive temperature sensor lies in the performance it offers.
The precision between the actual temperature and the sensor temperature is one of the main influencing factors when it comes to differentiating; Another factor that changes is the maximum and minimum temperature that they allow, being the professional temperature sensor the one that supports more degrees. Response time, sensitivity or offset are other elements that differentiate one temperature sensor from another. In any case, they are all available for our projects and only the cost of them can limit the purchase of one or the other.
What options do I have for my Arduino board?
Here we show you some of the most famous and popular sensors that we can find in any electronics store or through online stores for a small price or through packs with several units for a low price. They are not the only ones but Yes, they are the most popular and known by the Arduino Community, which ensures that we will have a wide support of each temperature sensor.
Temperature sensor MLX90614ESF
Despite having a slightly strange name, the truth is that the No products found. it is a temperature sensor that uses infrared light to measure temperature. This sensor therefore needs have a field of view of 90º and the average temperature it takes will send it via a 10-bit signal to the Arduino board. The signal is sent digitally following the I2C protocol or we can also use the PWM protocol. Despite having advanced technology, this sensor has a fairly low price, we can find it in electronics stores for about € 13, a low price if we take into account the possibilities they offer.
Thermocouple Type-k sensor
The Thermocouple Type-K sensor is a professional sensor that supports high temperatures. Its composition is very simple since it is only a pair of metal cables that have been soldered to a converter that is the one that emits the signal to Arduino. This system makes the Thermocouple Type-K Sensor I can capture temperatures between -200º C and 1350ºC approximately, nothing to do with sensors for hobbyists, but it also makes this sensor intended for professional projects such as boilers, foundry devices or other devices that need high temperatures.
Arduino DHT22 temperature sensor
The temperature sensor Arduino DHT22 es a digital temperature sensor that not only collects the temperature but also collects the humidity of the environment. The signal is sent to the Arduino through a 16-bit digital signal. The temperatures that recoge this man range between -40º C and 80º C. The price of this sensor amounts to 5,31 euros per unit. A higher price than other sensors but that is justified in the quality of the sensor that is higher than in other sensors.
Arduino TC74 temperature sensor
Temperature sensor Arduino TC74 is a sensor that outputs the signal digitally Unlike other sensors that emit it in an analog way. This sensor transmits through an 8-bit digital signal. The price of this sensor is not very low but not very high, usually around 5 euros per unit. The Arduino TC74 temperature sensor communication is done using the I2C protocol. The temperature range that this sensor collects is between los -40ºC and 125ºC.
Arduino LM35 temperature sensor
The Arduino LM35 temperature sensor is a very inexpensive sensor that is used for hobbyist projects. The output of this sensor is analog and the calibration is done directly in degrees Celsius. Although we have to say that this sensor does not support high temperatures. The temperature that it admits oscillates between 2º C and 150º C. This means that it cannot emit negative temperatures and is therefore ideal for learning how to use temperature sensors. Its price accompanies it, as we can find 10 sensors for 7 euros (approximately).
What projects can we create with a temperature sensor for Arduino?
There are many projects that we can do with a temperature sensor and an Arduino board. The most basic project of all is to create a thermometer that digitally displays the temperature. From here we can create more compound projects such as automators that perform a certain action after reaching a certain temperature, send certain signals with a certain temperature or simply insert the temperature sensor as a safety mechanism to turn off the hob or the machine in case of reaching a certain internal temperature.
The name and number of projects that we can do with a temperature sensor in Arduino is very large, not in vain, it is usually one of the first elements that a novice user usually learns. On Instructables we can find several examples of how to use them.
Is it advisable to use a temperature sensor for our Arduino?
I think that learning how to use a temperature sensor in Arduino is important and necessary. Not only to know and use all the Arduino accessories but to be able to handle temperature data and apply it to programs that work on Arduino. But I do not recommend the use of professional sensors, at least in prototypes and incipient developments.
I think it would be advisable first use amateur sensors and once everything is controlled and the final project is created, then if you use a professional sensor. The reason for this is cost. A temperature sensor can be damaged by various circumstances and amateur sensors can be replaced for less than two euros. Instead, using a professional temperature sensor will multiply the costs by 100.