{"id":28860,"date":"2019-07-16T17:59:46","date_gmt":"2019-07-16T17:59:46","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=28860"},"modified":"2019-07-16T18:39:17","modified_gmt":"2019-07-16T18:39:17","slug":"9-arduino-compatible-temperature-sensors-for-your-electronics-projects","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/9-arduino-compatible-temperature-sensors-for-your-electronics-projects\/","title":{"rendered":"9 Arduino Compatible Temperature Sensors for Your Electronics Projects"},"content":{"rendered":"\n<p>Reading the temperature with the Arduino is a very useful task. There are a wide variety of temperature sensors with different features that you can use in your projects. In this article, we&#8217;ve put together a compilation of 9 affordable temperature sensors compatible with the Arduino and other development boards (like ESP32 or ESP8266).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?resize=1200%2C675&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"9 Arduino Compatible Temperature Sensors for Your Electronics Projects\" class=\"wp-image-87424\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?w=1280&amp;quality=100&amp;strip=all&amp;ssl=1 1280w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?resize=300%2C169&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?resize=768%2C432&amp;quality=100&amp;strip=all&amp;ssl=1 768w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?resize=1024%2C576&amp;quality=100&amp;strip=all&amp;ssl=1 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">1. DHT11<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/dht11-temperature-humidity-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/05\/dht-111.jpg?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"DHT11 Temperature and Humidity Sensor\" class=\"wp-image-5422\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/05\/dht-111.jpg?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/05\/dht-111.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The <a href=\"https:\/\/makeradvisor.com\/tools\/dht11-temperature-humidity-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">DHT11<\/a> is a digital temperature sensor that measures temperature and relative humidity.<\/p>\n\n\n\n<p>These sensors contain a chip that does analog to digital conversion and spit out a digital signal with the temperature and humidity. This makes them very easy to use with any microcontroller, including the Arduino. <\/p>\n\n\n\n<p>The following table shows the most relevant specifications of the DHT11 temperature sensor.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntclblue\">DHT11<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>one-wire<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>3 to 5.5 V<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>0 to 50 \u00baC&nbsp;<sup>+\/-2 \u00baC<\/sup><\/td><\/tr><tr><td><strong>Humidity range<\/strong><\/td><td>20 to 90%&nbsp;<sup>+\/-5%<\/sup><\/td><\/tr><tr><td><strong>Sampling period<\/strong><\/td><td>1 second <\/td><\/tr><tr><td><strong>Arduino libraries<\/strong><\/td><td><a rel=\"noreferrer noopener\" aria-label=\"Adafruit DHT Library\n (opens in a new tab)\" href=\"https:\/\/github.com\/adafruit\/DHT-sensor-library\" target=\"_blank\">Adafruit DHT Library<br><\/a><a href=\"https:\/\/github.com\/adafruit\/Adafruit_Sensor\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Adafruit Unified Sensor Library (opens in a new tab)\">Adafruit Unified Sensor Library<\/a><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a href=\"https:\/\/makeradvisor.com\/tools\/dht11-temperature-humidity-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Check prices (opens in a new tab)\">Check prices<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>We have a dedicated guide on how to use this sensor with the Arduino:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/complete-guide-for-dht11dht22-humidity-and-temperature-sensor-with-arduino\/\">Complete Guide for DHT11\/DHT22 Humidity and Temperature Sensor With Arduino<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. DHT22<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/dht22-temperature-humidity-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/dht22.jpg?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"DHT22 Temperature and Humidity Sensor\" class=\"wp-image-28862\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/dht22.jpg?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/dht22.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/dht22.jpg?resize=80%2C80&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/dht22.jpg?resize=100%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 100w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The <a rel=\"noreferrer noopener\" aria-label=\"DHT22 temperature sensor (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/dht22-temperature-humidity-sensor\/\" target=\"_blank\">DHT22 temperature sensor<\/a> is very similar to the DHT11. It also measures temperature and humidity and the pinout is the same. It is slightly more expensive, but it is more accurate and it has a wider temperature and humidity measurement range.<\/p>\n\n\n\n<p>The following table shows the most relevant specifications of the DHT22 temperature sensor.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcgray\">DHT22<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>one-wire<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>3 to 6 V<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td> -40 to 80 \u00baC&nbsp;<sup>+\/-0.5\u00baC<\/sup> <\/td><\/tr><tr><td><strong>Humidity range<\/strong><\/td><td>0 to 100%&nbsp;<sup>+\/-2%<\/sup> <\/td><\/tr><tr><td><strong>Sampling period<\/strong><\/td><td>2 seconds <\/td><\/tr><tr><td><strong>Arduino libraries<\/strong><\/td><td><a rel=\"noreferrer noopener\" aria-label=\"Adafruit DHT Library\n (opens in a new tab)\" href=\"https:\/\/github.com\/adafruit\/DHT-sensor-library\" target=\"_blank\">Adafruit DHT Library<br><\/a><a href=\"https:\/\/github.com\/adafruit\/Adafruit_Sensor\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Adafruit Unified Sensor Library (opens in a new tab)\">Adafruit Unified Sensor Library<\/a><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/dht22-temperature-humidity-sensor\/\" target=\"_blank\">Check prices<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Learn how to use the DHT22 temperature sensor with the Arduino with the following tutorial: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/complete-guide-for-dht11dht22-humidity-and-temperature-sensor-with-arduino\/\">Complete Guide for DHT11\/DHT22 Humidity and Temperature Sensor With Arduino<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">3. LM35DZ, LM335, LM34<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/lm35-lm35dz-temperature-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/lm35dz.jpg?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"LM35DZ LM35 Temperature Sensor\" class=\"wp-image-28867\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/lm35dz.jpg?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/lm35dz.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/lm35dz.jpg?resize=80%2C80&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/lm35dz.jpg?resize=100%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 100w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/lm35-lm35dz-temperature-sensor\/\" target=\"_blank\">LM35DZ <\/a>is a linear temperature sensor that comes directly calibrated in Celsius. The analog output is directly proportional to the temperature in Celsius: 10 mV per degrees Celsius rise in temperature.&nbsp;<\/p>\n\n\n\n<p>This sensor is very similar with the <a rel=\"noreferrer noopener\" aria-label=\"LM335  (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/lm335-temperature-sensor\/\" target=\"_blank\">LM335 <\/a>(calibrated in Kelvin) and with the <a href=\"https:\/\/makeradvisor.com\/tools\/lm34-temperature-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"LM34  (opens in a new tab)\">LM34 <\/a>(calibrated in Fahrenheit).<\/p>\n\n\n\n<p>The following table shows the most relevant specifications of the LM35 temperature sensor. <\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcblack\">LM35DZ<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>analog ouput<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>4 to 30 V<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>-55 to 150\u00baC <\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td>+\/-0.5\u00baC (at 25\u00baC) <\/td><\/tr><tr><td><strong>Interface with Arduino<\/strong><\/td><td><span class=\"rnthl rntliteral\">analogRead()<\/span><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td>Check prices<br><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/lm35-lm35dz-temperature-sensor\/\" target=\"_blank\">LM35<\/a><br><a href=\"https:\/\/makeradvisor.com\/tools\/lm335-temperature-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"LM335 (opens in a new tab)\">LM335<\/a><br><a rel=\"noreferrer noopener\" aria-label=\"LM34 (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/lm34-temperature-sensor\/\" target=\"_blank\">LM34<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Learn how to use the LM35DZ, LM335 or LM34 temperature sensors with the Arduino:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/arduino-lm35-lm335-lm34-temperature-sensor\/\">Guide for LM35, LM335 and LM34 Temperature Sensors with Arduino<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">4. BMP180<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/bmp180-barometric-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/bmp180.jpg?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"BMP180 barometric pressure sensor\" class=\"wp-image-28869\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/bmp180.jpg?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/bmp180.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/bmp180.jpg?resize=80%2C80&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/bmp180.jpg?resize=100%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 100w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Although the BMP180 is a barometric pressure sensor, it also measures temperature. This is very useful to include in any weather station project.<\/p>\n\n\n\n<p>The following table shows the most relevant specifications of the BMP180 sensor when it comes to temperature reading. <\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcblue\">BMP180<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>I2C<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>1.8 to 3.6V (for the chip) 3.3 to 5V for the module<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>0 to 65\u00baC<\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td>+\/-0.5\u00baC (at 25\u00baC) <\/td><\/tr><tr><td><strong>Interface with Arduino<\/strong><\/td><td><a href=\"https:\/\/github.com\/adafruit\/Adafruit-BMP085-Library\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Adafruit BME085\n (opens in a new tab)\">Adafruit BME085<br><\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/adafruit\/Adafruit_Sensor\" target=\"_blank\">Adafruit Unified Sensor Library<\/a> <\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a href=\"https:\/\/makeradvisor.com\/tools\/bmp180-barometric-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Check prices<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Check the following tutorial to learn how to use the BMP180 sensor with the Arduino to measure pressure, temperature and estimate altitude:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-bmp180-barometric-sensor-with-arduino\/\">Guide for BMP180 Barometric Sensor with Arduino<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">5. TMP36<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/ebay.to\/2dP02Wv\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/TMP36.jpg?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"TMP36 Analog Temperature Sensor\" class=\"wp-image-28868\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/TMP36.jpg?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/TMP36.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/TMP36.jpg?resize=80%2C80&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/TMP36.jpg?resize=100%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 100w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>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 <a rel=\"noreferrer noopener\" aria-label=\"LM35 sensor (opens in a new tab)\" href=\"https:\/\/makeradvisor.com\/tools\/lm35-lm35dz-temperature-sensor\/\" target=\"_blank\">LM35 temperature sensor<\/a>.<\/p>\n\n\n\n<p>Check the TMP36 most relevant specifications on the following table.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcblack\">TMP36<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>analog output<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>2.7 V to 5.5 V<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>-40\u00b0C to +125\u00b0C<\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td>+\/-1\u00baC (at 25\u00baC)<\/td><\/tr><tr><td><strong>Interface with Arduino<\/strong><\/td><td><span class=\"rnthl rntliteral\">analogRead()<\/span><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td> <a rel=\"noreferrer noopener\" href=\"http:\/\/ebay.to\/2dP02Wv\" target=\"_blank\">view on eBay<\/a> <\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">6. LM75<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"http:\/\/ebay.to\/2eUck1Z\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"360\" height=\"245\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=360%2C245&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"LM75 Temperature Sensor\" class=\"wp-image-28866\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?w=360&amp;quality=100&amp;strip=all&amp;ssl=1 360w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=150%2C102&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=300%2C204&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=80%2C54&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=220%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=147%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 147w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/LM75.jpg?resize=350%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 350w\" sizes=\"(max-width: 360px) 100vw, 360px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The LM75 sensor is another useful temperature sensor. It works via I2C communication, which means that it communicates with the Arduino using the SDA and SCL pins. You can find one of these sensors for approximately $2 (<a rel=\"noreferrer noopener\" href=\"http:\/\/ebay.to\/2eUck1Z\" target=\"_blank\">view on eBay<\/a>).<\/p>\n\n\n\n<p>Take a look at the following table for a summary of the LM75 sensor specifications.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcred\">LM75<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>I2C<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>3.0 to 5.5V<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>-55 to 125\u00baC<\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td>+\/-2.0\u00baC (at -55 to 125\u00baC range)) <\/td><\/tr><tr><td><strong>Interface with Arduino<\/strong><\/td><td><a href=\"https:\/\/www.arduinolibraries.info\/libraries\/i2-c-temperature-sensors-derived-from-the-lm75\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"I2C Library for LM75 (opens in a new tab)\">I2C Library for LM75<\/a><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a rel=\"noreferrer noopener\" href=\"http:\/\/ebay.to\/2eUck1Z\" target=\"_blank\">view on eBay<\/a> <\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">7. BME280<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/bme280-sensor-module\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/BME280.jpg?resize=300%2C300&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"BME280 is a barometric sensor that measures temperature and humidity\" class=\"wp-image-87423\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/BME280-300x300.jpg?resize=300%2C300&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/BME280-300x300.jpg?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The <a href=\"https:\/\/makeradvisor.com\/tools\/bme280-sensor-module\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">BME280 <\/a>is a barometric sensor that also measures temperature and humidity. It can communicate via I2C or SPI communication protocol and the BME280 module can be powered either with 3.3 or 5V.<\/p>\n\n\n\n<p>The following table shows a summary of the BME280 sensor specifications when it comes to the temperature sensor.<\/p>\n\n\n\n<p>Take a look at the following table for a summary of the LM75 sensor specifications.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcpurple\">BME280<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>I2C or SPI<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>1.7 to 3.6V (for the chip) 3.3 to 5V for the board<\/td><\/tr><tr><td><strong>Temperature range<\/strong><\/td><td>-40 to 85\u00baC<\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td>+\/-0.5\u00baC (at 25\u00baC)<\/td><\/tr><tr><td><strong>Interface with Arduino<\/strong><\/td><td><a href=\"https:\/\/github.com\/adafruit\/Adafruit_BME280_Library\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Adafruit BME280 library\n (opens in a new tab)\">Adafruit BME280 library<br><\/a><a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/adafruit\/Adafruit_Sensor\" target=\"_blank\">Adafruit Unified Sensor Library<\/a> <\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a href=\"https:\/\/makeradvisor.com\/tools\/bme280-sensor-module\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Check prices (opens in a new tab)\">Check prices<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Learn how to use the BME280 with the Arduino to get temperature, humidity and pressure readings:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/bme280-sensor-arduino-pressure-temperature-humidity\/\">Guide for BME280 Sensor with Arduino (Pressure, Temperature, Humidity)<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">8. DS18B20<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/ds18b20-temperature-sensor-2\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"210\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20.png?resize=210%2C210&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"DS18B20 one-wire digital temperature sensor\" class=\"wp-image-28863\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20.png?w=210&amp;quality=100&amp;strip=all&amp;ssl=1 210w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20.png?resize=150%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20.png?resize=80%2C80&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20.png?resize=100%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 100w\" sizes=\"(max-width: 210px) 100vw, 210px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/makeradvisor.com\/tools\/ds18b20-temperature-sensor-2\/\" target=\"_blank\">DS18B20 temperature sensor<\/a>&nbsp;is a one-wire digital temperature sensor. This means that it just requires one data line (and GND) to communicate with the Arduino. <\/p>\n\n\n\n<p>Each DS18B20 temperature sensor has a unique 64-bit serial code. This allows you to wire multiple sensors to the same data wire. So, you can get temperature from multiple sensors using just one Arduino digital pin. <\/p>\n\n\n\n<p>The following table shows the most relevant specifications of the DS18B20 temperature sensor:<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><\/td><td><strong><span class=\"rnthl rntcblack\">DS18B20<\/span><\/strong><\/td><\/tr><tr><td><strong>Communication protocol<\/strong><\/td><td>one-wire<\/td><\/tr><tr><td><strong>Power supply range<\/strong><\/td><td>3.0 to 5.5V<\/td><\/tr><tr><td><strong>Operating temperature range<\/strong><\/td><td>-55\u00baC to +125\u00baC<\/td><\/tr><tr><td><strong>Accuracy<\/strong><\/td><td> +\/-0.5 \u00baC (between the range -10\u00baC to 85\u00baC)<\/td><\/tr><tr><td><strong>Arduino libraries<\/strong><\/td><td><a rel=\"noreferrer noopener\" aria-label=\"DallasTemperature (opens in a new tab)\" href=\"https:\/\/github.com\/milesburton\/Arduino-Temperature-Control-Library\" target=\"_blank\">DallasTemperature<\/a><br><a href=\"https:\/\/github.com\/PaulStoffregen\/OneWire\">OneWire<\/a><\/td><\/tr><tr><td><strong>Where to buy?<\/strong><\/td><td><a href=\"https:\/\/makeradvisor.com\/tools\/ds18b20-temperature-sensor-2\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Check price on Maker Advisor<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>Learn how to use the DS18B20 temperature sensor with the Arduino:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-ds18b20-temperature-sensor-with-arduino\/\">Guide for DS18B20 Temperature Sensor with Arduino<\/a><\/strong><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">9. Waterproof&nbsp;DS18B20<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/makeradvisor.com\/tools\/ds18b20-digital-temperature-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"269\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=390%2C269&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"DS18B20 waterproof one-wire digital temperature sensor\" class=\"wp-image-28865\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?w=390&amp;quality=100&amp;strip=all&amp;ssl=1 390w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=150%2C103&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=300%2C207&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=80%2C55&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=220%2C152&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=145%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 145w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=217%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 217w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2016\/10\/ds18b20-waterproof.jpg?resize=345%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 345w\" sizes=\"(max-width: 390px) 100vw, 390px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The DS18B20 is also available in waterproof version (<a href=\"https:\/\/randomnerdtutorials.com\/guide-for-ds18b20-temperature-sensor-with-arduino\/\" target=\"_blank\" rel=\"noreferrer noopener\">read the DS18B20 guide<\/a>). 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.<\/p>\n\n\n\n<p>The wiring and specifications are the same as for the normal DS18B20.<\/p>\n\n\n\n<p><strong>Where to buy?<\/strong> Compare the waterproof <a href=\"https:\/\/makeradvisor.com\/tools\/ds18b20-digital-temperature-sensor\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"DS18B20 temperature sensor prices on Maker Advisor (opens in a new tab)\">DS18B20 temperature sensor prices on Maker Advisor<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up<\/h2>\n\n\n\n<p>We hope you&#8217;ve found this guide useful. We also have guides for other Arduino sensors and modules that you may like:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-oled-display-with-arduino\/\">Guide for I2C OLED Display with Arduino<\/a><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/rf-433mhz-transmitter-receiver-module-with-arduino\/\">Complete Guide for RF 433MHz Transmitter\/Receiver Module With Arduino<\/a><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/guide-for-relay-module-with-arduino\/\">Guide for Relay Module with Arduino<\/a><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/complete-guide-for-ultrasonic-sensor-hc-sr04\/\">Complete Guide for Ultrasonic Sensor HC-SR04 with Arduino<\/a><\/li><\/ul>\n\n\n\n<p>You may also like our Arduino resources:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/randomnerdtutorials.com\/projects-arduino\/\">Free Arduino Projects and Tutorials<\/a><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/arduino-step-by-step-projects\/\">Arduino Step-by-step Projects Course<\/a><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/android-apps-for-arduino-with-mit-app-inventor-2\/\">Android Apps for Arduino with MIT App Inventor 2 eBook<\/a><\/li><\/ul>\n\n\n\n<p>Thanks for reading.<\/p>\n\n\n\n<p><strong>P.S. We also recommend reading:&nbsp;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"https:\/\/randomnerdtutorials.com\/21-arduino-modules-you-can-buy-for-less-than-2\/\">21 Arduino Modules You Can Buy For Less Than $2<\/a><\/strong><\/li><li><a href=\"https:\/\/randomnerdtutorials.com\/25-arduino-shields\/\"><strong>25 Useful Arduino Shields That You Might Need to Get<\/strong><\/a><\/li><li><a href=\"https:\/\/makeradvisor.com\/top-10-most-useful-arduino-shields\/\"><strong>Top 10 Most Useful Arduino Shields<\/strong><\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Reading the temperature with the Arduino is a very useful task. There are a wide variety of temperature sensors with different features that you can use in your projects. In &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"9 Arduino Compatible Temperature Sensors for Your Electronics Projects\" class=\"read-more button\" href=\"https:\/\/randomnerdtutorials.com\/9-arduino-compatible-temperature-sensors-for-your-electronics-projects\/#more-28860\" aria-label=\"Read more about 9 Arduino Compatible Temperature Sensors for Your Electronics Projects\">CONTINUE READING \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":87424,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[303,267,2,222,223,264,215],"tags":[],"class_list":["post-28860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-arduino","category-arduino-project","category-arduino","category-lists","category-modules","category-project","category-sensors"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2019\/07\/9-arduino-compatible-sensors.jpg?fit=1280%2C720&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/28860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=28860"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/28860\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/87424"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=28860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=28860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=28860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}