arduino temperature control (part 1)
December 18th, 2008
For reference purposes, it may be handy to carry along a copy of the datasheet for the DS18B20 device. You should be able to get one from Maxim at ‘http://datasheets.maxim-ic.com/en/ds/DS18B20.pdf’.
Wiring up the DS18B20 is simple. I found pin configurations on page one of the datasheet and a wiring example on page six of the datasheet:
I tied the 1-Wire BUS line I/O line 9 on the Arduino. The rest is programming now.
Reading ‘http://www.arduino.cc/playground/Learning/OneWire’ revealed that Jim Studt created a nice OneWire library for the Arduino that, thankfully, makes this whole thing a lot easier than I thought it would be. It seems there are a few modifications by other authors that have been useful as well.





