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

正文內容

基于51單片機的溫控風扇設計(已修改)

2024-11-22 10:38 本頁面
 

【正文】 I 基于 51 單片機的溫控風扇設計 摘 要 在炎熱的夏天人們用電風扇來降溫;在工業(yè)生產中,大型機械用電風扇來散熱等。隨著溫度控制的技術不斷發(fā)展,應運而生的溫控電風扇也逐漸走進了人們的生活中。溫控電風扇可以根據(jù)環(huán)境溫度自動調節(jié)電風扇啟停與轉速,在實際生活的使用中,溫控風扇不僅可節(jié)省寶貴的電資源,也大大方便了人們的生活和生產。 本 設計為一種溫控風扇系統(tǒng),具有靈敏的溫度感測和顯示功能,系統(tǒng)采用STC89C51 單片機作為控制平臺對風扇轉速進行控制。利用 DS18B20 數(shù)字溫度傳感器采集實時溫度,經單片機處理后通過 三極管驅動直流風扇的電機。根據(jù)采集的實時溫度,實現(xiàn)了風扇的自起自停??捎捎脩粼O置高、低溫度值,測得溫度值在高低溫度之間時打開風扇弱風檔,當溫度升高超過所設定的溫度時自動切換到大風檔,當溫度小于所設定的溫度時自動關閉風扇,控制狀態(tài)隨外界溫度而定。 關鍵詞: 溫控風扇 , 單片機 , DS18B20,自動控制 II Temperature control fan design based on 51 single chip microputer ABSTRACT In the hot summer, people use cooling fan。 in the industrial production, is used toheat the electric fan large machinery. With the continuous development of thetechnology of temperature control, temperature controlled electric fan emerge as the times require gradually into people39。s lives. Temperature controlled electric fan can be adjusted automatically stop and start the fan speed according to the environment temperature, the use of real life, temperature controlled fan not only can save power resources valuable, but also greatly facilitate the people39。s life and production. The design of a temperature controlled fan system, sensitive temperate easuing and display, the system uses STC89C51 microcontroller as the control platform to control the speed of the fan. The realtime temperature using DS18B20 digital temperature sensor, SCM processing through the transistor DCfan motor drive. According to the realtime temperature acquisition, the fan selfstop. High, low temperature value set by the user, the measured temperaturevalues in the high and low temperature between open fan weak wind profile,when the temperature exceeds the set temperature automatically switch to thefile, automatically turn off the fan when the temperature is lower than the set temperature, the control state varies with the outside temperature. KEY WORDS: Temperature control fan, MCU, DS18B20,automatic control III 目 錄 前 言 ....................................................................................................... 1 第 1 章 緒論 ............................................................................................ 2 研究本課題的目的和意義 ....................................................... 2 發(fā)展現(xiàn)狀 .................................................................................... 2 第 2 章 整體方案選擇 ............................................................................ 4 溫度傳感器的選用 .................................................................... 4 主控機的選擇 ............................................................................ 6 顯示電路 ..................................................................................... 6 調速方式 ..................................................................................... 7 第 3 章 系統(tǒng)硬件組成 ............................................................................ 8 系統(tǒng)結構 .................................................................................... 8 主控芯片介紹 ............................................................................ 8 STC89C51 簡介 ............................................................... 8 STC89C51 主要功能和性能參數(shù) .................................... 9 STC89C51 單片機引腳說明 ......................................... 10 STC89C51 單片機最小系統(tǒng) ........................................... 12 STC89C51 中斷技術概述 ............................................... 14 DS18B20 溫度采集電路 .......................................................... 14 DS18B20 的特點及內部構造 ........................................ 14 DS18B20 的工作原理 ..................................................... 16 DS18B20 的工作時序 ..................................................... 19 數(shù)碼管驅動顯示電路 ............................................................. 21 數(shù)碼管驅動電路 ........................................................... 21 數(shù)碼管顯示電路 ........................................................... 22 風扇驅動電路 .......................................................................... 23 按鍵模塊 .................................................................................. 26 第 4 章 系統(tǒng)軟件設計 .......................................................................... 28 軟件介紹 .................................................................................. 28 IV Keil C51 .......................................................................... 28 Protel99SE ...................................................................... 29 Proteus ............................................................................. 30 主程序流程圖 .......................................................................... 32 DS18B20 子程序流程圖 .......................................................... 33 數(shù)碼管顯示子程序流程圖 ..................................................... 34 按鍵子程序流程圖 .................................................................. 35 第 5 章 系統(tǒng)調試 .................................................................................. 37 軟硬件調試 .............................................................................. 37 按鍵顯示部分的調試 ................................................... 37 傳感器 DS18B20 溫度采集部分調試 ........................ 37 風扇調速電路部分調試 ............................................... 38 系統(tǒng)功能 .................................................................................. 38 系統(tǒng)實現(xiàn)的功能 ........................................................... 38 系統(tǒng)功能分析 ............................................................... 39 結 論 ..................................................................................................... 40 謝 辭 ....................................................................................................... 41 參考文獻 ................................................................................................. 42 附 錄 ...
點擊復制文檔內容
醫(yī)療健康相關推薦
文庫吧 www.dybbs8.com
公安備案圖鄂ICP備17016276號-1