JIMI 发表于 20:51

码表的设计与制作

论文编号:DZXX026  论文字数:9424,页数:30
摘要
 随着社会的发展、科技的进步以及人们生活水平的逐步提高,自行车已经成文人们休闲锻炼的热门方式。码表可以随时掌握骑行速度和距离,因此成为不可或缺的行车附件。早期的码表是机械式制作的,已逐渐被淘汰。如今用电子制作的码表由于具有故障率低、可靠性高、维修方便等优点,因而得到广泛的应用。
 本文介绍一种利用霍尔元件制作的具有计量瞬时速度和里程功能的码表。具体说明了该码表电路的结构、工作原理及主要单元电路的设计方法,给出了完整的电路图。该码表的计时是采用内部中断的方式,计数采用外部中断的方式,用开关切换瞬时速度和里程在数码管上的显示。
关键词:瞬时速度;里程;单片机
ABSTRACT
 With the development of society, the advances in technology and the improvement of people's living standards, bicycles have become a very popular method of exercise. A cyclocomputer, which can be used to count the speed and distance, is one of must useful accessories. In the early time, cyclocomputers are mechanical equipments which are not that reliable. Today, electronic production of cyclocomputers as a low failure rate, high reliability and easy maintenance, which is widely used.
 The thesis discusses a cyclocomputer which can measure speed and distance. It gives the working principle, the circuit structure, and the main unit circuit design method. It use a Hall elements to transform the round count into pulse, which can be read by the SCM. The distance is the count number multiple by the wheel circumference, and the distance is divided by interval time to get the speed. The display switch between distance and speed is realized by a button.
Keywords: instantaneous velocity; distance; SCM

目录
摘要 I
ABSTRACT II
第1章 引言 1
 1.1 码表的意义 1
 1.2 国内外码表的成果 1
 1.3 研究内容 2
第2章 码表设计概述 3
 2.1 信号的产生 3
 2.2 瞬时速度和里程的测量 3
 2.2.1 计时的原理 3
 2.2.2 计数的原理 6
 2.3 数据的显示 6
 2.4 数据显示的切换 8
 2.5 本设计基本框图 8
第3章 码表的硬件设计 9
 3.1 霍尔元件 9
 3.1.1 霍尔元件的介绍 9
 3.1.2 信号产生的硬件 10
 3.2 计时和计数 10
 3.2.1 AT89C51单片机的介绍 11
 3.2.2 码表显示的硬件实现 13
 3.3 显示切换的硬件实现 14
第4章 码表的软件设计 15
 4.1 总流程图 15
 4.2瞬时速度和里程的显示 17
 4.3 数据显示切换 17
第5章 码表的测试和功能实现 19
第6章 结束语 20
致谢 21
参考文献 22
附录1 源代码 23
附录2 总电路图 26
页: [1]
查看完整版本: 码表的设计与制作