【正文】
畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 數(shù)字電子鐘的設(shè)計(jì)與實(shí)現(xiàn) 專業(yè) 自動(dòng)化 學(xué)生姓名 班級(jí) B 自動(dòng)化 學(xué)號(hào) 0 指導(dǎo)教師 完成日期 203 年 6 月日 鹽城工學(xué)院本科生畢業(yè)設(shè)計(jì)說(shuō)明書(shū)( 2020) 畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 獨(dú)創(chuàng)性聲明 本人聲明所呈交的畢業(yè)設(shè)計(jì)說(shuō)明書(shū)是本人在導(dǎo)師指導(dǎo)下進(jìn)行的研究、設(shè)計(jì)工作后獨(dú)立完成的。除了文中特別加以標(biāo)注和致謝的地方外,說(shuō)明書(shū)中不包含其他人己經(jīng)發(fā)表或撰寫(xiě)過(guò)的研究成果。對(duì)本文的研究所做貢獻(xiàn)集體和個(gè)人,均己在說(shuō)明書(shū)中作了明確的說(shuō)明并表示謝意。本人完全意識(shí)到本聲明的法律后果由本人承擔(dān)。 畢業(yè)設(shè)計(jì)說(shuō)明書(shū)作 者簽名 : 日期 : 年 月 日 指導(dǎo)教師簽名 : 日期 : 年 月 日 鹽城工學(xué)院本科生畢業(yè)設(shè)計(jì)說(shuō)明書(shū)( 2020) 數(shù)字電子鐘的設(shè)計(jì)與實(shí)現(xiàn) 摘 要 : 單片機(jī) 的誕生是在 20 世紀(jì) 70 年代 , 因?yàn)樗哂?極高的性價(jià)比, 更為重要的是其應(yīng)用領(lǐng)域非常廣泛 、 而且 發(fā)展 速度也比較 快 ,所以倍受廣大專業(yè)人士的青睞。相對(duì)而言 單片機(jī) 的 體積 較 小、 而且非常輕 、 開(kāi)發(fā)比較簡(jiǎn)單 、 價(jià)錢便宜 、 對(duì) 環(huán)境 基本上沒(méi)什么過(guò)高的要求 、 更重要的是其具有較好的靈活性和穩(wěn)定性, 抗干擾 的 能力 特別 強(qiáng)。 正因?yàn)閱纹瑱C(jī)綜合了上述所以有點(diǎn) , 所以就目前國(guó)內(nèi) 而言 ,單片機(jī)已 被各行各業(yè)所 廣泛 應(yīng)用,其比較突出的是在 機(jī)電一體化設(shè)備 、 工業(yè)自動(dòng)化控制、智能儀器儀表、電力電子、自動(dòng)檢測(cè)、家用電器等方面 。在本 次畢業(yè)設(shè)計(jì) 中將 通過(guò)對(duì)它 全面的了解 ,以 STC89C51 芯片為主 , 再加上相關(guān) 的 實(shí)現(xiàn) 電路,簡(jiǎn) 單的 設(shè)計(jì)了一個(gè)的 數(shù)字電子鐘 ,它 是 由 直流電源供電,通過(guò)數(shù)碼管 將時(shí)間準(zhǔn)確的顯示出來(lái) , 通過(guò)相關(guān)的按鍵及時(shí)對(duì)時(shí)間進(jìn)行調(diào)整。 從而通過(guò)本次設(shè)計(jì)來(lái)提高 學(xué)習(xí)、設(shè)計(jì)、開(kāi)發(fā)軟硬件的能力。 關(guān)鍵詞 : 單片機(jī); STC89C51;電子時(shí)鐘;數(shù)碼管 鹽城工學(xué)院本科生畢業(yè)設(shè)計(jì)說(shuō)明書(shū)( 2020) Design and implementation of digital electronic clock Abstract: The SCM was born in the 1970s, because it has a very high price, the more important is its broad range of applications, and the development speed is relatively fast, so much the majority of professionals of all ages. SCM relatively smaller, and very light, development of more simple, cheap, environmentally basically no excessive requirements, and more importantly, it has good flexibility and stability, the ability of antijamming special strong. Because of a bination of the above so a bit microcontroller, so the current domestic purposes, SCM has been widely used by businesses, which are more prominent in mechatronics equipment, industrial automation and control, smart instrumentation, power electronics, automatic detection , household appliances and so on. SCM has many series, and 51 singlechip microcontroller is therefore the most representative one. In this graduation project will be through its prehensive understanding to STC89C51 chipbased, coupled with the associated circuit implementation, the simple design of a digital electronic clock, which is powered by a DC power supply, through the digital the accurate time display, through the relevant key on the time to adjust time. Thus designed to improve through this study, design, development hardware and software capabilities. Keywords: Microcontroller。 STC89C51。 Electronic clock。 Digital pipe 鹽城工學(xué)院本科生畢業(yè)設(shè)計(jì)說(shuō)明書(shū)( 2020) 目 錄 1 概述 ........................................................................................................................................ 1 課題研究的背景及意義 .................................................................................................. 1 課題設(shè)計(jì)內(nèi)容 .................................................................................................................. 2 課題預(yù)期效果 .................................................................................................................. 2 2 系統(tǒng)的 總體方案設(shè)計(jì) ............................................................................................................ 3 設(shè)計(jì)原理 .......................................................................................................................... 3 具體模塊 .......................................................................................................................... 3 3 系統(tǒng)的硬件設(shè)計(jì)與實(shí)現(xiàn) ........................................................................................................ 4 控制模塊 .......................................................................................................................... 4 顯示模塊 .......................................................................................................................... 6 復(fù)位模塊 .......................................................................................................................... 7 按 鍵模塊 .......................................................................................................................... 7 晶振模塊 ......................................................................................................................... 8 鬧鐘模塊 .......................................................................................................................... 8 4 系統(tǒng)軟件程序設(shè)計(jì) .............................................................................................................. 10 程序流程圖 ................................................................................................................... 10 5 系統(tǒng)調(diào)試 .............................................................................................................................. 14 軟件調(diào)試 ....................................................................................................................... 14 硬件調(diào)試 ....................................................................................................................... 15 總 結(jié) ....................