Adafruit will not be shipping orders Monday January 16, 2017. Any orders placed after 11am EST Friday January 13 will go out Tuesday January 17.

June 1, 2011 AT 3:44 pm

NEW PRODUCT – DS18B20 Digital temperature sensor + extras

Ds18B20To92 Lrg

DS18B20 Digital temperature sensor + extras. These 1-wire digital temperature sensors are fairly precise (±0.5°C over much of the range) and can give up to 12 bits of precision from the onboard digital-to-analog converter. They work great with any microcontroller using a single digital pin, and you can even connect multiple ones to the same pin, each one has a unique 64-bit ID burned in at the factory to differentiate them. Usable with 3.0-5.0V systems.

The only downside is they use the Dallas 1-Wire protocol, which is somewhat complex, and requires a bunch of code to parse out the communication. If you want something really simple, and you have an analog input pin, the TMP36 is trivial to get going.

We toss in a 4.7k resistor, which is required as a pullup from the DATA to VCC line when using the sensor. We don’t have a detailed tutorial up yet but you can get started by using the Dallas Temperature Control Arduino library which requires also the OneWire Library.

In stock and shipping now!

Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!

Maker Business — The 16 Top Tech Policy Developments of 2016

Wearables — Foot form

Electronics — Oscilloscope Bandwidth

Biohacking — Sneeze Counting

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !


  1. I love 1-wire – it is really good for setting up easy networks of sensors. I hope you also create a breakout board for the dual channel 1-wire switch – good for activating fans or heaters…

    @Scharf no need – Jim Studt wrote an excellent robust library. The latest version is here:
    or you can just follow the link on the Adafruit’s DS18B20 product page…

  2. Sorry, not enough caffeine – just follow the link on Adafruit’s DS18B20 product page, the other link is old!

  3. There’s also a Bus Pirate (also at Adafruit) demo for this chip so you can get a feel for it before using it in a design 🙂

  4. Using the 1-wire protocol with an Arduino is not too hard at all. I’ve played with the DS18B20 and others before and they are really fun. I’m actually surprised LadyAda is only bringing them on board now!

Sorry, the comment form is closed at this time.