
if alarm condition exists, alarm flag is set and this value is update after every measurement.


So, virtually you can connect unlimited number of DS18B20 sensor over a single digital pin of arduino.ĭS18B20 also have in built alarm signaling i.e. You can also use multiple sensors over single line because of its 64-bit serial code. So, accuracy depends upon bit we are using.Īs DS18B20 work on wire protocol so a small pull up resistor is required because it linked to bus through an open-drain port or 3-state. Power supply is optional because this sensor can drain require power supply from data line and this mode called parasite mode.ĭS18B20 can provide different temperature resolution is 0.5 0C, 0.25 0C, 0.125 0C and 0.0625 0C corresponding to 9-bit, 10-bit, 11-bit and 12-bit respectively.

it requires only data line and common GND. It is digital programmable temperature sensor based on one wire communication i.e.
