The reading data error analysis of 1-wire bus digital temperature sensor DS18B20

The principle of the measurement of the temperature and program is given when using 1-wire bus digital temperature sensor DS18B20 in the MCU system. The flow chart of the program is also given which is valuable in the similar design. The thesis emphasizes how the error is produced when reading the temperature and the solution is given. It also points out that the time gap when reading the device is very important. If the gap is not the length of the timing giving by of document of 18B20, the error will happen inevitably. The method of how to find the conclusion is provided in this article, which is useful by reference when using the development platform ‘Keil C’.