【正文】
.................................................................. 3 可靠性 .......................................................................................................................... 3 性價比 .......................................................................................................................... 4 方案比較 .................................................................................................................................. 4 方案一 .......................................................................................................................... 4 方案二 .......................................................................................................................... 4 方案選擇 ......................................................................................................................................... 5 液晶顯示模塊 ...................................................................................................................... 8 溫濕度傳感器模塊 .............................................................................................................. 8 報警電路的設(shè)計 ................................................................................................................ 9 按鍵電路設(shè)計 ..................................................................................................................10 元件清單 .......................................................................................................................................11 關(guān)鍵器件的介紹 ............................................................................................................................11 AT89C52..............................................................................................................................11 4 系統(tǒng)軟件設(shè)計 ...........................................................................................................................................13 軟件設(shè)計的總體結(jié)構(gòu) ....................................................................................................................13 主要模塊的設(shè)計流程框圖 ............................................................................................................15 主程序流程圖 ....................................................................................................................15 SHT11子程序流程圖 .........................................................................................................16 LCD1602子程序流程圖 .....................................................................................................17 輸出控制子程序流程圖 ....................................................................................................18 軟件設(shè)計所用工具 ........................................................................................................................19 KeiluVision4 ....................................................................................................................19 Proteus..............................................................................................................................19 5 系統(tǒng)調(diào)試 ...................................................................................................................................................19 用 Proteus搭建仿真總圖 ............................................................................................................19 用 Keil3對程序進(jìn)行調(diào)試、編譯 ................................................................................................20 6 結(jié)論 ...........................................................................................................................................................22 系統(tǒng)的功能 ...................................................................................................................................22 系統(tǒng)的指標(biāo)參數(shù) ............................................................................................................................22 系統(tǒng)功能分析 ................................................................................................................................23 總結(jié)與體會 ...................................................................................................................................................23 蘭州交通大學(xué)博文學(xué)院畢業(yè)設(shè)計 參考文獻(xiàn) .........................................................................................................................29 附錄 1系統(tǒng)仿真圖??????????????????????????????????????????????? ..30 附錄 2系統(tǒng)程序 ........................................................................................................................................31 1緒論 蘭州交通大學(xué)博文學(xué)院畢業(yè)設(shè)計 我國農(nóng)業(yè)致力于從傳統(tǒng)農(nóng)業(yè)到以優(yōu)質(zhì),高效,高產(chǎn)為目標(biāo)的現(xiàn)代化農(nóng)業(yè)轉(zhuǎn)化。 關(guān)鍵詞:單片機;溫濕度傳感器;溫濕度自動控制 蘭州交通大學(xué)博文學(xué)院畢業(yè)設(shè)計 Abstract The design is based on the AT89C52 microcontroller greenhouse temperature and humidity automatic control system, using SHT11 as a temperature and humidity sensor, using LCD1602 LCD screen display. SHT11 use methods similar to I2C bus timing and MCU municate, because it is a highly integrated, have been included a / D conversion circuit, so easy to use and durable, LCD1602 can data display in two rows, respectively display of temperature and humidity. This control system capable of measuring greenhouse or warehouse temperature and humidity, displayed on the LCD1602 LCD screen, at the same time, with the set value were pared, if it exceeds the upper limit, alarm and starting the temperature and humidity adjusting device. In addition, can also be modified by the keyboard to set the temperature and hum