【正文】
single chip microputer, using 8bit digital tubes to display clock. Using AT89C52 single chip microputer and DS1302 realtime clock chip, and the use of 5V power supply. Design of the clock by means of the key switches, display Beijing time ( hours, minutes, seconds ) and month, date, week, with digital tubes, and also can achieve the function of clock calibration. The main procedures : Clock Chip Driver, the digital display and control drivers. The design results can be used in the practical detection which have been made into a real circuit board. Key words: single chip microputer。 clock circuit。 桂林電子科技大學(xué)課程設(shè)計(jì)(論文)報(bào)告用紙 第 2 頁(yè) 共 2 頁(yè) 目 錄 引言 .......................................................... 1 1 電子鐘功能及總體方案介紹 .................................... 2 電子鐘功能介紹 ...................................................... 2 基本功能要求 .................................................. 2 擴(kuò)展功能要求 ................................................... 2 總體方案介紹 ........................................................ 2 計(jì)時(shí)方案 ....................................................... 2 按鍵 /顯示方案 .................................................. 2 2 時(shí)鐘系統(tǒng)的硬件設(shè)計(jì) ......................................... 2 控制芯片的選擇 ...................................................... 2 AT89S52 單片機(jī)性能與特點(diǎn) ....................................... 2 單片機(jī)的內(nèi)部結(jié)構(gòu) ............................................... 3 AT89S52 引腳的功能說(shuō)明 ......................................... 3 存儲(chǔ)器的配置 .................................................. 5 DS1302 的結(jié)構(gòu)及工作原理 ............................................. 5 引腳功能及內(nèi)部結(jié)構(gòu) ............................................ 5 DS1302 的控制字節(jié) .............................................. 6 74HC573 結(jié)構(gòu)及工作原理 .............................................. 7 高性能硅門 COMS 器件介紹 ........................................ 7 引腳結(jié)構(gòu)圖及其功能 ............................................. 7 數(shù)碼管的基本 介紹 .................................................... 7 時(shí)鐘電路設(shè)計(jì) ........................................................ 8 時(shí)鐘芯片通信電路 ............................................... 8 按鍵調(diào)時(shí)電路設(shè)計(jì) ............................................... 8 顯示模塊的電路設(shè)計(jì) ............................................. 9 3 軟件模塊設(shè)計(jì) .............................................. 10 主程序設(shè)計(jì) ......................................................... 10 時(shí)鐘芯片實(shí)時(shí)時(shí)間 ................................................... 10 4 硬件組裝 .................................................. 11 元件清單 ........................................................... 11 電路板 ............................................................. 11 5 課程設(shè)計(jì)結(jié)果及總結(jié) ........................................ 12 結(jié)果展示 ........................................................... 12 課程設(shè)