多功能出租車計(jì)價(jià)器.doc
多功能出租車計(jì)價(jià)器,目 錄引 言·································································· 11. 1 出租車計(jì)價(jià)器概述································································...
內(nèi)容介紹
此文檔由會(huì)員 alilang386 發(fā)布多功能出租車計(jì)價(jià)器
目 錄
引 言·································································· 1
1. 1 出租車計(jì)價(jià)器概述········································································· 1
1. 2 本設(shè)計(jì)任務(wù)··················································································· 1
1.2.1 設(shè)計(jì)任務(wù)················································································· 1
1.2.2 設(shè)計(jì)要求················································································· 1
1. 3 系統(tǒng)主要功能··············································································· 2
出租車計(jì)價(jià)器硬件設(shè)計(jì)················································· 3
2.1 系統(tǒng)的硬件構(gòu)成及功能···································································· 3
2. 2 AT89S51單片機(jī)及其引腳說明·························································· 3
2.3 AT24C02引腳圖及其引腳功能··························································· 6
2. 4 AT24C02 掉電存儲(chǔ)單元的設(shè)計(jì)························································· 6
2.5 里程計(jì)算、計(jì)價(jià)單元的設(shè)計(jì)····························································· 7
2.6 數(shù)據(jù)顯示單元設(shè)計(jì)·········································································· 8
系統(tǒng)軟件設(shè)計(jì)···························································10
3. 1 系統(tǒng)主程序設(shè)計(jì)············································································ 10
3. 2 定時(shí)中斷程序設(shè)計(jì)········································································ 10
3. 3 里程計(jì)數(shù)中斷服務(wù)程序設(shè)計(jì)···························································· 10
3.4 中途等待中斷服務(wù)程序設(shè)計(jì)···························································· 10
3. 5 鍵盤服務(wù)程序設(shè)計(jì)·········································································10
3. 6 顯示子程序服務(wù)程序設(shè)計(jì)······························································· 10
系統(tǒng)調(diào)試與測(cè)試結(jié)果分析·············································· 13
4. 1 使用的儀器儀表··········································································· 13
4.2 系統(tǒng)調(diào)試····················································································· 13
4.3 測(cè)試結(jié)果····················································································· 13
4.4 測(cè)試結(jié)果分析·············································································· 13
結(jié)束語································································· 14
附錄··········································································· 15
參考文獻(xiàn)······································································· 40