A DS18B20 1-wire digital thermometer AVR ATmega library

Posted on Tuesday, September 16th, 2014 in library by DP


Davide Gironi writes:

DS18B20 is a programmable resolution 1-wire digital thermometer.
It has an operating temperature range of -55°C to +125°C and is accurate to ±0.5°C over the range of -10°C to +85°C.
This library is an AVR implementation to retrive temperature from DS18B20.

Built using the reference document: “Using DS18B20 digital temperature sensor on AVR microcontrollers” by Gerard Marull Paretas, 2007.

This entry was posted on Tuesday, September 16th, 2014 at 9:00 pm and is filed under library. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “A DS18B20 1-wire digital thermometer AVR ATmega library”

  1. The multi drop feature, and the long runs make this a great sensor, with many easy to use libraries. But ±0.5°C accuracy is not so great, and if you get the cheap ones from eBay it’s easy to get a batch much worse than that. I’ve worked through several different calibration methods and I think we finally have one that can consistently get you to ±0.1°C or better with DS18B20’s:

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Joe Desbonnet: Ya, I can recommend the low melting point solder. I used brand 'ChipQuik' and it's amazingly easy to use.
  • Jerome: I need a new BusPirate for the Fablab ;) Many thanks!
  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please