NEW PRODUCT – DS18B20 Digital temperature sensor + extras
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.
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!
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
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…
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!
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…
Sorry, not enough caffeine – just follow the link on Adafruit’s DS18B20 product page, the other link is old!
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 🙂
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!