K Type Temperature Sensor – Four Elements Be Certain To Think About When Choosing a Thermocouple Controller.

Do you want to choose the right sensor to your DIY project depending on the Arduino microcontroller? Well, discovering the right sensor requires research as well as to facilitate this method, you’ll find all of the info you need on this page. However, if there’s a very important factor better within the DIY culture than theory it’s practice.


Temperature sensors are commonly used to sense the temperature inside an environment. Each will function within a similar way, but have slightly different features. Depending on these characteristics, I’ll walk you through the ideal practice of selecting the best temperature sensor to your project with an Arduino microcontroller.

Regardless if you are already a champion of measuring the temperature and simply want a tad bit more information, or you are interested in digging deep into the Arduino temperature monitoring space, these 11 temperature sensors should cover all types of temperature sensors employed in robotics and automation.

Temperature sensors comparison of numbers: DS18B20, LM35DZ, DHT11, thermocouple controller, MLX90614, LM75, SHT15, TMP100, RHT03, TPA81, D6T MEMS

Temperature sensors comparison of numbers: DS18B20, LM35DZ, DHT11, Thermocouple Type-K, MLX90614, LM75, SHT15, TMP100, RHT03, TPA81, D6T MEMS


Because it matters which kind of project you’re searching for, I really hope to possess something listed that may help you:

fire fighting robot able to determine the source of fire and do something;

a mobile robot capable to detect to observe the temperature and send data via Bluetooth or Wi-Fi to some server and look at the temperature information on a smartphone or possibly a tablet;

a wireless sensor network in your house to take decisions and controls the heating and air-con unit;

a security alarm system that senses the existence of a human;

Temperature sensors for hobbyists

The temperature sensors for hobbyists are cheap when compared to the sensors generally, but they serve a similar purpose – reading the temperature. Well, none of such sensors can consume the sun, but are fantastic for homemade robotics and automation applications since they are very easy to interface, accurate, and possesses a speedy response time. As soon as you place your finger upon it, immediately the output of the sensor begins to rise.

In this particular portion of the article, I’ll examine deeply the functions, price, the best way to interface the sensor and also the best applications for each and every sensor.

1. DS18B20

The DS18B20 can be a cheap digital temperature sensor by using a price of only $3.95. The sensor can be used in numerous types of hobbyist applications for beginner yet others that happen to be more capable.

This sensor has 1-wire interface, which means that require just one pin to convey with the microcontroller. More than that, it is actually created with a unique serial number that allows you to interface more sensors on the very same data bus.

The precision of your measurements is high because the sensor is not going to be determined by the precision from the microcontroller to measure the analog signal. And because this sensor carries a digital output, you simply will not have any signal degradation even over long distances.

The sensor can be used in quite a number of applications including temperature sensing and monitoring robot, air temperature monitors, etc.

Note: The DS18B20 carries a waterproof version designed to study the temperature in wet condition. This sensor is jacketed with PVC, and all of you understand about interface and specifications continues to be the same.

This tutorial shows you how to wire the sensor with an Arduino UNO board and read the temperatures detected from the sensor. Within the sketch is referred to as the DallasTemperture library that helps you to utilize this sensor very easy: Arduino – One Wire Digital Temperature Sensor – DS18B20.

2. LM35DZ

Sometimes I don’t think that we are able to buy sensors at a cost less than a coffee. The LM35DZ is probably the cheapest temperature sensor from the DIY community. It comes with a cost of only $1.57.

The sensor is calibrated directly in Celsius degrees, and the only functional mode is the analog output directly proportional to temperature.

This is the ideal sensor for Arduino projects because it might be powered directly with 5V in the Arduino’s power pin and possesses only three pins (one pin is designed for analog output as well as two for power supply).

Using a sealed circuit, the sensor cannot be subjected to oxidation and is also often utilized to measure the water temperature accurately. Generally speaking, the sensor is utilized for easy projects to present with an LCD the actual temperature to advanced robots in a position to detect the fire in the room, warehouse or perhaps a forest.

In this tutorial, you find the scheme from the circuit with the circuit connection and the Arduino sketch to show the temperature detected by the sensor in Celsius and Fahrenheit degrees. To explore more the LM35DZ features, the Instructables user HarshV helps guide you to build a computerized air conditioning.

3. TMP100

