Page For Fahrenheit usage, a lookup table or conversion factor must be used. Note that temperature is represented in the DS in 1 terms LSB, yielding the following 9—bit format This flag is updated with every temperature measure- ment. As long as the alarm flag is set, the DS will respond to the alarm search command. This allows many DSs to be connected in parallel doing simul- taneous temperature measurements.
|Published (Last):||2 December 2013|
|PDF File Size:||18.21 Mb|
|ePub File Size:||14.86 Mb|
|Price:||Free* [*Free Regsitration Required]|
It is widely used to measure temperature in hard environments like in chemical solutions, mines or soil etc. The constriction of the sensor is rugged and also can be purchased with a waterproof option making the mounting process easy.
Each sensor has a unique address and requires only one pin of the MCU to transfer data so it a very good choice for measuring temperature at multiple points without compromising much of your digital pins on the microcontroller. It requires only the data pin connected to the microcontroller with a pull up resistor and the other two pins are used for power as shown below.
The pull-up resistor is used to keep the line in high state when the bus is not in use. The temperature value measured by the sensor will be stored in a 2-byte register inside the sensor. This data can be read by the using the 1- wire method by sending in a sequence of data. There are two types of commands that are to be sent to read the values, one is a ROM command and the other is function command. The address value of each ROM memory along with the sequence is given in the datasheet below.
You have to read through it to understand how to communicate with the sensor. If you are planning to interface it with Arduino , then you need not worry about all these.
You can develop the readily available library and use the in-built functions to access the data. Measuring temperature at hard environments Liquid temperature measurement Applications where temperature has to be measured at multiple points.
DS18B20 sensor de temperatura para líquidos con Arduino
DS1820 Dallas Semiconductor, DS1820 Datasheet