资源描述:
《胎压测试系统论文(定)》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、毕业设计(论文)题目:基于单片机的胎压测试系统的设计与实现系别:专业:学生姓名:指导教师:2011年06月15日IV摘要本文完成了胎压测试系统的设计与实现。实现了测试汽车轮胎压力的功能,由三种不同的计量单位通过LCD显示给用户,如果超出预设阈值就会发出警报提醒司机安全行驶。另外,在正常状态下可实时显示日期和时间,有断电保护功能,并可对日期和时间进行设置。首先硬件采用气压传感器MPX4105、STC5A60S2单片机、DS1302时钟电路和1602LCD等。通过气压传感器MPX4105获取与汽车胎压相对的模拟电压值,经过V/F变换输入到单片机进行处理,最终由通过L
2、CD显示电路显示相应气压值。另外,DS1302时钟电路与单片机连接实现了LCD显示日期和时间,并可断电保护的功能。其次采用C语言作为开发工具软件,在KeilC环境下进行了对单片机各个端口以及定时器工作方式和串行口工作方式进行设置,并对定时器和串行口进行初始化用以实现对单片机和各个功能模块芯片之间通讯和联络的设定,以及分配地址空间交代程序中各个变量等的设计和编码。最后完成系统的可靠性、稳定性等性能的测试。压力超出阈值会自动报警提醒驾驶员安全行驶。不工作状态下,可显示日期与时间并有断电保护功能。具有可携带、测试操作方便、价格低廉等优点。关键词:气压传感器;胎压;单片
3、机IVAbstractThispapercompletedatirepressuremeasurementsystem.Itrealizesthefunctionofthetesttirepressure.ItfromthreedifferentunitsofmeasurementthroughtheLCDdisplaytotheuser,ifyouexceedapresetthresholdalertswillreminddriverstodrivesafely.Inaddition,inthenormalstateitcanbereal-timedispla
4、ydateandtime.Thereispowerfailureprotectionandonthedateandtimesettings.Firstofall,hardwareusedpressuresensorMPX4105,STC5A60S2singlechip,DS1302clockcircuit,1602LCDandsoon.ThepressuresensorMPX4105andautomotivetirepressurerelativetotheanalogvoltagevalue,aftertheV/Ftransformtheinputtothem
5、icrocontrollerforprocessing,andultimatelybythecircuitthroughtheLCDdisplayshowsthecorrespondingpressurevalues.Besides,DS1302clockcircuitandmicrocontrollerconnectiontodisplaythedateandtimeandpowerprotection.Secondly,asadevelopmenttoolwithClanguagesoftware,KeilCenvironmentforallportsofm
6、icrocontrollerandtimermodesettheserialportwork,itinitializesthetimerandserialporttoachieveeachfunctionmodulechipmicrocontroller,itexplainstheprogramaddressspaceallocationofthevariablessuchasthedesignandcoding.Finally,tocompletethesystemreliability,accomplishedstabilityandotherpropert
7、iesofthetest.Pressureabovethethresholdwillautomaticallyalarmtoremindthedriverdrivesafely.Whenitdoesnotwork,itcandisplaythedateandapower-offprotection.Themeritsareportable,easytooperate,lowpriceandsoon.Keywords:pressuresensor;tirepressure;MCUIV目录绪论11系统的总体设计51.1总体设计思路51.2硬件设计部分51.2.1A/
8、D转换61.2.2数据处