
发布于:2021-8-26 21:14:20 访问:67 次 回复: 篇
版主管理 | 推荐 | 删除 | 删除并扣分
DS18B20 Is A Digital Interface Temperature Sensor From Maxim Integrated. It Has Only One Wire Digital Knowledge Enter Output, With Two Additional Provide Voltage Pins. Digital Temperature Resolution I
DS18B20 is a digital interface temperature sensor from Maxim Integrated. It has only one wire digital knowledge enter output, with two additional provide voltage pins. Digital temperature resolution is choose-in a position between 9 to 12-bit. Inside these 12-bit digital information, it consists of signed worth, decimal temperature worth and a 4-bit fraction numbers. A temperature studying from DS18B20 strobe-sort. Utilizing only one wire digital data line, we are able to use a number of devices on this single wire. Each gadget is recognized by its serial number and household code. Inside three pins of this machine, the info DQ pin is open-drain. Hence it wanted to drag up excessive via a resistor about 4.7 kOhm of resistance. In some case, it does not require VDD. Using the OneWire library developed by an author on Github, https://godotengine.org/qa/index.php?qa=user&qa_1=pantsjason92 reading the device ID and temperature from this system household save lots of time. This library enable us to search for ROM. ROM identifies the units join on one wire bus. So we can use as a lot as one wire units on a single line. There are various operate that I do not record them here. The example packages come this system might explain so much about the general processes.
![]() |
共篇回复 每页10篇 页次:1/1
- 1
共篇回复 每页10篇 页次:1/1
- 1
我要回复