特级做A爰片毛片免费69,永久免费AV无码不卡在线观看,国产精品无码av地址一,久久无码色综合中文字幕

簡(jiǎn)易溫室溫度控制器的設(shè)計(jì).doc

約31頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)

簡(jiǎn)易溫室溫度控制器的設(shè)計(jì),摘要:介紹以單片機(jī)at89c51為核心的溫室溫度控制器的設(shè)計(jì)。給出了系統(tǒng)的硬件及軟件設(shè)計(jì)方案,并對(duì)各模塊進(jìn)行簡(jiǎn)單分析。此設(shè)計(jì)利用外部按鍵電路對(duì)上下限溫度進(jìn)行設(shè)定,并且通過(guò)p1.0外接的按鍵的一鍵多用功能可控制顯示的溫度是當(dāng)前溫度或下限溫度或上限溫度。它使用一線(xiàn)制數(shù)字溫度傳感器ds18b20采集溫度,當(dāng)溫度小于下限溫度時(shí)...
編號(hào):40-264465大小:189.50K
分類(lèi): 論文>通信/電子論文

內(nèi)容介紹

此文檔由會(huì)員 wanli1988go 發(fā)布

摘要:介紹以單片機(jī)AT89C51為核心的溫室溫度控制器的設(shè)計(jì)。給出了系統(tǒng)的硬件及軟件設(shè)計(jì)方案,并對(duì)各模塊進(jìn)行簡(jiǎn)單分析。此設(shè)計(jì)利用外部按鍵電路對(duì)上下限溫度進(jìn)行設(shè)定,并且通過(guò)P1.0外接的按鍵的一鍵多用功能可控制顯示的溫度是當(dāng)前溫度或下限溫度或上限溫度。它使用一線(xiàn)制數(shù)字溫度傳感器DS18B20采集溫度,當(dāng)溫度小于下限溫度時(shí),經(jīng)過(guò)PID算法計(jì)算輸出PWM波控制繞線(xiàn)電阻發(fā)熱功率對(duì)溫室進(jìn)行加熱,當(dāng)溫度大于上限溫度時(shí)啟動(dòng)風(fēng)扇進(jìn)行降溫,最終控制溫室溫度處于上下限溫度之間。該設(shè)計(jì)整個(gè)系統(tǒng)不但成本低廉、而且使用和擴(kuò)展方便。
關(guān)鍵詞:溫度控制;單片機(jī);溫度傳感器

Design of Summary Geenhouse Tmperature Controller
Abstract : Design of a greenhouse temperature controller with the core of single-chip AT89C51 is introduced in this paper .The design of the system’s hardware and software has been given , and analyses every subsystem .The design use the external button to control the upper and lower limits of temperature settings. It can controls display of current temperature or upper temperature or lower temperature limit through P1.0 external the keys of a multi-purpose function keys .It uses one-wire digital tmperature snsor DS18B20 to collect temperature. When the temperature is less than the lower limited temperature,it heats the greenhouse by the output pwm wave winding resistance throngh PID algorithm . when the temperature is greater than the upper limited temperature ,it cools the temperature by using fans. Ultimately , it controls the greenhouse temperature at a temperature between the upper and lower limited temperature.Moreover , The whole system is not only cheap but also convenient to use and expand .
Key words : temperature control ;single-chip computer; tmperature snsor

目錄

序言………………………………………………………………………………

第1章 整體設(shè)計(jì)
1.1設(shè)計(jì)內(nèi)容及要求效果…………………………………………………………….
1.1.1主要設(shè)計(jì)(研究)內(nèi)容………………………………………………………
1.1.2 達(dá)到效果………………………………………………………………………
1.2總體設(shè)計(jì)及方案選擇…………………………………………………………….
1.2.1初步設(shè)計(jì)………………………………………………………………………
1.2.2 硬件方案選擇…………………………………………………………………
1.2.3最終方案……………………………………………………………………

第2章 硬件設(shè)計(jì)
2.1 AT89C51引腳圖及主要性能參數(shù)………………………………………………
2.1.1 AT89C51引腳圖………………………………………………………………
2.1.2 AT89C51主要性能參數(shù)………………………………………………………
2.2 溫度測(cè)試模塊…………………………………………………………………
2.2.1 DS18B20的內(nèi)部結(jié)構(gòu)…………………………………………………………
2.2.2 DS18B20完成溫度轉(zhuǎn)換原理及步驟…………………………………………
2.2.3 本試驗(yàn)系統(tǒng)DS18B20的連接………………………………………………
2.3顯示電路模塊……………………………………………………………………
2.3.1單片機(jī)中顯示數(shù)據(jù)輸出口和驅(qū)動(dòng)輸出口的選擇……………………………
2.3.2 74LS07的邏輯圖………………………………………………………………
2.3.3 共陰極數(shù)碼管…………………………………………………………………
2.4 按鍵……………………………………………………………………………
2.5加熱部分……………………………………………………………………….
2.5.1繞線(xiàn)電阻……………………………………………………………………
2.5.2光耦 TIL117…………………………………………………………………
2.5.3開(kāi)關(guān)管TIP31C………………………………………………………………
2.6單片機(jī)外圍電路的設(shè)置………………………………………………………
2.6.1外部復(fù)位電路………………………………………………………………
2.6.2 晶振…………………………………………………………………………
2.6.3 EA的連接……………………………………………………………………

第3章 軟件部分
3.1總體軟件流程圖………………………………………………………………
3.1.1 定時(shí)/計(jì)數(shù)器………………………………………………………………
3.1.2中斷…………………………………………………………………………
3.2各子模塊………………………………………………………………………
3.2.1 PWM子程序…………………………………………………………………
3.2.2比例積分調(diào)節(jié)………………………………………………………………
3.2.3判斷子程序…………………………………………………………………
3.2.4測(cè)溫程序……………………………………………………………………
3.2.5風(fēng)扇控制模塊………………………………………………………………

第4章 調(diào)試部分
4.1 硬件部分調(diào)試…………………………………………………………………
4.1.1顯示部分……………………………………………………………………
4.1.2 復(fù)位電路……………………………………………………………………
4.1.3 加熱電路……………………………………………………………………
4.2 軟件調(diào)試………………………………………………………………………
4.2.1顯示部分調(diào)試………………………………………………………………
4.2.2 測(cè)溫部分調(diào)試………………………………………………………………
4.2.3判斷部分調(diào)試…………………………………………………………………
4.2.4 PID及PWM中斷的調(diào)試…………………..