资源预览内容
第1页 / 共35页
第2页 / 共35页
第3页 / 共35页
第4页 / 共35页
第5页 / 共35页
第6页 / 共35页
第7页 / 共35页
第8页 / 共35页
第9页 / 共35页
第10页 / 共35页
亲,该文档总共35页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
毕 业 论 文设计课题: 基于单片机控制的简易自行车码表 姓 名: 学 号: 专 业: 指导老师: 技术支持: 2毕业设计(论文)任务书专业(班): 姓名: 学号: 1、课题名称、主要内容和基本要求课题名称:基于单片机控制的简易自行车码表主要内容: 采用 STC 为主控芯片,采用霍尔传感器做为测速模块,温度传感器作为温度采集模块。进行对即速度和环境温度的一个测量和显示功能。能够显示较为准确的即时速度。基本要求:1、数据显示为液晶显示;2、能显示行驶总里程;3、能显示即时速度;4、能测量并显示当前环境温度;5、能调正和显示当前时间。2、 进度安排周次 工作内容 执行情况13 选定题目、搜集资料 完成4 选择方案、技术可行性分析、方案论证与确定 完成5 修改开题报告、评定开题报告 完成6 由老师对方案的制作要求作指定说明并改良 完成7 电路原理图设计、采购元器件 完成89 硬件的实现(焊接技术、相关仪器设备的使用) 完成1013 软件的实现(完成相关软件编程设计工作) 完成1415 整个设计的软硬件调试 完成16 演示制作成品、讲解设计思路、回答提问33、 指导教师评语指导教师核定成绩: 指导教师签名: 4、 评阅教师评语评阅教师核定成绩: 评阅教师签名: 5、毕业设计(论文)成绩答辩委员会主任签名: 目录摘 要 .1第 1 章产品介绍 .61.1 产品意义 .61.2 产品设计方案 .61.3 产品设计特点 .61.4 验收标准 .6第 2 章 系统方案论证与分析 .72.1 系统方案 .72.1.1 系统概述 .72.1.2 系统原理 .72.1.3 采集信息部分以及传感器的选择 .72.2 单片机系统部分 .82.3 方案论证 .8第 3 章 系统硬件设计 .103.1 系统设计图 .103.2 STC12C5A08S2 主控芯片 .113.3 显示模块 .123.4 霍尔传感器 .133.5 时钟模块 .133.6 红外遥控信号发射器和接收器 .14第 4 章 系统软件设计 .154.1 软件系统设计 .154.2 红外遥控系统设计 .164.3 时间显示系统设计 .194.4 时间测温系统设计 .194.5 测速系统设计 .234.6 显示系统设计 .25第 5 章 系统测试结果分析 .29结 论 .30附录 .31参考文献 .355摘要随着人社会的不断进步,绿色出行已逐渐被现今社会所重视,于是自行车也不再是运输、代步的工具,其辅娱乐、休闲、锻炼的功能越来越多受到人们的热爱。而自行车码表作为自行车的一大辅助工具迅速发展起来。方便、美观、精确的自行车码表有一定的实用价值。它能准确的计算出骑行速度及公里数,使运动者运动适量,达到健康运动的最佳效果。本设计主要包括自行车轮脉冲采集、温度数据采集、遥控输入控制和数据显示四部分,主程序用C语言编写,完成各项功能及数据的处理,通过K EIL软 件 来完成电路和程序模拟仿真运行。自行车码表一般由安装于前轮幅条上的感应磁铁、前叉上的感应器、顺着前叉蜿蜒而上的连接线、置于把横上面的码表座和座上面的码表。码表的工作原理是:车轮旋转时感应器捕捉到感应磁铁带来的信息,通过连接线传输至码表,码表对此进行处理后计算出时速、里程等信息并显示。它能够让我们比较精确的知道自己的当前速度、骑行时间、单次里程、总里程、平均速度、最高速度等。本设计以 STC12C5A08S2 单片机为核心,用 44E102 霍尔传感器测量并显示自行车行驶过程中的各项参数,包括当前时间、当前行驶累计里程、当前速度及当前环境温度等,各参数分屏显示。本里程表具有时钟功能,不安装在自行车上时也可作为时钟使用,实用性较高。关键词:STC12C5A08S2、44E102霍尔传感器AbstractWith the continuous progress of human society, green travel has been increasingly valued by modern society, so the bike is no longer transport, travel tools, and its auxiliary entertainment, leisure, exercise more and more powerful by the peoples love. The Bike bicycle as a major support tools developed rapidly. Convenience, aesthetics, precision Bike has some practical value. It can accurately calculate the speed and mileage ride, so movement by movement appropriate to achieve the best health campaign.The design includes bicycle wheel pulse acquisition, temperature data acquisition, remote control and data input of four parts, the main program written in C to complete the various functions and data processing, by KEIL software to complete the circuit and process simulation run.Bike generally installed in the front wheel spokes on the sensor magnet, the sensor on the fork, fork winds down on the cable, put the cross above code table seat and seat above code table . Code table works is: the wheel rotation sensor to capture the sensor magnets message, transmitted by cable to the code table, code table which is processed to calculate the speed, mileage and other information and displays. It allows us to more accurately know the current speed, ride time, one-time mileage, total mileage, average speed, maximum speed.The design STC12C5A08S2 microcontroller core,use 44E102 Hall sensor to real-time measurement and display the bike in the process of moving the parameters, including the current time, current accumulated driving mileage, current speed and current environmental temperature, the parameters of split-sc
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号