【正文】
le chip microputer to make a model of automatic control temperature alarm system. This design mainly includes the design of hardware and software two parts. Hardware part includes single chip microputer control circuit, sensor circuit, driver execution alarm circuit, digital tube control circuit and other parts. The processor with 51 series microcontroller AT89C51. The whole system is the system software work under control. Software part can be as the following several modules: data collection, button control, buzzer alarm, external temperature control equipment and display DengZi function module. This design to realize automatic control water temperature function, the realtime temperature sensing the current system of information, the temperature information through digital tube display intuitive display, we again according to the practical demand for water temperature, through the buttons can set a temperature control range, when the temperature is less than or beyond the scope of we set, the system can automatically perform the corresponding heating and cooling, and turn on the buzzer alarm. Key words: AT89c51, button control, digital tube display, AT24C02, DS18B20, 攀枝花學(xué)院本科畢業(yè)設(shè)計(jì)(論文) 目錄 I 目 錄 摘 要 ....................................................................... I ABSTRACT ................................................................... II 前 言 ........................................................................ 1 1 緒論 ............................................................................................................................... 2 課題背景 .............................................................................................................. 2 ......................................................................................... 2 ................................................................................................ 3 2 設(shè)計(jì)要求與方案論證 ................................................................................................ 4 .............................................................................................................. 4 ...................................................................................... 4 單片機(jī)芯片的選擇方案和論證 ................................................................... 4 溫度傳感 器設(shè)計(jì)方案論證 .......................................................................... 5 掉電保持方案論證 .................................................................................... 5 電路設(shè)計(jì)最終方案決定 ........................................................................................ 5 3 系統(tǒng)的硬件設(shè)計(jì) ........................................................................................................ 7 AT89C51介紹 ....................................................................................................... 7 AT89C51 主要功能及 PDIP封裝 .................................................................. 7 AT89C51 引腳介紹 ..................................................................................... 7 單片機(jī)最小系統(tǒng) ........................................................................................ 8 DS18B20 傳感器介紹 ............................................................................................. 9 DS18B20 概述 ............................................................................................ 9 DS18B20 的內(nèi)部結(jié)構(gòu) ............................................................................... 10 數(shù)碼管介紹 .........................................................................................................11 AT24C02 簡介 ......................................................................................................11 4 系統(tǒng)的軟件設(shè)計(jì) ...................................................................................................... 14 ..................................................................................................... 14 ......................................................................................................... 15 DS18B20 的程序流程圖 ....................................................................................... 16 5 系統(tǒng)仿真 ................................................................................................................... 17 仿真軟件 Proteus的簡介 ................................................................................... 17 keil uVision2 編程開發(fā)工具的簡介 .................................................................. 17 攀枝花學(xué)院本科畢業(yè)設(shè)計(jì)(論文) 目錄 II ........................................................................................... 17 ...................................................................................... 17 最終仿真圖 ............................................................................................. 18 6 PCB 畫圖及實(shí)物制作 ............................................................................................... 19 制作過程理論實(shí)踐概述 ...................................................................................... 19 設(shè)計(jì)原理圖 ........................................................................................................ 19 ........................................................................................... 21 最終實(shí)物圖 ........................................................................................................ 22 7 組裝與調(diào)試 ............................................................................................................... 24 ............................................................................................................ 24 ............................................................................................................ 24 ..............................................................