【正文】
方案 2使用的 AT89C51 單片機在以前接觸過,較為了解,使用起來比較簡單方便。 方案 2: 以 單片機 AT89C51 為核心, 采用 集成芯片 完成外圍電路功能 。以單片機為控制核心 ,達到設定的水溫時,進行語音播報。 主要性能指標 ( 1)以單片機為控制核心。鍵盤輸入及控制系統(tǒng)運作 本設計定位為具有語音播報功能的水溫控制系統(tǒng),系統(tǒng)是將 AT89C51 單片機作為核心進行設計的, AT89C51 的強大功能將完成接收鍵盤的指令信號,接受數(shù)據(jù)收集芯片的收集到的實時數(shù)據(jù),進行處理之后將要第一章 引言 2 顯示的部分傳送至顯示屏,并可根據(jù)需要控制語音輸出,根據(jù)預先設定的指令控制實現(xiàn)電路調(diào)整水溫。例如,現(xiàn)代化的泳池,當前社會在實用性的基礎(chǔ)上更加講究舒適性,表現(xiàn)在室內(nèi)泳池上,就是泳池 的 水溫要保持在一個適當?shù)姆秶鷥?nèi),以使身處泳池之中人的體表感官保持舒適;在家居生活中,技術(shù)較新的產(chǎn)品為了在性能上出眾,以達到增加銷量的目的,越來越多的人性化設計開始使用到家電之中,以電飯煲為例,現(xiàn)在 的電飯煲不在簡簡單單的能煮飯,如果飯煮好后主人沒能及時將飯盛出,電飯煲會根據(jù)溫度進行自身調(diào)節(jié), 以使其中的飯始終保持在適宜食用的溫度范圍內(nèi),這其中用到的就是溫度控制。 關(guān)鍵字 : 語音播報 , 水溫控制 , 單片機 , 芯片 , 繼電器 摘 要 II Abstract Paper describes with speech function of the water temperature control system is the basis of mature framework design, the current system frame, design of the main difference lies in the system of each part of the unit circuit choose different devices. So, this paper will first from the whole framework of the choice of hardware to set the overall circuit, then will describe each unit circuit feasible ponents, in contrast to determine a priority. According to the design to after software program design. Are determined already AT89C51 singlechip microputer as the core of the system design, the strong function of AT89C51 will plete the signals received keyboard, accept data collection of chip to collect data in real time, to deal with that is to be revea LED after the part is sent to a display screen, , and based on the need to control speech output, according to the predetermined mand control realization circuit temperature adjustment. Speech broadcast of the integrated chip, for voice foreign transmission, choose ISD4004 largely optimizes the system, ISD4004 USES is the direct simulation amount storage technology, this technology can directly to the advantage of the simulation data entry, namely speech broadcast content can direct input part, without modulus outfit change, storage, and mathematical model with change, not only simplify the process, and minimize distortion, output effect is good. Data acquisition chip will use DS18B20, DS18B20 outstanding characteristic is no mathematical model with change, can directly access microcontroller, reduce signal distortion. Control realize part will use the relay, the number of single chip microputer by small electric current flows through to relay to control. Rely on the above design, the system will be efficient, stable realize data acquisition, processing, output, and realize the speech broadcast, temperature control and constant. Key words: speech broadcast , water temperature control , singlechip microputer, chip, relay目 錄 III 目錄 摘 要 ....................................................... I ABSTRACT .................................................... II 目錄 ....................................................... III 第一章 引 言 ............................................... 1 課題背景及意義 ................................................1 主要設計技術(shù)指標與 參數(shù) ........................................2 基本要求 ..................................................2 主要性能指標 ..............................................2 主要設計內(nèi)容 ..............................................2 第二章 系統(tǒng)總體框圖和方案對比論證 .............................. 3 總體方案的對比論證 ............................................3 系統(tǒng)框圖 ......................................................3 單元電路方案的對比論證 ........................................4 數(shù)采集模塊 ................................................4 語音播報模塊 ..............................................5 控制實現(xiàn)模塊 ..............................................6 第三章 硬件單元電路設計及相關(guān)參數(shù) .............................. 9 單片機 AT89C51 模塊 ............................................9 主要性能參數(shù): ............................................9 功能特性概述 : .............................................9 引腳功能說明 : ...........................................10 按鍵模塊 .....................................................12 數(shù)據(jù)采集模塊 .................................................13 DS18B20 主要特性 .........................................13 封裝及引腳排列、功能 .....................................13 單片機訪問 DS18B20 流程 ...................................14 DS18B20 測溫原理 .........................................15 單片機與 DS18B20 的連接 ...................................16 LED 顯示模塊 .................................................16 語音播報模塊 .................................................17 ISD4004 外部引腳 .........................................18 工作參數(shù) .................................................19 語音播放單元電路 .........................................19 目 錄 IV 執(zhí)行模塊 .....................................................20 固態(tài)繼電器 SSR工作原理 ...................................20 固態(tài)繼電器 SSR的特點 .....................................21 繼電器控制電路圖 .........................................22 時鐘和復位電路 ...............................................22 時鐘 .....................................................22 復位電路 .................................................23 主電源電路 ...................................................24 第四章 系統(tǒng)各單元模塊程序設計 ................................. 23 主程序流程圖 .................................................23 鍵盤模塊程序流程圖 ...........................................24 數(shù)據(jù)采集模塊程序流程圖 .......................................24 顯示模塊程序流程圖 ...........................................25 語音播報模塊程序流程圖 .......................................26 執(zhí)行模塊程序流程圖 ...........................................27 結(jié)論 ........................................................ 28 參考文獻 ...................