ADIDS18B20
Overview
The DS18B20 is a digital thermometer that provides 9-bit to 12-bit Celsius temperature measurements over a 1-wire bus. It is unique for its ability to derive power directly from the data line ('parasite power'), eliminating the need for an external power supply. Each device has a unique 64-bit serial code, allowing multiple sensors to function on the same bus for distributed sensing applications.
Why Choose This Part
The primary advantage is the 1-Wire interface, which requires only one port pin for communication and can operate in parasite power mode. It offers selectable resolution from 9 to 12 bits and includes nonvolatile user-programmable alarm settings. The -55C to +125C range and +/-0.5C accuracy (from -10C to +85C) make it suitable for a wide variety of environments without external components.
Applications
Key Specifications
Getting Started
To interface with a microcontroller, connect the DQ pin to a GPIO with a 4.7k ohm pull-up resistor. Use the standard Maxim/Dallas 1-Wire protocol libraries available for platforms like Arduino (OneWire and DallasTemperature libraries) or STM32 HAL. Ensure the timing requirements for the reset pulse and bit slots are met as specified in the datasheet.



