【正文】
畢 業(yè) 設(shè) 計(jì) ( 論 文 )題 目 基于單片機(jī)的出租車拼車計(jì)價(jià)器設(shè)計(jì) 系 (院) 電氣工程系專 業(yè) 電氣工程與自動(dòng)化班 級(jí)學(xué)生姓名學(xué) 號(hào)指導(dǎo)教師職 稱 二〇 年 月 日 獨(dú) 創(chuàng) 聲 明本人鄭重聲明:所呈交的畢業(yè)設(shè)計(jì)(論文),是本人在指導(dǎo)老師的指導(dǎo)下,獨(dú)立進(jìn)行研究工作所取得的成果,成果不存在知識(shí)產(chǎn)權(quán)爭(zhēng)議。據(jù)我所知,除文中已經(jīng)注明引用的內(nèi)容外,本設(shè)計(jì)(論文)不含任何其他個(gè)人或集體已經(jīng)發(fā)表或撰寫過(guò)的作品成果。對(duì)本文的研究做出重要貢獻(xiàn)的個(gè)人和集體均已在文中以明確方式標(biāo)明。本聲明的法律后果由本人承擔(dān)。作者簽名: 年 月 日畢業(yè)設(shè)計(jì)(論文)使用授權(quán)聲明本人完全了解該學(xué)校關(guān)于收集、保存、使用畢業(yè)設(shè)計(jì)(論文)的規(guī)定。本人愿意按照學(xué)校要求提交學(xué)位論文的印刷本和電子版,同意學(xué)校保存學(xué)位論文的印刷本和電子版,或采用影印、數(shù)字化或其它復(fù)制手段保存設(shè)計(jì)(論文) ;同意學(xué)校在不以營(yíng)利為目的的前提下,建立目錄檢索與閱覽服務(wù)系統(tǒng),公布設(shè)計(jì)(論文)的部分或全部?jī)?nèi)容,允許他人依法合理使用。(保密論文在解密后遵守此規(guī)定)作者簽名: 年 月 日本科畢業(yè)設(shè)計(jì)(論文)i基于單片機(jī)的出租車拼車計(jì)價(jià)器設(shè)計(jì)摘 要隨著環(huán)境污染日益嚴(yán)重的趨勢(shì),以及城市交通越來(lái)越擁堵的趨勢(shì),出租車拼車越來(lái)越流行,拼車在城市交通中扮演著舉足輕重的作用。然而,拼車帶來(lái)一系列的問(wèn)題,例如乘客與司機(jī)間的糾紛,亂收費(fèi)的現(xiàn)象,究其原因,沒有一套完善的拼車計(jì)價(jià)器得到推廣使用?;谶@個(gè)問(wèn)題,本設(shè)計(jì)致力于完善傳統(tǒng)的拼車計(jì)價(jià)器,以滿足市場(chǎng),乘客,司機(jī)的需求。系統(tǒng)的功能是基于單片機(jī)控制下的各個(gè)模塊功能的實(shí)現(xiàn)。系統(tǒng)以AT89S52單片機(jī)為控制核心,實(shí)現(xiàn)車內(nèi)液晶顯示,語(yǔ)音播報(bào),票據(jù)打印等功能。系統(tǒng)硬件主要包括:12V轉(zhuǎn)5V的電源模塊,輸入模塊,單片機(jī)最小系統(tǒng),車內(nèi)液晶模塊,車外LED模塊,霍爾傳感器測(cè)距模塊,語(yǔ)音播報(bào)模塊,票據(jù)打印模塊等。軟件則包括:系統(tǒng)的流程圖,主程序以及各模塊子程序。本設(shè)計(jì)可完成車外顯示拼車狀態(tài),車內(nèi)顯示時(shí)間,里程數(shù),票價(jià),語(yǔ)音播報(bào),票據(jù)打印等功能。本設(shè)計(jì)最多可完成三人拼車,而且拼車達(dá)一定里程數(shù)可有優(yōu)惠,最終使得乘客,司機(jī)都受益。關(guān)鍵詞:拼車計(jì)價(jià)器,單片機(jī),霍爾元件 本科畢業(yè)設(shè)計(jì)(論文)iiCarpool Meter Design Based On SCMAbstractWith the trend of increasingly serious environmental pollution, as well as the trend of increasingly congested urban traffic, carpool bees more and more popular,so it plays an important role in urban transport. However, carpool causes a series of problems, such as disputes between passengers and drivers,the phenomenal of bad main reason is that the market doesn’t have a widespread carpool charge device. In view of this problem, this design is mitted to improving the traditional car meter for satisfying the market 39。s, passengers 39。 and drivers 39。 needs.Function of the system is the realization of each module based on singlechip microputer control. The System is based on AT89S52 singlechip microputer, coupled with inside LCD, voice broadcast, ticket printing and other functions. System hardware includes:12V turn 5V power supply module, datainput module, smallest singlechip microputer system, LCD module, LED module outside the car, Hall sensors module, broadcast module, ticketprinting module. Software includes: system flow chart, the main program, as well as module subprograms. This design allows for the display of carpool conditon, time, mileage, fare, and it also has the function of broadcasting voice, printing bill. This design can plete up to three people for carpool, what’s more,carpool at a certain mileage will eventually benefit the passengers and drivers.Keywords: car meter, microcontroller,holzer ponents本科畢業(yè)設(shè)計(jì)(論文)I目 錄第一章 緒論 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1 拼車計(jì)價(jià)器研究的背景意義 ????????????????????????????????????????????????????????????????????????????????????????1 設(shè)計(jì)的主要研究工作 ???????????????????????????????????????????????????????????????????????????????????????????????????1 設(shè)計(jì)目標(biāo) ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????2第二章 系統(tǒng)總設(shè)計(jì)方案 ????????????????????????????????????????????????????????????????????????????????????????????????????3第三章 系統(tǒng)硬件設(shè)計(jì) ????????????????????????????????????????????????????????????????????????????????????????????????????????5 電源轉(zhuǎn)換電路 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????5 單片機(jī)最小系統(tǒng) ???????????????????????????????????????????????????????????????????????????????????????????????????????????5 掉電保護(hù)電路 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????6 TL7705 的工作特性 ...................................................................................................7 掉電保護(hù)電路工作原理 ............................................................................................7 路程測(cè)量模塊 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????7 A44E 的工作特性 .......................................................................................................8 輸入模塊 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????8 74HC164 移位寄存器 .............................................................................................9 外部中斷擴(kuò)展設(shè)計(jì) ..................................................................................................9 輸入模塊的電路原理圖 ..........................................................................................10 顯示模塊 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????10 12864 液晶顯示 ........................................................................................................10 車外 LED 顯示屏 ....................................................................................................11 語(yǔ)音模塊 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????12 票據(jù)打印模塊