【正文】
Electronic Digital Computer which contains chief functional unit such as CPU、RAM、ROM、I/O interface、Timer/Counter and interrupt system in a semiconductor chip. It mainly used in controlling system , also called by Microcontroller Unit or Embedded Controller . In this design , we use it to make up a temperature controlling system . First of all , we need to write C programming language to realize its function . Next , we can connect its hardware circuit and load the code , that is , using a Single Chip Microputer to link a temperature sensor named by DS18B20 and a led display . In the simulation experiment , we get a result which goes perfectly true with its expectant result . The result make it clear that the Single Chip Microputer can be widely used in temperature measurement and controlling and It can promote meter box to develop in a digital 、intelligent 、integrated way.Key words : Single Chip Microputer,Temperature measurement,Sensor,Led display,Simulation experiment基于單片機的溫度測量系統(tǒng)1引言隨著社會的發(fā)展,科技的進步以及人們生活水平的逐步提高,各種方便與生活的自動控制系統(tǒng)開始進入了我們的生活,單片機作為微型計算機發(fā)展的一個重要分支,具有高可靠性、高性能價格比、低電壓、低功耗等優(yōu)勢,以其為核心的自動控制系統(tǒng)贏得了廣泛的應用。本設計應用單片機進行溫度測量,首先編寫用于溫度測度值,符合程序語言的設定。單片機原理及系統(tǒng)課程設計報告單片機原理及系統(tǒng)課程設計評語:考勤(10)守紀(10)過程(40)設計報告(30)答辯(10)總成績(100)專 業(yè): 班 級: 姓 名: 學 號: 指導教師: 摘 要單片機是把中央量的C語言程序,然后連接硬件電路,通過與DS18B20溫度傳感器連接,將溫度信號輸出到LED數(shù)碼管,可顯示具體溫度。仿真實驗中數(shù)碼管正確顯示出傳感器的溫處理器(CPU)、隨機存取存儲器(RAM)、只讀存儲器(ROM)、輸入/輸出接口、定時器/計數(shù)器、中斷系統(tǒng)等主要功能部件集成在一塊半導體芯片上的數(shù)字電子計算機,主要用于控制,又稱為微控制器或嵌入式控制器。結果表明單片機通過與溫度傳感器后可用于溫度的測量及顯示,能促進儀表箱數(shù)字化、智能化、綜合化等方面發(fā)展,應用領域相當廣泛。該課程設計的題目是基于單片機的溫度測量系統(tǒng),目的重在對于單片機的實際應用,加深對單片機這一課程的理解,達到學以致用。選擇元器件的時候,考慮到電路需要簡單、連接方便、顯示精度、便于調試,在比較了同類型的元器件后,決定使用DS18B20溫度傳感器,其優(yōu)點在于測溫精度高、需要