【正文】
多功能數(shù)字溫度計(jì)的設(shè)計(jì)一、 任務(wù):利用單片機(jī)設(shè)計(jì)一個(gè)數(shù)字電子溫度計(jì),能夠通過(guò)溫度傳感器測(cè)量并顯示被測(cè)量點(diǎn)的溫度。主要包括:?jiǎn)纹瑱C(jī)傳感器顯示驅(qū)動(dòng)顯示按鍵二、 設(shè)計(jì)要求:1. 基本部分:(1) 檢測(cè)溫度范圍10~30℃,分辨率1℃;(2) 正確顯示溫度(3) 整機(jī)靜態(tài)功耗小于5微安(關(guān)閉LCD顯示,時(shí)鐘正常運(yùn)行)(4) 按鍵喚醒顯示2. 發(fā)揮部分:(1) 溫度控制功能(能夠演示出控制功能的存在)(2) 顯示時(shí)分秒的時(shí)鐘功能(能夠正常切換和顯示)(3) 其他功能目 錄摘 要一、方案設(shè)計(jì)與論證167。167。167。167。二、系統(tǒng)結(jié)構(gòu)框架設(shè)計(jì)167。 系統(tǒng)總體框架167。 主控器和檢測(cè)器結(jié)構(gòu)167。 電子溫度計(jì)工作框架三、系統(tǒng)硬件設(shè)計(jì)167。167。167。167。 RS485串口通訊電路設(shè)計(jì)167。 整體電路圖設(shè)計(jì)四、系統(tǒng)軟件設(shè)計(jì)167。 溫度測(cè)量程序167。 MSP主控制程序167。 時(shí)間控制程序167。 按鍵喚醒程序167。 報(bào)警程序167。 上位機(jī)軟件五、系統(tǒng)調(diào)試與分析167。 基本部分測(cè)試與分析167。 發(fā)揮部分測(cè)試與分析167。 創(chuàng)新部分測(cè)試與分析六、總結(jié)參考資料:附錄1:附錄2: 摘 要本設(shè)計(jì)根據(jù)競(jìng)賽要求,主控器單元選用了功耗極低的MSP430FW427單片機(jī)為CPU,選用完全符合測(cè)量溫度范圍要求且工作一致性很高的PT1000熱電阻作為溫度傳感器,制作出一種由MSP430 系列單片機(jī)構(gòu)成的高精度、超低功耗數(shù)字式溫度計(jì)。該系統(tǒng)由上位機(jī)和下位機(jī)兩部分組成,下位機(jī)連接多個(gè)PT1000,采用RS485方式通訊,方便實(shí)現(xiàn)多點(diǎn)測(cè)溫。上位機(jī)部分使用了家庭PC,將數(shù)據(jù)導(dǎo)入SQL Server數(shù)據(jù)庫(kù),上位機(jī)軟件進(jìn)行溫度曲線(有數(shù)秒延遲)繪制。關(guān)鍵字:低功耗;PT1000熱電阻;RS485;MSP430摘 要: 本設(shè)計(jì)根據(jù)課題要求,采用低功耗的MSP430單片機(jī)為主控CPU,輔以完全符合測(cè)量溫度范圍要求且工作一致性很高的DS18B20作為溫度傳感器,可通過(guò)主控單元的鍵盤(pán)來(lái)設(shè)定各功能之間的切換,能實(shí)現(xiàn)對(duì)現(xiàn)場(chǎng)的溫度進(jìn)行實(shí)時(shí)檢測(cè),并在液晶顯示器上輸出溫控信息,還能利用MSP430豐富的外圍模塊,實(shí)現(xiàn)多種附加功能,且整體各模塊充分發(fā)揮了MSP430多種超低功耗模式的優(yōu)點(diǎn),實(shí)現(xiàn)超低功耗的目的。 。經(jīng)過(guò)各項(xiàng)實(shí)驗(yàn)測(cè)試,該系統(tǒng)的性能指標(biāo)不僅全部達(dá)到了題目的基本要求,而且增加的多路溫度采集、定鬧、無(wú)線遠(yuǎn)程溫度報(bào)警、超高溫溫度檢測(cè)功能等多方面達(dá)到或超過(guò)發(fā)揮部分的要求。本系統(tǒng)具體功能如下: 基本功能: ?。?)檢測(cè)溫度范圍為10~30℃,℃; ?。?)正確實(shí)時(shí)顯示測(cè)量溫度; ?。?)整機(jī)靜態(tài)功耗小于5微安(關(guān)閉LCD顯示,時(shí)鐘能正常運(yùn)行); ?。?)低功耗下,可按鍵喚醒?! 。骸 。?)溫度控制,可設(shè)定溫度檢測(cè)上下限值; (2)設(shè)定溫度報(bào)警功能,當(dāng)測(cè)量溫度超過(guò)設(shè)定值時(shí),聲音報(bào)警; ?。?)時(shí)間顯示與設(shè)置; (4)日歷功能,可設(shè)置、顯示年月日; ?。?)高溫檢測(cè);可測(cè)量30℃到125℃,℃; (6)無(wú)線遠(yuǎn)程溫度報(bào)警;當(dāng)測(cè)量溫度超過(guò)設(shè)定值時(shí),遠(yuǎn)程無(wú)線聲音報(bào)警; ?。?)無(wú)線遠(yuǎn)程溫度查詢與報(bào)告;用戶可通過(guò)手持無(wú)線查詢系統(tǒng)查詢溫度; ?。?)多路溫度采集;可實(shí)現(xiàn)1到8路溫度采集和顯示; (9)鬧鐘提示與設(shè)定;關(guān)鍵詞:超低功耗,電子溫度計(jì),MSP430,DS18B20,CC1100。 Ultra low power loss thermotronAbstract: This design basis topic request, uses the low power loss the MSP430 monolithic integrated circuit is master control CPU, auxiliary by conforms to the survey temperature range requirement also work uniformity very high DS18B20 pletely took the temperature sensor, may establish between various functions through the master control unit keyboard the cut, can realize to the scene temperature carries on the realtime examination, and outputs warm on the liquidcrystal display controls the information, but also can use the MSP430 rich periphery module, the realization many kinds of attachment function, also the whole various modules have fully displayed the MSP430 many kinds of ultra low power loss pattern merit, realizes the ultra low power loss goal. The design finally uses level of sign reference your telegram parameter list to carry on the test to the after each experiment, not only this system performance index has met the topic basic requirements pletely, moreover increases multichannel temperature gathering, decides, the wireless longdistance temperature noisily reports to the police, the superhigh temperature temperature examination function and so on achieved or surpasses the display part variously the request.Key words