freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

外文文獻及翻譯----ds1820_單總線數(shù)字溫度計-wenkub

2023-05-19 12:24:19 本頁面
 

【正文】 ter contains the CRC value. Shifting in the 8 bits of CRC should return the shift register to all 0s.7 MEMORYThe DS18B20’s memory is organized as shown in Figure 8. The memory consists of a scratchpad RAM and a nonvolatile, electrically erasable RAM, which stores the high and low temperature triggers TH and TL, and the configuration register. The scratchpad helps insure data integrity when municating over the 1Wire bus. Data is first written to the scratchpad using the Write Scratchpad mand. It can then be verified by using the Read Scratchpad mand. After the data has been verified, a Copy Scratchpad mand will transfer the data to the nonvolatile RAM. This process insures data integrity when modifying memory. The DS18B20 EEPROM is rated for a minimum of 50,000 writes and 10 years data retention at T = +55176。TINRT,TRC 和TSAMPLE 之和必須小于15us。當主機把數(shù)據(jù)線從邏輯高電平拉至低電平時,產(chǎn)生讀時間片,數(shù)據(jù)線必須保持在低邏輯電平至少1 us;來自DS1820 的輸出數(shù)據(jù)在讀時序下降沿后15us有效。如果線為低電平,便發(fā)生寫0。7 READ/WRITE TIME SLO7讀/寫時隙 Time Slots寫時隙 當主機把數(shù)據(jù)線從高邏輯電平拉至低邏輯電平時,產(chǎn)生寫時間片。暫存存貯器是按8位字節(jié)存儲器來組織的,頭兩個字節(jié)包含測得溫度信息,第三和第四個字節(jié)是TH和TL的易失性拷貝,在每一次上電復位時被刷新。當數(shù)據(jù)被校驗之后,復制暫存存貯器的命令把數(shù)據(jù)傳送到非易失性E2RAM。在序列號的第48 位進入之后,移位寄存器便包含了CRC值。(which is read as a ninth byte when the scratchpad is read).。 5CRC GENERATION CRC生成The DS18B20 has an 8bit CRC stored in the most significant byte of the 64bit ROM. The bus master can pute a CRC value from the first 56bits of the 64bit ROM and pare it to the value stored within the DS18B20 to determine if the ROM data has been received errorfree by the bus master. The equivalent polynomial function of this CRC is:DS1820 有一存貯在64 位ROM 的最高有效字節(jié)內(nèi)的8 位CRC。這允許并聯(lián)連接許多DS1820,同時進行溫度測量,如果某處溫度超過極限,那么可以識別出正在告警的器件并立即將其讀出而不必讀出非告警的器件。如果主機接收到一個(0),它知道它必須在溫度變換期間在I/O 線上供一個強的上拉。 For situations where the bus master does not know whether the DS18B20s on the bus are parasite powered or supplied with external V DD , a provision is made in the DS18B20 to signal the power supply scheme 是寄生電源供電還是外部VDD 供電的情況下,在DS1820 內(nèi)采取了措施來通知采用的供電方案。The first is to provide a strong pullup on the DQ line whenever temperature conversions or copies to the E 2 memory are taking ,This may be acplished by using a MOSFET to pull the DQ line directly to the power supply as shown in Figur通過使用一個MOSFET把I/O線直接拉到電源可達到這一點,當使用寄生電源方式時VDD引腳必須連接到地。為了使DS1820 能完成準確的溫度變換,當溫度變換發(fā)生時,I/O線上必須提供足夠的功率。對這些寄存器的訪問是通過高速暫存存儲器,所有數(shù)據(jù)均以最低有效位在前的方式被讀寫PARASITE POWER。一個控制操作命令指示DS1820 完成溫度測量。主機必須首先提供五種ROM 操作命令之一:1)Read ROM(讀ROM), 2)Match ROM(符合ROM),3)Search ROM(搜索ROM),4)Skip ROM(跳過ROM),或5) Alarm Search(告警搜索)。器件從單線的通信線上取得其電源,在信號線為高電平的時間周期內(nèi),把能量貯存在內(nèi)部的電容器中,在單信號線為低電平的時間期內(nèi)斷開此電源,直到信號線變?yōu)楦唠娖街匦陆由霞纳娙蓦娫礊橹?。由于每個DS18B20的包含一個唯一的序列號,因此任意多個DSl820可以存放在同一條單線總線上。DS1820 單總線數(shù)字溫度計 DSl820數(shù)字溫度計提供9位(二進制)溫度讀數(shù)指示器件的溫度Information is sent to/from the DS18B20 over a 1Wire interface, so that only one wire (and ground) needs to be connected from a central microprocessor to a DS18B20.。這允許在不同的地方放置溫度傳感器。作為另一種可供選擇的方法,DS1820 也可用外部5V 電源供電。 這些命令對每一器件的64 位激光ROM 部分進行操作。該測量的結(jié)果將放入DS1820 的高速暫存存貯器(Scratchpad memory)。2 寄生電源寄生電源電路當I/O或VDD引腳為高電平時,這個電路便“取”得電源。因為DS1820的工作電流高達1mA,5K 的上拉電阻將使I/O線沒有足夠的驅(qū)動能力。Another method of supplying current to the DS18B20 is through the use of an external power supply tied to the V DD pin, as shown in Figure 供電的另外一種方法是通過使用連接到VDD 引腳的外部電源,這種方法的優(yōu)點是在I/O 線上不要求強的上拉電阻,總線上主機不需向上連接便在溫度變換期間使線保持高電平,這就允許在變換時間內(nèi)其它數(shù)據(jù)在單線上傳送??偩€上主機通過發(fā)出跳過(Skip)ROM 的操作約定,然后發(fā)出讀電源命令,可以決定是否有需要在DS1820 的總線上放置上拉電阻。3 OPERATION ALARM SIGNAL3運算報警信號After the DS18B20 has performed a temperature conversion, the temperature value is pared to the trigger values stored in TH and 完成溫度變換之后,溫度值與貯存在TH和TL內(nèi)的觸發(fā)值相比較,因為這些寄存器僅僅是8位。4 64BIT LASER4 44444464位激光ROMEach DS18B20 contains a unique ROM code that is 64bits ,開始的8位是單線產(chǎn)品系列編碼(DS1820編碼是10h),接著的48位是唯一的系列號,最后的8位是開始56位CRC,64位ROM和ROM 操作控制部分允許DS1820 作為一個單線器件工作并遵循“單線總線系統(tǒng)”的單線協(xié)議,直到ROM 操作協(xié)議被滿足,DS1820 控制部分的功能是不可訪問的。總線上的主機可以根據(jù)64 位ROM 的前56 位計算機CRC 的值并把它與存貯在DS1820 內(nèi)的值進行比較以決定ROM 的數(shù)據(jù)是否已被主機正確地接收。總線CRC 可以使用一個移位寄存器和“異或”(XOR)門組成的多項式產(chǎn)生器來產(chǎn)生,其它有關(guān)Dallas 公
點擊復制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1