可預(yù)置的定時(shí)顯示報(bào)警系統(tǒng).rar
可預(yù)置的定時(shí)顯示報(bào)警系統(tǒng),3.7萬(wàn)字 46頁(yè)摘 要本文介紹的是一個(gè)由單片機(jī)構(gòu)成的應(yīng)用系統(tǒng),它具有一個(gè)走時(shí)精確的實(shí)時(shí)鐘,可以任意預(yù)置時(shí)間,時(shí)間表的轉(zhuǎn)換,執(zhí)行報(bào)警系統(tǒng)的打鈴和時(shí)鐘的顯示功能等。可以通過(guò)按鍵操作和數(shù)字顯示。文中對(duì)硬件和軟件做了詳細(xì)介紹。用單片機(jī)做定時(shí)控制,可充分發(fā)揮單片機(jī)體積小,價(jià)格便宜,功耗低,可靠性好等特點(diǎn)...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會(huì)員 xiaowei 發(fā)布
可預(yù)置的定時(shí)顯示報(bào)警系統(tǒng)
3.7萬(wàn)字 46頁(yè)
摘 要
本文介紹的是一個(gè)由單片機(jī)構(gòu)成的應(yīng)用系統(tǒng),它具有一個(gè)走時(shí)精確的實(shí)時(shí)鐘,可以任意預(yù)置時(shí)間,時(shí)間表的轉(zhuǎn)換,執(zhí)行報(bào)警系統(tǒng)的打鈴和時(shí)鐘的顯示功能等??梢酝ㄟ^(guò)按鍵操作和數(shù)字顯示。文中對(duì)硬件和軟件做了詳細(xì)介紹。
用單片機(jī)做定時(shí)控制,可充分發(fā)揮單片機(jī)體積小,價(jià)格便宜,功耗低,可靠性好等特點(diǎn)。本文介紹的可預(yù)置的定時(shí)顯示報(bào)警系統(tǒng)由8051單片機(jī)和少量其它器件組成。本機(jī)的時(shí)間由6個(gè)LED顯示,中間的發(fā)光二極管表示間隔。本機(jī)可存儲(chǔ)農(nóng)歷時(shí)間表和陽(yáng)歷時(shí)間表,用一個(gè)按鍵切換,用紅綠發(fā)光二極管分別表示。
在單片機(jī)開(kāi)發(fā)過(guò)程中,經(jīng)常要求控制裝置能夠完成多項(xiàng)功能,所以合理的時(shí)間分配和準(zhǔn)確的時(shí)間定時(shí)功能便成為開(kāi)發(fā)成功與否的關(guān)鍵。本文介紹的應(yīng)用軟件的方法,即在MCS-51片內(nèi)的RAM存儲(chǔ)器位尋址區(qū),設(shè)置各功能模塊的軟件標(biāo)志,定時(shí)時(shí)間到,定時(shí)中斷服務(wù)程序置此標(biāo)志位為1,當(dāng)主程序查詢(xún)到此標(biāo)志位是就會(huì)執(zhí)行相應(yīng)的功能。
關(guān)鍵詞: 單片機(jī) 數(shù)碼管 控制
Abstract
A applied system constituted by singechip is introducted in this text, it has a real time clock that goes exactly,the time and the schedule can be intercalated at will,it can jow when the time comes to the fixed time,also,it can control the work of the heater and the job of display.All these jobs can be controlled by the key-press.Zhe hardware and the software are both introduced in the text in detail.
When the singechip is used to timming controlling ,the characteristics of it can be seen clearly,such as:the small volume, the low price,the low consume and the well security.This system introduced in this text is composed by 8051 singechip and some other parts of an apparatus.The display of the time is composed by six LED,the red abbr among them show the distance.Two tables can be storaged in thie system.The change of them is done by the switch and the difference is showed by different abbrs.
During the process of the exploitation of the singschip , many functions is requested in the apparatus of controlling,and the key of all the process is the rational timing distribution and the veracious timing . The software introducted in this text is intercalate the sign of every module in the digit seeking site section of the RAM of the signechip.When it comes to the time ,the sign will turn to one,so the main program will enforcole the relevant function .
Keywords: singechip number canal control
目 錄
摘 要 I
Abstract II
第1章 緒 論 1
1.1 課題背景 1
1.2 課題來(lái)源 2
1.3 本章小結(jié) 2
第2章 MCS-51單片機(jī)的結(jié)構(gòu) 3
2.1 控制器 3
2.1.1 程序計(jì)數(shù)器PC(Program Counter) 3
2.1.2 指令寄存器IR、指令譯碼器及控制邏輯電路 4
2.2 存儲(chǔ)器的結(jié)構(gòu) 4
2.3 并行I/O口 6
2.4 時(shí)鐘電路與時(shí)序 7
2.5 單片機(jī)的工作方式 7
2.6 單片機(jī)的性能特點(diǎn) 10
2.7 單片機(jī)的應(yīng)用領(lǐng)域 10
2.8 本章小結(jié) 11
第3章 電路的硬件設(shè)計(jì) 12
3.1 復(fù)位電路 12
3.2 時(shí)鐘電路 13
3.3 按鍵電路 13
3.4 報(bào)警控制電路 14
3.5 數(shù)碼管顯示電路 16
3.6 電源電路設(shè)計(jì) 17
3.7 本章小結(jié) 17
第4章 電路的軟件設(shè)計(jì) 18
4.1 軟件程序內(nèi)容 18
4.2 軟件流程圖 18
4.3 定時(shí)程序設(shè)計(jì) 22
4.3.1實(shí)時(shí)時(shí)鐘實(shí)現(xiàn)的基本方法 22
4.3.2 實(shí)時(shí)時(shí)鐘程序設(shè)計(jì)步驟 23
4.4 MCS-51的中斷 23
4.5 程序說(shuō)明 26
4.6 本章小結(jié) 27
第5章 電路仿真 28
5.1 仿真結(jié)果 28
5.2 仿真中出現(xiàn)的問(wèn)題及解決辦法 28
5.3 本章小結(jié) 28
第6章 結(jié)論與展望 29
6.1 結(jié)論 29
6.2 單片機(jī)的發(fā)展趨勢(shì) 29
參考文獻(xiàn) 31
附 錄 32
致 謝 41
3.7萬(wàn)字 46頁(yè)
摘 要
本文介紹的是一個(gè)由單片機(jī)構(gòu)成的應(yīng)用系統(tǒng),它具有一個(gè)走時(shí)精確的實(shí)時(shí)鐘,可以任意預(yù)置時(shí)間,時(shí)間表的轉(zhuǎn)換,執(zhí)行報(bào)警系統(tǒng)的打鈴和時(shí)鐘的顯示功能等??梢酝ㄟ^(guò)按鍵操作和數(shù)字顯示。文中對(duì)硬件和軟件做了詳細(xì)介紹。
用單片機(jī)做定時(shí)控制,可充分發(fā)揮單片機(jī)體積小,價(jià)格便宜,功耗低,可靠性好等特點(diǎn)。本文介紹的可預(yù)置的定時(shí)顯示報(bào)警系統(tǒng)由8051單片機(jī)和少量其它器件組成。本機(jī)的時(shí)間由6個(gè)LED顯示,中間的發(fā)光二極管表示間隔。本機(jī)可存儲(chǔ)農(nóng)歷時(shí)間表和陽(yáng)歷時(shí)間表,用一個(gè)按鍵切換,用紅綠發(fā)光二極管分別表示。
在單片機(jī)開(kāi)發(fā)過(guò)程中,經(jīng)常要求控制裝置能夠完成多項(xiàng)功能,所以合理的時(shí)間分配和準(zhǔn)確的時(shí)間定時(shí)功能便成為開(kāi)發(fā)成功與否的關(guān)鍵。本文介紹的應(yīng)用軟件的方法,即在MCS-51片內(nèi)的RAM存儲(chǔ)器位尋址區(qū),設(shè)置各功能模塊的軟件標(biāo)志,定時(shí)時(shí)間到,定時(shí)中斷服務(wù)程序置此標(biāo)志位為1,當(dāng)主程序查詢(xún)到此標(biāo)志位是就會(huì)執(zhí)行相應(yīng)的功能。
關(guān)鍵詞: 單片機(jī) 數(shù)碼管 控制
Abstract
A applied system constituted by singechip is introducted in this text, it has a real time clock that goes exactly,the time and the schedule can be intercalated at will,it can jow when the time comes to the fixed time,also,it can control the work of the heater and the job of display.All these jobs can be controlled by the key-press.Zhe hardware and the software are both introduced in the text in detail.
When the singechip is used to timming controlling ,the characteristics of it can be seen clearly,such as:the small volume, the low price,the low consume and the well security.This system introduced in this text is composed by 8051 singechip and some other parts of an apparatus.The display of the time is composed by six LED,the red abbr among them show the distance.Two tables can be storaged in thie system.The change of them is done by the switch and the difference is showed by different abbrs.
During the process of the exploitation of the singschip , many functions is requested in the apparatus of controlling,and the key of all the process is the rational timing distribution and the veracious timing . The software introducted in this text is intercalate the sign of every module in the digit seeking site section of the RAM of the signechip.When it comes to the time ,the sign will turn to one,so the main program will enforcole the relevant function .
Keywords: singechip number canal control
目 錄
摘 要 I
Abstract II
第1章 緒 論 1
1.1 課題背景 1
1.2 課題來(lái)源 2
1.3 本章小結(jié) 2
第2章 MCS-51單片機(jī)的結(jié)構(gòu) 3
2.1 控制器 3
2.1.1 程序計(jì)數(shù)器PC(Program Counter) 3
2.1.2 指令寄存器IR、指令譯碼器及控制邏輯電路 4
2.2 存儲(chǔ)器的結(jié)構(gòu) 4
2.3 并行I/O口 6
2.4 時(shí)鐘電路與時(shí)序 7
2.5 單片機(jī)的工作方式 7
2.6 單片機(jī)的性能特點(diǎn) 10
2.7 單片機(jī)的應(yīng)用領(lǐng)域 10
2.8 本章小結(jié) 11
第3章 電路的硬件設(shè)計(jì) 12
3.1 復(fù)位電路 12
3.2 時(shí)鐘電路 13
3.3 按鍵電路 13
3.4 報(bào)警控制電路 14
3.5 數(shù)碼管顯示電路 16
3.6 電源電路設(shè)計(jì) 17
3.7 本章小結(jié) 17
第4章 電路的軟件設(shè)計(jì) 18
4.1 軟件程序內(nèi)容 18
4.2 軟件流程圖 18
4.3 定時(shí)程序設(shè)計(jì) 22
4.3.1實(shí)時(shí)時(shí)鐘實(shí)現(xiàn)的基本方法 22
4.3.2 實(shí)時(shí)時(shí)鐘程序設(shè)計(jì)步驟 23
4.4 MCS-51的中斷 23
4.5 程序說(shuō)明 26
4.6 本章小結(jié) 27
第5章 電路仿真 28
5.1 仿真結(jié)果 28
5.2 仿真中出現(xiàn)的問(wèn)題及解決辦法 28
5.3 本章小結(jié) 28
第6章 結(jié)論與展望 29
6.1 結(jié)論 29
6.2 單片機(jī)的發(fā)展趨勢(shì) 29
參考文獻(xiàn) 31
附 錄 32
致 謝 41