【正文】
,以DS18B20為溫度傳感器的新型數(shù)字溫度計設(shè)計方法,其硬件電路包括主控制器,測溫電路和顯示電路等?;趩纹瑱C(jī)的電加熱恒溫控制器的設(shè)計專業(yè) 電氣學(xué)生姓名班級學(xué)號指導(dǎo)教師完成日期 2022 年 1 月 1 日基于單片機(jī)的電加熱恒溫控制器的設(shè)計摘 要:隨著國民經(jīng)濟(jì)的發(fā)展,人們需要對各中加熱爐、熱處理爐、反應(yīng)爐和鍋爐中溫度進(jìn)行監(jiān)測和控制。采用單片機(jī)來對他們控制不僅具有控制方便,簡單和靈活性大等優(yōu)點(diǎn),而且可以大幅度提高被控溫度的技術(shù)指標(biāo),從而能夠大大的提高產(chǎn)品的質(zhì)量和數(shù)量。該溫度計用于軟件編寫過程中對上下報警溫度值設(shè)置,當(dāng)溫度不在設(shè)置范圍內(nèi)時,可以報警。關(guān)鍵詞:單片機(jī);恒溫控制器;DS18B20Based on Monolithic Integrated Circuit39。s DesignAbstract : Along with national economy development, the people need to each heating furnace、the heattreatment furnace、in the reactor and the boiler the temperature carry on the monitor and the control. Not only uses the monolithic integrated circuit to e to them to control has the control to be convenient, simple and flexibility big and so on merits, moreover may enhance large scale is accused the temperature technical specification, thus can big enhance the product the quality and quantity.A new type digital thermometer is introduced, which take a micro controller unit as primary control ponent andDS18B20 as temperature sensor. The hardware circuit mainly includes master controller, temperature measurement circuit and display circuit. The software development can be made up from temperature,when the temperature is not in the rank of written in,the thermometer can warning. Compared with the traditional thermometer, this digital thermometer can reduce external hardware circuit, and it features low lost and easily use.Key words: Monolithic Integrated Circuit。 DS18B20目 錄1 概 述 ....................................................................................................................1 課題研究的背景 .....................................................................................................1 課題研究的意義 .....................................................................................................1 課題研究的內(nèi)容 .....................................................................................................22 系統(tǒng)的方案設(shè)計 ........................................................................................................3 系統(tǒng)設(shè)計要求 ..........................................................................................................3 方案設(shè)計 .................................................................................................................3 控制電路和溫度設(shè)定電路方案與選擇 ..............................................................3 測溫電路方案選擇 ..............................................................................................4 顯示模塊的選擇方案和論證 ..............................................................................4 加熱電路方案選擇 ..............................................................................................4 單片機(jī)的選擇 ......................................................................................................5 單片機(jī) AT89S52 .................................................................................................5 總體電路設(shè)計 ......................................................................................................83.硬件電路的設(shè)計 ......................................................................................................9 電路總體原理框 圖 .................................................................................................9 系統(tǒng)各功能模塊電路設(shè)計 .....................................................................................9 最小系統(tǒng) ..............................................................................................................9 溫度采集電路的設(shè)計 ........................................................................................11 鍵盤和顯示的設(shè)計 ............................................................................................11 加熱控制電路的設(shè)計 ........................................................................................12 報警及指示燈電路的設(shè)計 ................................................................................13 時鐘電路及外部復(fù)位電路 ................................................................................14 電源電路 ............................................................................................................15 原理圖的設(shè)計 ........................................................................................................164.軟件系統(tǒng)的設(shè)計 ....................................................................................................19. 主程序模塊 ..........................................................................................................19. 溫度采集模塊 ......................................................................................................19 鍵盤模塊 ...............................................................................................................20 顯示模塊 ...............................................................................................................21 中斷模塊 ...............................................................................................................22. 運(yùn)算控制模塊 ......................................................................................................235.設(shè)計總結(jié) ................................................................................................................25參考文獻(xiàn) ......................................................................................................................26致 謝 ........................................................................................................................27附錄 1 基于單片機(jī)的電加熱恒溫控制器的設(shè)計電路原理圖 .................................28附錄 2 基于單片機(jī)的電加熱恒溫控制器的設(shè)計的 PCB 圖 ...................................29附錄 3 程序清單 .........................................................................................................301基于單片機(jī)的電加熱恒溫控制器的設(shè)計1 概 述 隨著現(xiàn)代信息技術(shù)的飛速發(fā)展和傳統(tǒng)工業(yè)改造的逐步實(shí)現(xiàn),能夠獨(dú)立工作的溫度檢測和顯示系統(tǒng)應(yīng)用于諸多領(lǐng)域。因而,對溫度的測控方法多種多樣。利用微機(jī)對溫度進(jìn)行測控的技術(shù),也便隨之而生,并得到日益發(fā)展和完善,越來越顯示出其優(yōu)越性。從實(shí)際應(yīng)用出發(fā)選取了體積小、精度相對高的數(shù)字式溫度傳感元件 DS18B20 作為溫度采集器,單片機(jī) AT89S52 作為主控芯片,數(shù)碼管作為顯示輸出,實(shí)現(xiàn)了對溫度的實(shí)時測量與恒定控制。在工業(yè)企業(yè)中,如何提高溫度控制對象的運(yùn)行性