Views: 0 Author: Site Editor Publish Time: 2023-03-02 Origin: Site
The DS18B20 temperature sensoris waterproof so that the sensor can be completely immersed in liquid. In fact, the effective temperature sensing part of the sensor is only as large as a soybean grain and is generally packaged on the top of the sensor. Simply dip this part into the liquid.
How does the DS18B20 temperature sensor read negative temperatures?
What are the process characteristics of the DS18B20 temperature sensor?
What role does the Scratchpad memory play in the DS18B20 temperature sensor?
Supplement the negative temperature reading, invert it and add 1 to determine if the lower 8-bits have a transfer. They still do not understand the calculation of temperature. The first five digits are the sign of judgment, it is not necessary to add one for positive, and invert and add for minus 1. For example: -55℃, the code is 11111100 1001000
the first five digits in the upper 8 bits are 1111 1, that is the minus sign, on the contrary, the first five digits of the┤sign are 0000 0, the rest of the code is the actual calculation of temperature, the inversion of 100 10010 is 011 01101111, plus one is 011 0111 0000, the last binary calculation, 2^4+2^5+2^6+2^8+2^9=880*0,0625=55. This is the -55°C algorithm. The positive temperature does not need to be negated and added by 1.
The DS18B20 temperature sensor features a unique 1-wire interface that requires only one port to communicate with multiple points, simplifying distributed temperature measurement applications. No external components are required. Available power supply for the data bus, voltage range 3.0 V to 5.5 V, no emergency power supply required, measuring temperature range -55 °C to +125 °C. Fahrenheit corresponds to -67 °F to 257 °F. ±0.5 °C Accuracy from -10 °C to +85 °C
The programmable resolution of the DS18B20 temperature sensor is 9–12 bit, the temperature is converted to a 12-bit digital format with a maximum of 750 milliseconds, and the user-definable non-volatile temperature alarm settings are used in applications such as thermostat control. industrial systems, consumer electronics product thermometers or any heat sensitive system.
The notebook memory consists of 9 bytes. When the temperature conversion command is output, the converted temperature value is in 0. and 1. Cache byte saved in two-complement format. The single chip microcomputer can read the data via the 1-wire interface. When reading, the low order is at the front and the high order is at the back. Corresponding temperature calculation: at sign bit S=0 the binary bit is converted directly to decimal; For S-1, the complement code is first converted to the original code and then the decimal value is calculated. Table 2 is a part of the corresponding temperature values. The ninth byte is the redundancy check byte.
T Sensor Tech focuses on innovation and the growth rate of R&D input in the last three years is over 60%. We do our best to be a more professional, reliable manufacturer of temperature sensors.