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

正文內(nèi)容

單片機(jī)課程設(shè)計---基于單片機(jī)的溫度控制智能電風(fēng)扇-其他專業(yè)-資料下載頁

2025-01-19 08:04本頁面

【導(dǎo)讀】對電風(fēng)扇各種工作狀態(tài),實現(xiàn)“溫度高,風(fēng)力大,溫度低,風(fēng)力弱”的性能的控制,以達(dá)到用戶需求從而建立一個控制系統(tǒng)。格優(yōu)勢,價格低廉而且相對省電,安裝和使用都非常簡單。關(guān)閉,但定時范圍有限,且無法對溫度變化靈活處理。度低于所設(shè)置溫度時,電風(fēng)扇將自動關(guān)閉,當(dāng)高于此溫度時電風(fēng)扇又將重新啟動。②當(dāng)溫度每降低2℃則電風(fēng)扇風(fēng)速自動下降一個檔位。作為整個控制系統(tǒng)的核心,單片機(jī)內(nèi)部已包含了定時器、程序存儲。芯片和定時器件,方便地構(gòu)成一個最小系統(tǒng)。檔停機(jī)控制部件。采用8051單片機(jī)作為控制核心。于各種控制領(lǐng)域。AT89C52單片機(jī)屬于AT89C51單片機(jī)的增強(qiáng)型,與Intel公司的

  

【正文】 i。 if(i=0) i=11。 tmp = table[i]。 tmpamp。=0x0f 。 g_year=tmp。 tmp= 255(1tmp)。 } } } if(Modle==10) { {if(key_9==0) { i++ 。 if(i=11) i=0。 15 tmp = table[i]。 tmpamp。=0x0f 。 s_year=tmp。 } else if(key_8==0) { i。 if(i=0) i=11。 tmp = table[i]。 tmpamp。=0x0f 。 s_year=tmp。 tmp= 255(1tmp)。 } } } LCD_disp_str(0,2,Time: )。 LCD_disp_str(0,1,Data:)。 LCD_disp_str(13,1, Md)。 LCD_disp_str(13,2, )。 LCD_disp_str(5,2,str_time)。 LCD_disp_str(5,1,str_date)。 LCD_disp_str(14,2,str_Modle)。 delay_n40us(10000)。 str_date[0]=0x30+s_year。 str_date[1]=0x30+g_year。 str_date[3]=0x30+s_mouth。 str_date[4]=0x30+g_mouth。 str_date[6]=0x30+s_day。 str_date[7]=0x30+g_day。 str_time[0]=0x30+s_hour。 str_time[1]=0x30+g_hour。 str_time[3]=0x30+s_minute。 str_time[4]=0x30+g_minute。 str_time[6]=0x30+second/10。 16 str_time[7]=0x30+second%10。 str_Modle[1]=0x30+Modle%10。 str_Modle[0]=0x30+Modle/10。 //比較設(shè)定的和正常的溫度值,輸出高或低電平 str_temp0[1]=0x30+g_tmp_s。 str_temp0[0]=0x30+s_tmp_s。 temp0=(s_tmp_s*10+g_tmp_s)。 tmp = ReadTemp()。 temp=tmp/10。 str_temp[3]=0x30+tmp%10。 str_temp[2]=0x2e。 str_temp[1]=0x30+tmp/10%10。 str_temp[0]=0x30+tmp/100%10。 bijiao()。 if(wu==2) { if(Modle==11) { {if(key_9==0) { i++ 。 if(i=11) i=0。 tmp = table[i]。 tmpamp。=0x0f 。 g_tmp_s=tmp。 } else if(key_8==0) { i。 if(i=0) i=11。 tmp = table[i]。 17 tmpamp。=0x0f 。 g_tmp_s=tmp。 } } } if(Modle==12) { {if(key_9==0) { i++ 。 if(i=11) i=0。 tmp = table[i]。 tmpamp。=0x0f 。 s_tmp_s=tmp。 } else if(key_8==0) { i。 if(i=0) i=11。 tmp = table[i]。 s_tmp_s=tmp。 } } } LCD_disp_str(0,1,now tempture= Md)。 LCD_disp_str(4,2,39。C S=)。 LCD_disp_str(11,2,39。C)。 LCD_disp_str(13,2, )。 LCD_disp_str(14,2,str_Modle)。 LCD_disp_str(0,2,str_temp)。 LCD_disp_str(9,2,str_temp0)。 str_temp0[1]=0x30+g_tmp_s。 18 str_temp0[0]=0x30+s_tmp_s。 str_Modle[1]=0x30+Modle%10。 str_Modle[0]=0x30+Modle/10。 temp0=(s_tmp_s*10+g_tmp_s)。 tmp = ReadTemp()/10。 temp=tmp/10。 str_temp[3]=0x30+tmp%10。 str_temp[2]=0x2e。 str_temp[1]=0x30+tmp/10%10。 str_temp[0]=0x30+tmp/100%10。 bijiao()。 } } } void scan_0() interrupt 0 {Modle=Modle+1。 } /*按鍵掃描 */ void scan() { if((keyM_A==0)amp。amp。(keyM_D==0)) {wu++。if(wu==3) wu=1。while((keyM_A==0)amp。amp。(keyM_D==0))。} if(keyM_A==0){Modle++。Modleamp。=0x0f。if(Modle==13) Modle=0。 while(keyM_A==0)。} if(keyM_D==0){if(Modle==0) Modle=13。Modle。Modleamp。=0x0f。 while(keyM_D==0)。} else Modle=Modle。 } endif 2 目錄 1 設(shè)計任務(wù) ............................................ 2 ....................................... 2 2 總體設(shè)計方案 ......................................... 3 ....................................................... 3 .................................................. 3 控制核心的選擇 .................................................. 3 溫度傳感器的選用 ................................................. 3 顯示電路 ......................................................... 4 ...................................................... 4 AT89C51 單片機(jī) .................................................... 4 L298 芯片介紹 ..................................................... 6 DS18B20 單線數(shù)字溫度傳感器簡介 .................................... 7 2. 液晶 1602 顯示模塊的特性 ......................................... 8 ....................................... 10 ........................................... 10 ................................................. 10 ................................................... 11 電機(jī)調(diào)速模塊設(shè)計 ................................................ 11 調(diào)速原理 ...................................................... 11 ....................................................... 12 鍵盤方式選擇 .................................................... 12 實現(xiàn) 方案 ......................................................... 12 鍵盤模塊 ......................................................... 13 4 軟件設(shè)計 ........................................... 14 ......................................................... 14 主程序流程圖 ..................................................... 14 定時器 0 中斷流程圖 ............................................... 14 定時器 1 中斷流程圖 ............................................... 15 ........................................................... 15 主程序 ........................................................... 15 總結(jié) ............................................... 17 致謝 ............................................... 18 參考文獻(xiàn) ............................................ 19 附錄 ............................................... 19
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1