WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

Maxim DS18B20

Adds support for the Maxim DS18B20 thermometer.
This must be added to the ('Dallas') one wire bus.
The thermometer can either be connected using two pins:
whereby the two outer pins are both connected to ground and the middle pin is the bus signal pin. This is called 'parasitic' mode since the thermometer uses the signal pin to power itself. The drawback of this mode is that it takes longer to read a temperature value.
Alternatively it can connected using three pins:
whereby the thermometer has a seperate power line. The advantage of this mode is that it is faster to read a temperature value at the price of an extra 'wire'.
Note that you can change between the two connection methods without recompiling your code since WebbotLib asks the thermometer which of the two wiring methods have been used.
Function Summary

Valid XHTML 1.0 Transitional