【正文】
第 VI 頁 軟件設(shè)計概述 ........................................................................................................26 結(jié)構(gòu)及程序流程 ....................................................................................................26 程序介紹 ................................................................................................................28 控制模塊 ....................................................................................................28 顯示模塊 ....................................................................................................30第 5 章 PCB 制作與測試 .....................................................................................................32 簡介 .................................................................................................................32 制作 .................................................................................................................32 基板材料 ..................................................32 布局布線 ..................................................32 PCB 制作流程 .............................................................................................33 系統(tǒng)的測試 ............................................................................................................35總 結(jié) ..................................................................................................................................39致 謝 ..............................................................................................................................40參考文獻 ..............................................................................................................................41附 錄 1 硬件電路原理圖 ................................................................................................43附 錄 2 數(shù)字水位計實物圖 ............................................................................................44附 錄 2 程序 ....................................................................................................................45 西南交通大學(xué)本科畢業(yè)設(shè)計(論文) 第 0 頁 第 1 章 緒 論 本論文的背景和意義水位的測量,是水文研究中的很重要的一點,而在人們的印象中,水文研究是一項十分辛苦的工作,它需要水文工作者到各地去采集水文資料,包括水位。s function tends to day by day the consummation. The role of water level controller can be set in accordance with the requirements of people to automatically start and shut down the motor to control the water level,When the water level reaches the set value, the motor automatically stops on water level meter, conducive to meet the growing demand for the science and technology applied to the water level control.This topic is in the simple, accurate capacitive sensor, through the 555 NE555P oscillator will water level elevation information into square wave frequency changes, after filter input single chip puter 80 C51, the monolithic integrated circuit to the frequency of the capture and count realize water level elevation detection. Through the SCM analysis, collected signal processing, drive LCD monitor LCD1602 show water level elevation, and at the same time through motor drive chip L298, control of water level to realize the small pump maintenance balance, that is, when the warning level higher than small water pump automatic drain, below the warning level automatic water pump when small, realize the automatic level of testing and maintenance function. Through the test can to below or above the warning level automatic smoke when the function of the drainage. And after many tests average results and the practical level small errors, temperature humidity changes in the environment of the test results can still meet the requirements. Finally, the realization of the system of the digital water meter and the results of the validation are summary of the design and its further improvements are discussed.Keywords: singlechip microputer。最后,給出了數(shù)字水位計系統(tǒng)的實現(xiàn)及驗證結(jié)果,并對本課題工作做了總結(jié),給出了本設(shè)計幾個可以改進的方面。通過測試可以達到低于或者高于警戒水位時候自動抽排水的功能。 本課題中采用比較簡單、精確的電容式傳感器,通過 555 振蕩器 NE555P 將水位高度信息轉(zhuǎn)變?yōu)榉讲l率的變化,經(jīng)過濾波后輸入單片機 80C51,單片機對頻率的捕捉和計數(shù)實現(xiàn)水位高度的檢測。水位計也叫“液位計”或“液面計” 。水位計是在日常生活和工業(yè)應(yīng)用中經(jīng)常見到的蓄水控制裝置,通過對其水位的設(shè)定控制供水以滿足需要。 3.水位傳感器相關(guān)資料 六、 設(shè)計進度安排第一部分 搜集資料,學(xué)習單片機有關(guān)知識,復(fù)習 C 語言 (13 周)第二部分 硬件設(shè)計并完成 PCB 制作 (48 周)第三部分 軟件設(shè)計以及最終的調(diào)試工作 ( 913 周) 評閱及答辯 ( 周) 指導(dǎo)教師: 年 月 日系主任審查意見:審 批 人: 年 月 日 西南交通大學(xué)本科畢業(yè)設(shè)計(論文) 第 III 頁 西南交通大學(xué)信息科學(xué)與技術(shù)學(xué)院 2020 年制摘 要隨著科學(xué)技術(shù)的不斷發(fā)展,水位測量計已經(jīng)從傳統(tǒng)型對講發(fā)展到智能化數(shù)字化,而且水位測量計的功能日益趨向于完善。 技術(shù)指標: 1. 量程范圍. 量程范圍 1cm10mH 2. 各檔誤差均小于 5% 二、 應(yīng)完成的硬件或軟件實驗液晶顯示數(shù)字水位計硬件制作和軟件編程及調(diào)試。硬件方面要求完成對系統(tǒng)的硬件設(shè)計、制作及調(diào)試,定標。西 南 交 通 大 學(xué)畢業(yè)設(shè)計(論文)水位顯示與控制裝置的設(shè)計與實現(xiàn)年 級: 電科(微電)202001 班 學(xué) 號: 20202584 姓 名: 魏縱寬 專 業(yè): 電子科學(xué)與技術(shù)(微電子) 指導(dǎo)老師: 范俊波 二零一二年六月西南交通大學(xué)本科畢業(yè)設(shè)計(論文) 第 頁院 系 信息科學(xué)與技術(shù)學(xué)院 專 業(yè) 電子科學(xué)與技術(shù)(微電子) 年 級 08 級 姓 名