1 / 80
文档名称:

单片机毕业设计-基于单片机的万年历的设计.doc

格式:doc   页数:80页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

单片机毕业设计-基于单片机的万年历的设计.doc

上传人:绝对好男人 2013/5/24 文件大小:0 KB

下载得到文件列表

单片机毕业设计-基于单片机的万年历的设计.doc

文档介绍

文档介绍:石家庄铁道大学四方学院毕业设计
自行车里程表的设计
The Design of Bicycle Odometer
2013 届电气工程系
专业电子信息工程
学号 20096388
学生姓名符士宾
指导教师孙秀婷
完成日期 2012年 5月5日
摘要
近年来人们对健康的要求越来越高,自行车作为一种普遍大众的运动器械开始进入人们的视野。而自行车里程表就是伴随着自行车运动的兴盛而逐渐发展起来的
本系统由单片机STC89C52、霍尔传感器、LCD1602液晶显示屏和独立按键组成硬件部分,软件部分包括主程序模块、数据采集模块、显示模块、键盘扫描模块。霍尔传感器完成数据采集功能并对单片机输入脉冲信号,通过单片机程序的设置可对霍尔传感器输入的脉冲信号进行计数和处理,精确地得到单位时间内检测到的脉冲数,计算自行车速度、加速度、里程,并通过LCD显示出来。
本文先对里程表设计当中所需设备作了详细介绍,对设计中存在的问题进行了说明;而后对硬件和软件部分的设计和实现作了认真的分析。本里程表的设计具有结构简单,成本低廉,显示清晰,稳定可靠等优点。
关键词: STC89C52单片机 LCD1602 霍尔传感器
Abstract
With the developing of people’s for health,bicycle is ing a very popular sports equipment in our the bicycle odometers are ing more and more popular with bicycle’s prosperous.
The system posed of SCM ST8C9C52, hall sensors, LCD1602 LCD module and the keyboard ponent. The software part includes the main modules, data acquisition module, display module and keyboard scanning module. Hall plete the data acquisition function and single-chip input pulse signal, through the MCU set to hall sensor-based input pulse signal processing, count and that can accurately calculate added to the pins per unit time the number of pulses detected,while can get velocity, acceleration,milestones; Design mileage and speed by LCD module, mileage to display.
This paper first needed to milestones design of equipment in detail, on the problems existing in the design, explained. And then to hardware and software design and implementation of the part made earnest analysis; and the simulation results pared. This milestones design has simple structure, low cost, showed clear, stable and reliable.

Key words : STC89C52SCM LCD1602 Hall sensor
目录
第1章绪论 1
课题研究背景与现状 1
本课题所做的工作 1
第2章系统总体设计方案 3
系统实现的功能 3
设计思路 3
总体设计框图 4
系统设计选择 4
数据采集模块 4
主控芯片的选择 5
按键电路的选择 6
显示模块的选择 6
第3章系统硬件设计 8
概述 8
主控模块 8
显示模块 10
按键控制模块 11
数据采集模块 11
第4章系统软件设计 13
概述 13
程序流程图 13
数据采集模块设计 15