9 Arduino Compatible Temperature Sensors for Your Electronics Projects

Reading the temperature with the Arduino is a very useful task. It is commonly used in a weather station project or in a home thermostat, for example. There are several ways of measuring the temperature.

I put together a list of 9 temperature sensors compatible with the Arduino that you can use in your electronics projects. These are great for hobbyist projects since most of them are easy to deal with and also very affordable.

Here’s the list:

1. DHT11

dht-11

Build 25 cool Arduino projects with our course even with no prior experience DOWNLOAD »

Build 25 cool Arduino projects with our course even with no prior experience DOWNLOAD »

If you follow my tutorials you should be quite familiar with this sensor, because it is the one I use more often.

Besides reading temperature, it also reads humidity. This is definitely a good performance/cost option. The only drawback is that it only can read the digital signal once every 2 seconds.

The cost of this sensor varies from $1 to $5 (view on eBay).

I have a guide on how to use this sensor with Arduino. You can check it on the following link:

2. DHT22

dht22

The DHT22 sensor is very similar to the DHT11 and it also measures temperature and humidity. It is slightly more expensive, but it is more accurate and can read temperature and humidity more than once every second. It is available from $4 to $10 (view on eBay).

The way you use this sensor with the Arduino is the same as for the DHT11: the wiring and the libraries are the same.

So if you are planning using this sensor, you can read the following guide:

3. LM35DZ

lm35dz

The LM35DZ is another analog sensor and it comes directly calibrated in Celsius. The analog output is directly proportional to the temperature. It is very similar to the TMP36 temperature sensor.

You can find this sensor on eBay for less than $2 (view on eBay).

4. BMP180

bmp180

Although this is a barometric pressure sensor, it also measures temperature. This is very useful to include in any weather station project.

Download our Free eBooks and Resources

You can grab one of these sensors at eBay for about $4 (view on eBay).

Check the following post to know more about this sensor with the Arduino:

5. TMP36

tmp36

The TMP36 is an analog temperature sensor. It outputs an analog value that is proportional to the ambient temperature. It is very similar to the LM35 sensor.

This sensor is available for about $2 (view on eBay).

6. LM75

lm75

The LM75 sensor is another useful one. It works via I2C communication, which means that it communicates with the Arduino using the SDA and SCL pins. You can find one for about $2 (view on eBay).

7. TMP100

tmp100

The TMP100 sensor has two address pins, which makes it possible to control up to eight sensors on a single I2C bus.

This sensor looks like a spider and is not breadboard friendly. So, if you are interested in it, it is better to acquire a breakout board with a built-in TMP100 sensor (view on eBay).

8. DS18B20

ds18b20

The DS18B20 sensor communicates via one-wire interface. This means that it communicates with the Arduino using only one pin. It has a unique serial number, which allows you to interface more than one sensor on the same data bus.

The sensor is very cheap, you can find one on eBay between $1 to $2 (view on eBay).

If you want to know how to use this sensor with the Arduino you can check the following post.

9. Waterproof DS18B20

ds18b20-waterproof

The DS18B20 is also available in waterproof version (read the DS18B20 guide). The wires are protected with PVC which is ideal if you need to measure the temperature of liquids, or if the sensor needs to be exposed to water.

The wiring and specifications are the same as for the normal DS18B20. The waterproof version remains as cheap as the regular one (view on eBay).

Wrapping Up

I hope you’ve found this list useful. Which one is your favorite temperature sensor? What’s the sensor that you use more often?

Let me know by leaving a comment below.

Thanks for reading,

Rui and Sara

P.S. I recommend reading: 21 Arduino Modules You Can Buy For Less Than $2


Learn how to program and build projects with the ESP32 and ESP8266 using MicroPython firmware DOWNLOAD »

Learn how to program and build projects with the ESP32 and ESP8266 using MicroPython firmware DOWNLOAD »


Enjoyed this project? Stay updated by subscribing our weekly newsletter!

22 thoughts on “9 Arduino Compatible Temperature Sensors for Your Electronics Projects”

  1. Hi Rui,
    thank you for this list of temperature sensors.

    Don’t take me wrong, but after reading this page the reader still doesn’t know which sensor to use.

    It would be very helpful if you could add a comparative table, with main characteristics (operating voltage, communication process, etc), and the strong/weak points.

    Like this your readers would have a pretty overview of which sensors suits the best for the project they are preparing.

    This is not a critic, but a suggestion 😉
    Roger

  2. hi rui
    thanks a lot for your website
    the most annoying problem is that these sensors are not reliable, i.e. you can not use them in a project and let it work for at least 6 months!
    Am I not right?

  3. Hi Rui, I think that DS1621 can be placed in to your list of temperature sensors. This mc not only temperature sensor, it also can be programmable thermostat and support addressing (up to 8 chips on I2C bus). I.e. we only need to set bounds and this mc will keep user defined temperature automatically.

  4. Hi Rui,

    I would like to measure temperature on two spots on a diesel engine, coolant (±90°C) with a NCT or LM35 and exhaust gas (±650°C) with a Max667 and K-Type thermocouple connected to a Arduino UNO and display. Any suggestions and links please.

    Regards
    Danie

  5. ¿No has probado el AD590? Tiene salida por corriente, 1uA/K para Vcc entre 4 y 30V.
    Perfecto para hacer sonda remota. La serie de sensores de Analog Devices está muy bien.

  6. I greatly appreciate the idea that all temperature sensors were placed on this list. However, what do you guys think would best fit the requirement of high accuracy, low power consumption and long lifetime? I was worried that abdolhamed mentioned that these devices won’t be as good after 6 months or less perhaps. I’ll be using one temperature sensor with a MQ-02 gas and smoke sensor for our wireless sensor network based-fire alarm system project for our thesis. Thank you! 😀

  7. I am looking to use a sensor in a project where the sensor will be on the bottom of a wooden object. Which sensor, if any, would be able to have the weight of the wood on top of it? Thank you!

    • Hi Liza.
      I’ve never used one, but I think what you need is a load sensor like this one: sparkfun.com/products/10245
      Regards,
      Sara

Leave a Comment

Download our Free eBooks and Resources

Get instant access to our FREE eBooks, Resources, and Exclusive Electronics Projects by entering your email address below.