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!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

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

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

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


4 Comments

  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: http://homepage.mac.com/wtpollard/Software/FileSharing7.html
    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.