8051單片機數(shù)字鐘.doc
約49頁DOC格式手機打開展開
8051單片機數(shù)字鐘,5.1萬字 47頁 有設計圖和程序摘要單片微型計算機簡稱單片機,又成為控制器。他是在一塊半導體上,集成了cpu、rom、ram、i/o接口、定時器/計數(shù)器、中斷系統(tǒng)等功能部件,構成了一臺完整的數(shù)字計算機。單片機在生產(chǎn)生活中的許多方面得到廣泛的應用,例如,生活中五彩變幻的霓虹燈,手機通信,溫度檢測,流量控制等都涉及到單片...


內容介紹
此文檔由會員 劉偉平 發(fā)布
5.1萬字 47頁 有設計圖和程序
摘 要
單片微型計算機簡稱單片機,又成為控制器。他是在一塊半導體上,集成了CPU、ROM、RAM、I/O接口、定時器/計數(shù)器、中斷系統(tǒng)等功能部件,構成了一臺完整的數(shù)字計算機。單片機在生產(chǎn)生活中的許多方面得到廣泛的應用,例如,生活中五彩變幻的霓虹燈,手機通信,溫度檢測,流量控制等都涉及到單片機。
以8051為主芯片制作多功能數(shù)字鐘的方案中,時鐘信號主要由8051單片機的定時器/計數(shù)器來提供,對時間進行設置和進行鬧鈴設置主要用到單片機的外部中斷。外部控制電路及顯示電路都用到了他的I/O口,在本章我們主要介紹一下關于8051單片機定時器/計數(shù)器、中斷源及中斷系統(tǒng)以及8051的I/O口的特性及應用
用單片機做一個數(shù)字鐘是單片機應用中的一個典型例子.本設計充分利用8051單片機的4個I/O口,外加兩片74LS07作數(shù)碼管驅動電路,12位數(shù)碼管的片選信號由74LS138譯碼器提供,采用動態(tài)顯示。為增加驅動能力,又在數(shù)碼管的陰極端加9013驅動管。
我們設計出的電子鐘采用24小時制計時,其中添加了整點報時,半點報時和鬧鈴提示功能。另外為了需要,我們還添加了秒表功能。
關鍵詞:單片機最小系統(tǒng) 動態(tài)顯示 譯碼器 電子鐘
ABSTRACT
It is a typical example to make a digital clock with the MCU. This design makes a good use of the I/O redirections,And we use two pieces of 74ls07 as the drivers for the LED, two pieces of 74ls138 as the encoders. We desplay the time in dynamic mathod. For the purpose of improving the ability of driving ,we add the 9013 as the driver for the LED.
The work we design use 24 hour format, we add a alarm, so the clock can remind us at the time we set ahead. Moreover for the sake of demand, we still add the stop-watch function.
Key words:the Minimum system drive dynamic display encoder
摘 要
單片微型計算機簡稱單片機,又成為控制器。他是在一塊半導體上,集成了CPU、ROM、RAM、I/O接口、定時器/計數(shù)器、中斷系統(tǒng)等功能部件,構成了一臺完整的數(shù)字計算機。單片機在生產(chǎn)生活中的許多方面得到廣泛的應用,例如,生活中五彩變幻的霓虹燈,手機通信,溫度檢測,流量控制等都涉及到單片機。
以8051為主芯片制作多功能數(shù)字鐘的方案中,時鐘信號主要由8051單片機的定時器/計數(shù)器來提供,對時間進行設置和進行鬧鈴設置主要用到單片機的外部中斷。外部控制電路及顯示電路都用到了他的I/O口,在本章我們主要介紹一下關于8051單片機定時器/計數(shù)器、中斷源及中斷系統(tǒng)以及8051的I/O口的特性及應用
用單片機做一個數(shù)字鐘是單片機應用中的一個典型例子.本設計充分利用8051單片機的4個I/O口,外加兩片74LS07作數(shù)碼管驅動電路,12位數(shù)碼管的片選信號由74LS138譯碼器提供,采用動態(tài)顯示。為增加驅動能力,又在數(shù)碼管的陰極端加9013驅動管。
我們設計出的電子鐘采用24小時制計時,其中添加了整點報時,半點報時和鬧鈴提示功能。另外為了需要,我們還添加了秒表功能。
關鍵詞:單片機最小系統(tǒng) 動態(tài)顯示 譯碼器 電子鐘
ABSTRACT
It is a typical example to make a digital clock with the MCU. This design makes a good use of the I/O redirections,And we use two pieces of 74ls07 as the drivers for the LED, two pieces of 74ls138 as the encoders. We desplay the time in dynamic mathod. For the purpose of improving the ability of driving ,we add the 9013 as the driver for the LED.
The work we design use 24 hour format, we add a alarm, so the clock can remind us at the time we set ahead. Moreover for the sake of demand, we still add the stop-watch function.
Key words:the Minimum system drive dynamic display encoder