您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 基于单片机的自行车测速系统设计与实现论文
毕业设计(论文)说明书题目:自行车测速系统设计与实现院(系):信息与通信学院专业:电子信息工程学生姓名:学号:指导教师:职称:副教授题目类型:理论研究实验研究工程设计工程技术研究软件开发2014年5月20日√桂林电子科技大学毕业设计(论文)报告用纸第1页1摘要随着社会的进步发展和环保意识的增强,能够锻炼身体,且能环保出行的自行车成了大众的宠儿。随自行车的快速发展,人们对自行车的功能要求也越来越高。自行车测速仪通过测量并显示出行时的日期、时间、温度、速度和里程数,能够较好的满足人们对自行车的基本需求。本设计通过分析自行车测速仪的原理,基于STC89C52单片机和C语言,设计和实现了一种自行车测速系统。该系统主要包括单片机数据处理、电机测速、温度测量、时钟计时、显示数据、按键控制七大功能模块。在系统实现中,硬件部分以STC89C52单片机为处理核心,用红外对管传感器将车轮的转数转换为电脉冲,进行处理后送入单片机,通过测量电机转的圈数,经过数据处理得到速度和路程数。软件部分采用C语言进行编程,实现系统的控制与显示。本系统的实现达到了预期的设计目标。关键词:自行车测速;STC89C52单片机;红外对管传感器;C语言桂林电子科技大学毕业设计(论文)报告用纸第2页2AbstractWiththedevelopmentofsocialprogressandenvironmentalprotectionconsciousness,canphysicalexercise,andgreentravlbicycle,becamethedarlingofthepublic.Withtherapiddevelopmentofbicycle,thebicyclefeaturespeopleareincreasinglyhighrequirements.Bicyclespeedometercandisplaythetraveldate,time,temperature,speedandmileagebymeasuring,tobettermepeople'sbasicneedsforbicycle.Thisdesignthroughtheanalysisofprinciplesofbicyclespeedometer,basedonSTC89C52singlechipandClanguage,designandimplementationofabicyclespeedsystem.ThesystemincludesaSCMdataprocessing,motorspeed,temperaturemeasurement,timing,datashows,keycontrolthatsevenmajorfunctionmodule.Inthesystemrealization,ThehardwarepartwithSTC89C52SCMascoreprocessor.Usingtheinfraredtubesensorwillwheelspeedisconvertedintoelectricalpulses,processedintothemicrocontroller.Bymeasuringthemotorcycles,afterdataprocessing,wecanknowthespeedanddistance.ThesoftwareusingClanguageprogramming,torealizethesystemcontrolanddisplay.Therealizationofthissystemreachestheexpecteddesigngoal.Keywords:BicycleTachometer;STC89C52singlechipmicrocomputer;Infraredtubesensor;Clanguage桂林电子科技大学毕业设计(论文)报告用纸第1页1目录引言...........................................................................................................21设计要求..............................................................................................21.1毕业设计题目......................................................................................................................21.2设计的主要功能..................................................................................................................22工作原理和系统结构..........................................................................33硬件设计..............................................................................................43.1系统总电路图......................................................................................................................43.2单片机控制处理模块..........................................................................................................43.3红外对管测速模块...............................................................................................................83.4DS1302时钟芯片模块.......................................................................................................103.5DS1302温度采集模块.......................................................................................................123.6LCD显示模块.....................................................................................................................143.7电机驱动模块....................................................................................................................153.8按键功能、供电和串口下载模块....................................................................................154软件设计..........................................................................................184.1KeiluVision4软件介绍...............................................................................................184.2程序设计思想与开发环境................................................................................................184.3主程序设计........................................................................................................................194.4各个模块程序设计..........................................................................................................194.4.1红外对管测速模块程序设计........................................................................................194.4.2DS18B20温度测量模块程序设计.................................................................................214.4.3DS1302时钟芯片模块程序设计...................................................................................244.4.4LCD12864显示模块程序设计.......................................................................................275系统测试..............................................................................................285.1硬件调试............................................................................................................................285.2软件调试............................................................................................................................295.3对实际电路进行测试........................................................................................................296总结.....................................................................................................31致谢.....................................................................................................32参考文献:.....................
本文标题:基于单片机的自行车测速系统设计与实现论文
链接地址:https://www.777doc.com/doc-6386840 .html