自動報時系統(tǒng)設(shè)計.rar
自動報時系統(tǒng)設(shè)計,自動報時系統(tǒng)①頁數(shù) 34②字數(shù) 10216③摘要 摘要:本設(shè)計是利用單片機原理設(shè)計的自動報時系統(tǒng)。其中,自動報時系統(tǒng)以at89c51單片機為核心,采用4個獨立式按鍵來調(diào)整時間和設(shè)置鬧鈴,用共陰極動態(tài)六段led動態(tài)顯示來顯示時間,計時方案采用時鐘芯片ds1302。以8路反向動態(tài)緩沖器74ls240作為led的動態(tài)掃描的段...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會員 你的樣子 發(fā)布
自動報時系統(tǒng)
①頁數(shù) 34
②字數(shù) 10216
③摘要
摘 要:本設(shè)計是利用單片機原理設(shè)計的自動報時系統(tǒng)。其中,自動報時系統(tǒng)以AT89C51單片機為核心,采用4個獨立式按鍵來調(diào)整時間和設(shè)置鬧鈴,用共陰極動態(tài)六段LED動態(tài)顯示來顯示時間,計時方案采用時鐘芯片DS1302。以8路反向動態(tài)緩沖器74LS240作為LED的動態(tài)掃描的段碼控制驅(qū)動信號,用P2.0—2.5外接一片集電極開路反向門電路7406(OC門)做6位LED的位選信號驅(qū)動口,6個數(shù)碼管的8根段選線分別接74LS240的輸出,LED共陰極端與7406的輸出端相連,從左到右依次來顯示時,分,秒。
正文中首先簡單描述了硬件系統(tǒng)的工作原理,且附以硬件系統(tǒng)的設(shè)計框圖,論述了本次畢業(yè)設(shè)計所應(yīng)用的各種硬件接口技術(shù)和各個接口模塊的功能及工作過程, 并具體描述了外接電路接口的軟、硬件調(diào)試。
本文撰寫的主導(dǎo)思想是軟、硬件相結(jié)合,以硬件為基礎(chǔ),來進行各功能模塊的編寫。
Abstract:This design principle is to use microcontroller designed for automated timekeeping system. Among them, automated timekeeping system to AT89C51 microcontroller as the core, with four separate buttons to adjust time and alarm settings, with a total of cathode dynamic sixth LED dynamic display to display the time clock chip timing program using DS1302. 8-way reverse Dynamic Buffer 74LS240 as the dynamic scan segment LED code control drive signal, with P2.0-2.5 External 1 open-collector reverse gate 7406 (OC doors) to do the 6-bit selection signal drive LED mouth, 6 to 8 segment digital tube alignment were then 74LS240's output,
First, a brief description of the body of the hardware system works, and accompanied by the design of the hardware system block diagram, discussed the application of this graduation design a variety of hardware interface technology and various interface module functions and work processes, and specific description of the external circuit interface hardware and software debugging.
This article written by the leading idea is that hardware and software combined with hardware-based, to the preparation of various functional modules.
④目錄
目 錄
1 前言 1
2 硬件系統(tǒng)設(shè)計 1
2.1 總體框圖設(shè)計 1
2.2 單片機選型 1
2.3 獨立式按鍵控制電路 4
2.4 LED動態(tài)顯示電路 7
2.5 時鐘芯片DS1302 10
2.6 電路原理 13
3 軟件設(shè)計 14
3.1 設(shè)計思路 14
3.2主程序模塊 14
3.3顯示程序模塊 16
3.4 DS1302的寫時鐘程序模塊 18
3.5按鍵程序模塊 18
3.6 定時器程序模塊 20
4 系 統(tǒng) 調(diào) 試 22
結(jié) 論 25
致 謝 26
參考文獻 27
附 錄A 28
⑤關(guān)鍵字
單片機,自動報時系統(tǒng),位碼,段碼,顯示
: microcontroller; automatic timekeeping system;-bit code; segment code; show
⑥參考文獻
[1] 林軍.單片機微型計算機原理及接口技術(shù)實驗指導(dǎo)與實訓(xùn).北京.中國水利水電出版社,2004
[2] 李傳軍.單片機原理及應(yīng)用.鄭州.河南科技出版社,2006
[3] 華羅庚.王元.論一致分布與近似分析.北京.中國科學(xué),1973
[4] 朱善軍等.單片機接口技術(shù)與應(yīng)用.北京.清華大學(xué)出版社,2005
[5] 饒慶.89c51單片機實用技術(shù).北京.人民郵電出版社,2003
[6] 楊西明.朱騏.單片機編程與入門.北京.機械工業(yè)出版社,2004
[7] 劉和平,劉躍.單片機原理及應(yīng)用.重慶.重慶大學(xué)出版社,2004
[8] 陳明熒.89C51單片機課程設(shè)計實訓(xùn)教材.北京.清華大學(xué)出版社,2004
①頁數(shù) 34
②字數(shù) 10216
③摘要
摘 要:本設(shè)計是利用單片機原理設(shè)計的自動報時系統(tǒng)。其中,自動報時系統(tǒng)以AT89C51單片機為核心,采用4個獨立式按鍵來調(diào)整時間和設(shè)置鬧鈴,用共陰極動態(tài)六段LED動態(tài)顯示來顯示時間,計時方案采用時鐘芯片DS1302。以8路反向動態(tài)緩沖器74LS240作為LED的動態(tài)掃描的段碼控制驅(qū)動信號,用P2.0—2.5外接一片集電極開路反向門電路7406(OC門)做6位LED的位選信號驅(qū)動口,6個數(shù)碼管的8根段選線分別接74LS240的輸出,LED共陰極端與7406的輸出端相連,從左到右依次來顯示時,分,秒。
正文中首先簡單描述了硬件系統(tǒng)的工作原理,且附以硬件系統(tǒng)的設(shè)計框圖,論述了本次畢業(yè)設(shè)計所應(yīng)用的各種硬件接口技術(shù)和各個接口模塊的功能及工作過程, 并具體描述了外接電路接口的軟、硬件調(diào)試。
本文撰寫的主導(dǎo)思想是軟、硬件相結(jié)合,以硬件為基礎(chǔ),來進行各功能模塊的編寫。
Abstract:This design principle is to use microcontroller designed for automated timekeeping system. Among them, automated timekeeping system to AT89C51 microcontroller as the core, with four separate buttons to adjust time and alarm settings, with a total of cathode dynamic sixth LED dynamic display to display the time clock chip timing program using DS1302. 8-way reverse Dynamic Buffer 74LS240 as the dynamic scan segment LED code control drive signal, with P2.0-2.5 External 1 open-collector reverse gate 7406 (OC doors) to do the 6-bit selection signal drive LED mouth, 6 to 8 segment digital tube alignment were then 74LS240's output,
First, a brief description of the body of the hardware system works, and accompanied by the design of the hardware system block diagram, discussed the application of this graduation design a variety of hardware interface technology and various interface module functions and work processes, and specific description of the external circuit interface hardware and software debugging.
This article written by the leading idea is that hardware and software combined with hardware-based, to the preparation of various functional modules.
④目錄
目 錄
1 前言 1
2 硬件系統(tǒng)設(shè)計 1
2.1 總體框圖設(shè)計 1
2.2 單片機選型 1
2.3 獨立式按鍵控制電路 4
2.4 LED動態(tài)顯示電路 7
2.5 時鐘芯片DS1302 10
2.6 電路原理 13
3 軟件設(shè)計 14
3.1 設(shè)計思路 14
3.2主程序模塊 14
3.3顯示程序模塊 16
3.4 DS1302的寫時鐘程序模塊 18
3.5按鍵程序模塊 18
3.6 定時器程序模塊 20
4 系 統(tǒng) 調(diào) 試 22
結(jié) 論 25
致 謝 26
參考文獻 27
附 錄A 28
⑤關(guān)鍵字
單片機,自動報時系統(tǒng),位碼,段碼,顯示
: microcontroller; automatic timekeeping system;-bit code; segment code; show
⑥參考文獻
[1] 林軍.單片機微型計算機原理及接口技術(shù)實驗指導(dǎo)與實訓(xùn).北京.中國水利水電出版社,2004
[2] 李傳軍.單片機原理及應(yīng)用.鄭州.河南科技出版社,2006
[3] 華羅庚.王元.論一致分布與近似分析.北京.中國科學(xué),1973
[4] 朱善軍等.單片機接口技術(shù)與應(yīng)用.北京.清華大學(xué)出版社,2005
[5] 饒慶.89c51單片機實用技術(shù).北京.人民郵電出版社,2003
[6] 楊西明.朱騏.單片機編程與入門.北京.機械工業(yè)出版社,2004
[7] 劉和平,劉躍.單片機原理及應(yīng)用.重慶.重慶大學(xué)出版社,2004
[8] 陳明熒.89C51單片機課程設(shè)計實訓(xùn)教材.北京.清華大學(xué)出版社,2004