資源描述:
《汽車胎壓監(jiān)測(cè)系統(tǒng)設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、濟(jì)南大學(xué)泉城學(xué)院畢業(yè)設(shè)計(jì)濟(jì)南大學(xué)泉城學(xué)院畢業(yè)設(shè)計(jì)題目汽車胎壓監(jiān)測(cè)系統(tǒng)設(shè)計(jì)學(xué)院 工學(xué)院 專業(yè)機(jī)械設(shè)計(jì)制造及其自動(dòng)化(專升本)班級(jí)1501班學(xué)生劉立兵學(xué)號(hào)2015040113指導(dǎo)教師張興達(dá)武華二〇一七年五月十六日-2-濟(jì)南大學(xué)泉城學(xué)院畢業(yè)設(shè)計(jì)-2-濟(jì)南大學(xué)泉城學(xué)院畢業(yè)設(shè)計(jì)摘要隨著時(shí)代發(fā)展和科技進(jìn)步汽車已成為了人們常用的且離不開的交通工具。隨著汽車數(shù)量的增多交通事故發(fā)生的數(shù)量也越來(lái)越多,而其中汽車輪胎壓力異常成為重要誘因。針對(duì)這一問(wèn)題,本文提出了一種基于單片機(jī)的汽車胎壓監(jiān)測(cè)系統(tǒng)。實(shí)現(xiàn)了測(cè)試汽車輪胎壓力的功能,由三種不同的計(jì)量單位通過(guò)LCD顯示給用戶,如果超出預(yù)設(shè)閾值就
2、會(huì)發(fā)出警報(bào)提醒司機(jī)安全行駛。本設(shè)計(jì)主要包含硬件設(shè)計(jì)與軟件設(shè)計(jì)兩部分。硬件部分主要包含氣壓傳感器BMP085、STC89C52單片機(jī)和1602LCD等。通過(guò)氣壓傳感器BMP085獲取與汽車胎壓相對(duì)的模擬電壓值,經(jīng)過(guò)V/F變換輸入到單片機(jī)進(jìn)行處理,最終由通過(guò)LCD顯示電路顯示相應(yīng)氣壓值。軟件部分采用C語(yǔ)言作為開發(fā)工具軟件,在KeilC環(huán)境下進(jìn)行了對(duì)單片機(jī)各個(gè)端口以及定時(shí)器工作方式和串行口工作方式進(jìn)行設(shè)置,并對(duì)定時(shí)器和串行口進(jìn)行初始化用以實(shí)現(xiàn)對(duì)單片機(jī)和各個(gè)功能模塊芯片之間通訊和聯(lián)絡(luò)的設(shè)定,以及分配地址空間交代程序中各個(gè)變量等的設(shè)計(jì)和編碼。通過(guò)軟件仿真及實(shí)物之作運(yùn)行調(diào)試,完
3、成了系統(tǒng)的可靠性、穩(wěn)定性等性能的測(cè)試,實(shí)現(xiàn)了預(yù)期功能,為進(jìn)一步研究及應(yīng)用提供了一定的數(shù)據(jù)參考。關(guān)鍵詞:?jiǎn)纹瑱C(jī);傳感器;胎壓IV濟(jì)南大學(xué)泉城學(xué)院畢業(yè)設(shè)計(jì)ABSTRACTWiththedevelopmentofthetimesandtheprogressofscienceandtechnology,theautomobilehasbecomeacommonandindispensablemeansoftransportation.Withtheincreaseofthenumberofcars,thenumberoftrafficaccidentsisincreasin
4、g,andtheabnormaltirepressurebecomesanimportantincentive.Tosolvethisproblem,amonitoringsystemofautomobiletirepressurebasedonsinglechipmicrocomputerispresentedinthispaper.Thefunctionoftestingthetirepressureoftheautomobileisrealized.ThethreedifferentmeasuringunitsaredisplayedthroughtheLCD
5、totheuser.Ifthepresetthresholdisexceeded,thealarmwillbesenttoremindthedrivertodrivesafely.Thisdesignmainlyincludestwoparts:hardwaredesignandsoftwaredesign.Thehardwarepartmainlyincludesthebarometricpressuresensor,BMP085,STC89C52monolithicintegratedcircuitand1602LCDandsoon.Theanalogvolta
6、gevaluerelativetothetirepressureisobtainedbythepressuresensorBMP085,whichisinputtotheMCUbytheV/Ftransformation,andfinallythecorrespondingbarometricvalueisdisplayedbytheLCDdisplaycircuit.ThesoftwareadoptsClanguageassoftwaredevelopmenttools,intheKeilCenvironmentforsettinguptheMCUportandt
7、imerworkingmodeandserialportmode,andthetimerandserialportinordertoachievebetweenthemicrocontrollerandthefunctionalmodulesofthechipcommunicationandcontactsettinginitialization,designandencodinganddistributionaddressspaceprogramvariablessuchasaccount.Throughthesoftwaresimulationandthed