The TMP100 has three features which render it among the finest temperature sensors for DIY projects. The 1st feature is the fact that sensor supports an input voltage of 2.7V to 5.5V, which happens to be in opposition to the TMP102 sensor that needed an input voltage between 1.4V and three.6V. The second feature is the two address pins that allow you to control around eight sensors on one I2C bus. Your third important feature is its waterproof property that made it good to read the temperature in damp or dry location. Also, the sensor may be installed on a horizontal deck or upside-down.

Whenever it leaves the Texas Instruments factory, the sensor is actually a tiny and compact chip seems just like a spider with six legs. To function more quickly with the TMP100 sensor, You should to use a breakout board. The DFRobot small breakout board by using a built in TMP100 sensor is a good option at a cost of $11.55.

A similar web shop teaches you inside a tutorial the best way to interface the TMP100 breakout board having an Arduino clone and browse the temperature detected.

4. DHT11

At a cost of $5.33, the DHT11 has cost/performance advantages and it is a fairly cheap sensor to appraise the temperature and humidity. It’s a sensor with an superior quality though with a real downside since you can read the digital signal once every 2 seconds.

Otherwise, it’s fairly easy to embed the sensor in your project as well as monitor the nearby air.

The DHT sensor has two versions: DHT11 and DHT22. Both sensors are extremely good to look at the temperature and humidity, although the characteristics are not the same.

In comparison with DHT11, the DHT22 is useful to look at the temperature from -40 to 125°C and has a better accuracy than DHT11. But even it cannot read a large range of temperature, the DHT11 is smaller and fewer expensive than DTH22.

In this particular tutorial, you locate information how you can wire the sensor, install the DHT11 library and display on Arduino’s Serial Monitor the values generated from the sensor.

From reading to displaying the temperature on an LCD screen is a few minutes. If you wish to try something besides an easy reading temperature application, you can try a method to discover the temperature and humidity of your room and display the values recorded upon an Liquid crystal display plus a website.

5. RHT03 (DHT22)

RHT03 (often known as SHT22) is actually a digital temperature and humidity sensor that comes calibrated and doesn’t require additional components to observe the atmosphere in a room or warehouse. The sensor is user friendly with any Arduino microcontroller and possesses a price of $9.95.

Compared with its little brother DHT11, the DHT22 is far more accurate and might read the temperature and humidity more often than once every second or two.

This tutorial teaches you everything to interface and display the humidity and temperature recorded with the sensor.

6. LM75

LM75 is an additional cost effective digital sensor having a cost of only $2.21. This sensor has two important features: it really is inexpensive and designed being an I2C temperature chip.

The sensor can be a surface mount device, and you need to solder wires onto it. It is a good sensor for hobbyists and students to figure out how to monitor the temperature.

With this guide, you find an Arduino sketch to display the temperature recorded with the sensor.

Temperature sensors for automation & process control

Temperature sensors for automation and process control are pricey in comparison to hobbyists and temperature sensors on average, and therefore are usually employed to monitor the temperature in environments with great fluctuations or even for precise data logging.

In this area of the article, I’ll examine deeply the options, applications and how to use each temperature sensor (SHT15, Thermocouple Type-K) for automation and process control with all the Arduino microcontroller.

Temperature sensors for automation & process control (SHT15, Thermocouple Type-K)

Temperature sensors for automation & process control (SHT15, Thermocouple Type-K)

7. SHT15

SHT15 is a precise humidity and temperature sensor built to work in environments with greater fluctuation in humidity and temperature. At a cost of $41.95 on Robotshop, the sensor comes fully calibrated and with 2-wire digital interface.

In this tutorial, you will understand how to get the temperature and humidity recorded from the sensor.

8. Thermocouple Type-K

A lot of the temperature sensors out of this article cannot reach higher temperatures than 125 C degrees. The Thermocouple Type-K is distinct and works on higher operating temperature than most sensors.

Considering its features, it is actually supposed to might cost more than any other sensor. The fact is that the thermocouple is a simple mixture of two sensitive metals and it has a value of just $9.95.

It possesses a simple digital 2-wire interface and measure at most 1 meter (around 3 feet). The sensor requires an amplifier including MAX31855 that output an electronic signal to the Arduino microcontroller.

Together with an Arduino board, what type-K sensor can be used to study the temperature in heaters and boilers, HVAC systems, etc.

