項(xiàng)目——溫度測(cè)控綜合測(cè)試試卷一答案_第1頁(yè)
項(xiàng)目——溫度測(cè)控綜合測(cè)試試卷一答案_第2頁(yè)
項(xiàng)目——溫度測(cè)控綜合測(cè)試試卷一答案_第3頁(yè)
項(xiàng)目——溫度測(cè)控綜合測(cè)試試卷一答案_第4頁(yè)
項(xiàng)目——溫度測(cè)控綜合測(cè)試試卷一答案_第5頁(yè)
已閱讀5頁(yè),還剩2頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、 情境五綜合測(cè)試試卷一答案1 寫(xiě)出AHT11溫濕度傳感器電氣參數(shù)(20分)。答:(1). 使用溫度范圍:0-50;(2).使用濕度范圍:95%RH(非凝露);(3).檢測(cè)濕度范圍:20%RH-90%RH;(4).濕度檢測(cè)精度:±5%RH(0-50,30-80%RH);(5).標(biāo)準(zhǔn)濕度輸出電壓(免調(diào)試)如下表4.1所示,根據(jù)其輸出電壓可以直接查表得出相應(yīng)的濕度,0-50溫度補(bǔ)償,單片機(jī)校準(zhǔn)線(xiàn)性輸出,輸出阻抗:1K以上.2 畫(huà)出多路溫濕度巡檢儀的系統(tǒng)原理圖(20分)。 答:3 在proteus中畫(huà)出下圖:(25分) 答: 圖14. 編寫(xiě)溫度顯示程序,顯示圖1的數(shù)據(jù)。(20分) 答: vo

2、id display(uchar i)uchar a,b,c,d;switch(i)case 0:a=(uint)temp1/1000;b=(uint)temp1%1000/100;c=(uint)temp1%1000%100/10;d=(uint)temp1%1000%100%10;P2=0x80;P0=dispcode1;delay(300);P2=0x00;P2=0x40;P0=dispcode11;delay(300);P2=0x00;P2=0x20;P0=dispcodea;delay(300);P2=0x00;P2=0x10;P0=dispcodeb&0x7f;delay(

3、300);P2=0x00;P2=0x08;P0=dispcodec;delay(300);P2=0x00;P2=0x04;P0=dispcoded;delay(300);P2=0x00;P2=0x02;P0=dispcode12;delay(300);P2=0x00;break;case 1:a=(uint)hum1/1000;b=(uint)hum1%1000/100;c=(uint)hum1%1000%100/10;d=(uint)hum1%1000%100%10;P2=0x80;P0=dispcode1;delay(300);P2=0x00;P2=0x40;P0=dispcode11;d

4、elay(300);P2=0x00;P2=0x20;P0=dispcodea;delay(300);P2=0x00;P2=0x10;P0=dispcodeb&0x7f;delay(300);P2=0x00;P2=0x08;P0=dispcodec;delay(300);P2=0x00;P2=0x04;P0=dispcoded;delay(300);P2=0xff;P2=0x02;P0=dispcode10;delay(300);P2=0x00;break;case 2:a=(uint)temp2/1000;b=(uint)temp2%1000/100;c=(uint)temp2%100

5、0%100/10;d=(uint)temp2%1000%100%10;P2=0x80;P0=dispcode2;delay(300);P2=0x00;P2=0x40;P0=dispcode11;delay(300);P2=0x00;P2=0x20;P0=dispcodea;delay(300);P2=0x00;P2=0x10;P0=dispcodeb&0x7f;delay(300);P2=0x00;P2=0x08;P0=dispcodec;delay(300);P2=0x11;P2=0x04;P0=dispcoded;delay(300);P2=0x00;P2=0x02;P0=disp

6、code12;delay(300);P2=0x00;break;case 3:a=(uint)hum2/1000;b=(uint)hum2%1000/100;c=(uint)hum2%1000%100/10;d=(uint)hum2%1000%100%10;P2=0x80;P0=dispcode2;delay(300);P2=0x00;P2=0x40;P0=dispcode11;delay(300);P2=0x00;P2=0x20;P0=dispcodea;delay(300);P2=0x00;P2=0x10;P0=dispcodeb&0x7f;delay(300);P2=0x00;P2=0x08;P0=dispcodec;delay(300);P2=0x00;P2=0x04;P0=dispcoded;delay(300);P2=0x00;P2=0x02;P0=dispcode10;delay(300);P2=0x00

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論