|
DS1820 Temperature sensor
Description
Dallas DS1820 temperature sensor with 1-wire interface..
Software functions
DS1820_RESET() : Resets the DS1820. Returns 1 if DS1820 present, returns 0 if not present.
DS1820_READ_TEMPERATURE() : Read temperature from DS1820. Returns temperature data as 16 bit signed integer in 0.5 DegC increments. See table.
Temperature data relationship table. +----------------------------+ | Temperature | Data | +----------------------------+ | +125 DegC | 250 | | + 25 DegC | 50 | | +1/2 DegC | 1 | | 0 DegC | 0 | | -1/2 DegC | -1 | | - 25 DegC | -50 | | - 55 DegC | -110 | +----------------------------+
|
Schematic

|
| |
|
|
|
|