【正文】
的時(shí)候,這種遺忘無(wú)傷大雅。 (保密論文在解密后遵守此規(guī)定) 作者簽名 : 二〇 一 〇年 九 月 二十 日 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 VI 目錄 1 緒論 ................................ 1 電子時(shí)鐘的背景 ................. 1 電子時(shí)鐘的意義 ................. 2 電子時(shí)鐘的應(yīng)用 ................. 2 2 整體設(shè)計(jì)方案 ........................ 3 單片機(jī)的選擇 ................... 3 多功能 ................... 3 高效率和高性能 ........... 4 低電壓和低功耗 ........... 4 低價(jià)格 ................... 5 單片機(jī)電子時(shí)鐘功能確定 ......... 5 LED 顯示模塊 ................... 7 按鍵模塊 ....................... 7 3 PCB 原理圖與仿真圖 .................. 9 PCB 原理圖 ..................... 9 仿真圖 ........................ 10 4 程序設(shè)計(jì) ........................... 11 5 結(jié)論 ............................... 28 6 參考文獻(xiàn) ........................... 30 7 致謝 ............................... 31 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 1 1 緒論 20 世紀(jì)末,電子技術(shù)獲得了飛速的發(fā)展,在其推動(dòng)下,現(xiàn)代電子產(chǎn)品幾乎滲透了社會(huì)的各個(gè)領(lǐng)域,有力地推動(dòng)了社會(huì)生產(chǎn)力的發(fā)展和社會(huì)信息化程度的提高,同時(shí)也使現(xiàn)代電子產(chǎn)品性能進(jìn)一步提高,產(chǎn)品更新?lián)Q代的節(jié) 奏也越來(lái)越快。 作者簽名 : 二〇 一 〇年 九 月 二十 日 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 V 畢業(yè)設(shè)計(jì)(論文)使用授權(quán)聲明 本人完全了解 濱州學(xué)院 關(guān)于收集、保存、使用畢業(yè)設(shè)計(jì)(論文)的規(guī)定。對(duì)本文的研究做出重要貢獻(xiàn)的個(gè)人和集體均已在文中以明確方式標(biāo)明。 AT89S51 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 IV 獨(dú) 創(chuàng) 聲 明 本人鄭重聲明:所呈交的畢業(yè)設(shè)計(jì)(論文 ),是本人在指導(dǎo)老師的指導(dǎo)下,獨(dú)立進(jìn)行研究工作所取得的成果,成果不存在知識(shí)產(chǎn)權(quán)爭(zhēng)議。電子時(shí)鐘是其小巧,價(jià)格低廉,走時(shí)精度高,使用方便,功能多,便于集成化而受廣大消費(fèi)的喜愛(ài) ,因此得到了廣泛的使 用。在這次設(shè)計(jì)中,我們采用LED 數(shù)碼管顯示時(shí)、分、秒,以 24 小時(shí)計(jì)時(shí)方式,根據(jù)數(shù)碼管動(dòng)態(tài)顯示原理來(lái)進(jìn)行顯示,用 12MHz 的晶振產(chǎn)生振蕩脈沖,定時(shí)器計(jì)數(shù)。 電子時(shí)鐘是采用數(shù)字電路實(shí)現(xiàn)對(duì)“時(shí)”、“分”、“秒”數(shù)字顯示的計(jì)時(shí)裝置。由于具有上述優(yōu)點(diǎn),在我國(guó),單片機(jī)已廣泛地應(yīng)用在工業(yè)自動(dòng)化控制 、 自動(dòng)檢測(cè) 、 智能儀器儀表 、 家用電器 、 電力電子 、 機(jī)電一體化設(shè)備等各個(gè)方面,而 51 單片機(jī)是各單片機(jī)中最為典型和最有代表性的一種。河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 I 摘要 單片機(jī)自 20 世紀(jì) 70 年代問(wèn)世以來(lái),以其極高的性能價(jià)格比,受到人們的重視和關(guān)注,應(yīng)用很廣 、 發(fā)展很快。單片機(jī)體積小 、 重量輕 、 抗干擾能力強(qiáng) 、 環(huán)境要求不高 、 價(jià)格低廉 、 可靠性高 、 靈活性好 、 開(kāi)發(fā)較為容易。這次畢業(yè)設(shè)計(jì)通過(guò)對(duì)它的學(xué)習(xí) 、 應(yīng)用,以AT89S51 芯片為核心,輔以必要的電路,設(shè)計(jì)了一個(gè)簡(jiǎn)易的電子時(shí)鐘,它由 直流電源供電, 通過(guò)數(shù)碼管能夠準(zhǔn)確顯示時(shí)間,調(diào)整時(shí)間,從而到達(dá)學(xué)習(xí) 、設(shè)計(jì) 、 開(kāi)發(fā)軟 、 硬件的能力。電子時(shí)鐘的精度、穩(wěn)定度遠(yuǎn)遠(yuǎn)超過(guò)老式機(jī)械鐘。在此次設(shè)計(jì)中,電路具有顯示時(shí)間的其本功能,還可以實(shí)現(xiàn)對(duì)時(shí)間的調(diào)整。 關(guān)鍵詞 : 單片機(jī); AT89S51 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 II ABSTRACT Since the 1970 s chip since the advent, with its high cost performance and attention by people and attention, it is widely used and fast development. SCM small volume, light weight, strong antijamming capability, environmental demand is not high, low cost, high reliability, flexibility is good, development more easy. Because of the above features, in our country, the microcontroller is widely used in industrial automation control, automatic detection, intelligent instrument and apparatus, household appliances, power electronics, mechanical and electrical equipment, and other aspects, and 51 SCM is the most typical chip and most representative one. The graduation design through to its study, application to AT89S51 chips as the core, with the necessary circuit, design of a simple electronic clock, it by V dc power supply, through the electronic tube can show time, adjust the time, thus to learning, the design, the development of software and hardware in the ability. Electronic Clock is a electronic circuit implementation of the when, sub, seconds The figures show the timing device. Electronic clock precision, stability, far more than the old mechanical clock. In this design, we use LED electronic display hours, minutes, seconds, to 24hour time mode, according to electronic control theory to dynamic display to display, use the 12MHz crystal oscillation 河南工業(yè)職業(yè)技術(shù)學(xué)院畢業(yè)論文 III pulse, the t