The Adafruit tutorial helps guide you to wire the Thermocouple with the MAX31855 amplifier and display the temperature detected with the sensor.

Temperature sensors for projects with special needs

DS18B20, TMP100, or DHT11 are often a good option if you want to monitor the temperature in the room or outside within a forest therefore making you content with any project. But what if you wish to detect the movement or the amount of persons inside a room? In this particular category enters three of the special temperature sensors.

Each of the sensors incorporated into this area of the article are used in special projects because works different and appraise the temperature distinctive from everything we already know about classic temperature sensors.

Temperature sensors for projects with special needs (MLX90614ESF, TPA81, D6T MEMS)

Temperature sensors for projects with special needs (MLX90614ESF, TPA81, D6T MEMS)

9. MLX90614ESF

The MLX90614ESF sensor senses the temperature by sending infrared light to remote objects. For the reason that sensor sends infrared waves, it might sense the temperature of the object without touching them physically.

Using a price of $19.95, the sensor is simple to use, has good accuracy and high resolution.

The sensor is made for a wide range of applications especially when must look at the temperature across a 90-degree field of view.

Communication with the MLX90614 is achieved through two types of output: PWM and SMBus.

Is an example demonstrating the usage of MLX90614ESF sensor. It makes a simple application that permits you to see the infrared sensors at the job.

10. TPA81

The infrared sensor with built-in lens, paired with increasingly sophisticated module to measure the temperature of eight adjacent points simultaneously, might be effective at some quite interesting things.

You are able to set it to detect the heat of the body or possibly a candle flame at an array of 2 meters (around 6 feet).

The sensor includes a price of $105.44 and communicates with a development system from the I2C interface.

This tutorial covers the software and hardware setup necessary to connect the TPA81 sensor by using a microcontroller. The sensor makes possible the temperature detection in dexopky90 large selection of applications for example the NAO humanoid robot which utilizes the TPA81 thermal sensor to detect the heat source.

11. D6T MEMS

You could possibly want something to occur when nobody’s home or you enter a room, like to have the lights switched off or on. Operating in the infrared waves, you will notice the DT6 sensor as being the logical next step for monitoring a location, security or safety monitoring.

This little smarter sensor can count the amount of folks an area, even when none moves.

The sensor carries a cost of $49.88 and communicates with all the Arduino microcontroller by using an I2C interface.

This PDF file will reveal the way to get the measurement values from your infrared sensor.

Failure mode

Not every temperature sensors are created equal and often they may read high or low temperatures. If you don’t really know if it’s a sensor failure, you have to check below the most prevalent failure mode of any temperature sensor.

1. Sensor heated by the electronics

This is probably one of the more common errors when using a sensor to monitor or detect the temperature. In the event the sensor is heated from the electronics, the sensor will not report the proper temperature. 1st step would be to localize the heating or move the sensor outside of the enclosure.

2. Library error

If you use the Arduino to study the temperature from the sensor, within the Arduino sketch is called a library appropriate for the sensor. You must be certain the library from the sketch is the one that retain the sensor type.

3. Temperature exceeds the max temperature

This is among the worst scenarios for any system that study the temperature. Usually, the producer writes inside the datasheet of your sensor what will happen if the temperature exceeds the maximum temperature backed by the sensor. In the worst, when your sensor reached the utmost temperature, your chip might take an internal damage or might melt.

Tips: Always is great to select a sensor that can support each of the temperatures assumed to get measured. All of the sensors explored in the following paragraphs usually will be more accurate as soon as the temperature reaches the values from the center of the range.

4. Correct conversion between Celsius and Fahrenheit

You must create the right conversion between Celsius to Fahrenheit or Fahrenheit to Celsius. Inside the datasheet from the manufacturer, you find the sensor information regarding measurements.

5. Heat conducted over the wire

If your sensor is in touch with a wire, the wire can conduct a surprising volume of heat. The contact involving the wire and sensor is definitely an issue, especially when you monitor the temperature along pipes.

6. Condensation each morning

Condensation each day can destroy any project or perhaps your expectations regarding the temperature measurements. The condensation appears in every morning when warm moist air meets the cooler dry air. In such a case, water vapors can condense on electronics in the same way it will on grass. Therefore, if you think that your project is exposed to condensation, you will need to use materials that keep water vapor condensation from becoming a problem.