畢業(yè)論文 基于單片機的籃球計時計分器設(shè)計.doc
約48頁DOC格式手機打開展開
畢業(yè)論文 基于單片機的籃球計時計分器設(shè)計,摘 要:本設(shè)計是基于at89c51單片機的籃球計時計分器,利用7段共陰led作為顯示器件。在此設(shè)計中共接入了1個四位一體7段共陰led顯示器,2個三位一體7段共陰led顯示器,前者用來記錄賽程時間,其中2位用于顯示分鐘,2位用于顯示秒鐘,后者用于記錄甲乙隊的分?jǐn)?shù),每隊2個led顯示器顯示范圍可達(dá)到0~999分。賽程計時...


內(nèi)容介紹
此文檔由會員 ljjwl8321 發(fā)布
摘 要:本設(shè)計是基于AT89C51單片機的籃球計時計分器,利用7段共陰LED作為顯示器件。在此設(shè)計中共接入了1個四位一體7段共陰LED顯示器,2個三位一體7段共陰LED顯示器,前者用來記錄賽程時間,其中2位用于顯示分鐘,2位用于顯示秒鐘,后者用于記錄甲乙隊的分?jǐn)?shù),每隊2個LED顯示器顯示范圍可達(dá)到0~999分。賽程計時采用倒計時方式,比賽開始時啟動計時,直至計時到0為止。
為了配合計時器和計分器校正調(diào)整時間和比分,我們特定在本設(shè)計中設(shè)立了7個按鍵,用于設(shè)置,調(diào)整時間,啟動,調(diào)整分?jǐn)?shù)和暫停等功能。采用單片機控制是這個系統(tǒng)按鍵操作使用簡潔,LED顯示,安裝方便。
關(guān)鍵詞:單片機 ; 計時 ; 計分 ; 顯示器 ; 接口
Design of Basketball timing Scoring Device Based on SCM
Abstract:The design is based on AT89C51 microcontroller timing basketball scoring device, the use of 7 as a common cathode LED display.In this design, the CPC has an access to one of four 7-segment common cathode LED display, 2 Trinity 7 common cathode LED displays, the former is used to record the race of time, of which 2 used to display the minutes, 2 seconds to displayminutes, which is used to record scores and B teams, each team two LED display shows the range of 0 to 999 points can be achieved.Schedule time with the countdown mode, the game starts the beginning of time until the timer to 0 so far.
To cope with calibration timer and scoring device to adjust the time and score, we design a specific set in the 7 buttons, for setting, adjusting the time, start, adjust the score and pause functions.The system uses single chip control is to use simple button operation, LED display, easy to install.
Key words:microcontroller ; timer ; score; display ; interface
目 錄
1緒論 1
2系統(tǒng)方案說明 3
2.1 方案選擇 3
2.1.1 籃球賽計時計分器設(shè)計的現(xiàn)狀 3
2.1.2系統(tǒng)總體設(shè)計方案 3
3統(tǒng)硬件電路設(shè)計 8
3.1籃球賽計時計分器電路工作過程 8
3.2系統(tǒng)硬件電路組成 8
3.2.1 主要器件選擇及介紹 8
3.2.2顯示模塊 17
3.2.3報警模塊 18
3.2.4時鐘電路模塊 18
3.2.5 復(fù)位電路模塊 19
3.3籃球賽計時計分電路原理圖 20
4 軟件編程及調(diào)試 21
4.1 軟件總體設(shè)計方案 21
4.2 軟件設(shè)計具體過程 22
4.2.1延時模塊設(shè)計 23
4.2.2 顯示時間,分?jǐn)?shù)子程序模塊設(shè)計 23
4.2.3 按鍵控制子程序設(shè)計模塊 27
4.2.4 中斷程序設(shè)計模塊 35
4.2.5 主函數(shù)設(shè)計模塊 37
總結(jié) 41
致謝 43
參考文獻(xiàn) 45
為了配合計時器和計分器校正調(diào)整時間和比分,我們特定在本設(shè)計中設(shè)立了7個按鍵,用于設(shè)置,調(diào)整時間,啟動,調(diào)整分?jǐn)?shù)和暫停等功能。采用單片機控制是這個系統(tǒng)按鍵操作使用簡潔,LED顯示,安裝方便。
關(guān)鍵詞:單片機 ; 計時 ; 計分 ; 顯示器 ; 接口
Design of Basketball timing Scoring Device Based on SCM
Abstract:The design is based on AT89C51 microcontroller timing basketball scoring device, the use of 7 as a common cathode LED display.In this design, the CPC has an access to one of four 7-segment common cathode LED display, 2 Trinity 7 common cathode LED displays, the former is used to record the race of time, of which 2 used to display the minutes, 2 seconds to displayminutes, which is used to record scores and B teams, each team two LED display shows the range of 0 to 999 points can be achieved.Schedule time with the countdown mode, the game starts the beginning of time until the timer to 0 so far.
To cope with calibration timer and scoring device to adjust the time and score, we design a specific set in the 7 buttons, for setting, adjusting the time, start, adjust the score and pause functions.The system uses single chip control is to use simple button operation, LED display, easy to install.
Key words:microcontroller ; timer ; score; display ; interface
目 錄
1緒論 1
2系統(tǒng)方案說明 3
2.1 方案選擇 3
2.1.1 籃球賽計時計分器設(shè)計的現(xiàn)狀 3
2.1.2系統(tǒng)總體設(shè)計方案 3
3統(tǒng)硬件電路設(shè)計 8
3.1籃球賽計時計分器電路工作過程 8
3.2系統(tǒng)硬件電路組成 8
3.2.1 主要器件選擇及介紹 8
3.2.2顯示模塊 17
3.2.3報警模塊 18
3.2.4時鐘電路模塊 18
3.2.5 復(fù)位電路模塊 19
3.3籃球賽計時計分電路原理圖 20
4 軟件編程及調(diào)試 21
4.1 軟件總體設(shè)計方案 21
4.2 軟件設(shè)計具體過程 22
4.2.1延時模塊設(shè)計 23
4.2.2 顯示時間,分?jǐn)?shù)子程序模塊設(shè)計 23
4.2.3 按鍵控制子程序設(shè)計模塊 27
4.2.4 中斷程序設(shè)計模塊 35
4.2.5 主函數(shù)設(shè)計模塊 37
總結(jié) 41
致謝 43
參考文獻(xiàn) 45
TA們正在看...
- 街道辦事處2015年“安全生產(chǎn)月”活動方案.doc
- xx市2016年能源“雙控”工作要點.doc
- xx市檔案事業(yè)發(fā)展十三五規(guī)劃.doc
- xx市工商行政管理局法制宣傳教育“七五”規(guī)劃.doc
- xx市農(nóng)業(yè)經(jīng)濟(jì)品質(zhì)提升三年行動計劃.doc
- xx市衛(wèi)生局2016年公共衛(wèi)生工作計劃.doc
- xx市要素資源交易市場建設(shè)方案.doc
- xx縣城鄉(xiāng)困難人員臨時救助辦法.doc
- xx縣糧食生產(chǎn)貼息貸款實施細(xì)則.doc
- xx縣文化產(chǎn)業(yè)發(fā)展規(guī)劃(2016-2020年).doc