【正文】
系 (教研室 )主任簽名 批準日期 接受論文 (設計 )任務開始執(zhí)行日期 學生簽名 II 秸稈禁燒無線監(jiān)測系統(tǒng)的設計及實現(xiàn) 張 帥 (陜西理工學院物理與電信工程學院通信 1102 班,陜西 漢中 723000) 指導教 師:張文麗 [摘要 ]農田秸稈禁燒無線監(jiān)測系統(tǒng)是實現(xiàn)農田及農村信息無線監(jiān)測、無人值守,有效并且可靠管理的重要組成部分,是推動農田及農村智能化管理的重要步驟,具有較大的應用價值。系統(tǒng)對監(jiān)測信息采集并傳輸,通過監(jiān)測軟件觀察監(jiān)測點的溫度及煙霧濃度。 [關鍵詞 ]監(jiān)測;上位機;單片機;傳感器 III Design and Implementation of Straw Incineration Wireless Monitoring System Zhang Shuai (Grade11,Class2,Major of Communication Engineering,Physical and Telemunication Engineering institute,Shaanxi University of Technology,Hanzhong 723001,Shaanxi) Tutor: Zhang Wenli Abstract:Farmland straw incineration wireless monitoring system is very important in application. By effective and reliable management, it can realize the rural information wireless monitoring. It’s one of the important steps to promote the farmland and rural intelligent management,so it has great value in issue designs a wireless detection this design,the STC89C52 singlechip microputer was choosed as the master control chip and the system collect environmental information from the MQ2 and DS18B20 sensor processing by STC89C52,the system can display temperature and smoke concentration in nixie tube,and the system can also give an alarm when environmental information cross the border. Simultaneously,the research develops monitoring software for upper system can transmit monitoring information from the MQ2 and DS18B20 sensor,and we can observe the temperature and smoke concentration of the monitoring points by the monitoring of the advantages of simple structure,stable performance,convenient application and low cost,the system would have a certain practical value. Key words:monitor,PC, MCU, sensor IV 目 錄 引 言 ........................................................................................................................................ 1 1 研究背景 ........................................................................................................................... 2 研究意義 ................................................................................................................. 2 研究現(xiàn)狀 ................................................................................................................. 2 本文的主要內容 ................................................................................................... 3 2 方案論證 ........................................................................................................................... 4 設計要求 ................................................................................................................. 4 方案設計 ................................................................................................................. 4 方案選 擇 ................................................................................................................. 5 3 硬件設計 ........................................................................................................................... 6 單片機最小系統(tǒng) ................................................................................................... 6 電源供電模塊 ............................................................................................ 7 晶振電路 ...................................................................................................... 7 復位電路 ...................................................................................................... 8 信號采集電路 ........................................................................................................ 9 溫度采集電路 ............................................................................................ 9 煙霧采集電路及 AD 轉換 ...................................................................... 11 顯示電路 ................................................................................................................13 報警電路 ................................................................................................................14 鍵盤電路 ................................................................................................................14 無線收發(fā)電路 .......................................................................................................14 4 軟件設計 ..........................................................................................................................16 主程序設計 ............................................................................................................16 初始化程序設計 ..................................................................................................17 數據采集程序設計 ..............................................................................................17 按鍵控制程序設計 ..............................................................................................18 報警程序設計 .......................................................................................................19 上位機軟件設計 ..................................................................................................19 5 系統(tǒng)分析 ..........................................................................................................................20 系統(tǒng)仿真 ................................................................................................................20 硬件測試 ................................................................................................................21 功能分析 ................................................................................................................23 結束語 ....................................................................................................................................24 V 致 謝 .............................................................