Pages

Saturday, January 14, 2012

DS18B20 Temperature Sensor on Arduino

I just got a DS18B20 temperature sensor from adafruit, and it took a little sleuthing to get it working.  There are a few sources of sample code, but none of them tell you how to wire the silly thing in the first place.  I eventually got it.

I downloaded and installed the Dallas Temperature Control Library, then I used tushev's wiring diagram to hook it up to an Arduino Uno.  The "Tester" example that's included with the library confirmed that everything was in one piece.  Hopefully that helps, if you're in the same boat..

No comments:

Post a Comment