【正文】
一種新型的混合信號處理器,采用了美國德州儀器(Texas Instruments)公司最新低功耗技術(shù) (工作電流為 一 400 p A ),它將大量的外圍模塊整合到片內(nèi),特別適合于開發(fā)和設(shè)計單片系統(tǒng)。 關(guān)鍵字: 溫度測量 MSP430 單片機 溫度傳感器 DS18B20 超低功耗 Abstract: in order to accurately measure the temperature in real life and industrial production and process control, a digital thermometer was designed with low power consumption based on MSP430 single chip microputer, the control system of DS18B20 read the temperature through the singlechip MSP430F149, the use of digital tube display, temperature sensor DS18B20 and single chip microputer for data transmission through the serial port, MSP430 Series MCU with low power consumption the periphery, 2 and high integration, DS18B20 only needs one port to realize the data munication, the connection is convenient, through many experiments, the test results of the system and the actual environment temperature is the same, except with the interface circuit is simple, high precision, small error, high reliability, low cost, low power consumption it has a wider application 1 Keywords: temperature measurement MSP430 temperature sensor DS18B20 ultra low2 power consumption 目錄 一.溫度測量器的總體設(shè)計 ............................................................... 3 二.溫度測量器的硬件選擇 ............................................................... 4 1 主控器件: MSP430F149 ........................................................... 4 2 溫度信息采集單元: DS18B20 .................................................. 5 DS18B20 ....................................................................... 5 DS18B20 管腳排列 ......................................................... 6 :數(shù)碼管及其驅(qū)動 ...................................................... 7 數(shù)碼管 ............................................................................... 7 驅(qū)動芯片: 74HC573......................................................... 7 三 . 系統(tǒng)軟件程序 ............................................................................... 8 系統(tǒng)的程序流圖 ...................................................................... 8 DS18B20 的子程序 ............................................................ 9 3 1 初始化時序 ..................................................................10 2 寫時序 .......................................................................12 3 讀時序 .........................................................................14 溫度計算子程序 .....................................................................16 處理數(shù)碼管顯示的子程序 ......................................................19 四、系統(tǒng)調(diào)試 ....................................................................................20 硬件檢測和調(diào)試 .....................................................................20 軟件程序調(diào)試 .........................................................................22 整體調(diào)試 ................................................................................22 五、結(jié)論分析 ....................................................................................23 參考文獻: ...................