【正文】
原因,有約 90%的辦公場所飲水機(jī) 全天 24 小時(shí) 開機(jī)。 據(jù)統(tǒng)計(jì) 全國 2020多萬家企業(yè),幾乎每家企業(yè)都有飲水機(jī)。人們在日常生活中會(huì)需要用到各種定時(shí)器的相關(guān) 家電產(chǎn)品,來實(shí)現(xiàn)智能化控制電器產(chǎn)品的自動(dòng)開啟關(guān)閉,因此定時(shí)器的使用給人們?nèi)粘I顜砹藰O大的便利。此外,該定時(shí)器具有結(jié)構(gòu)簡單、價(jià)格低廉等優(yōu)點(diǎn), 應(yīng)用場合十分廣泛。 本文介紹了一種自行研制的飲水機(jī)定時(shí)器,該定時(shí)器以單片機(jī) STC89C52 為核心采 用數(shù)碼管顯示,用繼電器來控制輸出。 關(guān)鍵詞 :節(jié)能控制,循環(huán)定時(shí), DS1302 ABSTRACT With the development of electronic technology and people39。該定時(shí)器可以用電子時(shí)鐘來顯示時(shí)間,并可以在任意時(shí)段用該定時(shí)器來進(jìn)行定時(shí)。大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) 1 大學(xué)畢業(yè)設(shè)計(jì)論文 —— 飲水機(jī)循環(huán)定時(shí)器的設(shè)計(jì) 班級: 摘要 隨著電子技術(shù)的發(fā)展和人民生活水平的提高 ,飲水機(jī)、電熱水器等已經(jīng)成為家庭的必備用品,但飲水機(jī)等電熱產(chǎn)品反復(fù)加熱造成的 “ 千滾水 ” 也成為影響人們身體健大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) 2 康的隱患 ,家庭建議不飲用桶裝水和飲水機(jī),兩者長時(shí)間飲用都不好。 本課題介紹一種以單片機(jī) STC89C52和 DS1302為核心的飲水機(jī)定時(shí)器 ,該定時(shí)器可用于解決飲水機(jī)等電熱產(chǎn)品長時(shí)間通電引發(fā)的一些問題。論文敘述了飲水機(jī)循環(huán)定時(shí)器的設(shè)計(jì)過程,首先分析并總結(jié)了定時(shí)器如何來實(shí)現(xiàn)定時(shí)的方法,從 而設(shè)計(jì)總體方案,然后 利用單片機(jī)和時(shí)鐘芯片 DS1302 來實(shí)現(xiàn)定時(shí)器的功能 ,并 設(shè)計(jì)了相關(guān)的定時(shí)程序, 最后通過所設(shè)計(jì)的定時(shí)器來實(shí)現(xiàn)節(jié)能控制和循環(huán)定時(shí)的功能。s living standards improve,drinking fountains, electric water heater has bee a family of essential supplies, water dispensers and electric products, such as repeated heating caused thousands of boiling water also affect the health of people hidden. The family does not remend drinking bottled water and drinking fountains, the two long drinking is not good This subject introduction the microcontroller STC89C52 and DS1302 as the core of the water dispenser timer , this timer can be used to solve the drinking fountains and other electric for a long time power caused some problems. This timer can be used to display electronic clock time, and at any time using the timer time. The paper describes the design process of the fountains cycle timer, firstly analyzes and summarizes the timer on how to achieve timing in order to design the overall program, and then use the microcontroller and the clock chip DS1302 timer function, and design timing procedures, and finally through the design of the timer energy saving control and the cycle of regular features. Keywords: Energy control, Cycle time, DS1302 —— 飲水機(jī)循環(huán)定時(shí)器的設(shè)計(jì) ....................................................................................................... 1 摘要 ............................................................................................................................................. 1 ABSTRACT .................................................................................................................................. 2 大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) 3 第一章 緒論 ............................................................................................................................... 4 一 本課題的研究意義 ............................................................................................................ 4 二 定時(shí)器的發(fā)展現(xiàn)狀 ............................................................................................................ 4 三 本課題的基本任務(wù) ............................................................................................................ 5 第二章 飲水機(jī)定時(shí)器的設(shè)計(jì)方案 ................................................................................................. 6 第三章 飲水機(jī)定時(shí)器的硬件設(shè)計(jì) ................................................................................................. 7 一 數(shù)碼管顯示電路設(shè)計(jì) ........................................................................................................ 7 (一)顯示電路 .............................................................................................................. 7 (二) 數(shù)碼管的引腳圖及其連接 ..................................................................................... 7 二 繼電器控制電路設(shè)計(jì) ........................................................................................................ 8 (一)繼電器控制電路 ................................................................................................... 8 三 時(shí)鐘電路的設(shè)計(jì) ............................................................................................................... 9 (一) DS1302的功能 ................................................................................................... 9 (二 ) DS1302 的結(jié)構(gòu)及其工作原理 .................................................................................. 10 四 總原理圖設(shè)計(jì) ..................................................................................................................11 (一 ) 微處理器 STC89C52 ...............................................................................................11 (二)結(jié)構(gòu)圖及引腳說明 ............................................................................................. 12 第四章 飲水機(jī)定時(shí)器的軟件設(shè)計(jì) ............................................................................................... 15 一 系統(tǒng)軟件設(shè)計(jì)要求 .......................................................................................................... 15 二 軟件設(shè)計(jì)所需實(shí)現(xiàn)的功能 ............................................................................................... 15 三 定時(shí)器軟件設(shè)計(jì)的流程圖 ............................................................................................... 15 四 上電后設(shè)置流程圖 .......................................................................................................... 20 第五章 調(diào)試過程中的問題及其解決辦法 ..................................................................................... 24 一 硬件調(diào)試 ........................................................................................................................ 24 二 軟件調(diào)試 ........................................................................................................................ 24 三 本課題在調(diào)試過程中的問題以及解決的辦法 .........