欢迎来到天天文库
浏览记录
ID:13175591
大小:31.85 KB
页数:24页
时间:2018-07-21
《自行车里程表的设计》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、自行车里程表的设计学号:1434060103毕业设计说明书GRADUATEDESIGN设计题目:基于单片机的自行车里程速度表设计与实现学生姓名:程晓锋专业班级:2014自升本1班学院:继续教育学院指导教师:邸志刚副教授2016年11月30日摘要摘要随着居民生活水平的不断提高,自行车不再仅仅是普通的运输、代步的工具,而是成为人们娱乐、休闲、锻炼的首选。自行车的速度里程表能够满足人们最基本的需求,让人们能清楚地知道当前的速度、里程等物理量。本论文主要阐述一种基于霍尔元件的自行车的速度里程表的设计。以AT89C52
2、单片机为核心,霍尔传感器测转数,实现对自行车里程/速度的测量统计,采用1302实现在系统掉电的时候保存里程信息,并能将自行车的里程数及速度用LCD实时显示。文章详细介绍了自行车的速度里程表的硬件电路和软件设计。硬件部分利用霍尔元件将自行车每转一圈的脉冲数传入单片机系统,然后单片机系统将信号经过处理送显示。软件部分用C语言进行编程,采用模块化设计思想。该系统硬件电路简单,子程序具有通用性。关键词:里程/速度;霍尔元件;单片机;LCD显示IAbstractAbstractWiththedevelopingofpe
3、ople’slife,thebicycleisnotonlytheuniversaltooloftransportationandsubstituteforwalking,butbecomesthefirstchoiceofentertainmentandexercising.Thebicyclemileage/speedcanfulfillthebasicneedofpeople’slife,sothattheycanlearnthespeedandthemileageofthebicycle.Inthis
4、paper,thebicyclemileage/speeddesignbasedontheHallelementiselaborated.ByAT89C52askernel,usingHallelementtomeasurerevolution,themeasureandstatisticareachieved.Therangeinformationissavedbywhenthepowerisoff,thebicyclespeedcanbedisplayedonLCD.Inthisarticle,theha
5、rdwarecircuitandsoftwaredesignofbicyclemileage/speedinstrumentareintroducedindetail.Aboutthehardware,thepulsenumberistransmittedofonecycleofthebicycleintoSingleChipMicrocomputersystem.ThenthesignalprocessedbySingleChipMicrocomputersystemissenttodisplayscrea
6、m.Aboutthesoftware,inassemblelanguage;theprogramisdesignedinthemodeofmodules.Thesystemhassimplehardware,commonsub-program.KEYWORDS:Mileage/speed;Hallelement;Singlechipmicrocomputer;LCDdisplay.前言...............................................................
7、.....1第1章绪论..............................................................21.1课题背景.........................................................21.2设计的主要内容及技术指标.........................................2第2章自行车里程表总体方案设计..........................................32.1
8、任务分析与实现...................................................32.2自行车里程表硬件方案设计.........................................32.3自行车里程表软件方案设计.........................................4第3章自行车里程表硬件模块设计.............
此文档下载收益归作者所有