畢業(yè)設(shè)計(jì) 基于單片機(jī)的出租車計(jì)費(fèi)器的設(shè)計(jì).doc
畢業(yè)設(shè)計(jì) 基于單片機(jī)的出租車計(jì)費(fèi)器的設(shè)計(jì),基于單片機(jī)出租車計(jì)費(fèi)器的設(shè)計(jì) 摘 要本設(shè)計(jì)的是一個(gè)基于單片機(jī)at89s52的出租車自動(dòng)計(jì)費(fèi)設(shè)計(jì),附有復(fù)位電路,時(shí)鐘電路,鍵盤(pán)電路等。復(fù)位電路是單片機(jī)的初始化操作,除了正常的初始化外,為擺脫困境,通過(guò)復(fù)位電路可以重新開(kāi)始。時(shí)鐘電路采用12mhz的晶振,作為系統(tǒng)的時(shí)鐘源,具有較高的準(zhǔn)...


內(nèi)容介紹
此文檔由會(huì)員 bfxqt 發(fā)布畢業(yè)設(shè)計(jì) 基于單片機(jī)的出租車計(jì)費(fèi)器的設(shè)計(jì)
基于單片機(jī)出租車計(jì)費(fèi)器的設(shè)計(jì)
摘 要
本設(shè)計(jì)的是一個(gè)基于單片機(jī)AT89S52的出租車自動(dòng)計(jì)費(fèi)設(shè)計(jì),附有復(fù)位電路,時(shí)鐘電路,鍵盤(pán)電路等。復(fù)位電路是單片機(jī)的初始化操作,除了正常的初始化外,為擺脫困境,通過(guò)復(fù)位電路可以重新開(kāi)始。時(shí)鐘電路采用12MHz的晶振,作為系統(tǒng)的時(shí)鐘源,具有較高的準(zhǔn)確性。
在上電時(shí)字符型液晶1602顯示最初的起步價(jià),里程收費(fèi),等待時(shí)間收費(fèi)三種收費(fèi),通過(guò)按鍵可以調(diào)整起步價(jià),里程收費(fèi),等待時(shí)間收費(fèi)。通過(guò)按鍵模擬出租車的運(yùn)行,暫停,停止。在1602液晶上可以顯示運(yùn)行的時(shí)間,運(yùn)行時(shí)暫停的時(shí)間,通過(guò)計(jì)算可以得出總共的費(fèi)用和總的路程。在這里主要是以AT89S52單片機(jī)為核心控制器,P0口接1602液晶顯示模塊,P1口接按鍵的,通過(guò)按鍵輸入。
關(guān)鍵字 AT89S52;1602液晶;出租車計(jì)費(fèi)器
ABSTRACT
The design is based on a monolithic integrated circuit AT89S52 taxi billing design, with reset circuit, clocking circuit, keyboard circuit. Reset circuit is initialized, besides the normal operation of the initial dilemma, as a foreigner, through the reset circuit can start again. 12MHz adopts the clock circuit, as a system of crystal oscillator, higher clock source.
The characters in the crystal that the initial 1602, charges, fees mileage waiting time, three buttons can be adjusted by charging fees, just waiting time, mileage. Through the simulation of the taxi, buttons, stop. Suspension In the liquid crystal display can run 1602, operation time, when suspension can be obtained by the computation of the total cost.here is mainly for the core controller, AT89S52 SCM P0 mouth after 1602 LCD module, P1 mouth after the keys, through the keystroke.
Keyword: AT89S52;1602 LCD;Taxi devices
目 錄
1 課程設(shè)計(jì)書(shū)•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3
1.1 課程設(shè)計(jì)任務(wù)••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3
1.2 功能要求•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3
1.3 課程設(shè)計(jì)方案••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••3
2 硬件電路設(shè)計(jì)••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••5
2.1 振蕩電路設(shè)計(jì)••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4
2.2 復(fù)位電路設(shè)計(jì)•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••4
2.3 鍵盤(pán)接口電路•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6
2.4 顯示電路•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6
2.5 直流電機(jī)電路•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7
2.6 單片機(jī)各引腳功能說(shuō)明••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7
2.7 L298和1602液晶的簡(jiǎn)介•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••9
3 軟件設(shè)計(jì)•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••13
3.1 單片機(jī)資源••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••13
3.2 單片機(jī)模塊••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••13
3.3 系統(tǒng)程序流程框圖••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••16
4 proteus調(diào)試••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••17
4.1 proteus介紹••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••17
4.2 proteus界面介紹•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••17
4.3 protues的簡(jiǎn)單使用••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••18
4.4 仿真結(jié)果•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••20
心得體會(huì)••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••21
參考文獻(xiàn)••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••22
致謝••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••23
附錄1 元件清單•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••24
附錄2 程序清單•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••25
附錄3 原理圖••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••33
TA們正在看...
- 電力電子技術(shù)在電力系統(tǒng)無(wú)功補(bǔ)償方面應(yīng)用.pdf
- 擋不住的誘惑—可口可樂(lè)的企業(yè)形象設(shè)計(jì).pdf
- 35kv110kv變電站典型設(shè)計(jì)分析.pdf
- 鄒縣發(fā)電廠600mw機(jī)組控制系統(tǒng)供電可靠性分析.pdf
- n元集的一類排序問(wèn)題的最優(yōu)設(shè)計(jì).pdf
- 低彈性吸震發(fā)泡材料硫化交聯(lián)溫度及其力學(xué)性能的研究.pdf
- 暴雨選樣間的頻率轉(zhuǎn)換問(wèn)題探討.pdf
- 數(shù)字化多功能電表設(shè)計(jì).pdf
- 提高城市中壓供電系統(tǒng)供電可命性的研究.pdf
- 農(nóng)網(wǎng)改造中配電網(wǎng)絡(luò).合無(wú)功補(bǔ).pdf