【正文】
...................................................................................... 2 單片機的應(yīng)用領(lǐng)域 .............................................................................................. 3 單片機的中斷與定時系統(tǒng) .................................................................................... 3 MCS- 51單片機中斷系統(tǒng) .......................................................................... 3 MCS51 單片機的定時器 /計數(shù)器 ............................................................... 6 第 3章 數(shù)字鐘原理圖元件清單及設(shè)計方案 ....................................................................... 8 時鐘電路原理圖 .................................................................................................. 8 單片機最小系統(tǒng) .................................................................................................. 9 顯示器工作原理 ................................................................................................ 10 元件清單 .......................................................................................................... 10 ................................................................................................ 10 74LS245 介紹 .................................................................................................... 11 引腳圖 ...................................................................................... 11 74LS245說明 ......................................................................................... 12 AT89C51 介紹 .................................................................................................... 12 ............................................................................. 12 存儲器的結(jié)構(gòu) ......................................................................................... 16 第 4章 電路的硬件設(shè)計 ................................................................................................. 18 數(shù)字鐘硬件框圖 ................................................................................................ 18 程序整體設(shè)計 ................................................................................................... 20 .................................................................................................... 22 本章小結(jié) .......................................................................................................... 22 第 5章 數(shù)字鐘的工作原理介紹 ....................................................................................... 22 實現(xiàn)時鐘計時的基本方法 .................................................................................. 22 數(shù)字鐘的時間顯示 ............................................................................................ 23 計時 ................................................................................................................. 23 鍵盤 /顯示 ........................................................................................................ 23 本章小結(jié) .......................................................................................................... 23 第 6章軟件設(shè)計與源程序代碼 ........................................................................................ 24 選擇與 介紹 ................................................................................................ 24 ................................................................................................ 24 該軟件的特點: ................................................................................... 25 ....................................................................................................... 26 第 7章 結(jié)論與總結(jié) ........................................................................................................ 30 參考文獻 ........................................................................................................................ 32 致謝 ............................................................................................................................... 33 基于單片 機數(shù)字鐘的設(shè)計 1 第 1 章 緒 論 課題背景 單片機自 1976 年由 Intel 公司推出 MCS48 開始,迄今已有二十多年了。論文涵蓋了從需求分析,系統(tǒng)設(shè)計,編程,原理圖, PCB 圖等設(shè)計的基本過程。下來比較了一些可行的方法。 我們選擇的方法是單片機開發(fā)設(shè)計使用的傳統(tǒng)方法,通過本次設(shè)計,可以了解整個單片機開發(fā)的流程。但是,有些時候,由于病人的人數(shù)眾多,忘了記錄時間。護士們有必要在一定時間后記錄結(jié)果。文章介紹了單片機在定時方面的基本功能。因為其小巧的體積,低功耗,以及高效的性能,單片機受到了大家的歡迎。在它問世之前,自動控制設(shè)備不能被廣泛的應(yīng)用,這是因為控制設(shè)備的體積龐大,耗電量大,價格昂貴?;趩纹瑱C數(shù)字鐘的設(shè)計 I 基于 單片機電子 數(shù)字鐘的設(shè)計 摘要 近幾年,單片機在各個領(lǐng)域得到廣泛的應(yīng)用。從工業(yè)到人們的日常生活,大部分的科技產(chǎn)品都是通過單片機來控制。在第一臺微處理器成功研制不久,第一個單片機就問世了。 今天,單片機成為了解決低復(fù)雜度,中等復(fù)雜度控制問題的傳統(tǒng)選擇。生活中,我們發(fā)現(xiàn),有時病人要在注射藥物之前作皮試試驗 ,防止過敏。這時,時間的準(zhǔn)確顯得很重要的。根據(jù)這種情況,我們設(shè)計了一個設(shè)備解決此問題。文章首先介紹了單片機的基本知識。同時給出了框圖,流程圖等。 關(guān)鍵詞:單片機,軟件仿真,原理圖, PCB 圖 基于單片機數(shù)字鐘的設(shè)計 II Based on the design of singlechip digital clock Abstract Single Chip Microputer has achieved a immemse popularity in all fileds in recent industry to people’s mon lives,most of technical applications are controlled by SCM. Before it appeared,the automatic devices could’t be widely used because of their huge size ,large quantity of power cost and high first SCM appeared as soon as the first MCU(MicroController Unit) was successfully to its small size,low power cost and high performance,it has been weled by people. Nowadays, SCM has been selected as a traditional solution for low or medium plexity problems about devices essay shows a basic application of SCM in timing for people’s life. We often find that patients sometimes has to receive medical tests before using medcines for fear that patients may get allery,so it is necessary for nurses to record the result after a fixed time interval. Under this condition,time accuracy is a vital factor that effects the ,some nurses ignore some patients when a large number of patients waiteing for this point,we design a device which can solve this problem. The approach we choose is the mon way for SCM developing from which we can get an acknowledge about the SCM develop flowing paper first