汽车胎压监测系统设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

济南大学泉城学院毕业设计题目汽车胎压监测系统设计学院工学院专业机械设计制造及其自动化(专升本)班级1501班学生刘立兵学号2015040113指导教师张兴达武华二〇一七年五月十六日济南大学泉城学院毕业设计I摘要随着时代发展和科技进步汽车已成为了人们常用的且离不开的交通工具。随着汽车数量的增多交通事故发生的数量也越来越多,而其中汽车轮胎压力异常成为重要诱因。针对这一问题,本文提出了一种基于单片机的汽车胎压监测系统。实现了测试汽车轮胎压力的功能,由三种不同的计量单位通过LCD显示给用户,如果超出预设阈值就会发出警报提醒司机安全行驶。本设计主要包含硬件设计与软件设计两部分。硬件部分主要包含气压传感器BMP085、STC89C52单片机和1602LCD等。通过气压传感器BMP085获取与汽车胎压相对的模拟电压值,经过V/F变换输入到单片机进行处理,最终由通过LCD显示电路显示相应气压值。软件部分采用C语言作为开发工具软件,在KeilC环境下进行了对单片机各个端口以及定时器工作方式和串行口工作方式进行设置,并对定时器和串行口进行初始化用以实现对单片机和各个功能模块芯片之间通讯和联络的设定,以及分配地址空间交代程序中各个变量等的设计和编码。通过软件仿真及实物之作运行调试,完成了系统的可靠性、稳定性等性能的测试,实现了预期功能,为进一步研究及应用提供了一定的数据参考。关键词:单片机;传感器;胎压济南大学泉城学院毕业设计IIABSTRACTWiththedevelopmentofthetimesandtheprogressofscienceandtechnology,theautomobilehasbecomeacommonandindispensablemeansoftransportation.Withtheincreaseofthenumberofcars,thenumberoftrafficaccidentsisincreasing,andtheabnormaltirepressurebecomesanimportantincentive.Tosolvethisproblem,amonitoringsystemofautomobiletirepressurebasedonsinglechipmicrocomputerispresentedinthispaper.Thefunctionoftestingthetirepressureoftheautomobileisrealized.ThethreedifferentmeasuringunitsaredisplayedthroughtheLCDtotheuser.Ifthepresetthresholdisexceeded,thealarmwillbesenttoremindthedrivertodrivesafely.Thisdesignmainlyincludestwoparts:hardwaredesignandsoftwaredesign.Thehardwarepartmainlyincludesthebarometricpressuresensor,BMP085,STC89C52monolithicintegratedcircuitand1602LCDandsoon.TheanalogvoltagevaluerelativetothetirepressureisobtainedbythepressuresensorBMP085,whichisinputtotheMCUbytheV/Ftransformation,andfinallythecorrespondingbarometricvalueisdisplayedbytheLCDdisplaycircuit.ThesoftwareadoptsClanguageassoftwaredevelopmenttools,intheKeilCenvironmentforsettinguptheMCUportandtimerworkingmodeandserialportmode,andthetimerandserialportinordertoachievebetweenthemicrocontrollerandthefunctionalmodulesofthechipcommunicationandcontactsettinginitialization,designandencodinganddistributionaddressspaceprogramvariablessuchasaccount.Throughthesoftwaresimulationandthedebuggingoftheobject,thesystem'sreliability,stabilityandotherperformancetestsarecompleted,andtheexpectedfunctionisachieved.Itprovidesacertaindatareferenceforfurtherresearchandapplication.Keywords:pressuresensor;tirepressure;MCU济南大学泉城学院毕业设计III目录摘要.............................................................................................................................................IABSTRACT..............................................................................................................................II1前言.........................................................................................................................................11.1研究背景及意义...........................................................................................................11.2国内外研究和发展的概况...........................................................................................11.3本设计内容...................................................................................................................22系统总体设计........................................................................................................................42.1总体设计思路...............................................................................................................42.2软硬件设计方案...........................................................................................................52.2.1硬件部分.............................................................................................................52.2.2软件部分.............................................................................................................53系统的硬件设计....................................................................................................................73.1硬件设计思路...............................................................................................................73.2单片机最小系统...........................................................................................................73.2.1晶振电路.............................................................................................................83.2.2供电电路.............................................................................................................93.2.3复位电路.............................................................................................................93.3信号采集电路.............................................................................................................103.3.1无线模块...........................................................................................................103.3.2传感器电路.......................................................................................................113.4电源转换电路.............................................................................................................133.5显示电路.....................................................................................................................133.6按键输入电路.......................................................................................

1 / 46
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功