畢業(yè)論文 基于單片機(jī)定時(shí)鬧鐘系統(tǒng)設(shè)計(jì).doc
約46頁DOC格式手機(jī)打開展開
畢業(yè)論文 基于單片機(jī)定時(shí)鬧鐘系統(tǒng)設(shè)計(jì),摘要隨著科技的快速發(fā)展和生活水平的不斷提高,人們對(duì)時(shí)鐘的精確度和實(shí)用性要求越來越高。本文采用at89s52單片機(jī),通過ds1302日歷芯片進(jìn)行定時(shí),并通過lcd1602液晶進(jìn)行顯示。通過c語言程序編寫,將設(shè)計(jì)出更準(zhǔn)確定時(shí)、更省電的數(shù)字時(shí)鐘。單片機(jī)數(shù)字時(shí)鐘具有設(shè)置時(shí)間、日期、星期的基本功能,并且能夠顯示年、月、日、時(shí)、分...
內(nèi)容介紹
此文檔由會(huì)員 ljjwl8321 發(fā)布
摘要
隨著科技的快速發(fā)展和生活水平的不斷提高,人們對(duì)時(shí)鐘的精確度和實(shí)用性要求越來越高。本文采用AT89S52單片機(jī),通過DS1302日歷芯片進(jìn)行定時(shí),并通過LCD1602液晶進(jìn)行顯示。通過C語言程序編寫,將設(shè)計(jì)出更準(zhǔn)確定時(shí)、更省電的數(shù)字時(shí)鐘。單片機(jī)數(shù)字時(shí)鐘具有設(shè)置時(shí)間、日期、星期的基本功能,并且能夠顯示年、月、日、時(shí)、分、秒、星期。單片機(jī)數(shù)字鐘不管在性能還是在樣式上都發(fā)生了質(zhì)的變化,實(shí)踐證明單片機(jī)數(shù)字時(shí)鐘具有更加準(zhǔn)確性、精密性等功能。
關(guān)鍵字:數(shù)字時(shí)鐘;DS1302;LCD1602;AT89S52
Abstract
In daily life, time is science, technology and everyday life is one of the most basic physics, we often deal with temporal clocks, such as hand watch, wall clock, even on a computer program, the clock on the phone can be generalized a clock display on the clock, along with the rapid development of technology and the continuous improvement of living standards, people on the clock's accuracy and practical demand is higher and higher. Based on the single chip microcomputer principle, USES the monolithic integrated circuit AT89S52 series, through the hardware circuit and software production procedure formulation, will design a more accurate timing, electricity -saving digital clock, SCM in performance or digital clock no matter in style have undergone a qualitative change, digital clock has proved microcontroller more accuracy, precision sex etc. Function.
Key Words:Digital clock ; DS1302; LCD1602;
目錄
第一章 引言 1
1.1單片機(jī)的發(fā)展史 1
1.2 單片機(jī)的應(yīng)用 1
1.3 單片機(jī)發(fā)展趨勢(shì) 2
1.4 數(shù)字時(shí)鐘方案論證比較 3
1.4.1 數(shù)字電路與單片機(jī)性能比較 3
1.4.2數(shù)碼管與LCD液晶顯示性能比較 4
1.4.3單片機(jī)編程時(shí)鐘與時(shí)鐘芯片性能比較 4
第二章 系統(tǒng)的硬件設(shè)計(jì)與實(shí)現(xiàn) 6
2.1 系統(tǒng)概述 6
2.2模塊電路的設(shè)計(jì) 7
2.2.1時(shí)鐘電路 7
2.2.3 復(fù)位電路與晶振電路 11
2.3 總體電路圖設(shè)計(jì) 11
第三章 系統(tǒng)的軟件設(shè)計(jì)與實(shí)現(xiàn) 13
3.1 程序功能 13
3.2 編程思路 13
3.3 程序設(shè)計(jì)流程圖 13
3.3.1 DS1302軟件設(shè)計(jì)流程圖 14
3.3.2 LCD1602程序序流程圖 15
3.4寫入顯示數(shù)據(jù)到LCD子程序模塊設(shè)計(jì) 17
3.5時(shí)間鬧鈴設(shè)置流程 18
第四章 仿真軟件Proteus ISIS使用方法簡(jiǎn)單介紹 19
4.1 簡(jiǎn)介 19
4.2 簡(jiǎn)單項(xiàng)目設(shè)計(jì)過程 20
4.3仿真執(zhí)行 24
4.3.1一般仿真 24
第五章 系統(tǒng)組裝與調(diào)試 26
5.1 硬件系統(tǒng)的組裝與調(diào)試 26
5.2 軟件調(diào)試 27
總結(jié) 29
參考文獻(xiàn) 30
附錄1單片機(jī)定時(shí)鬧鐘程序源代碼 31
致謝 41
隨著科技的快速發(fā)展和生活水平的不斷提高,人們對(duì)時(shí)鐘的精確度和實(shí)用性要求越來越高。本文采用AT89S52單片機(jī),通過DS1302日歷芯片進(jìn)行定時(shí),并通過LCD1602液晶進(jìn)行顯示。通過C語言程序編寫,將設(shè)計(jì)出更準(zhǔn)確定時(shí)、更省電的數(shù)字時(shí)鐘。單片機(jī)數(shù)字時(shí)鐘具有設(shè)置時(shí)間、日期、星期的基本功能,并且能夠顯示年、月、日、時(shí)、分、秒、星期。單片機(jī)數(shù)字鐘不管在性能還是在樣式上都發(fā)生了質(zhì)的變化,實(shí)踐證明單片機(jī)數(shù)字時(shí)鐘具有更加準(zhǔn)確性、精密性等功能。
關(guān)鍵字:數(shù)字時(shí)鐘;DS1302;LCD1602;AT89S52
Abstract
In daily life, time is science, technology and everyday life is one of the most basic physics, we often deal with temporal clocks, such as hand watch, wall clock, even on a computer program, the clock on the phone can be generalized a clock display on the clock, along with the rapid development of technology and the continuous improvement of living standards, people on the clock's accuracy and practical demand is higher and higher. Based on the single chip microcomputer principle, USES the monolithic integrated circuit AT89S52 series, through the hardware circuit and software production procedure formulation, will design a more accurate timing, electricity -saving digital clock, SCM in performance or digital clock no matter in style have undergone a qualitative change, digital clock has proved microcontroller more accuracy, precision sex etc. Function.
Key Words:Digital clock ; DS1302; LCD1602;
目錄
第一章 引言 1
1.1單片機(jī)的發(fā)展史 1
1.2 單片機(jī)的應(yīng)用 1
1.3 單片機(jī)發(fā)展趨勢(shì) 2
1.4 數(shù)字時(shí)鐘方案論證比較 3
1.4.1 數(shù)字電路與單片機(jī)性能比較 3
1.4.2數(shù)碼管與LCD液晶顯示性能比較 4
1.4.3單片機(jī)編程時(shí)鐘與時(shí)鐘芯片性能比較 4
第二章 系統(tǒng)的硬件設(shè)計(jì)與實(shí)現(xiàn) 6
2.1 系統(tǒng)概述 6
2.2模塊電路的設(shè)計(jì) 7
2.2.1時(shí)鐘電路 7
2.2.3 復(fù)位電路與晶振電路 11
2.3 總體電路圖設(shè)計(jì) 11
第三章 系統(tǒng)的軟件設(shè)計(jì)與實(shí)現(xiàn) 13
3.1 程序功能 13
3.2 編程思路 13
3.3 程序設(shè)計(jì)流程圖 13
3.3.1 DS1302軟件設(shè)計(jì)流程圖 14
3.3.2 LCD1602程序序流程圖 15
3.4寫入顯示數(shù)據(jù)到LCD子程序模塊設(shè)計(jì) 17
3.5時(shí)間鬧鈴設(shè)置流程 18
第四章 仿真軟件Proteus ISIS使用方法簡(jiǎn)單介紹 19
4.1 簡(jiǎn)介 19
4.2 簡(jiǎn)單項(xiàng)目設(shè)計(jì)過程 20
4.3仿真執(zhí)行 24
4.3.1一般仿真 24
第五章 系統(tǒng)組裝與調(diào)試 26
5.1 硬件系統(tǒng)的組裝與調(diào)試 26
5.2 軟件調(diào)試 27
總結(jié) 29
參考文獻(xiàn) 30
附錄1單片機(jī)定時(shí)鬧鐘程序源代碼 31
致謝 41