rulururu

post arduino temperature control (part 1)

December 18th, 2008

Filed under: arduino, programming, electronics — admin @ 5:30 pm

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:

DS18B20 TO-92 pin configuration     DS18B20 wiring

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.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

ruldrurd
© Weblog of Troy Adams , Web Design by Laurentiu Piron
Entries (RSS) and Comments (RSS)