Measuring Temperature with Arduino – 5 Sensors

Today I’ll show you five different temperature sensors that you can easily use with an Arduino.

Article with code samples: https://dbot.ws/tempsense
More projects and tutorials at https://dronebotworkshop.com
Join the newsletter – https://dbot.ws/dbnews
Interact and suggest new content on the forum: https://forum.dronebotworkshop.com

We have measured temperature in previous Arduino projects, usually using the trusty DHT11 temperature and humidity sensor. For non-critical applications, it certainly works and has the added advantage of also reading humidity.

But there are many other temperature sensors you can use with an Arduino, all of them fairly inexpensive. Many of these sensors offer improved performance over the DHT22 (and it’s cousin the DHT11).

Today we’ll start with the DHT22 and use an Adafruit library to get it working quickly. Then we’ll move on to some other temperature sensors:

The AM2320, a similar device to the DHT22 that uses the I2C bus to communicate.

The TMP36 and LM35 precision temperature sensors. These devices output a calibrated linear analog voltage to represent temperature.

And a real high-precision sensor, the MCP9808 module from Adafruit.

Here is what you can expect to see today:

DHT22 – 2:18
AM2320 – 8:37
TMP36 & LM35 – 13:27
MCP9808 – 21:09

There is an article on the website with the schematics and the code I used, although most of the examples are included with the Adafruit libraries.

You’ll also find a vibrant community to chat about these sensors and pretty well anything robotic or electronic on the DroneBot Workshop Forums. Why don’t you join us? While you’re there you can make suggestions for any other video or articles you’d like to see.

I hope you enjoy the video!

source

You might be interested in