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:
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!
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
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).
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.