数字温度传感器毕业论文中英文资料外文翻译文献(编辑修改稿)内容摘要:

Address Location S 26 25 24 23 22 21 20 02h MSB (unit = ℃ ) LSB 21 22 23 24 0 0 0 0 01h TEMPERATURE DIGITAL OUTPUT (BINARY) DIGITAL OUTPUT (HEX) +120℃ 0111 1000 0000 0000 7800h + 0001 1001 0001 0000 1910h + 0000 1010 0010 0000 0a20h + 0000 0000 1000 0000 0080h 0 0000 0000 0000 0000 0000h 1111 1111 1000 0000 Ff80h 1111 0101 1110 0000 F5e0h 1110 0110 1111 0000 E6f0h 55 1100 1001 0000 0000 C900h OPERATIONProgramming: The area of interest in programming the DS1722 is the Configuration register. All programming is done via the SPI or 3wire munication interface by selecting the appropriate address of the desired register location. Table 3 illustrates the addresses for the two registers (configuration and temperature) 中英文资料外文翻译文献 6 of the DS1722. Register Address Structure Table 3 Read Address Write Address Active Register 00h 80h Configuration 01h No access Temperature LSB 02h No access Temperature MSB CONFIGURATION REGISTER PROGRAMMING: The configuration register is accessed in the DS1722 with the 00h address for reads and the 80h address for writes. Data is read from or written to the configuration register MSB first for SPI munication and LSB first for 3wire munication. The format of the register is illustrated in Figure 2. The effect each bit has on DS1722 functionality is described below along with the powerup state of the bit. The entire register is volatile, and thus it will powerup in the default state. CONFIGURATION/STATUS REGISTER Figure 2 1SHOT = Oneshot temperature conversion bit. If the SD bit is 1, (continuous temperature conversions are not taking place), a 1 written to the 1SHOT bit will cause the DS1722 to perform one temperature conversion and store the results in the temperature register at addresses 01h (LSB) and 02h (MSB). The bit will clear itself to 0 upon pletion of the temperature conversion. The user has read/write access to the 1SHOT bit, although writes to this bit will be ignored if the SD bit is a 0, (continuous conversion mode). The powerup default of the oneshot bit is 0. R0, R1, R2 = Thermometer resolution bits. Table 4 below defines the resolution of the digital thermometer, based on the settings of these 3 bits. There is a direct tradeoff between resolution and conversion time, as depicted in the AC Electrical Characteristics. The user has read/write access to the R2, R1 and R0 bits and the powerup default state is R2=0, R1=0, and R0=1 (9bit conversions). 中英文资料外文翻译文献 7 THERMOMETER RESOLUTION CONFIGURATION Table 4 R2 R1 R0 ThermometerResolution MaxConversionTime 0 0 0 8bit 0 0 1 9bit 0 1 0 10bit 0 1 1 11bit 1 x x 12bit SD = Shutdown bit. If SD is 0, the DS1722 will continuously perform temperature conversions and store the last pleted result in the temperature register. If SD is changed to a 1, the conversion in progress will be pleted and stored and then the device will revert to a lowpower shutdown mode. The munication port remains active. The user has read/write access to the SD bit and the powerup default is 1 (shutdown mode). SERIAL INTERFACE: The DS1722 offers the flexibility to choose between two serial interface modes. The DS1722 can municate with the SPI interface or with a standard 3wire interface. The interface method used is determined by the SERMODE pin. When this pin is connected to VDDD SPI munication is selected. When this。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。