為了在工業(yè)生產(chǎn)及過(guò)程控制中準(zhǔn)確測(cè)量溫度,設(shè)計(jì)了一種基于低功耗MSP430單片機(jī)的數(shù)字溫度計(jì)。整個(gè)系統(tǒng)通過(guò)單片機(jī)MSP430F1121A控制DS18B20讀取溫度,采用數(shù)碼管顯示,溫度傳感器DS18B20與單片機(jī)之間通過(guò)串口進(jìn)行數(shù)據(jù)傳輸。MSP430系列單片機(jī)具有超低功耗,且外圍的整合性高,DS18B20只需一個(gè)端口即可實(shí)現(xiàn)數(shù)據(jù)通信,連接方便。通過(guò)多次實(shí)驗(yàn)證明,該系統(tǒng)的測(cè)試結(jié)果與實(shí)際環(huán)境溫度一致,除了具有接口電路簡(jiǎn)單、測(cè)量精度高、誤差小、可靠性高等特點(diǎn)外,其低成本、低功耗的特點(diǎn)使其擁有更廣闊的應(yīng)用前景。
Abstract:
In order to obtain accurate measuring temperature in industrial production and process control, a digital thermometer based on MSP430 MCU is designed. The system uses MSP430F1121A MCU to control DS18B20, and gets the temperature data, which is displayed on the LED. The temperature sensor DS18B20 and MCU transmit data through serial communication. MSP430 series has ultra-low power and high integration, DS18B20 only needs one port to achieve data communication. Through many experimental results prove, this system is consistent with actual environment temperature. The system has characteristics of interface circuit simple, high measuring accuracy, minor error, high reliability, besides, the characteristics of low cost and low power make it having vaster application prospect.