Arduino temperature sensors:
There are many types of temperature sensors:
Choosing a sensor depends on the range you want to measure and the accuracy you need (and the cost requirement).
Measuring temperature is quite easy on an Arduino, you will either:
Follow the links to find out how to use the most popular types:
This is one of the simplest sensors but you can make a fairly
accurate temperature measuring device. In addition they have good
repeatability making them useful for all kinds of projects. They are
also the cheapest option.
Learn How to measure temperature using an Arduino with an NTC
thermistor andow to get readings using the Steinhart-Hart equation for
Maximum Accuracy.
Click here to go to the "Arduino Thermistor" page.
The DS18B20 is a digital chip that has a unique ID laser engraved
into it and it uses a 1-wire protocol that allows you to attach it to a
single pin of a microcontroller.
So if you have used up all the ADC this one lets you use a digital
pin to read temperature. The other advantage that this device has is
that you can use a single wire and add multiple DSo18BB0s t that wire.
You can read temperature from each device using the 1-wire protocol.
It means you can have lots of sensors wired into a large area and all you need is a single wire pair to use them!
The MAX6675 is a type K thermocouple interface chip that allows you to measure from 0ºC to 1024ºC. It provides the cold compensation required to make more accurate readings, so all you do is connect it up and use the digital interface to get the temperature from it.
For a standard range Arduino temperature sensor the LM35 outputs a
linear voltage with 1ºC proportional to 10mV. So using the ADC on an
Arduino gives you a voltage representing temperature that is easy to
use.
This is a 3 pin chip that looks like a transistor and you can buy
it in a standard TO92 shape or TO220 (to bolt onto a heatsink - useful for an electronic load).
Comments
Have your say about what you just read! Leave me a comment in the box below.
Don’t see the comments box? Log in to your Facebook account, give Facebook consent, then return to this page and refresh it.