发表于:2006-03-24 11:24:00
224楼
The DS18B20 is a digital thermometer featuring ±0.5°C accuracy over a -10°C to +85°C range. Data is read out over a 1-Wire® serial bus in 2's complement format with 9 to 12 bits of resolution (user-programmable).
The DS18B20 offers thermostatic functionality with over-temperature (TH) and under-temperature (TL) user-programmable setpoints stored in on-chip EEPROM. An internal flag is set when the measured temperature is greater than TH or less than TL. If thermostatic operation is not required, the two bytes of EEPROM reserved for TH and TL may be used for general-purpose nonvolatile storage.
Each DS18B20 features a unique and unchangeable 64-bit silicon serial number, which serves as the bus address for the sensor. This allows multiple DS18B20 devices to coexist on the same 1-Wire bus. The DS18B20 may be locally powered via a 3.0V to 5.5V supply, or power can be derived from the 1-Wire data line ("parasite power").
The DS18B20 is offered in 8-pin µMAX/µSOP (DS18B20U), 3-pin TO-92 (DS18B20), and 150mil 8-pin SO (DS18B20Z) packages. In addition, the DS18B20 is available in a parasite-power only version, the DS18B20-PAR. For space-constrained applications not requiring ±0.5°C accuracy, a flipchip version is also available, the DS18B20X, which offers ±2.0°C accuracy. Also available is the ±2.0°C accuracy DS1822, a lower-cost device that is software-compatible with the DS18B20.